powcv: Power using coefficient of variation (CV)

Description Usage Arguments Details Value Author(s) Examples

View source: R/powcv.R

Description

It calculates power for the bioequivalence test on ratio using coefficient of variation (CV).

Usage

1
powcv(n, CV, DesignNo = 1, True.R = 1, Alpha = 0.1, ThetaL = 0.8, ThetaU = 1.25)

Arguments

n

Sample size, n per group

CV

Coefficient of Variation (%)

DesignNo

Crossover design number.

  
 Design Number (treatment x sequence x period)
 1 2x2x2 : RT TR (no carry-over)
 2 2x4x2 (Balaam Design) : TT RR RT TR (no carry-over)
 3 2x2x3 (Two-sequence Dual Design): TRR RTT (no carry-over)
 4 2x3x3 : TRR RTR RRT - carry-over effect
 5 2x2x4c : TRRT RTTR + carry-over effect
 6 2x2x4 : TRRT RTTR - carry-over effect
 7 2x4x4 : TTRR RRTT TRRT RTTR
 8 3x6x3c (William Design for 3 treatments) + carry-over effect 
         : RBA ARB BAR ABR BRA RAB
 9 3x6x3 (William Design for 3 treatments) - carry-over effect 
         : RBA ARB BAR ABR BRA RAB
 10 4x4x4c (William Design for 4 treatments) + carry-over effect 
         : RCAB ARBC BACR CBRA
 11 4x4x4 (William Design for 4 treatments) - carry-over effect 
         : RCAB ARBC BACR CBRA 
True.R

True ratio of test/reference

Alpha

Alpha error level

ThetaL

Lower limit of equivalence criteria

ThetaU

Upper limit of equivalence criteria

Details

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

Value

Returns power [0, 1)

Author(s)

Kyun-Seop Bae k@acr.kr

Examples

1
powcv(12, 25) 

BE documentation built on Oct. 23, 2020, 8:33 p.m.