How to estimate conditional Vector autoregression matlab
2 views (last 30 days)
Show older comments
I know that there is a way to generate a var model and to estimate a var model in matlab. It is mainly using built in function varm. However, I want to fit a model such as the significant parameters are to stay an the rest to be zero such as constraint var model.
Can we do so in matlab?
This can be done in R using the following
% Estimate the var model of order one as may be observed from the AIC
t=VAR(y, p=1, type="const")
summary(t)
t1=restrict(t, method = "ser", thresh = 2.0, resmat = NULL)
summary(t1)
0 Comments
Answers (0)
See Also
Categories
Find more on Linear Model Identification in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!