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 comentarios

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 el 5 de Mayo de 2015
Editada: Jae Hyung Kim el 5 de Mayo de 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...

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Preguntada:

el 4 de Mayo de 2015

Editada:

el 5 de Mayo de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by