empiricalHpd: Construct an empirical HPD interval from samples

Description Usage Arguments Value See Also

View source: R/hpds.R

Description

Construct an empirical highest posterior density (HPD) interval from samples which have been drawn from the distribution of a quantity of interest.

Usage

1
empiricalHpd(theta, level)

Arguments

theta

the vector of samples

level

the credible level

Value

A vector with the estimated lower and upper bounds of the HPD interval.

See Also

scrHpd


glmBfp documentation built on May 21, 2017, 12:42 a.m.

Search within the glmBfp package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.