HPDI: HPDI - Stolen from rethinking by R. McElreath

HPDIR Documentation

HPDI - Stolen from rethinking by R. McElreath

Description

HPDI - Stolen from rethinking by R. McElreath

Usage

HPDI(samples, prob = 0.89)

Arguments

samples

A vector of data-points.

prob

A percentile interval.

Value

The higest posterior density interval.

Examples

set.seed(1)
RS = rpois(100, 5) 
HPDI(RS, 0.9)

ctross/SkewCalc documentation built on June 11, 2025, 1:31 a.m.