View source: R/gof.Pearson.twoway.R
gof.Pearson.twoway | R Documentation |
H0: pk=pk,0 for all k
Ha: not equal
gof.Pearson.twoway(alpha, beta, trt, ctl, r, c)
alpha |
significance level |
beta |
power = 1-beta |
trt |
proportion of each subject in treatment group |
ctl |
proportion of each subject in control group |
r |
number of rows in the two-way table |
c |
number of column in the two-way table |
(*) is \chi^{2}_{r-1}(\chi^{2}_{\alpha, r-1}|noncen)=\beta
Chow SC, Shao J, Wang H. Sample Size Calculation in Clinical Research. New York: Marcel Dekker, 2003
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.