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/>.
20 AT_DATA([weight.txt], [dnl
74 AT_DATA([weight.sps], [dnl
76 data list file='weight.txt'/AVAR 1-5 BVAR 6-10.
79 descriptives AVAR /statistics all /format serial.
80 frequencies AVAR /statistics all.
82 AT_CHECK([pspp -o pspp.csv -o pspp.txt weight.sps])
83 AT_CHECK([cat pspp.csv], [0], [dnl
84 Table: Reading 1 record from `weight.txt'.
85 Variable,Record,Columns,Format
89 Table: Descriptive Statistics
90 ,N,Mean,S.E. Mean,Std Dev,Variance,Kurtosis,S.E. Kurt,Skewness,S.E. Skew,Range,Minimum,Maximum,Sum
91 AVAR,730,31.515,.405,10.937,119.608,2.411,.181,1.345,.090,76.000,18,94,23006.00
92 Valid N (listwise),730,,,,,,,,,,,,
93 Missing N (listwise),0,,,,,,,,,,,,
115 ,,Frequency,Percent,Valid Percent,Cumulative Percent
116 Valid,18,1,.1%,.1%,.1%
118 ,20,26,3.6%,3.6%,4.7%
119 ,21,76,10.4%,10.4%,15.1%
120 ,22,57,7.8%,7.8%,22.9%
121 ,23,58,7.9%,7.9%,30.8%
122 ,24,38,5.2%,5.2%,36.0%
123 ,25,38,5.2%,5.2%,41.2%
124 ,26,30,4.1%,4.1%,45.3%
125 ,27,21,2.9%,2.9%,48.2%
126 ,28,23,3.2%,3.2%,51.4%
127 ,29,24,3.3%,3.3%,54.7%
128 ,30,23,3.2%,3.2%,57.8%
129 ,31,14,1.9%,1.9%,59.7%
130 ,32,21,2.9%,2.9%,62.6%
131 ,33,21,2.9%,2.9%,65.5%
132 ,34,14,1.9%,1.9%,67.4%
133 ,35,14,1.9%,1.9%,69.3%
134 ,36,17,2.3%,2.3%,71.6%
135 ,37,11,1.5%,1.5%,73.2%
136 ,38,16,2.2%,2.2%,75.3%
137 ,39,14,1.9%,1.9%,77.3%
138 ,40,15,2.1%,2.1%,79.3%
139 ,41,14,1.9%,1.9%,81.2%
140 ,42,14,1.9%,1.9%,83.2%
141 ,43,8,1.1%,1.1%,84.2%
142 ,44,15,2.1%,2.1%,86.3%
143 ,45,10,1.4%,1.4%,87.7%
144 ,46,12,1.6%,1.6%,89.3%
145 ,47,13,1.8%,1.8%,91.1%
146 ,48,13,1.8%,1.8%,92.9%
150 ,52,7,1.0%,1.0%,95.6%