Error in computing IRF (VAR model)

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

답변 (1개)

Walter Roberson
Walter Roberson 2020년 11월 30일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Dynamic System Models에 대해 자세히 알아보기

질문:

2020년 11월 30일

답변:

2020년 11월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by