Page 1 of 1

Has mode_check in estimation changed?

PostPosted: Wed Jan 13, 2010 9:50 am
by reluginbuhl
I get strange red dots on the horizontal ("x") axes of several of the marginal likelihood/posterior plots. Are these true zeros? Or are they, as a suspect, warnings of NaN and Inf?

Thanks for the help,
Rob Luginbuhl

p.s. anyone want to respond to my earlier post about this problem:

{??? Error using ==> schur
Input to SCHUR must not contain NaN or Inf.

Error in ==> <a href="matlab: opentoline('M:\p_dsge\Dynare\4.1.0\matlab\DsgeSmoother.m',128,0)">DsgeSmoother at 128</a>
[QT,ST] = schur(T);

It's been quite a while and yet no one has responded!

Re: Has mode_check in estimation changed?

PostPosted: Wed Jan 13, 2010 12:00 pm
by StephaneAdjemian
Hi Rob,

mode_check displays red bullets on the horizontal axis for values of the parameter violating the Blanchard and Kahn conditions (also for values such that Dynare fails in computing the deterministic steady state).

For the other question I don't know, I do not have enough information here.

Best,
Stéphane.

Re: Has mode_check in estimation changed?

PostPosted: Fri Jan 07, 2011 12:10 pm
by Lau
Hi everybody,

I think that I get a similar problem as Rob and I would be interested in understanding what is happenning exactly.
Here are my mod file, my steady state file. I have not been able to upload my mat file neither, so I upload the raw data in .txt format and the matlab file to transform them .
Thanks

Laurent

Re: Has mode_check in estimation changed?

PostPosted: Thu May 24, 2012 2:24 pm
by Sheldonn
StephaneAdjemian wrote:Hi Rob,

mode_check displays red bullets on the horizontal axis for values of the parameter violating the Blanchard and Kahn conditions (also for values such that Dynare fails in computing the deterministic steady state).



Will the estimated_params_bound command help to eliminate,for the parameters with red dots, the interval under which there is no stable solution to the system by not permitting the parameter to go there?

Re: Has mode_check in estimation changed?

PostPosted: Thu Jun 07, 2012 10:14 am
by StephaneAdjemian
Dear Rob,

This is not likely... The estimated_params_bound block is only used to
constrain (on a specified interval) the optimizer when estimating the posterior mode..

The mode_check command triggers the evaluation of the posterior kernel
and likelihood around the estimate of the posterior mode. By default
the size of the neighborhood is +/- 50% of the posterior mode
estimate. For instance, if the posterior mode of a parameter is found
to be equal to .5, then Dynare will evaluate the likelihood and
posterior kernel for values of this parameter between .25 and
.75. Obviously this interval is very often too large. You can reduce
the size of the neighborhood around the estimated posterior mode by
writting something like:

Code: Select all
options_.mode_check_neighbourhood_size = 0.05;


before the estimation (for a +/- five percent interval
around the estimate).

Best,
Stéphane.