oo_.FilteredVariablesKStepAhead missing

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.

oo_.FilteredVariablesKStepAhead missing

Postby gin » Tue Sep 24, 2013 6:35 am

Dear all,

As I mentioned in my previous post besides other issues, I cannot get the oo_.FilteredVariablesKStepAhead structure after running estimation with the filter_step_ahead option:

Code: Select all
estimation(order=1,datafile=myOriginalData, mh_replic=300000, mh_nblocks=1, mh_drop=.3,  mh_jscale=0.2,
 mode_compute=6, filter_step_ahead = [1 4 8 12], forecast=20,smoother, filtered_vars, diffuse_filter,
nodisplay,
% do this only for the final model b/c takes a lot of time
moments_varendo,
conditional_variance_decomposition=[1 4 8 20],
%
graph_format=(eps,pdf))
lmcU lrkbarU lwbarU lRfU lpxU lpixU lkU lRnustarU
lHU lpiU lmcxU lpimcU lmcmcU lpimxU lmcmxU lpimiU
lmcmiU lpicU lpmcU lpiiU lpmiU lkbarU liU lpsizplusU
lcU lpkprimeU luU lpinvestU lsU aU lqU lxU
lpcU  lRU lyU  lRxU lpmxU lRkU

lylessdU nxdivGDPU lSlevU

data_HhatU

data_RU
data_wdiffU
data_cdiffU   
data_ydiffU 
data_ystardiffU
data_pistarU
data_RstarU 
data_HdiffU
data_impdiffU
data_piiU
data_pidU
data_picU
data_xdiffU
data_qdiffU
data_idiffU
data_gdiffU
;


This occurs both for ver. 4.3.3. and the snapshot ver. 2013-09-22.
There is no error message during the dynare session.

I presume this is due to the conflicting options (unknown to me) or the model's size.

All files attached.
Attachments
myOriginalData.txt
the data file; change .txt to .mat
(11.77 KiB) Downloaded 65 times
baseline70log.txt
the .log file
(431.62 KiB) Downloaded 72 times
baseline70_steadystate.m
(34.06 KiB) Downloaded 75 times
baseline70.mod
(57.71 KiB) Downloaded 68 times
baseline_steadystate_find_AL_delta_varphi.m
this is called from the _steadystate file
(3.29 KiB) Downloaded 68 times
-------------------------
gin
http://gin.mozello.com
gin
 
Posts: 47
Joined: Wed Feb 27, 2013 3:10 pm
Location: Riga, Latvia

Re: oo_.FilteredVariablesKStepAhead missing

Postby jpfeifer » Tue Sep 24, 2013 8:19 am

Could you also please provide the mode-file? That way I can save on the mode_compute=6.
------------
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: oo_.FilteredVariablesKStepAhead missing

Postby gin » Tue Sep 24, 2013 9:27 am

Attached.
Attachments
baseline70_mh_mode.txt
change .txt to .mat
(42.32 KiB) Downloaded 77 times
baseline70_mode.txt
change .txt to .mat
(43.34 KiB) Downloaded 86 times
gin
 
Posts: 47
Joined: Wed Feb 27, 2013 3:10 pm
Location: Riga, Latvia

Re: oo_.FilteredVariablesKStepAhead missing

Postby jpfeifer » Wed Sep 25, 2013 9:16 am

This might be an error in the manual. If you use Bayesian estimation with the smoother command, the field that is set is just oo_.FilteredVariables. oo_.FilteredVariablesKStepAhead is for ML estimation
------------
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: oo_.FilteredVariablesKStepAhead missing

Postby gin » Wed Sep 25, 2013 10:07 am

This doesn't seem to be right, since I'm asking for multiple-period forecasts filter_step_ahead = [1 4 8 12] but the oo_.FilteredVariables structure gives just vectors which I presume is one-step ahead forecasts which correspond to the option filtered_vars which I'm also using. It seems that the filtered_vars option overwrites the filter_step_ahead option, but this is not a welcome behavior.
-------------------------
gin
http://gin.mozello.com
gin
 
Posts: 47
Joined: Wed Feb 27, 2013 3:10 pm
Location: Riga, Latvia

Re: oo_.FilteredVariablesKStepAhead missing

Postby jpfeifer » Wed Sep 25, 2013 7:17 pm

Sorry, but this is a bug, which will be hopefully fixed in one of the next unstable versions. In case you are using the current unstable version, I am attaching the two files you need to replace to fix the issue. Please report any strange behavior you might encounter.
Attachments
pm3.m
(8.57 KiB) Downloaded 82 times
prior_posterior_statistics.m
(10.66 KiB) Downloaded 94 times
------------
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: oo_.FilteredVariablesKStepAhead missing

Postby gin » Sat Sep 28, 2013 12:00 pm

Thanks, Johannes. Seems to be working.
-------------------------
gin
http://gin.mozello.com
gin
 
Posts: 47
Joined: Wed Feb 27, 2013 3:10 pm
Location: Riga, Latvia


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests