Calculating Sample Size For A Case-Control Study
Calculating Sample Size For A Case-Control Study
Statistical Power
Based on these elements, you can write a formal mathematical equation that relates power, sample size, effect size, standard deviation, and significance level.
Example
80% power You want to detect an odds ratio of 2.0 or greater An equal number of cases and controls (r=1) The proportion exposed in the control group is 20%
Example, continued
r 1 ( p)(1 p)(Z Z/2 ) n( ) 2 r (p1 p2 )
For 80% power, Z=.84 For 0.05 significance level, Z=1.96 r=1 (equal number of cases and controls) The proportion exposed in the control group is 20% To get proportion of cases exposed:
pcaseexp ORpcontrols exp pcontrols exp (OR 1) 1
pcaseexp 2.0(. 20 ) .40 .33 (. 20 )( 2.0 1) 1 1.20
Example, continued
r 1 ( p)(1 p)(Z Z/2 ) n( ) 2 r (p1 p2 )
2
r 1 ( Z Z/2 ) n( ) 2 r (difference)
2
Represents the desired level of Standard deviation Effect Size of the outcome (the difference statistical significance variable in means) (typically 1.96).
Example
80% power The standard deviation of the characteristic you are comparing is 10.0 You want to detect a difference in your characteristic of 5.0 (one half standard deviation) An equal number of cases and controls (r=1)
Example, continued
r 1 ( Z Z/2 ) n( ) 2 r (difference)
2 2
For 80% power, Z=.84 For 0.05 significance level, Z=1.96 r=1 (equal number of cases and controls) =10.0 Difference = 5.0
Example, continued
r 1 ( Z Z/2 ) n( ) 2 r (difference)
2
2