Learn R Programming

psycho (version 0.4.91)

HDImin: Highest Density Intervals (HDI)

Description

See HDI

Usage

HDImin(x, prob = 0.95)

Arguments

x

A vector of values from a probability distribution (e.g., posterior probabilities from MCMC sampling).

prob

Scalar between 0 and 1, indicating the mass within the credible interval that is to be estimated.