hpd {robustBLME} | R Documentation |
Empirical Highest Posterior Density Interval
Description
Computes the Highest Posterior Density (HPD) interval from a posterior sample. Works only for scalar marginal posteriors.
Usage
hpd(x, prob = 0.95)
Arguments
x |
a univariate or a posterior sample for a scalar parameter. |
prob |
posterior probability content. |
Value
vector of two doubles.
[Package robustBLME version 0.1.3 Index]