bug fix: add sbvar options back to global_initialization

time-shift
Houtan Bastani 2011-05-30 17:21:03 +02:00
parent f5b6142f04
commit 2b2de22956
2 changed files with 47 additions and 1 deletions

View File

@ -257,6 +257,46 @@ options_.discretionary_policy = 0;
% Shock decomposition
options_.parameter_set = [];
% SBVAR
options_.ms.vlistlog = [];
options_.ms.restriction_fname = 0;
options_.ms.forecast = 1;
options_.ms.cross_restrictions = 0;
options_.ms.contemp_reduced_form = 0;
options_.ms.real_pseudo_forecast = 0;
options_.ms.dummy_obs = 0;
options_.ms.nstates = 2;
options_.ms.indxscalesstates = 0;
options_.ms.q_diag = 0.85;
options_.ms.flat_prior = 0;
options_.ms.ncsk = 0;
options_.ms.nstd = 6;
options_.ms.ninv = 1000;
options_.ms.indxparr = 1;
options_.ms.indxovr = 0;
options_.ms.aband = 1;
options_.ms.indxap = 1;
options_.ms.apband = 1;
options_.ms.indximf = 1;
options_.ms.imfband = 1;
options_.ms.indxfore = 0;
options_.ms.foreband = 0;
options_.ms.indxgforhat = 1;
options_.ms.cnum = 0;
options_.ms.indxgimfhat = 1;
options_.ms.indxestima = 1;
options_.ms.indxgdls = 1;
options_.ms.cms =0;
options_.ms.ncms = 0;
options_.ms.eq_cms = 1;
options_.ms.banact = 1;
options_.ms.lower_cholesky = 0;
options_.ms.upper_cholesky = 0;
options_.ms.log_var = [];
options_.ms.vlistlog = [];
options_.ms.Qi = [];
options_.ms.Ri = [];
% MS Sbvar options
options_ = initialize_ms_sbvar_options(M_, options_);

View File

@ -1974,7 +1974,13 @@ o_vlist : VLIST EQUAL INT_NUMBER {driver.option_num("ms.vlist",$3); };
o_vlistlog : VLISTLOG EQUAL '(' symbol_list ')' {driver.option_symbol_list("ms.vlistlog"); };
o_vlistper : VLISTPER EQUAL INT_NUMBER {driver.option_num("ms.vlistper",$3); };
o_varlist : VARLIST EQUAL '(' symbol_list ')' {driver.option_symbol_list("ms.varlist"); };
o_restriction_fname : RESTRICTION_FNAME EQUAL NAME {driver.option_str("ms.restriction_fname",$3); };
o_restriction_fname : RESTRICTION_FNAME EQUAL NAME
{ driver.option_str("ms.restriction_fname",$3); }
| RESTRICTION_FNAME EQUAL UPPER_CHOLESKY
{ driver.option_str("ms.restriction_fname","upper_cholesky"); }
| RESTRICTION_FNAME EQUAL LOWER_CHOLESKY
{ driver.option_str("ms.restriction_fname","lower_cholesky"); }
;
o_nlags : NLAGS EQUAL INT_NUMBER {driver.option_num("ms.nlags",$3); };
o_cross_restrictions : CROSS_RESTRICTIONS EQUAL INT_NUMBER {driver.option_num("ms.cross_restrictions",$3); };
o_contemp_reduced_form : CONTEMP_REDUCED_FORM EQUAL INT_NUMBER {driver.option_num("ms.contemp_reduced_form",$3); };