hpd_est: Compute the 95 percent Highest Posterior Density interval

Description Usage Arguments Value Source Examples

View source: R/utils.R

Description

Compute the 95 percent Highest Posterior Density interval

Usage

1

Arguments

x

a numeric vector

Value

A vector containing the lower and upper bound of the 96 Posterior Density interval of a numeric vector as computed by the methods from Venter (1967).

Source

Venter, J.H. (1967). On estimation of the mode, Annals of Mathematical Statistics, 38(5), 1446-1455.

Examples

1
2

waspr documentation built on July 25, 2020, 1:06 a.m.