posterior_interval.hsstan: Posterior uncertainty intervals

Description Usage Arguments Value Examples

View source: R/postestimation.R

Description

Compute posterior uncertainty intervals for hsstan objects.

Usage

1
2
## S3 method for class 'hsstan'
posterior_interval(object, pars = NULL, prob = 0.95, ...)

Arguments

object

An object of class hsstan.

pars

Names of parameters for which posterior intervals should be returned, which can be specified as regular expressions. If NULL (default) then this refers to the set of predictors used in the model.

prob

A value between 0 and 1 indicating the desired probability to be covered by the uncertainty intervals (0.95, by default).

...

Currently ignored.

Value

A matrix with lower and upper interval bounds as columns and as many rows as selected parameters.

Examples

1
2
# continued from ?hsstan
posterior_interval(hs.biom)

hsstan documentation built on Sept. 16, 2021, 9:11 a.m.