Blanchard Kahn conditions not met in estimation

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Blanchard Kahn conditions not met in estimation

Postby tamara b » Fri Sep 27, 2013 10:23 am

Hello,

I am trying to estimate a small open economy model with financial block and it works fine without the estimation block.
However once I add estimation (6 observables and just 1 parameter to estimate) it reports that suddenly Blanchard Kahn conditions are not met and the model fails to converge.
How is this possible?
Could it be that it has some other problem but reports this error in absence of the appropriate one?
I mean if the model is stable in itself, and I declared all parameter values for steady state calculations (guide says dynare will overwrite the value for the estimated parameter once it gets to the estimation part) how come the estimation block itself is making it unstable?

Thanks
t
tamara b
 
Posts: 7
Joined: Fri Sep 27, 2013 10:18 am

Re: Blanchard Kahn conditions not met in estimation

Postby jpfeifer » Fri Sep 27, 2013 11:45 am

The error is triggered in estimation. Either your model has a unit root and you need to use the diffuse_filter option or you did not provide the calibration values as starting values for estimation, e.g. using an estimated_params_init-block. If you could post your mod-file and datafile, I can tell you more.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Blanchard Kahn conditions not met in estimation

Postby tamara b » Mon Sep 30, 2013 10:11 am

thanks jpf

I attached the code,
it does not allow me to attach an xls file (I tried saving in 2003-7 version and 2010), so I am pasting the contents..
Could it be that it needs more observables, cause I did not include all that are relevant in equations using beta (the estimated parameter)?

p c q rfl rdd rdl rfd
7.67 101.72 114.26 8.46 9.10 16.15 2.99
10.26 101.46 115.82 8.26 11.36 17.30 3.64
14.14 99.91 125.63 8.15 12.57 18.40 3.52
12.66 100.31 131.50 8.87 12.34 19.38 3.78
9.31 99.51 127.45 8.24 10.98 18.45 3.71
7.00 99.70 124.39 8.25 9.76 17.17 3.92
3.18 101.46 116.57 8.06 9.13 18.02 3.67
5.46 99.98 113.79 7.77 10.12 17.33 3.08
10.30 100.34 117.67 7.70 10.35 17.85 2.75
12.18 99.31 123.78 8.06 10.60 17.40 2.73
11.19 97.21 126.10 8.01 10.26 19.25 2.71


thanks again
t
Attachments
ipa11a1.mod
(3.85 KiB) Downloaded 62 times
tamara b
 
Posts: 7
Joined: Fri Sep 27, 2013 10:18 am

Re: Blanchard Kahn conditions not met in estimation

Postby jpfeifer » Mon Sep 30, 2013 12:33 pm

The check-command says:

EIGENVALUES:
Modulus Real Imaginary

0 0 0
1.504e-16 1.504e-16 0
3.818e-16 3.818e-16 0
0.1 0.1 0
0.2363 -0.2363 0
0.3 0.3 0
0.5 0.5 0
0.5 0.5 0
0.518 0.518 0
0.5842 0.5842 0
0.7176 0.713 0.08111
0.7176 0.713 -0.08111
0.7534 0.7534 0
1 1 0
1.01 1.01 0
1.083 1.083 0
1.408 1.321 0.4895
1.408 1.321 -0.4895
10.1 10.1 0
2.983e+48 -2.983e+48 0

Thus, you have a unit root as one of the eigenvalues is 1. Try using the diffuse_filter-option. To post datafiles, put everything in a zip-file
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Blanchard Kahn conditions not met in estimation

Postby tamara b » Mon Sep 30, 2013 12:48 pm

thanks jpf
it works now but I obviously have to go back to the basics and figure out how the dynare options work in the first place..
thanks again, spared me a lot of trial and error time waste
tamara b
 
Posts: 7
Joined: Fri Sep 27, 2013 10:18 am

Re: Blanchard Kahn conditions not met in estimation

Postby jpfeifer » Mon Sep 30, 2013 12:59 pm

If you are sure that the unit root belongs in the model, just use
Code: Select all
estimation(datafile=dataipa1qs,diffuse_filter);
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Blanchard Kahn conditions not met in estimation

Postby tamara b » Mon Sep 30, 2013 1:46 pm

well that s the trouble..
I don t see a unit root in any of my equations, on the contrary all my rho-s in AR processes are well bellow 1..
however diffuse_filter option does override the Blanchard Kahn issue... and raises new issues, namely: the hessian matrix at the "mode" is not positive definite!

I figure I must go back and figure out how the estimation works so I could figure why it won't work in my case
tamara b
 
Posts: 7
Joined: Fri Sep 27, 2013 10:18 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests