# partial replicate design, target power=80\%,
# true assumed ratio = 0.90, 1E+6 simulated studies
# EMA regulatory settings (ABE limits, PE constraint 0.8 - 1.25)
# Not run: due to timing policy of CRAN for examples
scABEL.ad(CV = 0.3)
# should result in adjusted alpha = 0.0339 (TIE 0.500, TIE for nominal alpha 0.0719)
#
# same with ANVISA settings, CVswitch=40\%
scABEL.ad(CV = 0.3, regulator = "anvisa")
# no adjustment necessary (TIE 0.0503, n.s. > 0.05)
#
# EMA, full replicate design, CV 0.35, sample size 33 (unbalanced)
# Not run: due to timing policy of CRAN for examples
scABEL.ad(CV = 0.35, design = "2x2x4", n = c(16, 17))
# should result in adjusted alpha = 0.0363 (TIE 0.500, TIE for nominal alpha 0.0654)
Run the code above in your browser using DataLab