Calculates Highest Density Regions with confidence intervals.
Value
hdrconf returns list containing the following components:
- hdr
Highest density regions
- hdr.lo
Highest density regions corresponding to lower confidence limit.
- hdr.hi
Highest density regions corresponding to upper confidence limit.
- falpha
Values of \(f_\alpha\) corresponding to HDRs.
- falpha.ci
Values of \(f_\alpha\) corresponding to lower and upper limits.
References
Hyndman, R.J. (1996) Computing and graphing highest density regions American Statistician, 50, 120-126.
