ph1_sim_OC: Simulation of Phase I study operating characteristics

View source: R/ph1_sim_OC.R

ph1_sim_OCR Documentation

Simulation of Phase I study operating characteristics

Description

Simulation of Phase I study operating characteristics

Usage

ph1_sim_OC(
  nsim,
  scenarios,
  env = parent.frame(),
  OD_cut = c(0.6, 0.8),
  OD_delta = 0,
  ...
)

Arguments

nsim

number of simulations

scenarios

list of scenario's (each vector: set of true DLT rate for each dose level). Examples of scenarios can be found in a vignette accompanying this package. For more details see the help vignette: vignette("scenarios", package = "PhIdesign")

env

parent environment (global) to pass scenario counter to global environment to print progress

OD_cut

vector of 2. Default value is c(0.6,0.8)

OD_delta

dose level with toxicity >phi+OD_delta is considered as overdose. Default value is zero.

...

see ph1_1sim

Value

a list containing of a matrix (results by dose level) and a vector (overall results)

  • [[1]]$dose_level: dose level

  • [[1]]$truerate: true DLT rate

  • [[1]]$sel_pct_dose: selection proportion at each dose level

  • [[1]]$avg_SS_dose: average number of patients treated by dose level

  • [[1]]$nDLT_dose: average number of DLT's observed at dose level

  • [[2]]$nsim: number of simulations

  • [[2]]$design: design used

  • [[2]]$sel_at_phi_pct: percent simulated trials in which the correct dose is selected, i.e., the dose with DLT rate equal to phi

  • [[2]]$sel_at_phi_rng_pct: percent simulated trials in which the selected dose has a DLT rate that lies in the interval [phi-0.05, phi+0.05]

  • [[2]]$sel_below_phi_pct: percent simulated trials in which the selected dose has a DLT rate < phi-0.05

  • [[2]]$sel_above_phi_pct: percent simulated trials in which the selected dose has a DLT rate > phi+0.05

  • [[2]]$avg_npt_MTD_sel: average number of patients treated at the actual selected MTD for each simulated study (studies without MTD selection not taken into account)

  • [[2]]$avg_pct_pts_at_phi: average percent patients in each simulated trial treated with dose with DLT rate =phi

  • [[2]]$avg_pct_pts_at_phi_rng: average percent patients in each simulated trial treated with dose with DLT rate that lies in the interval [phi-0.05, phi+0.05]

  • [[2]]$avg_pct_pts_below_phi: average percent patients in each simulated trial treated with dose with DLT rate < phi-0.05

  • [[2]]$avg_pct_pts_above_phi: average percent patients in the simulated trials treated with dose with DLT rate > phi+0.05

  • [[2]]$noMTD: percent simulated trials without MTD selection

  • [[2]]$avg_nDLT: average number of observed DLTs

  • [[2]]$avg_SS: average sample size of all simulated trials

  • [[2]]$max_SS: maximum sample size of all simulated trials

  • [[2]]$overdose_1: percent simulated trials in which >=OD_cut[1] of patients is assigned to a dose with DLT rate >phi

  • [[2]]$overdose_2: percent simulated trials in which >=OD_cut[2] of patients is assigned to a dose with DLT rate >phi

  • [[3]] labels for item[[2]]

References

Liu S, Yuan Y. Bayesian Optimal Interval Designs for Phase I Clinical Trials. J R Stat Soc Ser C Appl Stat. 2015;64:507–23 Yan F, Mandrekar SJ, Yuan Y. Keyboard: A Novel Bayesian Toxicity Probability Interval Design for Phase I Clinical Trials. Clin Cancer Res. 2017; 23: 3994–4003

Examples

result<-ph1_sim_OC(nsim=5,  scenarios=list(c(0.40 ,0.50 ,0.60 ,0.70 ,0.80 ,0.90),
                                           c(0.30 ,0.40 ,0.50 ,0.60 ,0.70 ,0.80),
                                           c(0.30 ,0.35 ,0.40 ,0.60 ,0.75 ,0.90),
                                           c(0.20 ,0.30 ,0.40 ,0.50 ,0.60 ,0.70),
                                           c(0.20 ,0.30 ,0.50 ,0.65 ,0.80 ,0.90),
                                           c(0.20 ,0.25 ,0.30 ,0.40 ,0.60 ,0.75),
                                           c(0.10 ,0.20 ,0.30 ,0.40 ,0.50 ,0.60),
                                           c(0.10 ,0.15 ,0.25 ,0.30 ,0.50 ,0.75),
                                           c(0.05 ,0.10 ,0.15 ,0.20 ,0.25 ,0.30),
                                           c(0.05 ,0.10 ,0.20 ,0.30 ,0.50 ,0.65),
                                           c(0.025,0.05 ,0.10 ,0.20 ,0.30 ,0.40)), 
   phi=0.3, phi1=0.6*0.3, phi2=1.4*0.3, maxtox=0.95, N=18, 
   cohortsize=3, maxN=9, maxNdec="STAY",acc_tit=0, design="BOIN", MTD_safer=TRUE)

IDDI-BE/PhIdesign documentation built on Feb. 7, 2024, 9:32 p.m.