Page 1 of 1

Error using "filtered_vars" command

PostPosted: Wed Jun 05, 2013 4:00 pm
by EconStudent
Hello people,

When I runt the filtered_vars command in the estimation part (Dynare 4.1) and I choose 5000 replications, just to see if the command works, then everything is fine and I get the expected output.
But when i choose 100.000 replications then I get the following error :

Index exceeds matrix dimensions.

Error in DsgeSmoother (line 81)
constant = SteadyState(bayestopt_.mfys);

Error in prior_posterior_statistics (line 152)
[alphahat,etahat,epsilonhat,alphatilde,SteadyState,trend_coeff,aK] = ...

Error in dynare_estimation_1 (line 1073)
prior_posterior_statistics('posterior',data,gend,data_index,missing_value);

Error in dynare_estimation (line 62)
dynare_estimation_1(var_list,varargin{:});

Error in ctw_employer_surplus (line 2190)
dynare_estimation(var_list_);

Error in dynare (line 132)
evalin('base',fname) ;

Does anyone have a clue why it might not work with more replications?


Thank you!

Re: Error using "filtered_vars" command

PostPosted: Mon Jun 10, 2013 6:41 am
by jpfeifer
Could you try Dynare 4.3.3?

Re: Error using "filtered_vars" command

PostPosted: Mon Jun 10, 2013 8:52 am
by EconStudent
Unfortunately I have to use Dynare 4.1.
If it's a bug with this version I'll just let it be...:(

Re: Error using "filtered_vars" command

PostPosted: Mon Jun 10, 2013 10:20 am
by jpfeifer
Could you then provide me with the mod-file (e.g. private message). I would be interested to find out whether this is a bug that might be still present.

Re: Error using "filtered_vars" command

PostPosted: Thu Jun 13, 2013 8:59 pm
by EconStudent
Sorry for my late reply jpfeifer,

I've checked the forum for similar issues (4.1 version seem to have a problem) and I think I'll first give it a try with version 4.3.2 and version 4.3.3 (using matlab R2012b) and see how it goes.

Anyway, how can I create the simulated series for variables i.e one-sided predicted values (such as the attached file of Adolfson's et al.(2005)) using Dynare? This is my big question. I would be thankful for any advise. Does this have anything to do with the filtered_vars command?



Best regards.

Re: Error using "filtered_vars" command

PostPosted: Fri Jun 14, 2013 6:20 am
by jpfeifer
One-sided predicted values should be the filtered variables. Note that they are not really simulated variables.