View source: R/visit_analysis.R
vtDecMap | R Documentation |
Summarize the posterior distribution of \theta^{(l)}_{00},
\theta^{(l)}_{01}, \theta^{(l)}_{10}, \theta^{(l)}_{11}
and get
information for making dose escalation decisions
vtDecMap(thetas, etas, prev.res = 0, dec.cut = 0.6)
thetas |
Posterior samples of |
etas |
Vector of length 2 representing |
prev.res |
Response rate from the next lower dose level, say, |
dec.cut |
Thresholds |
This function summarizes the posterior distribution of the
\theta^{(l)}_{00}, \theta^{(l)}_{01}, \theta^{(l)}_{10},
\theta^{(l)}_{11}
and sequentially get the conditional probabilities of
each decision map region. See visit
for details of the
decision map regions.
A class VTDEC
list. See the return value from vtInterim
for details.
etas <- c(0.1, 0.3)
dec.cut <- c(0.6,0.6,0.6)
obs.y <- rbind(c(5, 2, 0, 0))
rst.post <- vtPost(obs.y, prob.mdl = "NONPARA", nsmp = 2000)
dec.map <- vtDecMap(rst.post, etas = etas, dec.cut = dec.cut)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.