empiricalHpd {glmBfp} | R Documentation |
Construct an empirical highest posterior density (HPD) interval from samples which have been drawn from the distribution of a quantity of interest.
empiricalHpd(theta, level)
theta |
the vector of samples |
level |
the credible level |
A vector with the estimated lower and upper bounds of the HPD interval.