OneSampleProportion.NIS: One sample proportion test for Non-inferiority/Superiority

Description Usage Arguments References Examples

View source: R/OneSampleProportion.NIS.R

Description

Ho: p-p0 ≤ margin

Ha: p-p0 > margin

if margin >0, the rejection of Null Hypothesis indicates the true rate is superior over the reference value p0;

if margin <0, the rejection of the null hypothesis implies the true rate is non-inferior against the reference value p0.

Usage

1
OneSampleProportion.NIS(alpha, beta, p, delta, margin)

Arguments

alpha

significance level

beta

power = 1-beta

p

the true response rate

delta

delta=p-p0

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

margin

the superiority or non-inferiority margin

References

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

Examples

1
2
Example.4.1.4<-OneSampleProportion.NIS(0.025,0.2,0.5,0.2,-0.1)
Example.4.1.4

TrialSize documentation built on May 30, 2017, 7:18 a.m.