diff --git a/tests/estimation/method_of_moments/AFVRR/AFVRR_M0.mod b/tests/estimation/method_of_moments/AFVRR/AFVRR_M0.mod index cd19168cc..ea4342672 100644 --- a/tests/estimation/method_of_moments/AFVRR/AFVRR_M0.mod +++ b/tests/estimation/method_of_moments/AFVRR/AFVRR_M0.mod @@ -256,7 +256,9 @@ dev_Q = AndreasenEtAl.Q@{orderApp} - oo_.mom.Q; dev_datamoments = str2double(AndreasenEtAl.moments@{orderApp}(:,5)) - oo_.mom.data_moments; dev_modelmoments = str2double(AndreasenEtAl.moments@{orderApp}(:,6)) - oo_.mom.model_moments; -if ~isoctave %there is no table command in Octave +% There is no table command in Octave +% The table command also crashes on MATLAB R2014a because it does not like variable names +if ~isoctave && ~matlab_ver_less_than('8.4') table([AndreasenEtAl.Q@{orderApp} ; str2double(AndreasenEtAl.moments@{orderApp}(:,5)) ; str2double(AndreasenEtAl.moments@{orderApp}(:,6))],... [oo_.mom.Q ; oo_.mom.data_moments ; oo_.mom.model_moments ],... [dev_Q ; dev_datamoments ; dev_modelmoments ],... @@ -298,4 +300,4 @@ method_of_moments( %, analytic_standard_errors , se_tolx=1e-10 ); -@#endif \ No newline at end of file +@#endif diff --git a/tests/estimation/method_of_moments/AFVRR/AFVRR_MFB.mod b/tests/estimation/method_of_moments/AFVRR/AFVRR_MFB.mod index 535dc8470..6686c5f29 100644 --- a/tests/estimation/method_of_moments/AFVRR/AFVRR_MFB.mod +++ b/tests/estimation/method_of_moments/AFVRR/AFVRR_MFB.mod @@ -257,7 +257,9 @@ dev_Q = AndreasenEtAl.Q@{orderApp} - oo_.mom.Q; dev_datamoments = str2double(AndreasenEtAl.moments@{orderApp}(:,5)) - oo_.mom.data_moments; dev_modelmoments = str2double(AndreasenEtAl.moments@{orderApp}(:,6)) - oo_.mom.model_moments; -if ~isoctave %there is no table command in Octave +% There is no table command in Octave +% The table command also crashes on MATLAB R2014a because it does not like variable names +if ~isoctave && ~matlab_ver_less_than('8.4') table([AndreasenEtAl.Q@{orderApp} ; str2double(AndreasenEtAl.moments@{orderApp}(:,5)) ; str2double(AndreasenEtAl.moments@{orderApp}(:,6))],... [oo_.mom.Q ; oo_.mom.data_moments ; oo_.mom.model_moments ],... [dev_Q ; dev_datamoments ; dev_modelmoments ],... @@ -299,4 +301,4 @@ method_of_moments( %, analytic_standard_errors , se_tolx=1e-10 ); -@#endif \ No newline at end of file +@#endif diff --git a/tests/estimation/method_of_moments/AFVRR/AFVRR_MFB_RRA.mod b/tests/estimation/method_of_moments/AFVRR/AFVRR_MFB_RRA.mod index d86c7b353..f299d7f8a 100644 --- a/tests/estimation/method_of_moments/AFVRR/AFVRR_MFB_RRA.mod +++ b/tests/estimation/method_of_moments/AFVRR/AFVRR_MFB_RRA.mod @@ -256,7 +256,9 @@ dev_Q = AndreasenEtAl.Q@{orderApp} - oo_.mom.Q; dev_datamoments = str2double(AndreasenEtAl.moments@{orderApp}(:,5)) - oo_.mom.data_moments; dev_modelmoments = str2double(AndreasenEtAl.moments@{orderApp}(:,6)) - oo_.mom.model_moments; -if ~isoctave %there is no table command in Octave +% There is no table command in Octave +% The table command also crashes on MATLAB R2014a because it does not like variable names +if ~isoctave && ~matlab_ver_less_than('8.4') table([AndreasenEtAl.Q@{orderApp} ; str2double(AndreasenEtAl.moments@{orderApp}(:,5)) ; str2double(AndreasenEtAl.moments@{orderApp}(:,6))],... [oo_.mom.Q ; oo_.mom.data_moments ; oo_.mom.model_moments ],... [dev_Q ; dev_datamoments ; dev_modelmoments ],... @@ -298,4 +300,4 @@ method_of_moments( %, analytic_standard_errors , se_tolx=1e-10 ); -@#endif \ No newline at end of file +@#endif