Learn R Programming

BE (version 0.2.4)

pow2x2ci: Power using a confidence interval of previous 2x2 study

Description

It calculates power for the bioequivalence test on ratio using a confidence interval of previous 2x2 study.

Usage

pow2x2ci(n1, n2, LL, UL, Alpha = 0.1)

Value

Returns power [0, 1)

Arguments

n1

Subject count of group 1

n2

Subject count of group 2

LL

Lower limit of the confidence interval of geometric mean ratio (Test/Reference)

UL

Upper limit of the confidence interval of geometric mean ratio (Test/Reference)

Alpha

Alpha level. This means (1 - alpha/2)*100 % confidence interval is given

Author

Kyun-Seop Bae <k@acr.kr>

Details

It calculates power of sample size (n per group) with CV.

Examples

Run this code
pow2x2ci(12, 13, 0.85, 1.11) 

Run the code above in your browser using DataLab