From: Jason Stover Date: Fri, 14 Oct 2005 14:53:48 +0000 (+0000) Subject: Initial version X-Git-Tag: sav-api~2202 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp;a=commitdiff_plain;h=f06802136e72b3adeb0178dc030487d05cdb77e3 Initial version --- diff --git a/examples/regress.stat b/examples/regress.stat new file mode 100644 index 0000000000..237b2d297d --- /dev/null +++ b/examples/regress.stat @@ -0,0 +1,24 @@ +title 'Demonstrate DESCRIPTIVES 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.stat b/examples/regress_categorical.stat new file mode 100644 index 0000000000..d72b8845a2 --- /dev/null +++ b/examples/regress_categorical.stat @@ -0,0 +1,25 @@ +title 'Demonstrate DESCRIPTIVES 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=v0 v1 v2 /statistics defaults /dependent=v2 /method=enter. +