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/>.
16 dnl AT_BANNER([output -- tables])
18 AT_SETUP([OUTPUT precision])
20 AT_DATA([prec.sps], [[
21 data list notable list /A * B *.
32 /TABLECELLS SELECT = [ SIGNIFICANCE ]
35 t-test /PAIRS a with b (PAIRED).
39 /TABLECELLS SELECT = [ SIGNIFICANCE ]
42 t-test /PAIRS a with b (PAIRED).
46 AT_CHECK([pspp -O format=csv prec.sps], [0], [dnl
47 Table: Paired Sample Statistics
48 ,,Mean,N,Std. Deviation,S.E. Mean
49 Pair 1,A,2.00,5,.71,.32
52 Table: Paired Samples Correlations
54 Pair 1,A & B,5,.92,.028
56 Table: Paired Samples Test
57 ,,Paired Differences,,,,,,,
58 ,,,,,95% Confidence Interval of the Difference,,,,
59 ,,Mean,Std. Deviation,Std. Error Mean,Lower,Upper,t,df,Sig. (2-tailed)
60 Pair 1,A - B,-2.00,.94,.42,-3.16,-.84,-4.78,4,.009
62 Table: Paired Sample Statistics
63 ,,Mean,N,Std. Deviation,S.E. Mean
64 Pair 1,A,2.00,5,.71,.32
67 Table: Paired Samples Correlations
69 Pair 1,A & B,5,.92,.02801
71 Table: Paired Samples Test
72 ,,Paired Differences,,,,,,,
73 ,,,,,95% Confidence Interval of the Difference,,,,
74 ,,Mean,Std. Deviation,Std. Error Mean,Lower,Upper,t,df,Sig. (2-tailed)
75 Pair 1,A - B,-2.00,.94,.42,-3.16,-.84,-4.78,4,.00877
83 AT_SETUP([OUTPUT crash])
85 AT_DATA([prec.sps], [[
86 data list notable list /A * B *.
94 /TABLECELLS SELECT = [ SIGNIFICANCE ]
97 t-test /PAIRS a with b (PAIRED).
100 AT_CHECK([pspp -O format=csv prec.sps], [1], [ignore])