power.NTIDFDA(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-sABEc) is the probability that the 95% CI of the ABE criterion is 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-sABEc) is the power of the BE test via scaled ABE criterion alone,
p(BE-ABE) is the power of the conventional ABE test alone and p(BE-sratio)
is the power of the criterion 'ratio of sWT/sWR is <= 2.5'="" alone.<="" li="">=>sampleN.NTIDFDA
and power.HVNTID
, sampleN.HVNTID
for NTIDs with
high variability# using the all defaults:
# GMR=0.975, theta1=0.8, theta2=1.25, 100 000 sims
# and a CV of 0.1 (= 10\%) with 12 subjects, balanced
power.NTIDFDA(CV=0.1, n=12)
# should give a power of 0.62553
Run the code above in your browser using DataLab