Eigenvalues larger than 1 in modulus for some forward-looking variables

Hi,

I used dynare to run the attached code to try to replicate the results of a paper. However, it reported that

Blockquote
There are 5 eigenvalue(s) larger than 1 in modulus
for 6 forward-looking variable(s)
The rank condition ISN’T verified!
error: Blanchard Kahn conditions are not satisfied: indeterminacy

Then I employed the command " model_diagnostics". And it told me that

Blockquote
error: ‘M’ undefined near line 38 column 12
error: called from
model_diagnostics at line 38 column 10

I have no idea how to deal with it now. Is there anyone who can help me? I will really appreciate your help.

Best,

Samsonparams.m (780 Bytes)
main201808.mod (2.8 KB)
main201808_steadystate.m (4.8 KB)

How did you call the model_diagnostic routine? Did you pass M_, options_ and oo_ (in that order) as input arguments?

Best,
Stéphane.

Dear Stephane,

I first ran ‘dynare main201808’. It showed

Blockquote
There are 5 eigenvalue(s) larger than 1 in modulus
for 6 forward-looking variable(s)
The rank condition ISN’T verified!
error: Blanchard Kahn conditions are not satisfied: indeterminacy

In order to find a way dealing with it, I googled and found a kind of suggestion about using “model_diagnostics” from dynare forum. Then I typed “model_diagnostics” in command window and the following report showed up.

Blockquote
error: ‘M’ undefined near line 38 column 12
error: called from
model_diagnostics at line 38 column 10

Actually in my “main201808_steadystate.m”, I used “M_.params” and “M_.orig_endo_nbr” to calculate the steady state. Thank you.

Best regards,

Pin

To be sure, did you type the following:

>>  model_diagnostics(M_, options_, oo_)

But I am not sure that this command will help to understand why you have too many stable eigenvalues (indeterminacy).

Best,
Stéphane.

Dear Stephane,

I typed “model_diagnostics(M_,options_,oo_)”. Then the following result displayed.

Blockquote
model_diagnostics(M_, options_, oo_)
MODEL_DIAGNOSTICS: No obvious problems with this mod-file were detected.

It sounds like it did not work. Is there any other way I can use?

Thank you,

Samson

You need to check the timing of your equations. For example, usually the FOC for consumption has forward-looking terms.

Dear Professor,

I got it. Thank you for your helpful advice. I eventually fixed my problem.

Best regards,

Samson