Hi all
I am trying to replicate a simple formula of sample size for estimating a proportion from Daniel WW (1999) Biostatistics: A Foundation for Analysis in the Health Sciences.
n= (z^2 * p*(1-p))/ d^2
in this example for
p=0.05
d= 0.05
z=1.96
n=73
I wonder if its posible get this result using the comand power oneproportion or similar. Lamentably I could not understand completly:
Thanks in advance
Rodrigo
I am trying to replicate a simple formula of sample size for estimating a proportion from Daniel WW (1999) Biostatistics: A Foundation for Analysis in the Health Sciences.
n= (z^2 * p*(1-p))/ d^2
in this example for
p=0.05
d= 0.05
z=1.96
n=73
I wonder if its posible get this result using the comand power oneproportion or similar. Lamentably I could not understand completly:
Code:
power oneproportion 0.05 ????, power(0.8 0.9) graph table
Rodrigo
Comment