Problems with Bayesian estimation--->mtimes error

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.

Problems with Bayesian estimation--->mtimes error

Postby mulgrim » Sun Aug 01, 2010 7:52 am

After Bayesian estimation running i meet the following problems.

Error using ==> mtimes
Inner matrix dimensions must agree.

Error in ==> lpdfgam at 3
ldens = -gammaln(a) -a*log(b)+ (a-1)*log(x) -x/b ;

Error in ==> priordens at 87
logged_prior_density = logged_prior_density +
sum(lpdfgam(x(id2)-p3(id2),p6(id2),p7(id2))) ;

Error in ==> set_prior at 267
priordens(xparam1,bayestopt_.pshape,bayestopt_.p6,bayestopt_.p7, ...

Error in ==> dynare_estimation_1 at 83
[xparam1,estim_params_,bayestopt_,lb,ub,M_] = set_prior(estim_params_,M_,options_);

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

Error in ==> nz_taylor at 266
dynare_estimation(var_list_);

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

anyone help me?[code][/code]
Attachments
newky.mod
(5.67 KiB) Downloaded 66 times
mulgrim
 
Posts: 2
Joined: Fri Jan 15, 2010 6:17 pm

Re: Problems with Bayesian estimation--->mtimes error

Postby AssiaEzzeroug » Sun Aug 01, 2010 4:49 pm

hi,

try to post the data file, I can't reproduce the error message without it..

Best
AssiaEzzeroug
 
Posts: 83
Joined: Tue Nov 24, 2009 3:48 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests