syntax shock_decomposition
Posted: Wed May 19, 2010 4:58 pm
Hi all,
I am having trouble implementing the description in the Dynare manual for shock_decomposition. My shocks are named ea, eg etc. I thought I could use:
shock_decomposition(shocks=ea) y;
but I get the error message, which I really don't understand.
"Starting Dynare (version 4.1.1).
Starting preprocessing of the model file ...
ERROR: my_mod_file.mod:697.42-43: syntax error, unexpected NAME, expecting LABELS or PARAMETERS or SHOCKS"
Using the "labels" option works in principle, so I am really puzzled about how to map the manual syntax into code. I would appreciate any help - although in the worst case I would build my own plots on basis of oo_.shock_decomposition.
Best,
Thorsten
I am having trouble implementing the description in the Dynare manual for shock_decomposition. My shocks are named ea, eg etc. I thought I could use:
shock_decomposition(shocks=ea) y;
but I get the error message, which I really don't understand.
"Starting Dynare (version 4.1.1).
Starting preprocessing of the model file ...
ERROR: my_mod_file.mod:697.42-43: syntax error, unexpected NAME, expecting LABELS or PARAMETERS or SHOCKS"
Using the "labels" option works in principle, so I am really puzzled about how to map the manual syntax into code. I would appreciate any help - although in the worst case I would build my own plots on basis of oo_.shock_decomposition.
Best,
Thorsten