Page 1 of 1

FINDING STEADY STATE. ERROR.....HELP

PostPosted: Wed Jun 11, 2014 4:04 pm
by sanga
Dear all,
I try to run a multi-country model, but I'm now facing some problems to find the steady state; The error message is the following:
"STEADY: numerical initial values or parameters incompatible with the following equations
8 38 48 78"
Please, Can someone help me to solve this problem and to find these cited equations?
The mod file is attached;
Thanks!!!!!!

Re: FINDING STEADY STATE. ERROR.....HELP

PostPosted: Wed Jun 11, 2014 4:14 pm
by jpfeifer
Using
Code: Select all
initval(all_values_required);

displays:
You have not set the following endogenous variables in initval: nh_1 nn_1 ut_1 dy_1 dc_1 dn_1 u_c_1 u_n_1 nh_2 nn_2 ut_2 dy_2 dc_2 dn_2 u_c_2 u_n_2

When using equations like
Code: Select all
    w_@{i} = -u_n_@{i} * u_c_@{i}^(-1);

where you have 1/u_c_, you cannot leave the u_c_ initialized to 0.

Re: FINDING STEADY STATE. ERROR.....HELP

PostPosted: Wed Jun 11, 2014 6:24 pm
by sanga
Thank you very much JPFEIFER for your quick reply;

I will try this solution and will let you know the result.

Best,

Re: FINDING STEADY STATE. ERROR.....HELP

PostPosted: Thu Jun 12, 2014 8:04 am
by sanga
Hi Jpfeifer,
I have corrected the initval's problem, but the dynare can't find the steady state until now. Please can you help me again?
The corrected mod file is attached;
Thanks!!!!!!!!!!!!!!

Re: FINDING STEADY STATE. ERROR.....HELP

PostPosted: Thu Jun 12, 2014 8:43 am
by jpfeifer
Use model_diagnostics to see that there is a collinearity problem.

Regarding the steady state: look at the equations
Code: Select all
    w_@{i} = -u_n_@{i} * u_c_@{i}^(-1);

They are the ones with the residuals.

Re: FINDING STEADY STATE. ERROR.....HELP

PostPosted: Thu Jun 12, 2014 10:58 am
by sanga
Thank you Jpfeifer!
I will try to correct it;