Levin's get_ramsey in Dynare version 4
Posted: Mon Nov 02, 2009 1:45 pm
Dear All,
I have been using Levin's get_ramsey code to compute for the first-order conditions of the Ramsey problem. Once I have these, together with the constraints, I then ask Dynare to estimate the equations using second-order perturbation. Using Dynare version 3.065, my dynare code works well. However, if I use Dynare version 4.0.3, I get the following results:
onfiguring Dynare ...
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
Starting Dynare ...
Starting preprocessing of the model file ...
37 equation(s) found
Processing derivation ...
Processing Order 1... done
Processing Order 2... done
Processing outputs ...
Preprocessing completed.
Starting Matlab computing ...
accuracy criterion, errcheck = 5.6843e-014
Exit flag = 1
annual interest rate = 1.04
annual inflation rate = 1
STEADY: numerical initial values incompatible with the following equations
Columns 1 through 16
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Columns 17 through 32
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
Columns 33 through 37
33 34 35 36 37
??? Error using ==> dynare_solve at 82
exiting ...
Error in ==> steady_ at 69
[oo_.steady_state,check] = dynare_solve([M_.fname '_static'],...
Error in ==> steady at 52
steady_;
Error in ==> ramseyprob_out at 322
steady;
Error in ==> dynare at 102
evalin('base',fname) ;
__________________
I learned that Levin's get_ramsey was coded to work with Dynare version 3. How can we adapt the code to work with Dynare version 4?
Thanks!
Regards,
Diana Rose del Rosario
I have been using Levin's get_ramsey code to compute for the first-order conditions of the Ramsey problem. Once I have these, together with the constraints, I then ask Dynare to estimate the equations using second-order perturbation. Using Dynare version 3.065, my dynare code works well. However, if I use Dynare version 4.0.3, I get the following results:
onfiguring Dynare ...
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
Starting Dynare ...
Starting preprocessing of the model file ...
37 equation(s) found
Processing derivation ...
Processing Order 1... done
Processing Order 2... done
Processing outputs ...
Preprocessing completed.
Starting Matlab computing ...
accuracy criterion, errcheck = 5.6843e-014
Exit flag = 1
annual interest rate = 1.04
annual inflation rate = 1
STEADY: numerical initial values incompatible with the following equations
Columns 1 through 16
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Columns 17 through 32
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
Columns 33 through 37
33 34 35 36 37
??? Error using ==> dynare_solve at 82
exiting ...
Error in ==> steady_ at 69
[oo_.steady_state,check] = dynare_solve([M_.fname '_static'],...
Error in ==> steady at 52
steady_;
Error in ==> ramseyprob_out at 322
steady;
Error in ==> dynare at 102
evalin('base',fname) ;
__________________
I learned that Levin's get_ramsey was coded to work with Dynare version 3. How can we adapt the code to work with Dynare version 4?
Thanks!
Regards,
Diana Rose del Rosario