Unverified Commit 11f8f9c7 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

MATLAB R2021a compatibility: rename datafile for ms-sbvar tests

The datafile was name “data.m”, and for some unidentified reason, this stopped
working with MATLAB R2021a.
parent 47477e15
...@@ -9,5 +9,5 @@ equation 1, Pie, Y; ...@@ -9,5 +9,5 @@ equation 1, Pie, Y;
equation 2, Y; equation 2, Y;
end; end;
sbvar(datafile = data,freq=4,initial_year=1959,final_year=2005,nlags=4); sbvar(datafile=msdata,freq=4,initial_year=1959,final_year=2005,nlags=4);
...@@ -10,5 +10,5 @@ equation 1, Pie, Y; ...@@ -10,5 +10,5 @@ equation 1, Pie, Y;
equation 2, Y; equation 2, Y;
end; end;
sbvar(datafile = data,freq=4,initial_year=1959,final_year=2005,nlags=4); sbvar(datafile=msdata,freq=4,initial_year=1959,final_year=2005,nlags=4);
...@@ -11,5 +11,5 @@ end; ...@@ -11,5 +11,5 @@ end;
sbvar_global_identification_check(options_); sbvar_global_identification_check(options_);
sbvar(datafile = data,freq=4,initial_year=1959,final_year=2005,nlags=4); sbvar(datafile=msdata,freq=4,initial_year=1959,final_year=2005,nlags=4);
...@@ -7,4 +7,4 @@ svar_identification; ...@@ -7,4 +7,4 @@ svar_identification;
lower_cholesky; lower_cholesky;
end; end;
sbvar(datafile = data,freq=4,initial_year=1959,final_year=2005,nlags=4); sbvar(datafile=msdata,freq=4,initial_year=1959,final_year=2005,nlags=4);
...@@ -7,5 +7,5 @@ svar_identification; ...@@ -7,5 +7,5 @@ svar_identification;
lower_cholesky; lower_cholesky;
end; end;
sbvar(datafile = data,freq=4,initial_year=1959,final_year=2005,nlags=4); sbvar(datafile=msdata,freq=4,initial_year=1959,final_year=2005,nlags=4);
...@@ -8,5 +8,5 @@ lower_cholesky; ...@@ -8,5 +8,5 @@ lower_cholesky;
exclusion constants; exclusion constants;
end; end;
sbvar(datafile = data,freq=4,initial_year=1959,final_year=2005,nlags=4); sbvar(datafile=msdata,freq=4,initial_year=1959,final_year=2005,nlags=4);
...@@ -12,7 +12,7 @@ svar(variances, chain=1); ...@@ -12,7 +12,7 @@ svar(variances, chain=1);
set_dynare_seed(5); set_dynare_seed(5);
ms_estimation(datafile=data ms_estimation(datafile=msdata
,freq=4 ,freq=4
,initial_year=1959 ,initial_year=1959
,final_year=2005 ,final_year=2005
......
...@@ -13,7 +13,7 @@ svar(variances, chain=1); ...@@ -13,7 +13,7 @@ svar(variances, chain=1);
set_dynare_seed(5); set_dynare_seed(5);
ms_estimation(datafile=data ms_estimation(datafile=msdata
,freq=4 ,freq=4
,initial_year=1959 ,initial_year=1959
,final_year=2005 ,final_year=2005
...@@ -29,7 +29,7 @@ ms_forecast; ...@@ -29,7 +29,7 @@ ms_forecast;
ms_variance_decomposition; ms_variance_decomposition;
ms_estimation(datafile=data, file_tag=tmv_rr_sr ms_estimation(datafile=msdata, file_tag=tmv_rr_sr
,freq=4 ,freq=4
,initial_year=1959 ,initial_year=1959
,final_year=2005 ,final_year=2005
...@@ -45,7 +45,7 @@ ms_forecast(file_tag=tmv_rr_sr); ...@@ -45,7 +45,7 @@ ms_forecast(file_tag=tmv_rr_sr);
ms_variance_decomposition(file_tag=tmv_rr_sr); ms_variance_decomposition(file_tag=tmv_rr_sr);
ms_estimation(datafile=data, file_tag=tmv_rr_sr, no_create_init ms_estimation(datafile=msdata, file_tag=tmv_rr_sr, no_create_init
,freq=4, output_file_tag=tmv_rr_tr ,freq=4, output_file_tag=tmv_rr_tr
,initial_year=1959 ,initial_year=1959
,final_year=2005 ,final_year=2005
......
...@@ -9,5 +9,5 @@ restriction equation 1, coeff(Y,0) = 0; ...@@ -9,5 +9,5 @@ restriction equation 1, coeff(Y,0) = 0;
restriction equation 2, coeff(Y,0) = 0; restriction equation 2, coeff(Y,0) = 0;
end; end;
sbvar(datafile = data,freq=4,initial_year=1959,final_year=2005,nlags=4); sbvar(datafile=msdata,freq=4,initial_year=1959,final_year=2005,nlags=4);
...@@ -6,4 +6,4 @@ svar_identification; ...@@ -6,4 +6,4 @@ svar_identification;
upper_cholesky; upper_cholesky;
end; end;
sbvar(datafile = data,freq=4,initial_year=1959,final_year=2005,nlags=4); sbvar(datafile=msdata,freq=4,initial_year=1959,final_year=2005,nlags=4);
...@@ -7,5 +7,5 @@ exclusion constants; ...@@ -7,5 +7,5 @@ exclusion constants;
upper_cholesky; upper_cholesky;
end; end;
sbvar(datafile = data,freq=4,initial_year=1959,final_year=2005,nlags=4); sbvar(datafile=msdata,freq=4,initial_year=1959,final_year=2005,nlags=4);
Supports Markdown
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