hpd_interval {sectorgap} | R Documentation |
Highest posterior density interval (HPDI)
Description
Computes the approximate highest posterior density interval (HPDI).
Usage
hpd_interval(x, prob = 0.95)
Arguments
x |
A |
prob |
The probability mass of the interval, a scalar between zero and one |
Value
n x 2
matrix with lower and upper boundary of the HPDI.
[Package sectorgap version 0.1.0 Index]