Hi,
if you run again:
- Code: Select all
model_diagnostics(M_,options_,oo_)
it says:
model_diagnostic: the Jacobian of the static model is singular
there is 1 colinear relationships between the variables and the equations
Colinear variables:
ksi_L
ksi_S
Colinear equations
Columns 1 through 13
1 2 3 4 5 6 7 8 9 10 11 12 13
Columns 14 through 26
14 15 16 17 18 20 21 23 24 25 27 28 29
Columns 27 through 29
30 31 32
Variables ksi_S and ksi_L are linearly dependent and the system is not invertible. The equation:
- Code: Select all
y=(ksi_S_ss)*ksi_S+(ksi_S_ss)*ksi_L;
cannot simultaneously solve for both. Make sure you set up the problem correctly and that you solve it correctly. If you have colinearities it means that you have at least one equation that you don't need, that is the same as another one in the model. Of course, if you remove it it will also mean that you are missing one since you need as many equations as variables. That's why my guess is that you did not set up the model correctly...
K.