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 Kommentare

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.
Jae Hyung Kim
Jae Hyung Kim am 5 Mai 2015
Bearbeitet: Jae Hyung Kim am 5 Mai 2015
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...

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Gefragt:

am 4 Mai 2015

Bearbeitet:

am 5 Mai 2015

Community Treasure Hunt

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

Start Hunting!

Translated by