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

Description Usage Arguments Value Examples

View source: R/hdi.R

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)

mas3321 documentation built on May 2, 2019, 4:42 p.m.

Related to hdiBeta in mas3321...