cumulative.bdlim: Summary of the cumulative effect for BDLIM

View source: R/cumulative.bdlim.R

cumulative.bdlimR Documentation

Summary of the cumulative effect for BDLIM

Description

Summary of the cumulative effect for BDLIM

Usage

## S3 method for class 'bdlim'
cumulative(fit, inter.model, alphalevel = 0.05, hpd.interval = FALSE)

Arguments

fit

An object of class 'bdlim'.

inter.model

Model to be summarized. The default is inter.model=1 indicating to summarize the best fitting model. inter.model=2, 3, or 4 indicates to summarized the second, third, or fourth best fitting model respectively. Model fit is determined by posterior probability. Alternative, 'BDLIM_n', 'BDLIM_bw', 'BDLIM_b', or 'BDLIM_w' can be entered to return a specific model.

alphalevel

The alpha level for the posterior intervals.

hpd.interval

Logical indicating if highest posterior density intervals should be computed (TRUE) or symmetric intervals (FALSE, default)

Value

Data.frame summarizing the posterior distribution.


AnderWilson/regimes documentation built on Aug. 5, 2023, 8:30 a.m.