dec.sim: run dose-finding simulations

Description Usage Arguments Details Value Author(s) Examples

View source: R/dec.sim.R

Description

Run dose-finding simulations based on a customized decision table.

Usage

1
dec.sim(truep, decTable, start.level = 1, nsim = 1000)

Arguments

truep

a vector of length k (the number of doses being considered in the trial), with values equal to the true probabilities of toxicity at the dose levels.

decTable

a customized decision table. (same format as output of dec.table)

start.level

starting dose level. Defaults to 1, i.e. the lowest dose level.

nsim

the number of simulation trials. Defaults to 1000.

Details

Assume there are $d$ dose levels to be studied. Denote the cumulative number of patients treated and cumulative number of DLTs at the current dose level are $n_i$ and $m_i$, respectively. $n_max$ is the maximum number of patients permitted to be treated at each dose level. The procedure is as follows

Value

the functions summary.dec.sim is used to obtain and print a summary table of the results (recommended). An object of class "dec.sim" is a list containing:

mtd

a vector of dose levels giving the recommended maximum tolerated dose (MTD) at the end of the trial.

mtd.prob

a vector of length k giving the average proportions of selected as MTD at each dose level.

over.prob

a vector of length k giving the average proportions of selected as over the MTD at each dose level.

n.patients

the average number of patients dosed at each level.

dlt

the average number of DLTs experienced at each dose level.

truep

input; true probabilities of toxicity.

start.level

input; starting dose level.

nsim

input; number of simulated trails.

Author(s)

Wenchuan Guo <wguo1017@gmail.com>

Examples

1
2
3
4
truep <- c(0.3, 0.45, 0.5, 0.6)
res <- dec.table(0.6,0.4,0.2,0.3,c(3,3,3))
out <- dec.sim(truep, res$table, start.level = 2, nsim = 1000)
summary(out, pt = 0.3)

tsdf documentation built on July 1, 2020, 6:18 p.m.