examples: Change extensions from .stat to .sps. 20120212030502/pspp
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 11 Feb 2012 18:22:17 +0000 (10:22 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 11 Feb 2012 18:22:17 +0000 (10:22 -0800)
.sps makes a lot more sense.

Reported-by: Harry Thijssen <pspp@sjpaes.nl>
examples/automake.mk
examples/descript.sps [new file with mode: 0644]
examples/descript.stat [deleted file]
examples/regress.sps [new file with mode: 0644]
examples/regress.stat [deleted file]
examples/regress_categorical.sps [new file with mode: 0644]
examples/regress_categorical.stat [deleted file]

index b69470a41b82fe2b1e432fd513da856d41bdc433..d82fb21ce33b51fea0a967dda2c508962284e4ff 100644 (file)
@@ -4,11 +4,11 @@
 examplesdir = $(pkgdatadir)/examples
 
 examples_DATA = \
-       examples/descript.stat \
+       examples/descript.sps \
        examples/hotel.sav \
        examples/physiology.sav \
        examples/repairs.sav \
-       examples/regress.stat \
-       examples/regress_categorical.stat
+       examples/regress.sps \
+       examples/regress_categorical.sps
 
 EXTRA_DIST += examples/OChangeLog $(examples_DATA)
diff --git a/examples/descript.sps b/examples/descript.sps
new file mode 100644 (file)
index 0000000..3a3e2f3
--- /dev/null
@@ -0,0 +1,22 @@
+title 'Demonstrate DESCRIPTIVES procedure'.
+
+* Sample syntax file for PSPP.
+* Run this syntax file with the command:
+*                 pspp example.stat
+* Output is written to the file "pspp.list".
+
+data list / v0 to v2 1-9.
+begin data.
+ 12 12 89
+ 34 12 80
+ 56 12 77
+ 78 12 73
+ 90 91
+ 37 97 85
+ 52    82
+ 12    79
+ 26 78 76
+ 29 13 71
+end data.
+
+descript all/stat=all/format=serial.
diff --git a/examples/descript.stat b/examples/descript.stat
deleted file mode 100644 (file)
index 3a3e2f3..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-title 'Demonstrate DESCRIPTIVES procedure'.
-
-* Sample syntax file for PSPP.
-* Run this syntax file with the command:
-*                 pspp example.stat
-* Output is written to the file "pspp.list".
-
-data list / v0 to v2 1-9.
-begin data.
- 12 12 89
- 34 12 80
- 56 12 77
- 78 12 73
- 90 91
- 37 97 85
- 52    82
- 12    79
- 26 78 76
- 29 13 71
-end data.
-
-descript all/stat=all/format=serial.
diff --git a/examples/regress.sps b/examples/regress.sps
new file mode 100644 (file)
index 0000000..242626d
--- /dev/null
@@ -0,0 +1,25 @@
+set decimal=dot.
+title 'Demonstrate REGRESSION procedure'.
+/*      run this syntax file with the command:
+/*                 pspp example.stat
+/*
+/*      Output is written to the file "pspp.list".
+/*
+/*      (This comment will not appear in the output.)
+
+data list / v0 to v2 1-33 (10).
+begin data.
+ 0.65377128  7.735648 -23.97588
+-0.13087553  6.142625 -19.63854
+ 0.34880368  7.651430 -25.26557
+ 0.69249021  6.125125 -16.57090
+-0.07368178  8.245789 -25.80001
+-0.34404919  6.031540 -17.56743
+ 0.75981559  9.832291 -28.35977
+-0.46958313  5.343832 -16.79548
+-0.06108490  8.838262 -29.25689
+ 0.56154863  6.200189 -18.58219
+end data.
+list.
+regression /variables=v0 v1 v2 /statistics defaults /dependent=v2 /method=enter.
+
diff --git a/examples/regress.stat b/examples/regress.stat
deleted file mode 100644 (file)
index 242626d..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-set decimal=dot.
-title 'Demonstrate REGRESSION procedure'.
-/*      run this syntax file with the command:
-/*                 pspp example.stat
-/*
-/*      Output is written to the file "pspp.list".
-/*
-/*      (This comment will not appear in the output.)
-
-data list / v0 to v2 1-33 (10).
-begin data.
- 0.65377128  7.735648 -23.97588
--0.13087553  6.142625 -19.63854
- 0.34880368  7.651430 -25.26557
- 0.69249021  6.125125 -16.57090
--0.07368178  8.245789 -25.80001
--0.34404919  6.031540 -17.56743
- 0.75981559  9.832291 -28.35977
--0.46958313  5.343832 -16.79548
--0.06108490  8.838262 -29.25689
- 0.56154863  6.200189 -18.58219
-end data.
-list.
-regression /variables=v0 v1 v2 /statistics defaults /dependent=v2 /method=enter.
-
diff --git a/examples/regress_categorical.sps b/examples/regress_categorical.sps
new file mode 100644 (file)
index 0000000..c25a9dc
--- /dev/null
@@ -0,0 +1,30 @@
+set decimal=dot.
+
+title 'Demonstrate REGRESSION procedure'.
+/*      run this syntax file with the command:
+/*                 pspp example.stat
+/*
+/*      Output is written to the file "pspp.list".
+/*
+/*      (This comment will not appear in the output.)
+
+data list / v0 1-2 (A) v1 v2 3-22 (10).
+begin data.
+b  7.735648 -23.97588
+b  6.142625 -19.63854
+a  7.651430 -25.26557
+c  6.125125 -16.57090
+a  8.245789 -25.80001
+c  6.031540 -17.56743
+a  9.832291 -28.35977
+c  5.343832 -16.79548
+a  8.838262 -29.25689
+b  6.200189 -18.58219
+end data.
+
+list.
+
+freq /variables=v0 v1 v2.
+
+regression /variables= v1 v2 /statistics defaults /dependent=v2 /method=enter.
+
diff --git a/examples/regress_categorical.stat b/examples/regress_categorical.stat
deleted file mode 100644 (file)
index c25a9dc..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-set decimal=dot.
-
-title 'Demonstrate REGRESSION procedure'.
-/*      run this syntax file with the command:
-/*                 pspp example.stat
-/*
-/*      Output is written to the file "pspp.list".
-/*
-/*      (This comment will not appear in the output.)
-
-data list / v0 1-2 (A) v1 v2 3-22 (10).
-begin data.
-b  7.735648 -23.97588
-b  6.142625 -19.63854
-a  7.651430 -25.26557
-c  6.125125 -16.57090
-a  8.245789 -25.80001
-c  6.031540 -17.56743
-a  9.832291 -28.35977
-c  5.343832 -16.79548
-a  8.838262 -29.25689
-b  6.200189 -18.58219
-end data.
-
-list.
-
-freq /variables=v0 v1 v2.
-
-regression /variables= v1 v2 /statistics defaults /dependent=v2 /method=enter.
-