Page 1 of 1

PLEASE HELP ME F. Gulcin Ozkan and D. Filiz Unsal

PostPosted: Thu Feb 28, 2013 3:13 pm
by kokotaro
Hello everybody. I'm a student and I am trying to research the papers named " Global Financial Crisis, Financial Contagion, and Emerging Markets" and " External Finance, Sudden Stops, and Financial Crisis: What is Different This Time?" of F. Gulcin Ozkan and D. Filiz Unsal . I cannot manage in writing the Dynare code for their paper -2- countries sticked prices DSGE . If anyone has such code, please help me !!!

Re: PLEASE HELP ME F. Gulcin Ozkan and D. Filiz Unsal

PostPosted: Tue Mar 05, 2013 12:14 pm
by kokotaro
hello, everybody. I'm a new user. please help me, there're many mistakes im my Dynare code, and it can't run
ERROR: 2country.mod:52.1-5: syntax error, unexpected NAME

Re: PLEASE HELP ME F. Gulcin Ozkan and D. Filiz Unsal

PostPosted: Tue Mar 05, 2013 5:04 pm
by donihue
As the error message says, you have a problem in line 52. There you use "RHO_D" in both upper and lower-case and neither is defined as a variable nor parameter.
Regards
Donihue

Re: PLEASE HELP ME F. Gulcin Ozkan and D. Filiz Unsal

PostPosted: Thu Mar 07, 2013 8:32 am
by kokotaro
i have re-write the code. but it still has problem :(. What does it mean? please help me to solve it
Error using print_info (line 57)
Impossible to find the steady state. Either
the model doesn't have a steady state, there
are an infinity of steady states, or the
guess values are too far from the solution

Error in steady (line 92)
print_info(info,options_.noprint);

Error in Untitled5 (line 473)
steady;

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

Re: PLEASE HELP ME F. Gulcin Ozkan and D. Filiz Unsal

PostPosted: Thu Mar 07, 2013 5:05 pm
by donihue
As the error report indicates, you have a problem with the steady-state in the model. Indeed, earlier messages (generated by Dynare's "steady" function) indicate that you are dividing by one or more endogenous variables initialized to zero and that your numerical initial values or parameters are incompatible with many equations with the result that the residuals of many equations are undefined ("NaN"). You will need to go carefully through the model to eliminate these initialisation problems.
Regards
Donihue

Re: PLEASE HELP ME F. Gulcin Ozkan and D. Filiz Unsal

PostPosted: Sun Mar 10, 2013 10:29 am
by kokotaro
Donihue, thank you so much!!!. I eliminate steady state again, but it still has problems, (even though it does'nt have "Nan"). What should i do??

Error using print_info (line 57)
Impossible to find the steady state. Either the model
doesn't have a steady state, there are an infinity of steady
states, or the guess values are too far from the solution

Error in steady (line 92)
print_info(info,options_.noprint);

Error in noidia (line 926)
steady;

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