hdiBeta {nclbayes} | R Documentation |
The highest density interval (HDI) for a Beta(a,b) distribution
hdiBeta(p = 0.95, a, b)
p |
confidence level for the HDI. |
a |
a positive number. |
b |
a positive number. |
Vector containing the limits of the HDI.
hdiBeta(0.9, 2, 2)