Generic function for optimizing drug development programs with bias adjustment
optimal_bias_generic(
adj = "both",
lambdamin = NULL,
lambdamax = NULL,
steplambda = NULL,
alphaCImin = NULL,
alphaCImax = NULL,
stepalphaCI = NULL
)
choose type of adjustment: "multiplicative"
,
"additive"
, "both"
or "all"
. When using "both",
res[1,]
contains the results using the multiplicative method and res[2,]
contains the results using the additive method. When using "all", there are
also res[3,]
and res[4,]
, containing the results of a multiplicative
and an additive method which do not only adjust the treatment effect but
also the threshold value for the decision rule.
minimal multiplicative adjustment parameter lambda (i.e. use estimate with a retention factor)
maximal multiplicative adjustment parameter lambda (i.e. use estimate with a retention factor)
stepsize for the adjustment parameter lambda
minimal additive adjustment parameter alphaCI (i.e. adjust the lower bound of the one-sided confidence interval)
maximal additive adjustment parameter alphaCI (i.e. adjust the lower bound of the one-sided confidence interval)
stepsize for alphaCI