- outcome_str
A string representing the outcomes observed hitherto.
See efftox_parse_outcomes
for a description of syntax and
examples. Alternatively, you may provide doses_given
, eff
and
tox
parameters. See Details.
- real_doses
A vector of numbers, the doses under investigation. They
should be ordered from lowest to highest and be in consistent units.
E.g. to conduct a dose-finding trial of doses 10mg, 20mg and 50mg, use
c(10, 20, 50).
- efficacy_hurdle
Minimum acceptable efficacy probability.
A number between 0 and 1.
- toxicity_hurdle
Maximum acceptable toxicity probability.
A number between 0 and 1.
- p_e
Certainty required to infer a dose is acceptable with regards to
being probably efficacious; a number between 0 and 1.
- p_t
Certainty required to infer a dose is acceptable with regards to
being probably tolerable; a number between 0 and 1.
- eff0
Efficacy probability required when toxicity is impossible;
a number between 0 and 1 (see Details).
- tox1
Toxicity probability permitted when efficacy is guaranteed;
a number between 0 and 1 (see Details).
- eff_star
Efficacy probability of an equi-utility third point (see
Details).
- tox_star
Toxicity probability of an equi-utility third point (see
Details).
- priors
instance of class efftox_priors
, the
hyperparameters for normal priors on the six model parameters.
- alpha_mean
Optional, the prior normal mean of the intercept term in
the toxicity logit model. A number. You should prioritise specifying this
value via priors
but this option is provided for
backwards-compatibility.
- alpha_sd
Optional, the prior normal standard deviation of the
intercept term in the toxicity logit model. A number.You should prioritise
specifying this value via priors
but this option is provided for
backwards-compatibility.
- beta_mean
Optional, the prior normal mean of the slope term in the
toxicity logit model. A number. You should prioritise specifying this
value via priors
but this option is provided for
backwards-compatibility.
- beta_sd
Optional, the prior normal standard deviation of the slope
term in the toxicity logit model. A number. You should prioritise specifying
this value via priors
but this option is provided for
backwards-compatibility.
- gamma_mean
Optional, The prior normal mean of the intercept term in
the efficacy logit model. A number. You should prioritise specifying this
value via priors
but this option is provided for
backwards-compatibility.
- gamma_sd
Optional, the prior normal standard deviation of the
intercept term in the efficacy logit model. A number. You should prioritise
specifying this value via priors
but this option is provided for
backwards-compatibility.
- zeta_mean
Optional, the prior normal mean of the slope term in the
efficacy logit model. A number. You should prioritise specifying this value
via priors
but this option is provided for backwards-compatibility.
- zeta_sd
Optional, the prior normal standard deviation of the slope
term in the efficacy logit model. A number. You should prioritise specifying
this value via priors
but this option is provided for
backwards-compatibility.
- eta_mean
Optional, the prior normal mean of the squared term
coefficient in the efficacy logit model. A number. You should prioritise
specifying this value via priors
but this option is provided for
backwards-compatibility.
- eta_sd
Optional, the prior normal standard deviation of the squared
term coefficient in the efficacy logit model. A number. You should prioritise
specifying this value via priors
but this option is provided for
backwards-compatibility.
- psi_mean
Optional, the prior normal mean of the association term in
the combined efficacy-toxicity model. A number. You should prioritise
specifying this value via priors
but this option is provided for
backwards-compatibility.
- psi_sd
Optional, the prior normal standard deviation of the
association term in the combined efficacy-toxicity model. A number. You
should prioritise specifying this value via priors
but this option is
provided for backwards-compatibility.
- doses_given
A optional vector of dose-levels given to patients
1:num_patients, where 1=lowest dose, 2=second dose, etc. Only required when
outcome_str
is not provided.
- eff
An optional vector of efficacy outcomes for patients
1:num_patients, where 1=efficacy and 0=no efficacy. Only required when
outcome_str
is not provided.
- tox
An optional vector of toxicity outcomes for patients
1:num_patients, where 1=toxicity and 0=no toxicity. Only required when
outcome_str
is not provided.
- ...
Extra parameters are passed to rstan::sampling
. Commonly
used options are iter
, chains
, warmup
, cores
,
control
. sampling
.