需要输入的参数:
双侧,α=0.05,power=0.8,$RR$=0.5,$P_0$=0.24,r=1,计算方法:Fleiss
需要输入的参数:
双侧,α=0.05,power=0.9,$RR$=0.5,$P_0$=0.35,r=1,计算方法:Kelsey
Fleiss方法: $$n1=\frac{[Z_{1-\alpha/2}*\sqrt{(1+r)(\bar{P}*(1-\bar{P}))}+Z_{1-\beta}*\sqrt{r*P_0*(1-P_0)+P_1*(1-P_1)}]^2}{r*(P_1-P_0)^2}$$ Fleiss+连续校正方法(基于Fleiss方法的结果): $$n1_{校正}=\frac{n}{4}*[1+\sqrt{1+\frac{2*(r+1)}{n*r*|P_1-P_0|}}]^2$$ Kelsey方法: $$n1=\frac{(Z_{1-\alpha/2}+Z_{1-\beta})^2*\bar{P}*(1-\bar{P})*(r+1)}{r*(P_1-P_0)^2} $$ 其中: $$P_1=RR*P_0$$ $$\bar{P}=\frac{r*P_1+P_0}{r+1}$$
暴露组/试验组例数(n2)$$n2=r*n1$$
[1] Lemeshow, S., Hosmer Jr., D.W., Klar, J.,and Lwanga S.K. Adequacy of Sample Size in Health Studies. WHO, 1990. Print.
[2] Kelsey J.L., Whittemore A.S., Evans A.S.,and Thompson W.D. Methods in Observational Epidemiology 2nd EditionOxford University Press, 1996. Print.
[3] Fleiss, J.L. Statistical Methods for Rates and Proportions. 2nd Ed. NewYork: John Wiley, 1981. Print.