Posterior intervals
Posterior intervals of all model parameters.
## S3 method for class 'blrmfit' posterior_interval(object, prob = 0.95, ...)
object |
fitted model object |
prob |
central probability mass to report, i.e. the quantiles 0.5-prob/2 and 0.5+prob/2 are displayed. Multiple central widths can be specified. |
... |
not used in this function |
Reports the quantiles of posterior parameters which correspond to the central probability mass specified. The output includes the posterior of the hyper-parameters and the posterior of each group estimate.
Matrix of two columns for the central probability interval
prob for all parameters of the model.
## Setting up dummy sampling for fast execution of example
## Please use 4 chains and 100x more warmup & iter in practice
.user_mc_options <- options(OncoBayes2.MC.warmup=10, OncoBayes2.MC.iter=20, OncoBayes2.MC.chains=1)
example_model("single_agent")
posterior_interval(blrmfit)
## Recover user set sampling defaults
options(.user_mc_options)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.