Commit
bd156adaff5b7c1bbe48b5c64006ead58d9a37d6 slightly changed the
behaviour of the EXTREME subcommand of the EXAMINE procedure, but the
tests did not reflect this.
This change updates the tests accordingly. Thanks to Zoltan Fabian
for confirming which was the correct behaviour.
/STATISTICS descriptives extreme(3)
.
])
/STATISTICS descriptives extreme(3)
.
])
-AT_CHECK([pspp -o pspp.csv examine.sps])
dnl In the following data, only the extreme values have been checked.
dnl The descriptives have been blindly pasted.
dnl In the following data, only the extreme values have been checked.
dnl The descriptives have been blindly pasted.
-AT_CHECK([cat pspp.csv], [0], [dnl
+AT_CHECK([pspp -O format=csv examine.sps], [0], [dnl
Table: Reading free-form data from INLINE.
Variable,Format
QUALITY,F8.0
Table: Reading free-form data from INLINE.
Variable,Format
QUALITY,F8.0
,,2,16,6.00
,,3,14,5.00
,Lowest,1,3,1.00
,,2,16,6.00
,,3,14,5.00
,Lowest,1,3,1.00
Table: Descriptives
,,,Statistic,Std. Error
Table: Descriptives
,,,Statistic,Std. Error
,,,2,5,4.00
,,,3,1,3.00
,,Lowest,1,3,1.00
,,,2,5,4.00
,,,3,1,3.00
,,Lowest,1,3,1.00
-,,,2,3,1.00
-,,,3,4,1.00
+,,,2,4,1.00
+,,,3,2,2.00
,Bloggs,Highest,1,7,5.00
,,,2,9,4.00
,Bloggs,Highest,1,7,5.00
,,,2,9,4.00
,,Lowest,1,8,2.00
,,,2,10,2.00
,,,3,11,3.00
,,Lowest,1,8,2.00
,,,2,10,2.00
,,,3,11,3.00
,,,3,14,5.00
,,Lowest,1,15,3.00
,,,2,13,4.00
,,,3,14,5.00
,,Lowest,1,15,3.00
,,,2,13,4.00
Table: Descriptives
,Manufacturer,,,Statistic,Std. Error
Table: Descriptives
,Manufacturer,,,Statistic,Std. Error
,,Skewness,,.30,.75
,,Kurtosis,,.15,1.48
])
,,Skewness,,.30,.75
,,Kurtosis,,.15,1.48
])
AT_CLEANUP
AT_SETUP([EXAMINE -- extremes])
AT_CLEANUP
AT_SETUP([EXAMINE -- extremes])
/statistics=extreme(6)
.
])
/statistics=extreme(6)
.
])
-AT_CHECK([pspp -o pspp.csv examine.sps])
-AT_CHECK([cat pspp.csv], [0], [dnl
+
+AT_CHECK([pspp -O format=csv examine.sps], [0],[dnl
Table: Case Processing Summary
,Cases,,,,,
,Valid,,Missing,,Total,
Table: Case Processing Summary
,Cases,,,,,
,Valid,,Missing,,Total,
V1,Highest,1,21,20.00
,,2,20,19.00
,,3,19,18.00
V1,Highest,1,21,20.00
,,2,20,19.00
,,3,19,18.00
-,,4,19,18.00
-,,5,18,17.00
-,,6,17,16.00
+,,4,18,17.00
+,,5,17,16.00
+,,6,16,15.00
,Lowest,1,1,1.00
,,2,2,2.00
,,3,3,3.00
,Lowest,1,1,1.00
,,2,2,2.00
,,3,3,3.00
-,,4,3,3.00
-,,5,4,3.00
-,,6,5,4.00
+,,4,4,3.00
+,,5,5,4.00
+,,6,6,5.00