Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

refVAR

Refining a VAR Model


Description

Refine a fitted VAR model by removing simultaneously insignificant parameters

Usage

refVAR(model, fixed = NULL, thres = 1)

Arguments

model

An output object of the command VAR or the refVAR command

fixed

A logical matrix for VAR polynomial structure

thres

Threshold used to set parameter to zero. Default is 1.

Details

Refine a VAR fitting by setting all estimates with t-ratio less than the threshold (in modulus) to zero.

Value

The same as those of the command VAR

Author(s)

Ruey S. Tsay

References

Tsay (2014, Chapter 2)

See Also

VAR

Examples

data("mts-examples",package="MTS")
gdp=log(qgdp[,3:5])
zt=diffM(gdp)
m1=VAR(zt,3)
m2=refVAR(m1,thres=1.0)
names(m2)

MTS

All-Purpose Toolkit for Analyzing Multivariate Time Series (MTS) and Estimating Multivariate Volatility Models

v1.0
Artistic License 2.0
Authors
Ruey S. Tsay and David Wood
Initial release
2018-10-8

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.