TAR.summary: Calculate summary statistics for all parameters

Description Usage Arguments Author(s)

View source: R/TAR.summary.R

Description

A summary of the MCMC output can be obtained via the function TAR.summary. TAR.summary returns the posterior mean, median, standard deviation and the lower and upper bound of the 95% Bayes posterior interval for all parameters, all botained from the sampling period only, after burn-in.

Usage

1
TAR.summary(x, lagp1, lagp2, constant = 1)

Arguments

A list containing:

x

A matrix of the MCMC output of estimater parameters.

lagp1

The vector of non-zero autoregressive lags for the lower regime. (regime one); e.g. An AR model with p1=3, it could be non-zero lags 1,3, and 5 would set lagp1<-c(1,3,5).

lagp2

The vector of non-zero autoregressive lags for the upper regime. (regime two)

constant

Use the CONSTANT option to fit a model with/without a constant term (1/0). By default CONSTANT=1.

Author(s)

Cathy W.S. Chen, F.C. Liu


BAYSTAR documentation built on May 2, 2019, 2:37 a.m.

Related to TAR.summary in BAYSTAR...