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 Commenti

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 il 5 Mag 2015
Modificato: Jae Hyung Kim il 5 Mag 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...

Accedi per commentare.

Risposte (0)

Categorie

Richiesto:

il 4 Mag 2015

Modificato:

il 5 Mag 2015

Community Treasure Hunt

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

Start Hunting!

Translated by