Last chance! 50% off unlimited learning
Sale ends in
These functions compute highest posterior density (HPDI) and percentile (PI) intervals, using samples from a posterior density or simulated outcomes.
HPDI( samples , prob=0.89 )
PI( samples , prob=0.89 )
Vector of parameter values
interval probability mass
Highest Posterior Density Intervals (HPDI) are calculated by HPDinterval
in the coda
package.
Percentile intervals (PI) use quantile
and assign equal mass to each tail.