The posterior_interval
function computes Bayesian posterior uncertainty
intervals. These intervals are often referred to as credible
intervals, for more details see rstanarm
posterior_interval(mat, prob = 0.9, ...)
a matrix containing the posterior samples of a fitted parameter
A number 90%
intervals (prob=0.9
) rather than the traditionally used
95%
.
Further arguments passed to posterior_intervals
.
A matrix with two columns and as many rows as model parameters (or
the subset of parameters specified by pars
and/or
regex_pars
). For a given value of prob
, 100*p%
interval limits and have the
names %
, where prob=0.9
is specified (a 90%
interval), then the column names will be "5%"
and "95%"
,
respectively.