power.NTIDFDA(alpha = 0.05, theta1, theta2, theta0, CV, n, 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].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.sampleN.NTIDFDA
# using the 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