From 50ab0c0473f33918edd780ec6b432a764a54df44 Mon Sep 17 00:00:00 2001 From: michel Date: Sun, 5 Mar 2006 15:09:06 +0000 Subject: [PATCH] v4 dynare_estimation.m: added options filter_step_ahead and nk git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@648 ac1d8469-bf42-47a9-8791-bf33cf982152 --- matlab/dynare_estimation.m | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/matlab/dynare_estimation.m b/matlab/dynare_estimation.m index 7683f1fe5..3c6dd799c 100644 --- a/matlab/dynare_estimation.m +++ b/matlab/dynare_estimation.m @@ -57,6 +57,12 @@ options_ = set_default_option(options_,'posterior_mode_estimation',1); options_ = set_default_option(options_,'MaxNumberOfBytes',1e6); options_ = set_default_option(options_,'xls_sheet',''); options_ = set_default_option(options_,'xls_range',''); +options_ = set_default_option(options_.'filter_step_ahead',0); +if options_.filter_step_ahead ~= 0 + options_.nk = max(options_.filter_step_ahead); +else + options_.nk = 0; +end %% Add something to the parser ++> M_.dname = M_.fname; % The user should be able to choose another name