How to plot impulse response function in matlab?

As you see this image
, I couldn't plot impulse function
Even though I followed the procedure of plotting impulse function of AR(2) model as the
web site above, I couldn't. What is the problem and how can i make it like as the site above?
I have already installed Econometic tool box.

2 个评论

I don’t have the Econometrics Toolbox, but according to the documentation page you cited, the arima function needs more arguments to completely define the model:
Mdl = arima('AR',{0.5,-0.7},'Constant',0)
Add them in your code and see if it then works.
No , I couldn't replicate as the web site does. In fact, the 'Constant' term does not matter and it showed the same result as the photo above even though i added the 'Constant' term...

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Conditional Mean Models 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by