Erorrs in Bayesian 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.

Erorrs in Bayesian estimation!

Postby maurice » Sat Sep 11, 2010 2:02 pm

Ask for help:
I have some difficulties in find flaws in the following,Could someone help me?

Prior distribution for parameter 16 has two modes!
Warning: File 'DSGE/prior' not found.
> In CheckPath at 42
In set_prior at 227
In dynare_estimation_1 at 83
In dynare_estimation at 62
In DSGE at 358
In dynare at 132
??? Attempted to access k(1); index out of bounds because numel(k)=0.

Error in ==> draw_prior_density at 93
binf = abscissa(k(1));

Error in ==> plot_priors at 96
[x,f,abscissa,dens,binf,bsup] = draw_prior_density(i,bayestopt_);

Error in ==> dynare_estimation_1 at 87
plot_priors(bayestopt_,M_,options_)

Error in ==> dynare_estimation at 62
dynare_estimation_1(var_list,varargin{:});

Error in ==> DSGE at 358
dynare_estimation(var_list_);

Error in ==> dynare at 132
evalin('base',fname) ;
maurice
 
Posts: 13
Joined: Fri Jul 02, 2010 12:19 am

Re: Erorrs in Bayesian estimation!

Postby jpfeifer » Sat Sep 11, 2010 3:29 pm

It's hard to tell without having a model-file, but usually it means that a beta prior is not specified correctly. As a beta distribution is bounded between 0 and 1, a mean of 0.5 is e.g. incompatible with a variance of 0.5 as some values would have to be outside the support. Try to decrease the variance of all beta priors and see if it works then.
------------
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: Erorrs in Bayesian estimation!

Postby maurice » Sat Sep 11, 2010 11:00 pm

Thank you for your help!
I find some beta' distribution variance is set equal to 1.
maurice
 
Posts: 13
Joined: Fri Jul 02, 2010 12:19 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests