Has mode_check in estimation changed?

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.

Has mode_check in estimation changed?

Postby reluginbuhl » Wed Jan 13, 2010 9:50 am

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!
reluginbuhl
 
Posts: 53
Joined: Wed Mar 04, 2009 2:41 pm

Re: Has mode_check in estimation changed?

Postby StephaneAdjemian » Wed Jan 13, 2010 12:00 pm

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.
Stéphane Adjemian
Université du Maine, GAINS and DynareTeam
https://stepan.adjemian.eu
StephaneAdjemian
 
Posts: 429
Joined: Wed Jan 05, 2005 4:24 pm
Location: Paris, France.

Re: Has mode_check in estimation changed?

Postby Lau » Fri Jan 07, 2011 12:10 pm

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
Attachments
datai.txt
(252 Bytes) Downloaded 119 times
DATAb.txt
(9.34 KiB) Downloaded 115 times
ddd.m
data_transformation_file
(2.84 KiB) Downloaded 118 times
MME8_steadystate.m
(2.89 KiB) Downloaded 117 times
MME8.mod
(22.92 KiB) Downloaded 201 times
Lau
 
Posts: 13
Joined: Tue Nov 23, 2010 6:49 pm

Re: Has mode_check in estimation changed?

Postby Sheldonn » Thu May 24, 2012 2:24 pm

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?
Sheldonn
 
Posts: 2
Joined: Thu Apr 26, 2012 5:13 pm

Re: Has mode_check in estimation changed?

Postby StephaneAdjemian » Thu Jun 07, 2012 10:14 am

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.
Stéphane Adjemian
Université du Maine, GAINS and DynareTeam
https://stepan.adjemian.eu
StephaneAdjemian
 
Posts: 429
Joined: Wed Jan 05, 2005 4:24 pm
Location: Paris, France.


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 5 guests