View source: R/TwoSampleProportion.Equality.R
TwoSampleProportion.Equality | R Documentation |
H0: p1=p2
Ha: not equal
The test is finding whether there is a difference between the mean response rates of the test drug and reference drug
TwoSampleProportion.Equality(alpha, beta, p1, p2, k)
alpha |
significance level |
beta |
power = 1-beta |
p1 |
the mean response rate for test drug |
p2 |
the rate for reference drug |
k |
k=n1/n2 |
Chow SC, Shao J, Wang H. Sample Size Calculation in Clinical Research. New York: Marcel Dekker, 2003
Example.4.2.4<-TwoSampleProportion.Equality(0.05,0.2,0.65,0.85,1)
Example.4.2.4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.