sscv: Sample size using coefficient of variation (CV)

Description Usage Arguments Details Value Author(s) Examples

View source: R/sscv.R

Description

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

Usage

1
2
sscv(CV, DesignNo = 1, True.R = 1, Alpha = 0.1, Beta = 0.2, 
     ThetaL = 0.8, ThetaU = 1.25, nMax = 999999)

Arguments

CV

Coefficient of Variation (%)

DesignNo

Crossover design number.

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

True ratio of test/reference

Alpha

Alpha error level

Beta

Beta error level

ThetaL

Lower limit of equivalence criteria

ThetaU

Upper limit of equivalence criteria

nMax

Maximum subject number (sample size) per group

Details

It calculates sample size (n per group) with CV, Alpha, and Beta for bioequivalence test.

Value

Returns sample size (n per group) for bioequivalence test with ratio criteria.

Author(s)

Kyun-Seop Bae <k@acr.kr>

Examples

1
sscv(25)

Example output

Loading required package: rtf
[1] 12

BE documentation built on Dec. 16, 2021, 1:06 a.m.