View source: R/get_Elim_rules.R
get_Elim_rules | R Documentation |
Get Dose elimination rules for phase I design, based on Bayesian posterior probability
get_Elim_rules(Nmax, phi, maxprob)
Nmax |
maximum number of patients |
phi |
target DLT rate |
maxprob |
P(DLT rate>phi|c,n)<=maxprob |
A uniform Beta(1,1) prior is used to calculate the posterior Bayesian probability
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
rule<-get_Elim_rules(Nmax=21,phi=0.3,maxprob=0.95)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.