TwoSampleProportion.Equality: Two sample proportion test for equality

Description Usage Arguments References Examples

View source: R/TwoSampleProportion.Equality.R

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

1

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

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

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