Troubles with dynare 4.0
Posted: Sun Jul 11, 2010 3:53 pm
Hi,
I am trying to run a mod file for dynare 3 into dynare 4 and I got some problem. To be specific
I need to call for parameters values that I get from the steady-state. Since we performe an estimation
by keeping fixed the steady-state value of one endogenous variable (hours worked), I need to adjust
one parameter in order to guarantee that all the equations are satisfied. So, we fixed this problem with
dynare 3 by writing an external code for the steady-state in which we find the values of all the ondegouns variables
and the parameter I need to adjust each iteration (but with a different name). In the same code I had a line in which the parameter
is saved in a mat file. Then, I wrote another matlab code in which the mat file is called. Then, the parameter value is
feed into the mod file by adding a line at the beginning of the model's declaration using the following syntax
model;
//Parameters defined by the SS
#bu_asp08h_stst;
where bu_asp08h_stst is the matlab code containing the value of the parameter.
Apparently, this command does not work with dynare4, I have got the following message;
bu_asp08h.mod:46.15: syntax error, unexpected ';', expecting EQUAL
do you know how to fix this problem? I have tryied @#include but I get again en error
thanks in advance
Francesco
I am trying to run a mod file for dynare 3 into dynare 4 and I got some problem. To be specific
I need to call for parameters values that I get from the steady-state. Since we performe an estimation
by keeping fixed the steady-state value of one endogenous variable (hours worked), I need to adjust
one parameter in order to guarantee that all the equations are satisfied. So, we fixed this problem with
dynare 3 by writing an external code for the steady-state in which we find the values of all the ondegouns variables
and the parameter I need to adjust each iteration (but with a different name). In the same code I had a line in which the parameter
is saved in a mat file. Then, I wrote another matlab code in which the mat file is called. Then, the parameter value is
feed into the mod file by adding a line at the beginning of the model's declaration using the following syntax
model;
//Parameters defined by the SS
#bu_asp08h_stst;
where bu_asp08h_stst is the matlab code containing the value of the parameter.
Apparently, this command does not work with dynare4, I have got the following message;
bu_asp08h.mod:46.15: syntax error, unexpected ';', expecting EQUAL
do you know how to fix this problem? I have tryied @#include but I get again en error
thanks in advance
Francesco