powered by
Ho: \( |p-p0| \ge margin \)
Ha: |p-p0| < margin
The proportion of response is equivalent to the reference p0 is the null hypothesis is rejected
OneSampleProportion.Equivalence(alpha, beta, p, delta, differ)
significance level
power = 1-beta
the true response rate
delta=p-p0
the difference between the true response rate of a test drug and a reference value p0
the superiority or non-inferiority margin
Chow SC, Shao J, Wang H. Sample Size Calculation in Clinical Research. New York: Marcel Dekker, 2003
# NOT RUN { Example.4.1.4<-OneSampleProportion.Equivalence(0.05,0.2,0.6,0.05,.2) Example.4.1.4 # }
Run the code above in your browser using DataLab