TwoSampleProportion.Equality {TrialSize}R Documentation

Two sample proportion test for equality

Description

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

Usage

TwoSampleProportion.Equality(alpha, beta, p1, p2, k)

Arguments

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

References

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

Examples

Example.4.2.4<-TwoSampleProportion.Equality(0.05,0.2,0.65,0.85,1)
Example.4.2.4


[Package TrialSize version 1.4 Index]