ssmse: Sample size using mean squared error (MSE)

Description Usage Arguments Details Value Author(s) Examples

View source: R/ssmse.R

Description

It calculates sample size for the bioequivalence test on ratio using mean squared error (MSE).

Usage

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

Arguments

mse

Mean squared error

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

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 mse, 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
ssmse(0.06)

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