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

Description

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

Usage

1
  hdiGamma(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

Author(s)

Richard Boys

Examples

1
hdiGamma(0.9, 2, 2)

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