band_PW: Pointwise band

Description Usage Arguments Value

View source: R/pointwise.R

Description

band_PW return a matrix with pointwise band.

Usage

1
band_PW(post, alpha, interval)

Arguments

post

Matrix with dimension n.time by n.size containing posterior values for n.time times and n.size posterior sample.

alpha

Value inside the interval (0,1) in order to get a credibility level of 100(1 - alpha)%.

interval

Choice between "equal" and "hpd". The "equal" considers equal tails (each tail has alpha/2 area) and "hpd" considers the HPD interval.

Value

A list with the following components:

PW

A matrix with n.time rows and 2 columns with pointwise band.

alpha

The information about the credibility level of 100(1 - alpha)%.


agathasr/bband documentation built on July 21, 2020, 12:13 a.m.