get.oc(target, p.true, ncohort, cohortsize, n.earlystop=100, startdose=1,
p.saf="default", p.tox="default", design = 1, cutoff.eli = 0.95, extrasafe = FALSE,
offset = 0.05, ntrial = 1000)
n.earlystop
, stop the trial and select the MTD based on the observed data. The default value n.earlystop=100
essentially turns off the type op.saf=0.6xtarget
.p.tox=1.4xtarget
.design=1
) or the global optimal design (design=2
).(cutoff.eli=0.95)
for general useextrasafe=TRUE
to impose a more stringent stopping ruleextrasafe=TRUE
. A larger value leads to a more strict stopping rule. The default value offset=0.05
generally works well.get.oc
returns the operating characteristics of the BOIN design as a data frame, including (1) function arguments (1) selection percentage at each dose level (selpercent), (2) the number of patients treated at each dose level (nptsdose), (3) the number of toxicity observed at each dose level (ntoxdose), (4) the average number of toxicities (totaltox), (5) the average number of patients (totaln), and (6) the percentage of early stopping without selecting the MTD (pctearlystop).n.earlystop
. The first stopping rule is a safety rule to protect patients from the case that all doses are overly toxic. The rationale for the second stopping rule is that when there are a large number (i.e., n.earlystop
) of patients assigned to a dose, it means that the dose finding algorithm has approximately converged. Thus, we can early stop the trial and select the MTD to save the sample size and reduce the trial duration. For some applications, investigators may prefer a more strict safety stopping rule than rule (1) for extra safety when the lowest dose is overly toxic. Setting extrasafe=TRUE
imposes the following more strict safety stopping rule: stop the trial if (i) the number of patients treated at the lowest dose >=3, and (ii) Pr(toxicity rate of the lowest dose > target
| data) > cutoff.eli-offset
. As a tradeoff, the strong stopping rule will decrease the selection percentage of the MTD when the lowest dose actually is the MTD.
Paper:
## Consider a phase I trial aiming to find the MTD with a target toxicity rate of 0.3
## the maximum sample size is 30 patients in cohort size of 3
## assume the true toxicity rates of 5 doses are (0.05, 0.15, 0.3, 0.45, 0.6)
## run 1,000 simulated trials
ptox = c(0.05, 0.15, 0.3, 0.45, 0.6)
get.oc(target=0.3, p.true=ptox, ncohort=10, cohortsize=3, ntrial=1000)
Run the code above in your browser using DataLab