oc_stein() uses the STEIN design to compute operating charateristics of a user-specificed trial scenario.
This design uses target toxicity and efficacy rates separately to form the cutoff intervals within a decision map.
oc_stein(
ndose,
target_t,
lower_e,
ncohort = 10,
cohortsize = 3,
startdose = 1,
OBD = 0,
psi1 = 0.2,
psi2 = 0.6,
psafe = 0.95,
pfutility = 0.9,
ntrial = 10000,
utilitytype = 1,
u1,
u2,
prob = NULL
)A list containing operating characteristics such as:
OBD selection percentage
Favorable dose selection percentage
Average percentage of patients at the OBD
Average percentage of patients at the favorable doses
Percentage of early stopped trials
Overdose patients percentage
Poor allocation percentage
Overdose selection percentage
Integer. Number of dose levels. (Required)
Numeric. Target toxicity probability. (Required)
Numeric. Minimum acceptable efficacy probability. (Required)
Integer. Number of cohorts. (Default is 10)
Integer. Size of a cohort. (Default is 3)
Integer. Starting dose level. (Default is 1)
Integer. True index of the Optimal Biological Dose (OBD) for the trial scenario. (Default is 0)
If set to 0: Random OBD will be selected.
Other: Treat this argument as the true OBD.
Numerical. Highest inefficacious efficacy probability.
Numerical. Lowest highly-promising efficacy probability.
Numeric. Early stopping cutoff for toxicity. (Default is 0.95)
Numeric. Early stopping cutoff for efficacy. (Default is 0.95)
Integer. Number of random trial replications. (Default is 10000)
Integer. Type of utility structure. (Default is 1)
If set to 1: Use preset weights (w11 = 0.6, w00 = 0.4)
If set to 2: Use (w11 = 1, w00 = 0)
Other: Use user-specified values from u1 and u2.
Numeric. Utility parameter w_11. (0-100)
Numeric. Utility parameter w_00. (0-100)
Fixed probability vectors. If not specified, a random scenario is used by default. Use this parameter to provide fixed probability vectors as a list of the following named elements:
pE: Numeric vector of efficacy probabilities for each dose level.
pT: Numeric vector of toxicity probabilities for each dose level.
obd: Integer indicating the index of the true Optimal Biological Dose (OBD).
mtd: Integer indicating the index of the true Maximum Tolerated Dose (MTD).
For example:
prob <- list(
pE = c(0.4, 0.5, 0.6, 0.6, 0.6),
pT = c(0.1, 0.2, 0.3, 0.4, 0.4),
obd = 3,
mtd = 2
)
oc_stein(
ndose = 5,
target_t = 0.3,
lower_e = 0.4,
ntrial = 10,
)
Run the code above in your browser using DataLab