Error in computing IRF (VAR model)
Mostrar comentarios más antiguos
Hello everyone,
I cannot succeed to compute impulse-response function after checking the stability VAR(2) model I have juste computed. I always get the same error, which is the following :
Error using fn_compute_IRF (line 72)
Error: Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.
I looked the other questions and answers and could not find anything, so I am sorry bothering you with this. I put below a screenshot of my VAR codes.
Best regards,
Thank you in advance for your help

Respuestas (1)
Walter Roberson
el 30 de Nov. de 2020
0 votos
https://github.com/Vermandel/VAR-toolbox/blob/master/fn_compute_IRF.m
The code uses eval() which is not a good idea.
Your ynames cannot contain spaces.
Categorías
Más información sobre Dynamic System Models en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!