PCI: PCI - Stolen from rethinking by R. McElreath

PCIR Documentation

PCI - Stolen from rethinking by R. McElreath

Description

PCI - Stolen from rethinking by R. McElreath

Usage

PCI(samples, prob = 0.89)

Arguments

samples

A vector of data-points.

prob

A percentile interval.

Value

The equal tail credible interval.

Examples

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

Ctross/SkewCalc documentation built on March 17, 2024, 2:04 p.m.