Commit ed15f0bc authored by MichelJuillard's avatar MichelJuillard
Browse files

ms-sbvar: corrected bug in initialization/computation of final subperiod

parent 86a08369
......@@ -41,7 +41,7 @@ options_.ms.create_init = 1;
options_.ms.coefficients_prior_hyperparameters = [1.0 1.0 0.1 1.2 1.0 1.0];
options_.ms.freq = 4;
options_.ms.initial_subperiod = 1;
options_.ms.final_subperiod=4;
options_.ms.final_subperiod = '';
options_.ms.nlags = 1;
options_.ms.cross_restrictions = 0;
options_.ms.contemp_reduced_form = 0;
......
......@@ -37,7 +37,7 @@ options.data = read_variables(options.datafile,options.varobs,[],options.xls_she
[final_year,final_subperiod] = check_datafile_years_assigned(options);
if ~isempty(final_year)
options.ms.final_year = final_year;
opions.ms.final_subperiod = final_subperiod;
options.ms.final_subperiod = final_subperiod;
end
if options.forecast == 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment