Computes the bootObj for sequential sampling procedures regarding nPlan, beta, the implied target
computeBootObj(
values,
beta = NULL,
nPlan = NULL,
nBoot = 1000L,
alpha = NULL,
objType = c("nPlan", "nMean", "beta", "betaFromEValues", "logImpliedTarget",
"expectedStopTime")
)bootObj
numeric vector. If objType equals "nPlan" or "beta" then values should be stopping times, if objType equals "logImpliedTarget" then values should be eValues.
numeric in (0, 1) that specifies the tolerable type II error control necessary to calculate both "n" and "phiS". Note that 1-beta defines the power.
integer > 0 representing the number of planned samples (for the first group).
integer > 0 representing the number of bootstrap samples to assess the accuracy of approximation of the power, the planned sample size(s) of the safe test under continuous monitoring.
numeric in (0, 1) that specifies the tolerable type I error control --independent on n-- that the designed test has to adhere to. Note that it also defines the rejection rule e10 > 1/alpha.
character string either "nPlan", "nMean", "beta", "betaFromEValues", "expectedStopTime" or "logImpliedTarget".
computeBootObj(1:100, objType="nPlan", beta=0.3)
Run the code above in your browser using DataLab