Page 1 of 1

Ask for question in bayesian estimation

PostPosted: Mon Dec 10, 2012 12:06 am
by maurice
when I estimated a model,it shows the information in the following,
how i can solve it?
could anyone help me?
.....
MH: Multiple chains mode.
MH: Searching for initial values...
MH: I couldn't get a valid initial value in 100 trials.
MH: You should Reduce mh_init_scale...
MH: Parameter mh_init_scale is equal to 0.400000.
MH: Enter a new value... 0.2
MH: I couldn't get a valid initial value in 100 trials.
MH: You should Reduce mh_init_scale...
MH: Parameter mh_init_scale is equal to 0.200000.
MH: Enter a new value...
??? Error using ==> mtimes
Inner matrix dimensions must agree.

Error in ==> metropolis_hastings_initialization at 94
candidate = rand_multivariate_normal( transpose(xparam1), d * options_.mh_init_scale, npar);

Error in ==> random_walk_metropolis_hastings at 58
[ ix2, ilogpo2, ModelName, MhDirectoryName, fblck, fline, npar, nblck, nruns, NewFile, MAX_nruns, d ] = ...

Error in ==> dynare_estimation_1 at 871
feval(options_.posterior_sampling_method,'DsgeLikelihood',options_.proposal_distribution,xparam1,invhess,bounds,gend,data,...

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

Error in ==> KFDSGE at 1072
dynare_estimation(var_list_);

Error in ==> dynare at 120
evalin('base',fname) ;

Re: Ask for question in bayesian estimation

PostPosted: Sat Dec 29, 2012 9:41 am
by jpfeifer
As it says, try setting the mh_init_scale in the estimation command to a lower value.