get_beta_hpd: The high posterior density interval of a Beta distribution.

get_beta_hpdR Documentation

The high posterior density interval of a Beta distribution.

Description

The high posterior density interval of a Beta distribution.

Usage

get_beta_hpd(alpha, beta, level = 0.95)

Arguments

alpha

First shape parameter of the Beta distribution.

beta

Second shape parameter of the Beta distribution.

Value

A list with lower and upper bound of the HPD interval, and minimum density of interval.

Examples

get_beta_hpd(10, 5)

mark-andrews/isdsr-pkg documentation built on Sept. 13, 2022, 11:47 p.m.