dear minister:

I run my program butit says:??? Error using ==> print_info at 72

The steadystate file did not compute the steady state

Error in ==> resid at 112

print_info(info,options_.noprint, options_)

Error in ==> steady at 90

resid;

Error in ==> paper at 285

steady;

Error in ==> dynare at 180

evalin(‘base’,fname) ;

I am hew to dynare I would really appreciate it for your kind help.

paperobs.m (197 Bytes)

paperobs.xls (23 KB)

paper.mod (6.38 KB)

The equations you provide in the steady_state_model block are incorrect. You can see this from the residuals that Dynare displays:

[quote]Residuals of the static equations:

Equation number 1 : 189.9115

Equation number 2 : 0

Equation number 3 : 0

Equation number 4 : 37.2212

Equation number 5 : 0.031392

Equation number 6 : 0

Equation number 7 : -189.9115

Equation number 8 : 0

Equation number 9 : 0

Equation number 10 : 0

Equation number 11 : -0.0011375

Equation number 12 : 0.00066885

Equation number 13 : -210.8703

Equation number 14 : 0

Equation number 15 : 0

Equation number 16 : 0

Equation number 17 : 4.6456

Equation number 18 : 0

Equation number 19 : 0

Equation number 20 : 4.6456

Equation number 21 : 0

Equation number 22 : 0

Equation number 23 : 0

Equation number 24 : 0

Equation number 25 : 0

Equation number 26 : 0

Equation number 27 : 0

Equation number 28 : 0

Equation number 29 : 0

Equation number 30 : -1

Equation number 31 : 0[/quote]

Focus on the equations that have the largest residuals and fix the steady state equations accordingly.

dear jpfeifer:

thanks for your kind help, I have modified my model, and now a new typical problem arises, 'There are complex values in the data! Probably a wrong (log) transformation… ’ I refer to your article ‘A Guide to Specifying Observation Equations for the Estimation of DSGE Models’ carefully ,but still can’t work out what is wrong, could you give me some tips, thans a lot!

[quote=“jpfeifer”]The equations you provide in the steady_state_model block are incorrect. You can see this from the residuals that Dynare displays:

[quote]Residuals of the static equations:

Equation number 1 : 189.9115

Equation number 2 : 0

Equation number 3 : 0

Equation number 4 : 37.2212

Equation number 5 : 0.031392

Equation number 6 : 0

Equation number 7 : -189.9115

Equation number 8 : 0

Equation number 9 : 0

Equation number 10 : 0

Equation number 11 : -0.0011375

Equation number 12 : 0.00066885

Equation number 13 : -210.8703

Equation number 14 : 0

Equation number 15 : 0

Equation number 16 : 0

Equation number 17 : 4.6456

Equation number 18 : 0

Equation number 19 : 0

Equation number 20 : 4.6456

Equation number 21 : 0

Equation number 22 : 0

Equation number 23 : 0

Equation number 24 : 0

Equation number 25 : 0

Equation number 26 : 0

Equation number 27 : 0

Equation number 28 : 0

Equation number 29 : 0

Equation number 30 : -1

Equation number 31 : 0[/quote]

Focus on the equations that have the largest residuals and fix the steady state equations accordingly.[/quote]

paperobs.xls (25 KB)

paper.mod (6.47 KB)

See Remark 17 (Dynare’s loglinear option) in the mentioned document. You are not supposed to log your data as Dynare will log it. Use the logdata option to override the logging. But all this does not change the fact that your steady state file is still wrong. Please follow the advice in “Remark 2 (Using stoch_simul before Estimation)”.