The highest density interval (HDI) for a Beta(a,b) distribution.

Share:

Description

The highest density interval (HDI) for a Beta(a,b) distribution.

Usage

1
  hdiBeta(p = 0.95, a, b)

Arguments

p

Confidence level for the HDI

a

is a positive number

b

is a positive number

Value

Vector containing the limits of the HDI

Examples

1
hdiBeta(0.9, 2, 2)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.