
Get an object to fit a TITE version of the NBG dose-finding model using trialr
Source:R/trialr_nbg_selector.R
get_trialr_nbg_tite.RdGet an object to fit a TITE version of the NBG dose-finding model using trialr
Usage
get_trialr_nbg_tite(
parent_selector_factory = NULL,
real_doses,
d_star,
target,
alpha_mean,
alpha_sd,
beta_mean,
beta_sd,
...
)Arguments
- parent_selector_factory
optional object of type
selector_factorythat is in charge of dose selection before this class gets involved. Leave as NULL to just use this model from the start.- real_doses
Doses under investigation, a non-decreasing vector of numbers.
- d_star
Numeric, reference dose for calculating the covariate
log(dose / d_star)when fitting the model. Sometimes (but not always) taken to be the max dose in real_doses.- target
We seek a dose with this probability of toxicity.
- alpha_mean
Prior mean of intercept variable for normal prior. See Details. Also see documentation for trialr package for further details.
- alpha_sd
Prior standard deviation of intercept variable for normal prior. See Details. Also see documentation for trialr package for further details.
- beta_mean
Prior mean of gradient variable for normal prior. See Details. Also see documentation for trialr package for further details.
- beta_sd
Prior standard deviation of slope variable for normal prior. See Details. Also see documentation for trialr package for further details.
- ...
Extra args are passed to
stan_nbg.
Value
an object of type selector_factory that can fit the
NBG model to outcomes.