refVAR: Refining a VAR Model

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Refine a fitted VAR model by removing simultaneously insignificant parameters

Usage

1
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

1
2
3
4
5
6
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)


Search within the MTS package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.