vtDecMap {visit} | R Documentation |
Obtain decision map information
Description
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
Usage
vtDecMap(thetas, etas, prev.res = 0, dec.cut = 0.6)
Arguments
thetas |
Posterior samples of |
etas |
Vector of length 2 representing |
prev.res |
Response rate from the next lower dose level, say, |
dec.cut |
Thresholds |
Details
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.
Value
A class VTDEC
list. See the return value from vtInterim
for details.
Examples
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)