Class of model fit by trialr using the EffTox dose-finding design.
efftox_fit(dose_indices, recommended_dose, prob_eff, prob_tox, prob_acc_eff,
prob_acc_tox, utility, post_utility, acceptable, dat, fit)
A vector of integers representing the dose-levels under consideration.
An integer representing the dose-level recommended
for the next patient or cohort; or NA
if stopping is recommended.
The posterior mean probabilities of efficacy at doses 1:n; a vector of numbers between 0 and 1.
The posterior mean probabilities of toxicity at doses 1:n; a vector of numbers between 0 and 1.
The posterior mean probabilities that efficacy at the doses is acceptable, i.e. that it exceeds the minimum acceptable efficacy threshold; a vector of numbers between 0 and 1.
The posterior mean probabilities that toxicity at the doses is acceptable, i.e. that it is less than the maximum toxicity threshold; a vector of numbers between 0 and 1.
The utilities of doses 1:n, calculated by plugging the
posterior mean probabilities of efficacy and toxicity into the utility
formula, as advocated by Thall & Cook. Contrast to post_utility
;
a vector of numbers.
The posterior mean utilities of doses 1:n, calculated
from the posterior distributions of the utilities. This is in contrast to
utility
, which uses plug-in posterior means of efficacy and toxicity,
as advocated by Thall & Cook; a vector of numbers.
A vector of logical values to indicate whether doses 1:n are acceptable, according to the rules for acceptable efficacy & toxicity, and rules on not skipping untested doses.
Object efftox_params
containing data passed to
sampling
.
An object of class stanfit
,
containing the posterior samples.
See methods(class = "efftox_fit")
for an overview of available
methods.