power.HVNTID(alpha = 0.05, theta1, theta2, theta0, CV, n, design=c("2x2x4", "2x2x3"),
nsims = 1e+05, details = FALSE, setseed = TRUE)
length(CV) = 1
the same CV is assumed for Test and Reference.
If length(CV) = 2
the CV for Test must be given in CV[1] and for
Reference in CV[2].design="2x2x4"
.TRUE
the computational time is shown as well as the components
for the BE decision.
p(BE-ABE) is the simulated probability for the conventional ABE test.
p(BE-sratio) is the probability that the upper 90% confidence limit of the
set.seed(123456)
is issued if setseed=TRUE
, the default.details=FALSE
.
Returns a named vector if argument details=TRUE
.
p(BE) is the power, p(BE-ABE) is the power of the ABE test alone and p(BE-sratio)
is the power of the criterion 'ratio of sWT/sWR is <= 2.5'="" alone.<="" li="">=>sampleN.HVNTID
and power.NTIDFDA
, sampleN.NTIDFDA
for NTIDs with
low variability# using the defaults:
# GMR=0.95, theta1=0.8, theta2=1.25, full replicate design 2x2x4, 100 000 sims
# and a CV of 0.3 (=30\%) for both Reference and Test, with 24 subjects, balanced
power.HVNTID(CV=0.3, n=24)
# should give a power of 0.86354
Run the code above in your browser using DataLab