Skip to content
Snippets Groups Projects
Commit 6e5af4f7 authored by MichelJuillard's avatar MichelJuillard Committed by Houtan Bastani
Browse files

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

(cherry picked from commit ed15f0bc)
parent 32a3083e
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment