Sample size is fixed. What is the minimum detectable effect size? Measure a continuous outcome y in each subject at the start and end of the study period. For each subject, calculate the change Δ = yend - ystart. Compare the mean value of Δ to 0. This requires the standard deviationS(Δ). The estimate of S(Δ) should be based on data from other subjects who were followed for similar time periods. However, it can be estimated as S(Δ) = Sy2(1-ρ) where Sy is the standard deviation of the underlying outcome measurement, assumed to be the same at both time points, and ρ is the within-subject correlation of the outcome.

This calculator derives the effect size in two different ways: first using the T statistic (with a non-centrality parameter), then using the Z statistic. The Z statistic approximates the T statistic, but provides an effect size that is slightly too small. (We provide the Z statistic calcultion to allow comparison with other calculators which use the Z approximation.)

Instructions: Enter parameters in the red cells. Answers will appear in blue below.

 α (two-tailed) = Threshold probability for rejecting the null hypothesis. Type I error rate. β = Probability of failing to reject the null hypothesis under the alternative hypothesis. Type II error rate. N = Sample size S(Δ) = Standard Deviation of the CHANGE in the outcome. (If you don't know S(Δ), click here to calculate it.)

1. Calculation using the T statistic and non-centrality parameter:

Degrees of freedom = DoF = Ntotal - 1 =

The standard T value (with DoF degrees of freedom) corresponding to α = Tα =

Non-centrality parameter = δ =

E/S(Δ) = δ/√N =

2. Normal approximation using the Z statistic instead of the T statistic:

The standard normal deviate for α = Zα =

The standard normal deviate for β = Zβ =

A =

B = (Zα+Zβ)2 =

AB/N =

E/S(Δ) = √AB/N =

References:
Rosner B. Fundamentals of Biostatistics. 4th ed. Duxbury Press; 1995. Page 221.
Chow S-C, Shao J, Wang H. Sample size calculations in clinical research. 2nd ed. Boca Raton: Chapman & Hall/CRC; 2008. Section 3.1.1, page 50.