work on PRINT encoding
[pspp] / examples / regress.sps
1 set decimal=dot.
2 title 'Demonstrate REGRESSION procedure'.
3 /*      run this syntax file with the command:
4 /*                 pspp example.stat
5 /*
6 /*      Output is written to the file "pspp.list".
7 /*
8 /*      (This comment will not appear in the output.)
9
10 data list / v0 to v2 1-33 (10).
11 begin data.
12  0.65377128  7.735648 -23.97588
13 -0.13087553  6.142625 -19.63854
14  0.34880368  7.651430 -25.26557
15  0.69249021  6.125125 -16.57090
16 -0.07368178  8.245789 -25.80001
17 -0.34404919  6.031540 -17.56743
18  0.75981559  9.832291 -28.35977
19 -0.46958313  5.343832 -16.79548
20 -0.06108490  8.838262 -29.25689
21  0.56154863  6.200189 -18.58219
22 end data.
23 list.
24 regression /variables=v0 v1 v2 /statistics defaults /dependent=v2 /method=enter.
25