Error with DSGE-VAR 'Index exceeds matrix dimensions'
Posted: Mon May 16, 2016 3:34 pm
Dear all,
Any of you have experience on the following, please?
We tried to estimate our model using the DSGE-VAR option, but the following error message pops out.
''Index exceeds matrix dimensions.
Error in dsge_var_likelihood (line 149)
constant = transpose(SteadyState(BayesInfo.mfys));
Error in gmhmaxlik (line 108)
logpo2 = - feval(ObjFun,proposal,varargin{:});
Error in dynare_estimation_1 (line 418)
[xparam1,PostVar,Scale,PostMean] = ...
Error in dynare_estimation (line 89)
dynare_estimation_1(var_list,dname);
Error in check1 (line 651)
dynare_estimation(var_list_);
Error in dynare (line 180)
evalin('base',fname) ;''
Before this we tried our code with the pure Bayesian method and it run well. We tried to abandon lines 369, 393 and 394 of the attached (hence get it to pure Bayesian) and saw there was no problem, either. But we dont understand why there is a problem when we activate the 'DSGE-VAR' option?
Any help would be very appreciated.
Kind regards,
Gary
Any of you have experience on the following, please?
We tried to estimate our model using the DSGE-VAR option, but the following error message pops out.
''Index exceeds matrix dimensions.
Error in dsge_var_likelihood (line 149)
constant = transpose(SteadyState(BayesInfo.mfys));
Error in gmhmaxlik (line 108)
logpo2 = - feval(ObjFun,proposal,varargin{:});
Error in dynare_estimation_1 (line 418)
[xparam1,PostVar,Scale,PostMean] = ...
Error in dynare_estimation (line 89)
dynare_estimation_1(var_list,dname);
Error in check1 (line 651)
dynare_estimation(var_list_);
Error in dynare (line 180)
evalin('base',fname) ;''
Before this we tried our code with the pure Bayesian method and it run well. We tried to abandon lines 369, 393 and 394 of the attached (hence get it to pure Bayesian) and saw there was no problem, either. But we dont understand why there is a problem when we activate the 'DSGE-VAR' option?
Any help would be very appreciated.
Kind regards,
Gary