Saunders, Katie; Bishop, Tim; Barrett, Jenny - Stata User Group - 2003
We use Stata's npnchi2 and nchi2 functions to calculated power and required sample size for case-control studies. Following the method described by Self et al (1992) a large exemplary data set with expected risk factor frequencies among cases and controls under any alternative hypothesis is...