TwoSampleProportion.NIS: Two sample proportion test for Non-Inferiority/Superiority

Description Usage Arguments References Examples

View source: R/TwoSampleProportion.NIS.R

Description

Ho: p1-p2 ≤ margin Ha: p1-p2 > margin

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

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

Usage

1
TwoSampleProportion.NIS(alpha, beta, p1, p2, k, delta, margin)

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

delta

delta=p1-p2

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.2.4<-TwoSampleProportion.NIS(0.05,0.2,0.65,0.85,1,0.2,0.05)
Example.4.2.4

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