Page 1 of 1

The model doesn't determine the current variables uniquely

PostPosted: Tue Jun 18, 2013 1:10 pm
by rosa.28
hi,

I'm trying to run a small open economy model in which there are shocks to the trend of productivity, transitory shocks, world interest shocks and to the country risk (i'm trying to nest aguiar and gopinath model (2006) with neumeyer and perri model (2005) but i keep getting this error

Error using print_info (line 33)
The model doesn't determine the current variables uniquely

Error in check (line 76)
print_info(info, options.noprint);

Error in taak (line 216)
oo_.dr.eigval = check(M_,options_,oo_);

Error in dynare (line 120)
evalin('base',fname) ;


i've checked the equations several times and i just can't figure out what is not working. i'll really appreciate any help

Rosa

Re: The model doesn't determine the current variables unique

PostPosted: Tue Jun 18, 2013 2:28 pm
by jpfeifer
Your equations are wrong. I guess
Code: Select all
z = z(-1)^rho_z * exp(e_z) ;

should by
Code: Select all
z = rho_z*z(-1) + e_z ;

As you defined z to be the log already. Otherwise, z has steady state 0. The derivative with respect to z(-1) will be z(-1)^(0.01-1)=1/z(-1)^0.9. But z has steady state 0. Thus 1/z(-1)^0.9=1/0=Inf. This yields the error.

Re: The model doesn't determine the current variables unique

PostPosted: Tue Jun 18, 2013 9:54 pm
by rosa.28
Thanks!!! i corrected the mistake but is still not working, any other ideas why this isn't working?
Cheers

Rosa

Re: The model doesn't determine the current variables unique

PostPosted: Wed Jun 19, 2013 6:14 am
by jpfeifer
This also applies to the other laws of motions. Have you also corrected them. If yes, post the new mod-file

Re: The model doesn't determine the current variables unique

PostPosted: Wed Jun 19, 2013 4:25 pm
by rosa.28
The correction on the shocks solved that problem, however now i'm having troubles with the blanchard and Kahn condition.
I've found some mistakes on the model which i already corrected but i still can't figure out which equation is wrong.

thanks so much for your help!

Rosa

Re: The model doesn't determine the current variables unique

PostPosted: Wed Jun 19, 2013 6:44 pm
by jpfeifer
This most probably means that you still have a timing problem somewhere.