bi2ste2: Sample sizes for the exact Fisher type test for...

Description Usage Arguments Details Value Author(s) References Examples

View source: R/bi2ste2.R

Description

Sample sizes for the exact Fisher type test for noninferiority

Usage

1
bi2ste2(eps, alpha, p1, p2, bet, qlambd)

Arguments

eps

noninferiority margin to the odds ratio

alpha

significance level

p1

success rate in Population 1

p2

success rate in Population 2

bet

target power value

qlambd

sample size ratio m/n

Details

The program computes the smallest sample sizes m,n satisfying m/n = λ required for ensuring that the power of the randomized UMPU test does not fall below β.

Value

eps

noninferiority margin to the odds ratio

alpha

significance level

p1

success rate in Population 1

p2

success rate in Population 2

bet

target power value

qlambd

sample size ratio m/n

M

minimum size of Sample 1

N

minimum size of Sample 2

POW

power of the randomized UMPU test attained with the computed values of m, n

Author(s)

Stefan Wellek <[email protected]>
Peter Ziegler <[email protected]>

References

Wellek S: Testing statistical hypotheses of equivalence and noninferiority. Second edition. Boca Raton: Chapman & Hall/CRC Press, 2010, 6.6.1.

Examples

1
bi2ste2(0.5,0.05,0.9245,0.9065,0.80,1.00)

EQUIVNONINF documentation built on Sept. 19, 2017, 5:06 p.m.