How to estimate conditional Vector autoregression matlab
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear Model Identification 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!