GetFBCRM: Provides the optimal dose level closest to the mtd where the...

View source: R/GetFBCRM.R

GetFBCRMR Documentation

Provides the optimal dose level closest to the mtd where the next cohort of patients should be allotted based on the data.

Description

Provides the optimal dose level closest to the mtd where the next cohort of patients should be allotted based on the data.

Usage

GetFBCRM(X, Y, Cohort, mu, p_rho, sigma, mtd, B, p_u)

Arguments

X

Vector of patients allotted to each dose level.

Y

Vector of toxicity events in each dose.

Cohort

Number of patients within each cohort.

mu

Prior expected toxicity probability at each dose.

p_rho

Prior probability that two dose-toxicity probabilities will not cluster together.

sigma

Prior standard deviation for the parameter alpha.

mtd

Maximum Tolerated dose toxicity probability (pre defined).

B

Number of Iterations to run for MCMC.

p_u

Cut-off toxicity probability for first dose.

Value

A list containing (1) Design parameters and prior hyperparameters used for running the trials and (2) a posterior summary of the resuls, including the next dose to assign patients to.

Examples

X=c(3, 6, 3, 3, 3, 9, 15, 6)
Y=c(1, 0, 1, 0, 0, 2,  4, 5)
Cohort=3
mu=seq(0.1,0.8,0.1)
p_rho=0.9
sigma = 2
mtd = 0.3
B=2000 ##Number of iterations
p_u=0.9
Z=GetFBCRM(X, Y, Cohort, mu, p_rho, sigma, mtd, B, p_u)
Z

FBCRM documentation built on Oct. 29, 2022, 9:05 a.m.

Related to GetFBCRM in FBCRM...