From: Ben Pfaff Date: Sat, 11 Feb 2012 18:22:17 +0000 (-0800) Subject: examples: Change extensions from .stat to .sps. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp;a=commitdiff_plain;h=c5526c9acb2c33a265b6be745a6d83a870ebd666 examples: Change extensions from .stat to .sps. .sps makes a lot more sense. Reported-by: Harry Thijssen --- diff --git a/examples/automake.mk b/examples/automake.mk index b69470a41b..d82fb21ce3 100644 --- a/examples/automake.mk +++ b/examples/automake.mk @@ -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 index 0000000000..3a3e2f3c7c --- /dev/null +++ b/examples/descript.sps @@ -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 index 3a3e2f3c7c..0000000000 --- a/examples/descript.stat +++ /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 index 0000000000..242626de53 --- /dev/null +++ b/examples/regress.sps @@ -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 index 242626de53..0000000000 --- a/examples/regress.stat +++ /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 index 0000000000..c25a9dc4ab --- /dev/null +++ b/examples/regress_categorical.sps @@ -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 index c25a9dc4ab..0000000000 --- a/examples/regress_categorical.stat +++ /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. -