Strange problem: Several programs I’ve written work for my co-author on his computer, but not on mine. In one case, parameter estimates don’t converge when I run the identical program with identical data, while he gets convergence. As far as I can tell, the only difference is he’s on a unix system and I’m in Windows. We both run the program from the folder that has the data file. In the attached case I get errors that prevent the program from running, specifically, this happens after the steady state is calculated, at the point where the data should load: Where my colleague gets

Loading 193 observations from autodata_ur.xls

Initial value of the log posterior (or likelihood): 573.5629

I get

Error using -

Matrix dimensions must agree.

Error in set_prior (line 270)

elseif any(bayestopt_.p5-old.bayestopt_.p5(:))

Error in dynare_estimation_init (line 123)

[xparam1,estim_params_,bayestopt_,lb,ub,M_] = set_prior(estim_params_,M_,options_);

Error in dynare_estimation_1 (line 59)

[dataset_,xparam1, M_, options_, oo_, estim_params_,bayestopt_] = dynare_estimation_init(var_list_, dname, ], M_, options_,

oo_, estim_params_, bayestopt_);

Error in dynare_estimation (line 70)

dynare_estimation_1(var_list,dname);

Error in invmod6ml_ur_base (line 226)

dynare_estimation(var_list_);

Error in dynare (line 120)

evalin(‘base’,fname) ;

I’ve run programs like this before, so I’m really baffled.

invmod6ml_ur_base.mod (2.12 KB)