Learn R Programming

FIND (version 0.1.1)

run_sim_mtpi2: Simulations for the mTPI2 design.

Description

Conduct computer simulations for the mTPI2 design.

Usage

run_sim_mtpi2(p.true,
                     mtd.true,
                     pT,
                     EI,
                     ncohort,
                     cohortsize = 3,
                     startdose = 1,
                     DU.pp = 0.95,
                     n.earlystop = 100,
                     ntrial = 1000,
                     seed = 6)

Value

run_sim_mtpi2() returns:

(1) a dataframe ($selection) with each column showing: the numbered index for each scenarios specified, the name of the design, the selection percentage at each dose level, the percentage of early stopping without selecting the MTD, the percentage of overdosing selection (POS), the percentage of correct selection (PCS), the percentage of underdosing selection (PUS), the numbered index for the true MTD, respectively.

(2) a dataframe ($allocation) with each column showing: the numbered index for each scenarios specified, the name of the design, the number of participants treated at each dose level, the average number of participants treated, the percentage of overdosing assignment (POA), the percentage of correct assignment (PCA), the percentage of underdosing assignment (PUA), the numbered index for the true MTD, respectively.

(3) a list ($setup) containing user input parameters, such as pT, EI, nparticipants, etc.

Arguments

p.true

a vector or matrix containing the true toxicity probabilities of the investigational dose levels.

mtd.true

a numeric value or a vector which specifies the true MTD.

pT

a numeric value; the target DLT rate.

EI

a vector which specifies the equivalence interval (EI).

ncohort

a numeric value; the total number of cohorts.

cohortsize

a numeric value; the cohort size.

startdose

a numeric value; the starting dose level for the trial.

DU.pp

a numeric value; the cutoff to remove an overly toxic dose for safety. We recommend the default value of (DU.pp=0.95) for general use.

n.earlystop

a numeric value; the early stopping parameter. If the number of participants treated at the current dose reaches 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 of early stopping.

ntrial

a numeric value; the total number of simulated trials.

seed

a numeric value; the random seed for simulation.

Details

Denote the current dose \(d\). Let \(n_d\) and \(y_d\) represent the number of participants treated at dose \(d\) and the number of participants experienced DLT, respectively. Let \(p_d\) be the toxicity probability at dose \(d\). Also, denote \(\frac{y_d}{n_d}\) the observed toxicity rate at the current dose.

The mTPI2 design divides the probability of DLT into equal-width intervals: underdosing, target dosing, and overdosing. Utilizing a Bayesian model, mTPI-2 updates the posterior probability estimates of DLTs. If the interval which maximizes the posterior probability is among the underdosing intervals, the decision is to escalate to the next higher dose; if the interval which maximizes the posterior probability is the target dosing interval, the decision is to stay at the current dose; if the interval which maximizes the posterior probability is among the overdosing intervals, the decision is to to de-escalate to the next lower dose.

Also, the mTPI2 design includes a dose exclusion rule. Let \(p_T\) represents the pT DLT rate. If \(Pr(p_d > p_T | y_d , n_d ) > 0.95\), dose \(d\) and those higher than \(d\) are removed from the trial since they are deemed excessively toxic.

The mTPI2 design has two early stopping rules: (1) stop the trial if the lowest dose is eliminated due to toxicity, and no dose should be selected as the MTD; and (2) stop the trial and select the MTD if the number of participants treated at the current dose reaches n.earlystop.

References

Guo, W., Liu, S., & Yin, G. (2017). A more efficient Bayesian model for oncology dose-finding trials with toxicity probability interval. Clinical Trials, 14(1), 16-26.

Examples

Run this code
run_sim_mtpi2(p.true = c(0.25, 0.41, 0.45, 0.49, 0.53),
              mtd.true = c(1,0,0,0,0),
              pT = 0.25,
              EI = c(0.15,0.35),
              ncohort = 9,
              cohortsize = 3,
              startdose = 1,
              DU.pp = 0.95,
              n.earlystop = 100,
              ntrial = 1000,
              seed = 6)

Run the code above in your browser using DataLab