get_Elim_rules: Get dose elimination rules for phase I design

View source: R/get_Elim_rules.R

get_Elim_rulesR Documentation

Get dose elimination rules for phase I design

Description

Get Dose elimination rules for phase I design, based on Bayesian posterior probability

Usage

get_Elim_rules(Nmax, phi, maxprob)

Arguments

Nmax

maximum number of patients

phi

target DLT rate

maxprob

P(DLT rate>phi|c,n)<=maxprob

Details

A uniform Beta(1,1) prior is used to calculate the posterior Bayesian probability

Value

a data.frame with elements

  • phi: target toxicity rate

  • n: number of patients at which toxicity is evaluated

  • c: max number of DLTs at which P(DLT rate>phi)<=maxprob

  • c_STOP: c+1, i.e. min number of DLTs at which P(DLT rate>phi|c_STOP,n)>maxprob

  • prob_Bayes: P(DLT rate>phi|c,n)

  • prob_Obs: c/n or the allowed observed toxicity rate with no stopping

Examples

rule<-get_Elim_rules(Nmax=21,phi=0.3,maxprob=0.95)

IDDI-BE/PhIdesign documentation built on Feb. 7, 2024, 9:32 p.m.