Learn R Programming

TrialSize (version 1.4)

RelativeRisk.NIS: Relative Risk in Parallel Design test for Non-inferiority/Superiority

Description

Ho: \(OR \le margin\)

Ha: OR > margin

Usage

RelativeRisk.NIS(alpha, beta, or, k, pt, pc, margin)

Arguments

alpha

significance level

beta

power = 1-beta

or

or=pt(1-pc)/pc(1-pt)

k

k=nT/nC

pt

the probability of observing an outcome of interest for a patient treatment by a test treatment

pc

the probability of observing an outcome of interest for a patient treatment by a control

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

Run this code
# NOT RUN {
Example.4.6.4<-RelativeRisk.NIS(0.05,0.2,2,1,0.4,0.25,.2)
Example.4.6.4

# }

Run the code above in your browser using DataLab