dot-hdi: Compute Highest Posterior Density intervals.

Description Usage Arguments Value Author(s)

Description

Compute Highest Posterior Density intervals.

Usage

1
.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 documentation built on Feb. 22, 2021, 5:10 p.m.