Learn R Programming

crm12Comb (version 0.1.12)

maximization_phase: 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)

Value

A number is returned indicating the dose level for next patient or cohort of patients allocation.

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.

Examples

Run this code
# 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)

Run the code above in your browser using DataLab