maximization_phase {crm12Comb} | R Documentation |
Maximization phase
Description
This function is used to perform maximization to select the dose level with maximum efficacy probability for next patient or cohort of patients allocation when the current sample size is greater than or equal to a pre-specified number.
Usage
maximization_phase(pE_est, seed_m=NULL)
Arguments
pE_est |
A vector of estimated efficacy probability in the acceptable set. |
seed_m |
An integer for the seed to generate random numbers used in maximization phase, default is NULL. |
Details
If several dose combinations have the same maximum estimated efficacy probability, then randomly select one dose level for next enrolled patient or cohort of patients.
Value
A number is returned indicating the dose level for next patient or cohort of patients allocation.
Examples
# Assume the estimated prbabilities for each dose combination in the acceptable set as:
p_est <- c(0.1, 0.2, 0.3, 0.4)
# Dose level for next enrolled patient or cohort of patients is:
d <- maximization_phase(p_est)
[Package crm12Comb version 0.1.6 Index]