nextBest-NextBestMaxGain Method.Helper function for nextBest-NextBestMaxGain() method. It computes a
95% credibility intervals for given target dose and max gain dose.
It also returns a ratio of upper and lower bounds of the interval.
h_next_best_mg_ci(dose_target, dose_mg, prob_target, placebo, model, model_eff)(number)
target dose estimate.
(number)
the dose corresponding to the maximum gain.
(proportion)
target DLT probability.
(flag)
if TRUE the first dose level in the dose grid used
is considered as placebo. This is needed to adjust the max gain dose using
efficacy constant value. If the placebo was used, then the model_eff@const
is added to dose_mg.
(ModelTox)
the DLT model.
(Effloglog)
the efficacy model.
YeungWhiteheadReignerBeyerDiackJaki2015crmPack