gof.Pearson.twoway: Test Goodness of Fit by Pearson's Test for two-way table

Description Usage Arguments Details References

View source: R/gof.Pearson.twoway.R

Description

H0: pk=pk,0 for all k

Ha: not equal

Usage

1
gof.Pearson.twoway(alpha, beta, trt, ctl, r, c)

Arguments

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

Details

(*) is χ^{2}_{r-1}(χ^{2}_{α, r-1}|noncen)=β

References

Chow SC, Shao J, Wang H. Sample Size Calculation in Clinical Research. New York: Marcel Dekker, 2003


TrialSize documentation built on July 8, 2020, 7:19 p.m.