Highest (Posterior) Density Intervals

A generic function and a set of methods to calculate highest density intervals for a variety of classes of objects which can specify a probability density distribution, including MCMC output, fitted density objects, and functions.


# Highest (Posterior) Density Intervals.

This package has a generic `hdi` function and a range of methods for different classes of objects that define a probability density distribution, including MCMC output, fitted kernel density objects, and formulae.

These functions were originally included in the `BEST` package. This separate package allows them to be used without having to install `BEST` and its dependencies, which include JAGS.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("HDInterval")

0.2.4 by Ngumbang Juat, 4 years ago


Browse source code at https://github.com/cran/HDInterval


Authors: Ngumbang Juat [cre] , Mike Meredith [aut] , John Kruschke [aut]


Documentation:   PDF Manual  


GPL-3 license


Suggests coda


Imported by BayesVolcano, EvidenceSynthesis, HuraultMisc, LKT, MIRES, MetaStan, OBASpatial, ROCModels, VizTest, WSPsignal, basksim, bayesCureRateModel, bayesboot, cauphy, clustGLMM, easybgm, ebmstate, factor.switching, limorhyde2, optimalThreshold, shinyrecap, snSMART, swfscMisc.

Suggested by BayesPostEst, MSIMST, PsyMetricTools, bootComb, rmedsem.


See at CRAN