get.oc(target, p.true, ncohort, cohortsize, n.earlystop=100, startdose=1,
p.saf="default", p.tox="default", 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 this type p.saf=0.6 x target
.p.tox=1.4 x target
.(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 toxicities 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 in which all doses are overly toxic. The rationale for the second stopping rule is that when there is 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 stop the trial early and select the MTD to save 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. This can be achieved by setting extrasafe=TRUE
, which 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 MTD selection percentage 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 25 patients in cohort size of 1
## 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=25, cohortsize=1, ntrial=1000)
Run the code above in your browser using DataLab