HPDI_test: HPDI Interval Test

Description Usage Arguments Value

View source: R/HPDI_test.R

Description

HPDI Interval Test

Usage

1
HPDI_test(samples, test_value = 0, upper = 0.99, lower = 0.01)

Arguments

samples

1d vector of posterior samples

test_value

Numeric value to test against

upper

Upper bound of intervals to test. Defaults to 0.99.

lower

Upper bound of intervals to test. Defaults to 0.99.

Value

Widest HPDI not including the test value.


kmiddleton/kmmisc documentation built on Jan. 27, 2020, 7:55 a.m.