Generating a probability of DLT function based on the EWOC extended model
pdlt_d1extended(rho, min_dose, max_dose)
rho
: a numerical vector indicating the true value of the parameters rho_0 and rho_1.min_dose
: a numerical value defining the lower bound of the support of the MTD.max_dose
: a numerical value defining the upper bound of the support of the MTD.A function with dose as an input and a probability based on the logistic regression and parameters as an output.
pdlt <- pdlt_d1extended(rho = c(0.05, 0.5), min_dose = 10, max_dose = 50) pdlt(20)