# Blanchard & Kahn conditions are not satisfied: indeterminacy.The rank condition ISN'T verified!

**URL:** <https://forum.dynare.org/t/blanchard-kahn-conditions-are-not-satisfied-indeterminacy-the-rank-condition-isnt-verified/19357>\
**Category:** Stochastic simulations\
**Created:** [26 November 2021 09:10 UTC](https://forum.dynare.org/t/blanchard-kahn-conditions-are-not-satisfied-indeterminacy-the-rank-condition-isnt-verified/19357 "2021-11-26T09:10:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![lzxsharon](https://forum.dynare.org/letter_avatar_proxy/v4/letter/l/91b2a8/32.png) [@lzxsharon](https://forum.dynare.org/u/lzxsharon)\
**Post date:** [26 November 2021 09:10 UTC](https://forum.dynare.org/t/blanchard-kahn-conditions-are-not-satisfied-indeterminacy-the-rank-condition-isnt-verified/19357/1 "2021-11-26T09:10:28Z")

</div>

Hi all,

I am pretty new to Dynare. When I attempt to run this code, I receive the following error message…  
Error using print\_info (line 32)  
Blanchard & Kahn conditions are not satisfied: indeterminacy.

EIGENVALUES:  
Modulus Real Imaginary

```
      0.8476 -0.8476 0
       0.872 0.8694 0.06775
       0.872 0.8694 -0.06775
         0.9 0.9 0
         0.9 0.9 0
         0.9 0.9 0
      0.9291 0.9291 0

```

There are 0 eigenvalue(s) larger than 1 in modulus  
for 2 forward-looking variable(s)

The rank condition ISN’T verified!

I am not sure how to modify my code in order to address these issues. Any help would be greatly appreciated!

To that end, I have the following code…  
[lzxdsge1126.mod](https://forum.dynare.org/uploads/short-url/dPdBJWrotAoPlFQKY2xpcWI6aT0.mod) (2.6 KB)

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [26 November 2021 11:43 UTC](https://forum.dynare.org/t/blanchard-kahn-conditions-are-not-satisfied-indeterminacy-the-rank-condition-isnt-verified/19357/2 "2021-11-26T11:43:09Z")

</div>

Check your timing. The one for capital is definitely wrong.

---

<div class="post-metadata">

**Author:** ![lzxsharon](https://forum.dynare.org/letter_avatar_proxy/v4/letter/l/91b2a8/32.png) [@lzxsharon](https://forum.dynare.org/u/lzxsharon)\
**Post date:** [26 November 2021 12:42 UTC](https://forum.dynare.org/t/blanchard-kahn-conditions-are-not-satisfied-indeterminacy-the-rank-condition-isnt-verified/19357/3 "2021-11-26T12:42:07Z")

</div>

Thank you very much！！！！！！  
It was remiss of me not to see the problem. I have corrected the timing on the fourth equation. Please help me to check whether there are other problems in my this code！！！！

---

<div class="post-metadata">

**Author:** ![lzxsharon](https://forum.dynare.org/letter_avatar_proxy/v4/letter/l/91b2a8/32.png) [@lzxsharon](https://forum.dynare.org/u/lzxsharon)\
**Post date:** [26 November 2021 13:55 UTC](https://forum.dynare.org/t/blanchard-kahn-conditions-are-not-satisfied-indeterminacy-the-rank-condition-isnt-verified/19357/4 "2021-11-26T13:55:23Z")

</div>

Thank you very much for your advice!！！  
I succeeded in running the impulse response graph, but the impulse response graph is very strange, I don’t know what the problem is, please comment, thank you！！！ ![a的脉冲响应图](https://forum.dynare.org/uploads/default/original/2X/a/a9bb591abf43886ff9e13e2fd808f9d58909c65c.png)

I have the following code…  
[lzxdsge1126.mod](https://forum.dynare.org/uploads/short-url/8cG8D6ahFVN755wGKYYz81iK9xk.mod) (2.6 KB)

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [26 November 2021 16:01 UTC](https://forum.dynare.org/t/blanchard-kahn-conditions-are-not-satisfied-indeterminacy-the-rank-condition-isnt-verified/19357/5 "2021-11-26T16:01:51Z")

</div>

> [@Oscilating or alternating IRFs](https://forum.dynare.org/t/oscilating-or-alternating-irfs/3620/3):
>
> It means that there is a complex eigenvalue leading to oscillations. Usually, when people have this problem in the forum, it comes from them ignoring the Dynare timing convention and then torturing the timing until the BK conditions are satisfied. When doing so, the correct economic timing is ignored and oscillating IRFs result.

---

<div class="post-metadata">

**Author:** ![lzxsharon](https://forum.dynare.org/letter_avatar_proxy/v4/letter/l/91b2a8/32.png) [@lzxsharon](https://forum.dynare.org/u/lzxsharon)\
**Post date:** [27 November 2021 11:39 UTC](https://forum.dynare.org/t/blanchard-kahn-conditions-are-not-satisfied-indeterminacy-the-rank-condition-isnt-verified/19357/6 "2021-11-27T11:39:56Z")

</div>

Thank you very much AGAIN !!!.  
I modified the model and code I sent last time and found a new problem in the graph. The positive impact of total factor productivity A causes the negative change of output. I would like to know what causes this and how to adjust it?

![a的脉冲响应图](https://forum.dynare.org/uploads/default/original/2X/9/956ddcb34ab9bef277aaf6881c53f85953a93492.png)

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [28 November 2021 19:08 UTC](https://forum.dynare.org/t/blanchard-kahn-conditions-are-not-satisfied-indeterminacy-the-rank-condition-isnt-verified/19357/7 "2021-11-28T19:08:21Z")

</div>

Without knowing the model it is impossible to tell. But typically it’s a mistake like a sign error or a timing problem.
