You may also send a POST request to https://samplesizer.com/api and include the following parameters in the body (a JSON dictionary):
treatments. An array of treatment allocations (excluding control). Allocations are given as a percentage so an allocation of 25 is 25%. The sum of allocations should be less than 1 to leave room for control.
mde. The minimum detectable effect (as a percentage). mde = 1 implies a minimum detectable effect of 1%.
mean. The baseline mean of the metric.
sd. The baseline standard deviation of the metric.
peeks. The number of peeking periods. Must not exceed 16.
sig. The significance level. Currently allowed value: 1, 5, 10, 16, and 20.
false_negative. 1 - power, specified in percentage points. So false_negative = 20 corresponds to 80% power. Currently allowed values: 10, 20, 30, 40, and 50.
max_ss. The maximum sample size you are willing to wait for.