Compute parameters for logistic dose toxicity model
Find_AB.RdCompute parameters for logistic dose toxicity model
Arguments
- dose_vec
a length-2 numeric vector giving the doses
- prob_vec
a length-2 numeric vector giving the DLT probability of the
dose_vec- ref_dose
a numeric scalar, the reference dose.
- logb
boolean, whether to return
log(b)orbin original scale. Refer to details for more information about the model settings
Value
A length-2 numerical vector c(a, b) for the logistic toxicity model.
Or c(a, log(b)) if logb is set to TRUE.
Details
Denote p the DLT probability and the logistic model is assumed to be
$$logit(p) = a + b * log(d / ref\_dose),$$
where
$$logit(p) = log(p / (1 - p)).$$
Therefore, given two doses (ds) in dose_vec, there corresponding DLT
probabilities (ps) in prob_vec and the reference dose ref_dose, we can
solve for a and b.
In BLRM, a bivariate-normal assumption is assumed for \((a, log(b))\). And
different tools may uses different parameterization of the model. By
changing the values of logb, one can control what this function returns
about b, either in original scale, or log(b).