Setting up a proper A/B experiment involves selecting the appropriate sample size. This ensures the test is adequately powered to detect the change while minimizing statistical noise. In statistical terms, we want to detect the minimum detectable effect (MDE) with statistical confidence. Having too few samples produces statistically ambiguous results, and having too many samples can be overkill and a waste of time and resources.
The following values are set to their optimal defaults, but feel free to play with them to see how they affect the exposures.
A/B Split Ratio (Test vs. Control)
0.5 is an evenly split 50/50 test
Significance Level (α)
The probability that a statistically significant difference is detected even though no actual difference exists
The probability that the minimum detectable effect will be detected (assuming it exists)