Probing into Minimum Sample Size Formula: Derivation and Usage | by Mintao Wei | Feb, 2023
A gentle walkthrough of the sample size formula in A/B testsThis article answers two important “how-to” questions centering on the minimum sample size calculation in A/B tests:1) How to derive the formula for the minimum sample size 𝜨?The essential idea behind the formula is to reverse the p-value calculation in hypothesis testing, with a particular focus on statistical power, which is the probability of rejecting the null hypothesis when the null hypothesis is indeed false.Figure 1: Intuition Behind Minimum Sample Size…