Learn R Programming

CFO (version 2.1.0)

gammatable: Generating table of threshold \(\gamma_L\) and \(\gamma_R\) in the calibration-free odds (CFO) design

Description

Generate all the possible thresholds under different \(m_C\), \(m_L\) and \(m_R\)

Usage

gammatable(npatient, target, 
            para.prior = list(alp.prior = target, bet.prior = 1 - target))

Value

The gammatable() function returns a list object comprising the following elements:

  • gammatb.left: the table of threshold \(\gamma_L\) under different \(m_L\) and \(m_C\) where \(m_C\) and \(m_L\) represent the number of patients at current dose level and left dose level.

  • gammatb.right: the table of threshold \(\gamma_R\) under different \(m_R\) and \(m_C\) where \(m_C\) and \(m_R\) represent the number of patients at current dose level and right dose level.

Arguments

npatient

the numbers of patients involved in the trial.

target

the target DLT rate.

para.prior

the prior parameters for a beta distribution, where set as list(alp.prior = target, bet.prior = 1 - target) by default, alp.prior and bet.prior represent the parameters of the prior distribution for the true DLT rate at any dose level. This prior distribution is specified as Beta(alpha.prior, beta.prior).

Author

Jialu Fang, Ninghao Zhang, Wenliang Wang, and Guosheng Yin

References

Jin H, Yin G (2022). CFO: Calibration-free odds design for phase I/II clinical trials. Statistical Methods in Medical Research, 31(6), 1051-1066.

Examples

Run this code
npatient <- 3; target <- 0.3
para.prior = list(alp.prior = target, bet.prior = 1 - target)
result <- gammatable(npatient, target, para.prior)
plot(result)
#This example may cost you a long time to run
npatient <- 30; target <- 0.3
para.prior = list(alp.prior = target, bet.prior = 1 - target)
result <- gammatable(npatient, target, para.prior)
plot(result)

Run the code above in your browser using DataLab