需要输入的参数:
α=0.05,power=0.9,$r$=0.8,AR=0.1
$$n=4[\frac{Z_{1-\alpha/2}+Z_{1-\beta}}{ln(\frac{1+r}{1-r})}]^2+3$$ 最终样本量: $$样本量=\frac{n}{1-AR}$$
[1] 孙振球,徐勇勇. 医学统计学(第四版).人民卫生出版社. 2016.
[2] Hulley SB, Cummings SR, Browner WS, Grady D, Newman TB. Designing clinical research : an epidemiologic approach. 4th ed. Philadelphia, PA: Lippincott Williams & Wilkins; 2013. Appendix 6C, page 79.