powered by
Ho: p=p0
Ha: not equal
The test is finding whether there is a difference between the true rate of the test drug and reference value p0
OneSampleProportion.Equality(alpha, beta, p, differ)
significance level
power = 1-beta
the true response rate
differ=p-p0
the difference between the true response rate of a test drug and a reference value p0
Chow SC, Shao J, Wang H. Sample Size Calculation in Clinical Research. New York: Marcel Dekker, 2003
# NOT RUN { Example.4.1.4<-OneSampleProportion.Equality(0.05,0.2,0.5,0.2) Example.4.1.4 # }
Run the code above in your browser using DataLab