Sample size required to test means independent samples
The $ES$ is defined as
- $\mu_1$ is the mean of the first group,
- $\mu_2$ is the mean of the second group,
- $\sigma$ is the standard deviation.
The formula for determining the sample size required in each group to ensure that the test has a specified power is
- $\alpha$ is the selected level of significance,
- $1-\beta$ is the selected power and
- $ES$ is the effect size.