1 dnl PSPP - a program for statistical analysis.
2 dnl Copyright (C) 2017 Free Software Foundation, Inc.
4 dnl This program is free software: you can redistribute it and/or modify
5 dnl it under the terms of the GNU General Public License as published by
6 dnl the Free Software Foundation, either version 3 of the License, or
7 dnl (at your option) any later version.
9 dnl This program is distributed in the hope that it will be useful,
10 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
11 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 dnl GNU General Public License for more details.
14 dnl You should have received a copy of the GNU General Public License
15 dnl along with this program. If not, see <http://www.gnu.org/licenses/>.
17 AT_BANNER([output -- tables])
19 AT_SETUP([OUTPUT precision])
21 AT_DATA([prec.sps], [[
22 data list notable list /A * B *.
33 /TABLECELLS SELECT = [ SIGNIFICANCE ]
36 t-test /PAIRS a with b (PAIRED).
40 /TABLECELLS SELECT = [ SIGNIFICANCE ]
43 t-test /PAIRS a with b (PAIRED).
47 AT_CHECK([pspp -O format=csv prec.sps], [0], [dnl
48 Table: Paired Sample Statistics
49 ,,N,Mean,Std. Deviation,S.E. Mean
50 Pair 1,A,5,2.00,.71,.32
53 Table: Paired Samples Correlations
55 Pair 1,A & B,5,.918,.028
57 Table: Paired Samples Test
58 ,,Paired Differences,,,,,t,df,Sig. (2-tailed)
59 ,,Mean,Std. Deviation,S.E. Mean,95% Confidence Interval of the Difference,,,,
61 Pair 1,A - B,-2.00,.94,.42,-3.16,-.84,-4.78,4,.009
63 Table: Paired Sample Statistics
64 ,,N,Mean,Std. Deviation,S.E. Mean
65 Pair 1,A,5,2.00,.71,.32
68 Table: Paired Samples Correlations
70 Pair 1,A & B,5,.918,.02801
72 Table: Paired Samples Test
73 ,,Paired Differences,,,,,t,df,Sig. (2-tailed)
74 ,,Mean,Std. Deviation,S.E. Mean,95% Confidence Interval of the Difference,,,,
76 Pair 1,A - B,-2.00,.94,.42,-3.16,-.84,-4.78,4,.00877
84 AT_SETUP([OUTPUT crash])
86 AT_DATA([prec.sps], [[
87 data list notable list /A * B *.
95 /TABLECELLS SELECT = [ SIGNIFICANCE ]
98 t-test /PAIRS a with b (PAIRED).
101 AT_CHECK([pspp -O format=csv prec.sps], [1], [ignore])