OneSampleProportion.Equality: One sample proportion test for equality

View source: R/OneSampleProportion.Equality.R

OneSampleProportion.EqualityR Documentation

One sample proportion test for equality

Description

Ho: p=p0

Ha: not equal

The test is finding whether there is a difference between the true rate of the test drug and reference value p0

Usage

OneSampleProportion.Equality(alpha, beta, p, differ)

Arguments

alpha

significance level

beta

power = 1-beta

p

the true response rate

differ

differ=p-p0

the difference between the true response rate of a test drug and a reference value p0

References

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

Examples

Example.4.1.4<-OneSampleProportion.Equality(0.05,0.2,0.5,0.2)
Example.4.1.4


TrialSize documentation built on April 12, 2025, 2:01 a.m.