output: Introduce pivot tables.
[pspp] / tests / language / dictionary / split-file.at
index 91bf92f436ead9a7ef102dbd04e9c954e2201859..427bf2d9934fac8ddb62a2413fd9c58d559963d1 100644 (file)
@@ -1,3 +1,19 @@
+dnl PSPP - a program for statistical analysis.
+dnl Copyright (C) 2017 Free Software Foundation, Inc.
+dnl 
+dnl This program is free software: you can redistribute it and/or modify
+dnl it under the terms of the GNU General Public License as published by
+dnl the Free Software Foundation, either version 3 of the License, or
+dnl (at your option) any later version.
+dnl 
+dnl This program is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+dnl GNU General Public License for more details.
+dnl 
+dnl You should have received a copy of the GNU General Public License
+dnl along with this program.  If not, see <http://www.gnu.org/licenses/>.
+dnl
 AT_BANNER([SPLIT FILE])
 
 AT_SETUP([SPLIT FILE - basic test])
@@ -25,10 +41,9 @@ list.
 ])
 AT_CHECK([pspp -o pspp.csv split-file.sps])
 AT_CHECK([cat pspp.csv], [0], [dnl
-Title: Test SPLIT FILE utility
-
-Variable,Value,Label
-X,1,
+Table: Split Values
+Variable,Value
+X,1
 
 Table: Data List
 X,Y
@@ -39,8 +54,9 @@ X,Y
 1,5
 1,4
 
-Variable,Value,Label
-X,2,
+Table: Split Values
+Variable,Value
+X,2
 
 Table: Data List
 X,Y
@@ -85,15 +101,19 @@ CROSSTABS a by b.
 CORRELATIONS /VARIABLES = a b.
 DELETE VARIABLES a.
 DESCRIPTIVES e .
-EXAMINE c by b.
+EXAMINE c by b.
 EXPORT outfile='xxx'.
 FACTOR /VARIABLES = b c d.
 FILTER BY c.
 FREQUENCIES b.
-* GLM c BY b.
+GLM c BY b.
+GRAPH /HISTOGRAM = b .
+GRAPH /SCATTERPLOT(BIVARIATE) = b with c by e .
+GRAPH /BAR (GROUPED) = MEAN(b) by c by e.
+GRAPH /BAR = COUNT BY  b.
 LIST.
 LOGISTIC REGRESSION q WITH b.
-MEANS c b.
+MEANS c b.
 NPAR TESTS /MCNEMAR q.
 ONEWAY c BY b.
 QUICK CLUSTER b c.
@@ -107,7 +127,7 @@ SAVE outfile='xx.sav'.
 SORT CASES by bb.
 T-TEST /GROUP=q(0,1) /VARIABLES=bb.
 USE ALL.
-FLIP /VARIABLES = bb, c .
+FLIP /VARIABLES = bb, c .
 
 execute.
 finish.
@@ -115,4 +135,4 @@ finish.
 
 AT_CHECK([pspp -O format=csv split-file.sps], [0],[ignore])
 
-AT_CLEANUP
\ No newline at end of file
+AT_CLEANUP