Error using "filtered_vars" command

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.

Error using "filtered_vars" command

Postby EconStudent » Wed Jun 05, 2013 4:00 pm

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!
EconStudent
 
Posts: 8
Joined: Fri Feb 15, 2013 12:50 pm

Re: Error using "filtered_vars" command

Postby jpfeifer » Mon Jun 10, 2013 6:41 am

Could you try Dynare 4.3.3?
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Error using "filtered_vars" command

Postby EconStudent » Mon Jun 10, 2013 8:52 am

Unfortunately I have to use Dynare 4.1.
If it's a bug with this version I'll just let it be...:(
EconStudent
 
Posts: 8
Joined: Fri Feb 15, 2013 12:50 pm

Re: Error using "filtered_vars" command

Postby jpfeifer » Mon Jun 10, 2013 10:20 am

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.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Error using "filtered_vars" command

Postby EconStudent » Thu Jun 13, 2013 8:59 pm

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.
Attachments
Data and one-sided predicted value.pdf
(48.36 KiB) Downloaded 130 times
EconStudent
 
Posts: 8
Joined: Fri Feb 15, 2013 12:50 pm

Re: Error using "filtered_vars" command

Postby jpfeifer » Fri Jun 14, 2013 6:20 am

One-sided predicted values should be the filtered variables. Note that they are not really simulated variables.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests