From be7746b1dbfae61c8883774d2c475f23dd9c159e Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 12 Jul 2011 22:06:37 -0700 Subject: [PATCH] GLM: Allow +/- .001 for Corrected Total Type III Sum of Squares. Jeremy Lavergne reported that on Mac OS X this value is calculated as 329.628 instead of 329.627. John Darrington said that he's seen the same on GNU/Linux depending on compiler optimization flags. --- tests/language/stats/glm.at | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/language/stats/glm.at b/tests/language/stats/glm.at index 60dc903e..68caf606 100644 --- a/tests/language/stats/glm.at +++ b/tests/language/stats/glm.at @@ -56,8 +56,8 @@ glm y by b a c . ]) -AT_CHECK([pspp -O format=csv latin.sps], [0], [dnl -Table: Tests of Between-Subjects Effects +AT_CHECK([pspp -O format=csv latin.sps | sed 's/329.62[[678]]/329.62/'], [0], + [Table: Tests of Between-Subjects Effects Source,Type III Sum of Squares,df,Mean Square,F,Sig. Corrected Model,263.064,15,17.538,5.269,.000 Intercept,815.103,1,815.103,244.910,.000 @@ -66,7 +66,7 @@ Factor B,28.599,5,5.720,1.719,.176 Factor C,155.596,5,31.119,9.350,.000 Error,66.563,20,3.328,, Total,1144.730,36,,, -Corrected Total,329.627,35,,, +Corrected Total,329.62,35,,, ]) AT_CLEANUP -- 2.30.2