Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

dot-hdi

Compute Highest Posterior Density intervals.


Description

Compute Highest Posterior Density intervals.

Usage

.hdi(samps, prob, add_zero = FALSE)

Arguments

samps

MCMC sample matrix.

prob

Numeric in (0,1).

add_zero

Logical (Default: FALSE) - Whether to add zero to samples. Useful for unidirectional effects.

Value

Matrix of HDIs.

Author(s)

Stephen Martin


MIRES

Measurement Invariance Assessment Using Random Effects Models and Shrinkage

v0.1.0
MIT + file LICENSE
Authors
Stephen Martin [aut, cre] (<https://orcid.org/0000-0001-8085-2390>), Philippe Rast [aut] (<https://orcid.org/0000-0003-3630-6629>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.