empiricalHpd: Construct an empirical HPD interval from samples

Description Usage Arguments Value See Also

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


hypergsplines documentation built on May 2, 2019, 6:14 p.m.