Stuart.Maxwell.Test: Stuart-Maxwell Test

Description Usage Arguments References

View source: R/Stuart.Maxwell.Test.R

Description

Extention from McNemar test to r by r table (r>2).

Ho: p_{ij} = p_{ji} for all different i,j.

Ha: not equal

The test is finding whether there is a categorical shift from i pre-treatment to j post-treatment.

Usage

1
Stuart.Maxwell.Test(noncen, p.ij, p.ji, r)

Arguments

noncen

the solution of the equation, which is non-central parameter of non-central chisquare distribtuion .

p.ij

the probability of shift from i pre-treatment to j post-treatment

p.ji

the probability of shift from j pre-treatment to i post-treatment

r

r by r tables, r is df

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.