applied_crm_sim: Simulate CRM trials using specified design options

Description Usage Arguments Value References Examples

View source: R/simulation.R

Description

applied_crm_sim is used to simulate trials using the continual reassessment method with specified design options to determine the operating characteristics.

Usage

1
2
applied_crm_sim(true_tox, prior, target, max_sample_size, first_dose,
    num_sims, cohort_size = 1, dose_func = applied_crm, ...)

Arguments

true_tox

A vector of 'true' underlying rates of toxicity for each of the dose levels.

prior

A vector of prior estimates of toxicity probabilties for the dose levels.

target

The target DLT rate.

max_sample_size

The maximum number of subjects to be recruited in any simulation.

first_dose

The first dose level to tested.

num_sims

The total number of simulations to be run.

cohort_size

The size of the cohorts. Default is 1.

dose_func

The function to be employed in executing the CRM. Default is applied_crm.

...

Any other arguements detailed in dtpcrm::applied_crm.

Value

A list containing two further lists. The first of these lists contains the operating charateristics of the design, the second contains the underlying data for each of the simulation iterations.

References

O'Quigley, J. O., Pepe, M., and Fisher, L. (1990). Continual reassessment method: A practical design for phase I clinical trials in cancer. Biometrics 46:33-48.

Cheung, Y. K. (2011). Dose Finding by the Continual Reassessment Method. New York: Chapman & Hall/CRC Press.

Examples

1
2
3
4
5
6
7
8
9
# It may take quite long for large num_sims
prior  <- c(0.1, 0.3, 0.5)
target <- 0.2
true_tox <- c(0.15, 0.25, 0.45)
first_dose <- 1
num_sims <- 5  # recommend doing 5000 simulations for the final design

applied_crm_sim(true_tox, prior, target, max_sample_size = 30, first_dose,
                num_sims, cohort_size = 1, dose_func = applied_crm)

dtpcrm documentation built on Aug. 20, 2019, 5:23 p.m.