hdiBeta {nclbayes}R Documentation

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

Description

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

Usage

hdiBeta(p = 0.95, a, b)

Arguments

p

confidence level for the HDI.

a

a positive number.

b

a positive number.

Value

Vector containing the limits of the HDI.

Examples

hdiBeta(0.9, 2, 2)

[Package nclbayes version 0.3.10 Index]