HighestDensityRegions.jl

Julia library for calculating Highest Density Regions
Author tpapp
Popularity
7 Stars
Updated Last
2 Years Ago
Started In
January 2018

HighestDensityRegions

Lifecycle Build Status Coverage Status codecov.io

Julia library for calculating Highest Density Regions.

Installation

pkg> add HighestDensityRegions

Usage

The single exported function is hdr_thresholds, which returns a vector thresholds for the given probabilities.

Examples

1D HPD coloring

This example code was used to produce

examples/1d-density.svg

2D HPD regions

This example code was used to produce

examples/2d-density.svg

Bibliography

  • Hyndman, R. J. (1996). Computing and graphing highest density regions. The American Statistician, 50(2), 120–126.

Used By Packages

No packages found.