powered by
Refine a fitted VAR model by removing simultaneously insignificant parameters
refVAR(model, fixed = NULL, thres = 1)
An output object of the command VAR or the refVAR command
A logical matrix for VAR polynomial structure
Threshold used to set parameter to zero. Default is 1.
The same as those of the command VAR
Refine a VAR fitting by setting all estimates with t-ratio less than the threshold (in modulus) to zero.
Tsay (2014, Chapter 2)
VAR
# NOT RUN { 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) # }
Run the code above in your browser using DataLab