REGRESSION: Warn when REGRESSION with SAVE runs with a filter configured.
[pspp] / tests / language / stats / regression.at
1 AT_BANNER([LINEAR REGRESSION])
2
3 AT_SETUP([LINEAR REGRESSION - basic])
4 AT_DATA([regression.sps], [dnl
5 set format = F22.3.
6 data list notable list / v0 to v2.
7 filter by v0.
8 begin data
9  0.65377128  7.735648 -23.97588
10 -0.13087553  6.142625 -19.63854
11  0.34880368  7.651430 -25.26557
12  0.69249021  6.125125 -16.57090
13 -0.07368178  8.245789 -25.80001
14 -0.34404919  6.031540 -17.56743
15  0.75981559  9.832291 -28.35977
16 -0.46958313  5.343832 -16.79548
17 -0.06108490  8.838262 -29.25689
18  0.56154863  6.200189 -18.58219
19 end data
20 regression /variables=v0 v1 v2 /statistics defaults /dependent=v2 /method=enter /save=pred resid.
21 list.
22 ])
23
24 AT_CHECK([pspp -O format=csv regression.sps], [0], [dnl
25 regression.sps:16: warning: REGRESSION: REGRESSION with SAVE ignores FILTER.  All cases will be processed.
26
27 Table: Model Summary (v2)
28 ,R,R Square,Adjusted R Square,Std. Error of the Estimate
29 ,.971,.942,.925,1.337
30
31 Table: ANOVA (v2)
32 ,,Sum of Squares,df,Mean Square,F,Sig.
33 ,Regression,202.753,2,101.376,56.754,.000
34 ,Residual,12.504,7,1.786,,
35 ,Total,215.256,9,,,
36
37 Table: Coefficients (v2)
38 ,,Unstandardized Coefficients,,Standardized Coefficients,,
39 ,,B,Std. Error,Beta,t,Sig.
40 ,(Constant),2.191,2.357,.000,.930,.380
41 ,v0,1.813,1.053,.171,1.722,.129
42 ,v1,-3.427,.332,-1.026,-10.334,.000
43
44 Table: Data List
45 v0,v1,v2,RES1,PRED1
46 .654,7.736,-23.976,-.84,-23.13
47 -.131,6.143,-19.639,-.54,-19.10
48 .349,7.651,-25.266,-1.87,-23.40
49 .692,6.125,-16.571,.97,-17.54
50 -.074,8.246,-25.800,.40,-26.20
51 -.344,6.032,-17.567,1.53,-19.10
52 .760,9.832,-28.360,1.77,-30.13
53 -.470,5.344,-16.795,.18,-16.97
54 -.061,8.838,-29.257,-1.05,-28.21
55 .562,6.200,-18.582,-.54,-18.04
56 ])
57 AT_CLEANUP
58
59
60 AT_SETUP([LINEAR REGRESSION - one save])
61 AT_DATA([regression.sps], [dnl
62 set format = F22.3.
63 data list notable list / v0 to v2.
64 begin data
65  0.65377128  7.735648 -23.97588
66 -0.13087553  6.142625 -19.63854
67  0.34880368  7.651430 -25.26557
68  0.69249021  6.125125 -16.57090
69 -0.07368178  8.245789 -25.80001
70 -0.34404919  6.031540 -17.56743
71  0.75981559  9.832291 -28.35977
72 -0.46958313  5.343832 -16.79548
73 -0.06108490  8.838262 -29.25689
74  0.56154863  6.200189 -18.58219
75 end data
76 regression /variables=v0 v1 v2 /statistics defaults /dependent=v2 /method=enter /save=resid.
77 regression /variables=v0 v1 v2 /statistics defaults /dependent=v2 /method=enter /save=pred.
78 list.
79 ])
80
81 AT_CHECK([pspp -O format=csv regression.sps], [0], [dnl
82 Table: Model Summary (v2)
83 ,R,R Square,Adjusted R Square,Std. Error of the Estimate
84 ,.971,.942,.925,1.337
85
86 Table: ANOVA (v2)
87 ,,Sum of Squares,df,Mean Square,F,Sig.
88 ,Regression,202.753,2,101.376,56.754,.000
89 ,Residual,12.504,7,1.786,,
90 ,Total,215.256,9,,,
91
92 Table: Coefficients (v2)
93 ,,Unstandardized Coefficients,,Standardized Coefficients,,
94 ,,B,Std. Error,Beta,t,Sig.
95 ,(Constant),2.191,2.357,.000,.930,.380
96 ,v0,1.813,1.053,.171,1.722,.129
97 ,v1,-3.427,.332,-1.026,-10.334,.000
98
99 Table: Model Summary (v2)
100 ,R,R Square,Adjusted R Square,Std. Error of the Estimate
101 ,.971,.942,.925,1.337
102
103 Table: ANOVA (v2)
104 ,,Sum of Squares,df,Mean Square,F,Sig.
105 ,Regression,202.753,2,101.376,56.754,.000
106 ,Residual,12.504,7,1.786,,
107 ,Total,215.256,9,,,
108
109 Table: Coefficients (v2)
110 ,,Unstandardized Coefficients,,Standardized Coefficients,,
111 ,,B,Std. Error,Beta,t,Sig.
112 ,(Constant),2.191,2.357,.000,.930,.380
113 ,v0,1.813,1.053,.171,1.722,.129
114 ,v1,-3.427,.332,-1.026,-10.334,.000
115
116 Table: Data List
117 v0,v1,v2,RES1,PRED1
118 .654,7.736,-23.976,-.84,-23.13
119 -.131,6.143,-19.639,-.54,-19.10
120 .349,7.651,-25.266,-1.87,-23.40
121 .692,6.125,-16.571,.97,-17.54
122 -.074,8.246,-25.800,.40,-26.20
123 -.344,6.032,-17.567,1.53,-19.10
124 .760,9.832,-28.360,1.77,-30.13
125 -.470,5.344,-16.795,.18,-16.97
126 -.061,8.838,-29.257,-1.05,-28.21
127 .562,6.200,-18.582,-.54,-18.04
128 ])
129 AT_CLEANUP
130
131
132 # Test to ensure that the /SAVE subcommand works properly when SPLIT is active
133 AT_SETUP([LINEAR REGRESSION - SAVE vs SPLITS])
134
135 # Generate some test data based on a linear model
136 AT_DATA([gen-data.sps], [dnl
137 set seed = 1.
138 input program.
139 loop #c = 1 to 20.
140      compute x0 = rv.normal (0,1).
141      compute x1 = rv.normal (0,2).
142      compute err = rv.normal (0,0.1).
143      compute y = 4 - 2 * x0 + 3 * x1 + err.
144      compute g = (#c > 10).
145      end case.
146 end loop.
147 end file.
148 end input program.
149
150 print outfile='regdata.txt' /g x0 x1 y err *.
151 execute.
152 ])
153
154 AT_CHECK([pspp -O format=csv gen-data.sps], [0], [ignore])
155
156 # Use our test data to create a predictor and a residual variable
157 # for G == 0
158 AT_DATA([regression0.sps], [dnl
159 data list notable file='regdata.txt' list /g x0 x1 y err *.
160
161 select if (g = 0).
162
163 regression 
164            /variables = x0 x1
165            /dependent = y
166            /statistics = all
167            /save = pred resid.
168            .
169
170 print outfile='outdata-g0.txt' /g x0 x1 y err res1 pred1 *.
171 execute.
172 ])
173
174
175 AT_CHECK([pspp -O format=csv regression0.sps], [0], [ignore])
176
177 # Use our test data to create a predictor and a residual variable
178 # for G == 1
179 AT_DATA([regression1.sps], [dnl
180 data list notable file='regdata.txt' list /g x0 x1 y err *.
181
182 select if (g = 1).
183
184 regression 
185            /variables = x0 x1
186            /dependent = y
187            /statistics = all
188            /save = pred resid.
189            .
190
191 print outfile='outdata-g1.txt' /g x0 x1 y err res1 pred1 *.
192 execute.
193 ])
194
195
196 AT_CHECK([pspp -O format=csv regression1.sps], [0], [ignore])
197
198 # Use our test data to create a predictor and a residual variable
199 # The data is split on G
200 AT_DATA([regression-split.sps], [dnl
201 data list notable file='regdata.txt' list /g x0 x1 y err *.
202
203 split file by g.
204
205 regression 
206            /variables = x0 x1
207            /dependent = y
208            /statistics = all
209            /save = pred resid.
210            .
211
212 print outfile='outdata-split.txt' /g x0 x1 y err res1 pred1 *.
213 execute.
214 ])
215
216 AT_CHECK([pspp -O format=csv regression-split.sps], [0], [ignore])
217
218 # The concatenation of G==0 and G==1 should be identical to the SPLIT data
219 AT_CHECK([cat outdata-g0.txt outdata-g1.txt | diff outdata-split.txt - ], [0], [])
220
221 AT_CLEANUP
222
223
224 # Test that the procedure behaves sensibly when presented with
225 # multiple dependent variables
226 AT_SETUP([LINEAR REGRESSION multiple dependent variables])
227 AT_DATA([regression.sps], [dnl
228 set seed = 2.
229 input program.
230 loop #c = 1 to 200.
231      compute x0 = rv.normal (0, 1).
232      compute x1 = rv.normal (0, 2).
233      compute err = rv.normal (0, 0.8).
234      compute y = 2 - 1.5 * x0 + 8.4 * x1 + err.
235      compute ycopy = y.
236      end case.
237 end loop.
238 end file.
239 end input program.
240
241 regression 
242            /variables = x0 x1
243            /dependent = y ycopy
244            /statistics = default.
245 ])
246
247 AT_CHECK([pspp -O format=csv regression.sps > output], [0], [ignore])
248
249 AT_CHECK([head -16 output > first], [0], [])
250 AT_CHECK([tail -16 output > second], [0], [])
251
252 AT_CHECK([sed -e 's/ycopy/y/g' second | diff first -], [0], [])
253
254
255 AT_CLEANUP
256
257 # Tests the QR decomposition used by the REGRESSION command.
258 AT_SETUP([LINEAR REGRESSION test of QR decomposition])
259 AT_DATA([regression.sps], [dnl
260 data list list / v0 to v1.
261 begin data
262 -12.84099361 0.873270778
263  16.64932538 0.371315664
264  -1.88061907 0.505503722
265  -6.20952354 0.734698282
266   0.33272576 0.891224610
267  -5.54912717 0.052318165
268   6.11832417 0.448853404
269  11.78124974 0.470447593
270   0.75960353 0.565082303
271   6.06432768 0.149316743
272  -2.64919436 0.752532411
273 -10.32250712 0.798263603
274   2.06355038 0.469129797
275  -9.71851742 0.927162270
276   4.65582553 0.250629262
277   9.54574474 0.847032310
278   7.35544368 0.197028541
279  -2.09609740 0.400584261
280  10.30101161 0.671546480
281  -5.24501039 0.929962876
282   1.73412473 0.758161354
283  -3.12732732 0.569785505
284  12.66261501 0.630640223
285  -2.90956805 0.576067804
286   4.89649177 0.624483995
287  13.64613114 0.591089881
288  14.03198397 0.544587572
289   2.23566810 0.967898139
290   5.37367760 0.916246929
291   9.01346888 0.451702743
292   0.75378683 0.235544137
293  -3.47470624 0.742668194
294  -1.02063266 0.860311687
295  -2.67132813 0.082460702
296  23.67661680 0.932553932
297   7.95061359 0.430161125
298   2.05300558 0.066331375
299  -2.01332644 0.163705417
300  20.00663784 0.587292630
301   3.06099417 0.161411889
302  -3.46115358 0.216684625
303  -6.85287183 0.548714855
304  -4.27923809 0.630997663
305  -0.94863395 0.880612945
306   4.47481747 0.359885215
307 -12.80962955 0.886070341
308   9.35753086 0.187176558
309   2.81002235 0.063035095
310   0.01532424 0.964327101
311   0.29867732 0.866408063
312  -2.89035649 0.812135868
313   4.17352811 0.608884061
314  18.15502183 0.920568258
315  -2.92662792 0.550792959
316  -6.08090449 0.965036595
317  -1.09135397 0.862548019
318   7.02816784 0.042277017
319 -21.20245068 0.430673493
320  -8.83397584 0.724976162
321  -0.89055843 0.017934904
322   7.03871587 0.308829557
323   3.84286316 0.685105924
324   4.50280692 0.447635420
325  11.39207346 0.875177896
326  10.86673874 0.518530912
327   7.09853081 0.588367569
328 -12.82864915 0.184667098
329  13.74888760 0.610891139
330   0.37379146 0.557720134
331  -9.79020267 0.942839981
332   0.71574466 0.564570338
333 -17.56040637 0.182061777
334   2.52620466 0.306875011
335   5.37718673 0.366807049
336  -1.83964300 0.465772898
337   6.04848363 0.644501799
338   4.57402403 0.121419591
339   8.55606848 0.373011464
340  -8.46827907 0.491176571
341  -1.77989798 0.734722847
342  -0.68661121 0.540984182
343   1.55798880 0.822587656
344   5.22810831 0.333747878
345   9.50280477 0.068100934
346  -3.74521465 0.248537644
347   1.36045068 0.851827791
348   4.41604088 0.197207162
349  -3.72568327 0.726916693
350  -5.36123334 0.906513529
351   3.61594583 0.414340595
352 -10.01952852 0.140372658
353  25.48681482 0.354309660
354  -3.34529093 0.090075388
355 -18.00437582 0.461438059
356  -5.29782460 0.004362856
357   2.79608522 0.861294398
358  -1.64076209 0.345775481
359   6.82802334 0.137933862
360  -0.45416818 0.404379208
361  -1.66868582 0.797685201
362 -10.02820292 0.075876582
363   5.68232031 0.404815042
364   8.25113850 0.769173748
365  -2.83544237 0.076583474
366   0.87659945 0.092751009
367   6.60270870 0.530444351
368 -12.63924989 0.362099960
369  -6.24451253 0.641993458
370   3.53339015 0.461991892
371  -0.74012232 0.437409755
372  15.37311996 0.974913038
373  -8.09464797 0.543308711
374  -9.61320222 0.221564578
375   0.21843662 0.856512540
376  -1.56958954 0.610709221
377   6.44977372 0.200382138
378 -13.29136274 0.093222309
379   6.46257214 0.024135196
380  -3.82727990 0.601335801
381   0.43081953 0.268230667
382  19.06654416 0.219972815
383  17.02906651 0.996849502
384 -10.18073139 0.012543080
385  12.72088788 0.910600764
386  10.45328185 0.331285901
387   7.14370922 0.896312020
388  -2.81754334 0.048741266
389   6.40217095 0.075796756
390  -3.18030478 0.666325307
391   8.64585957 0.120549153
392   1.37952764 0.899991932
393 -11.81143886 0.601949630
394   0.03899706 0.363808260
395 -10.63828243 0.031092967
396  -6.66940972 0.246204205
397  -5.07374962 0.951272057
398   4.82281566 0.063928187
399 -21.93693564 0.050972680
400  -4.54569883 0.225839693
401  -0.92422779 0.437796785
402  -1.11683029 0.740215139
403  16.77765554 0.851072372
404   9.73614597 0.388180586
405  14.05345168 0.063760129
406   1.20512012 0.665964184
407   8.00307080 0.102447114
408   8.01252623 0.580929209
409 -13.54924183 0.438420739
410   9.87164361 0.970859344
411  17.63437095 0.250501797
412  -3.42503574 0.873290220
413  -2.45873197 0.847756049
414  17.29212092 0.411683187
415   1.15496098 0.530658504
416  -2.14438907 0.592255367
417  -1.79942021 0.517773009
418  -1.30677990 0.830860762
419   1.70233874 0.291826660
420  -3.05532536 0.801767829
421  -4.06732625 0.092294501
422   6.34665476 0.270426235
423   9.46946411 0.196915311
424  14.50919907 0.480357167
425   8.93767237 0.778228613
426   1.90298854 0.903146151
427  18.50500507 0.598561307
428   4.45123027 0.555898218
429  11.37344114 0.616557707
430 -12.14693218 0.409187285
431  18.27198688 0.141619222
432  -5.75939569 0.056989619
433  -4.05515382 0.369281201
434  16.69882098 0.946885257
435   6.39050536 0.679704228
436   4.04213339 0.662792380
437   6.89608366 0.419877433
438   1.56496633 0.358227958
439   5.16679947 0.095144366
440  -3.06280456 0.883265975
441   2.76279175 0.866571973
442   1.84969249 0.264869828
443  21.79840498 0.702650979
444   1.42450528 0.719308635
445   0.96797046 0.111937435
446  18.26840323 0.075621738
447  13.38288377 0.573399086
448   2.41101500 0.766238677
449   3.83866337 0.499888953
450  -1.56577367 0.695244089
451  -0.90342790 0.671654151
452  10.83775583 0.026041124
453  -9.89767935 0.745297991
454  11.74840150 0.309144074
455   1.73069359 0.814063985
456  -5.27966183 0.591005828
457   3.33030043 0.559401806
458   1.31427975 0.520950237
459 -10.04588558 0.507008362
460  10.41228345 0.425867272
461   1.71961097 0.595783108
462 -17.54904427 0.328788939
463  -2.23545419 0.223377350
464  -8.68774333 0.980964240
465  -3.48048220 0.008877675
466  -3.69635326 0.090236718
467   9.76114237 0.769375983
468 -10.25662038 0.508137553
469   0.11155446 0.468504431
470  -8.06824580 0.414098962
471   3.10031660 0.327130207
472  -3.33393146 0.756896774
473  -3.96276749 0.530956360
474  14.53610268 0.846474699
475   1.70505918 0.754662464
476  -1.93495001 0.656650411
477   5.01974522 0.745337633
478  13.41249973 0.489362476
479  11.49288744 0.335924476
480  12.59019763 0.155560469
481 -10.17947298 0.677318449
482   0.05556115 0.655090105
483   3.82092860 0.051838719
484   8.23041456 0.918272190
485  -0.50314649 0.772015826
486  20.05162157 0.880265258
487   8.98816884 0.666646668
488  -6.28312120 0.138534416
489   3.68589909 0.274559458
490   0.59699510 0.253180863
491  -2.74783135 0.983525221
492   0.32515065 0.839969577
493  -3.60606166 0.330646732
494  -0.82037740 0.129591173
495   6.12444860 0.098536516
496  10.95671074 0.033546728
497  -2.84911174 0.720288722
498   6.04597572 0.577061422
499  -0.60147150 0.674096868
500  -5.30458364 0.291468008
501   2.68044943 0.379853840
502   0.85986585 0.984214339
503 -12.77906359 0.882390290
504   7.21420144 0.550884826
505   2.31817022 0.231021556
506  11.60161950 0.888496654
507  -0.19346228 0.242609713
508   5.07478120 0.759161318
509  14.54155003 0.040387654
510   3.81039636 0.874572741
511   2.23233049 0.448317248
512   0.19481869 0.201906051
513   2.81530451 0.132131690
514  12.39893259 0.674693704
515   0.47054642 0.632959494
516   2.16152913 0.734480632
517   0.33398836 0.315024718
518   7.35509037 0.304570986
519  -2.92336559 0.539062343
520   5.79622573 0.392393310
521  -2.37607425 0.403380474
522   0.04498550 0.756875541
523  -1.63674414 0.613789514
524  11.80310547 0.832651469
525   6.30630243 0.850689403
526   1.48394652 0.096243229
527   4.03361865 0.799660045
528   3.54707273 0.408520520
529   2.00327040 0.702944912
530  17.30761707 0.380542812
531   5.72738968 0.105447516
532 -13.64604891 0.328506659
533   8.35976334 0.702173924
534  -7.41197443 0.134396488
535 -15.95683040 0.618526462
536   8.76889573 0.950243069
537  -1.13482624 0.113477080
538  -0.60311407 0.090444247
539   4.95508365 0.612511543
540   5.36934491 0.979213258
541  -0.03554882 0.807185690
542 -11.58131144 0.183341373
543   4.46809041 0.796330582
544  12.49741067 0.346860912
545   8.63824488 0.073684997
546   0.49990913 0.732519306
547  12.82688360 0.109400213
548  13.20375065 0.850369092
549  -8.41110869 0.177717087
550  16.31959963 0.727704840
551  17.59203613 0.235311681
552   0.32148420 0.842195936
553   5.43148331 0.670904647
554   7.14649727 0.028190029
555   0.25410683 0.421535783
556 -12.41047826 0.086404379
557 -10.64180909 0.229659236
558  -6.40185653 0.876365242
559  15.63063324 0.667672536
560   1.94280423 0.799266628
561  -5.76507450 0.367344192
562   8.60895533 0.154109357
563   9.38306751 0.788742770
564   3.43573528 0.284535277
565   4.81848966 0.872283177
566  11.65839314 0.234109111
567  -5.57884822 0.030363060
568  -3.94238060 0.325320686
569   9.38133340 0.201141788
570  -7.65003459 0.647734396
571  11.23091019 0.084927159
572  -6.07705432 0.037273791
573   7.46380750 0.506897136
574   7.42034855 0.869351148
575  -4.43031973 0.231191152
576  -1.07351537 0.480234836
577  -1.40653281 0.690620421
578  -3.82710168 0.990191328
579   5.04583490 0.543427375
580 -11.54265099 0.270542185
581   0.49059479 0.991447248
582  -1.40871469 0.555998766
583   3.64241437 0.743840673
584 -18.30031589 0.357478210
585   4.27487959 0.770619738
586   1.28805821 0.654787106
587  -3.19542768 0.218110139
588  12.53375654 0.011857644
589  11.78889419 0.054127726
590  -5.38392310 0.839309080
591  16.38024181 0.228801038
592  -0.59622631 0.134381782
593  -0.74107258 0.258146632
594 -12.31429450 0.020524447
595  -0.79785028 0.968028764
596   6.39899711 0.038162566
597   7.42024044 0.716163692
598  -3.62470664 0.018201813
599  -2.55049724 0.162446610
600 -10.79888854 0.683070478
601  10.18490144 0.546461234
602  -2.76979044 0.198830067
603   4.85164813 0.094100357
604   0.96477200 0.381801756
605   8.13344336 0.639730450
606   9.04684412 0.786084368
607  10.41746272 0.828304181
608   0.94334368 0.798419831
609  10.13116556 0.191715972
610  -4.12728628 0.575178239
611  -9.59222379 0.876405375
612   1.64680258 0.391003085
613  -4.58897613 0.039176486
614   0.38394379 0.511577564
615  -4.80428215 0.222785463
616   0.35363661 0.681658725
617  -9.63685708 0.183035382
618   3.54363414 0.766127414
619   6.89610808 0.967514568
620  -2.03781105 0.464416752
621   8.67956196 0.421424078
622  -1.09959038 0.061231448
623   7.12587456 0.028601318
624  -6.93064672 0.402561175
625   8.57989199 0.925089270
626  -9.55071810 0.454993099
627  -8.11914736 0.509644286
628  -5.41909698 0.077813151
629 -17.03336572 0.875713545
630  -1.27438609 0.602163625
631   3.09834374 0.105599007
632  -1.59865741 0.439939102
633  11.82272089 0.754984309
634   4.30969696 0.483834579
635 -10.76886192 0.222486992
636   7.05419803 0.903020271
637   7.36096847 0.440357053
638  -2.05864869 0.581170147
639  -9.08366913 0.318677911
640   8.57119930 0.605668919
641   7.87702340 0.570206991
642   5.22035786 0.542344385
643   2.37238850 0.595969470
644  -4.29809941 0.634313781
645   4.51647479 0.796663089
646  -0.62478780 0.562099444
647   8.50866078 0.490014249
648   3.46694991 0.122890089
649  -7.31956453 0.885170890
650   2.20259268 0.167180856
651  -1.81003626 0.702563515
652   8.44526939 0.973495019
653   8.19767069 0.881261264
654  -5.92422578 0.686557351
655  -0.11826129 0.712798344
656   5.66132869 0.922826429
657  -5.40845018 0.642183516
658   6.67839036 0.680978989
659  11.88962825 0.487904896
660   3.32266332 0.931709581
661   0.24234019 0.405641313
662 -12.79023339 0.361005489
663 -13.57875491 0.266289733
664   1.81304596 0.775093821
665   0.36755600 0.400225605
666  -9.15574205 0.518040748
667  -3.90436548 0.396869908
668   9.24764042 0.669374848
669   0.74869385 0.609881390
670  -3.62958907 0.928867495
671  -0.02527232 0.557679930
672   0.04433418 0.152565816
673  11.76152632 0.865663501
674  -4.62181124 0.007000650
675   5.82271403 0.389678502
676   0.33289002 0.532940826
677  -7.65647076 0.681574524
678  11.81023732 0.107165912
679  11.42121999 0.989580324
680  -5.47120641 0.762285550
681   3.82311561 0.388755074
682  16.91059711 0.461236022
683   4.14012105 0.802420151
684  -1.35278659 0.036646959
685 -12.81733350 0.179096148
686  -0.94395134 0.450959878
687  -5.39002376 0.264783062
688   4.16227017 0.780743762
689   7.26179625 0.821382454
690  15.10062276 0.469253936
691   1.45877225 0.685434405
692  -9.87966760 0.767201511
693   7.03156071 0.195142483
694 -11.71327419 0.774014869
695  -4.55518706 0.973103604
696  -1.75221406 0.175172193
697  10.35631400 0.080670414
698   4.97650495 0.597478189
699   2.25703939 0.585949751
700  10.72500409 0.339720931
701  -5.02901029 0.997874377
702   6.24398637 0.655067479
703  -5.83880059 0.184948259
704   2.17256077 0.746741866
705  -5.59809380 0.277523381
706   8.19384177 0.334565607
707   3.35250431 0.952057263
708  16.20874892 0.901400446
709   1.63205839 0.235388475
710  -1.07921163 0.608376332
711   0.24315118 0.862639830
712  15.61923078 0.050955422
713   1.99639207 0.358905687
714   8.14825538 0.190069662
715   4.55210835 0.784025901
716  13.51582298 0.973572910
717  15.42415796 0.969080992
718   2.23978124 0.551857514
719   1.00858991 0.919566804
720  -2.77293574 0.906998180
721   7.10750420 0.934792213
722  -8.01377290 0.682306063
723   9.67873875 0.239576806
724   7.54867950 0.065860266
725  13.85701962 0.733823443
726   8.48212853 0.285731085
727   3.55278843 0.998255904
728  21.94592206 0.205463912
729  -2.07957143 0.948665109
730   1.54169997 0.200109744
731 -11.36934275 0.447122472
732   3.07094572 0.815147945
733   6.45818709 0.007849948
734   1.85594578 0.818796540
735  -2.43799564 0.962013689
736 -17.96539549 0.654190963
737  -0.93433746 0.454930236
738 -11.06904368 0.898560975
739  14.89733742 0.479152492
740  -5.72390675 0.136197255
741   9.46781102 0.669006610
742   5.35954546 0.259381138
743   3.78388994 0.933778797
744   1.95373423 0.517555994
745  10.96772341 0.666138826
746   9.40585102 0.779906833
747   0.75347502 0.142656741
748   7.64803672 0.734297119
749  -0.40051164 0.362230232
750  10.00747057 0.660820381
751 -12.86024975 0.072988046
752   1.43515528 0.229672223
753  -6.75981709 0.658534537
754  -5.61355474 0.795897133
755  -4.40596595 0.038787666
756  -1.37033650 0.371835229
757   6.66666573 0.560963737
758   8.18430044 0.284787698
759  -0.55742330 0.622783662
760  -0.39757686 0.673551753
761 -12.68628005 0.373038561
762   4.06416215 0.760546238
763   4.65859855 0.516761886
764   3.55304076 0.266856843
765  -7.35294817 0.615783196
766   1.01222898 0.158266779
767   9.91052610 0.285619547
768  -6.42966726 0.573689954
769  10.97425098 0.985095061
770   5.79394599 0.404333309
771  10.09106608 0.441037857
772  -1.47295537 0.577661077
773  -2.07959719 0.547176133
774  -8.76910940 0.498979558
775 -11.15658312 0.135862745
776  -0.88456783 0.326480064
777   9.71607440 0.998076370
778  -8.76072622 0.386244511
779 -19.26823092 0.461833959
780  -0.11280313 0.064155908
781   0.64625887 0.172078148
782  -5.35323428 0.331153163
783  -1.71034509 0.330955888
784   4.27104744 0.590544244
785   7.33843789 0.263171531
786  -5.38121637 0.539675802
787  -6.87566548 0.127313096
788  -2.50161298 0.269417630
789  10.99076986 0.097362729
790   6.34017269 0.318528587
791  -4.63672382 0.451038055
792 -11.55122495 0.987073278
793   4.78618612 0.297342215
794   2.97547390 0.197312152
795  -5.54495280 0.499701114
796  17.67606173 0.810316588
797  16.01578815 0.643667608
798  -0.16258467 0.228284761
799   7.92123340 0.784289369
800  -2.26303900 0.270764770
801   5.84136933 0.437763291
802   4.96955217 0.389720490
803  -8.09516710 0.829068548
804  14.59207207 0.513593803
805   2.80954688 0.650799867
806   4.53653552 0.672326278
807   4.49116737 0.807447691
808  18.87549709 0.647303378
809   9.80118464 0.932576117
810 -13.02124969 0.038651904
811  -6.15189291 0.697593318
812  15.81920283 0.249825051
813  10.81503188 0.152372300
814 -23.58738366 0.593560367
815   8.15716338 0.411680007
816   3.45349379 0.351061414
817  -6.39345334 0.374926213
818   8.72924585 0.165759028
819  22.17948804 0.003736780
820  -4.73053410 0.582425257
821  16.88289626 0.484899167
822  -1.78826142 0.663273340
823  -0.78106025 0.337039969
824  -2.92461669 0.810174719
825 -13.89224399 0.177428986
826   4.56809819 0.025010350
827  -1.07452825 0.649632933
828   0.58148751 0.829606422
829  12.13329525 0.354819526
830  17.35605568 0.284862590
831 -12.43678107 0.827661083
832  -1.89492796 0.574929572
833   2.18520382 0.846299917
834  18.11449649 0.603173531
835   4.34508582 0.484049042
836  17.49394569 0.094811656
837  10.67752350 0.166176400
838  17.13374502 0.547208197
839   4.42138123 0.768691494
840   5.38445574 0.788597361
841   0.79946671 0.851883720
842  -4.67547904 0.995621191
843  -5.61496422 0.523793593
844 -20.52093126 0.881207308
845  -8.95996814 0.851078124
846  -7.63483710 0.739657373
847  11.02131097 0.678060014
848 -10.56228517 0.202393048
849   6.48841788 0.143946271
850   3.44853632 0.913249620
851  -0.02080024 0.070765134
852   2.08654297 0.032468089
853   8.13415912 0.439470874
854  11.19028936 0.944954026
855   0.26670866 0.492724593
856  -9.33692734 0.982611921
857  17.23967092 0.313428994
858   0.36906670 0.660669528
859   7.89735684 0.977628886
860  -4.00171487 0.379327632
861   5.01615432 0.735627296
862   0.42214214 0.092461754
863  13.60634772 0.218359635
864   6.57431413 0.067653525
865  -1.77668341 0.717799276
866   5.16227422 0.325502093
867 -15.29091550 0.332815338
868   3.33602480 0.594168551
869  13.80131443 0.817724470
870   5.92111679 0.947854666
871   3.59747624 0.330860216
872  -6.79722403 0.093518715
873  -1.86606213 0.824179728
874  17.05226458 0.466573672
875  10.39712467 0.409067778
876  -4.78536386 0.891470739
877  11.92963128 0.719633060
878  -1.44230992 0.232628002
879 -12.31860616 0.834134222
880   2.93439660 0.957842480
881  14.27963295 0.546264646
882   2.17488820 0.701170328
883  10.78772417 0.612332448
884  -0.47049341 0.378564293
885  -0.35140634 0.034337429
886   5.04887868 0.211697132
887  -3.51562580 0.663243607
888  -0.82013387 0.602497174
889   2.78954743 0.325294790
890   8.67905777 0.820296625
891 -12.70343389 0.315467361
892  -2.59373236 0.015571904
893  -4.60369241 0.293737716
894   1.58669084 0.671091860
895 -10.44245103 0.501340276
896   4.85215578 0.141572007
897  10.46303284 0.801814632
898   1.27898298 0.236929983
899  -1.72225479 0.608500539
900  20.18685735 0.827124630
901   3.27308817 0.542065179
902   1.01596956 0.254672115
903  -8.88872881 0.460876757
904 -11.31397349 0.636168639
905   0.85294367 0.816417328
906   3.54262337 0.944147626
907 -10.53603202 0.675775741
908   4.34832198 0.121988381
909  11.56451662 0.283063133
910  -7.36454369 0.500596540
911  -8.23701113 0.379483261
912  -8.36081323 0.219730782
913  -6.39158860 0.739171315
914  -1.40518544 0.478709398
915  -4.01314821 0.460476388
916  -7.34814047 0.406242873
917  -7.80836711 0.730648091
918  -0.57729135 0.152336258
919   4.98352832 0.026424939
920  -3.78181635 0.453598432
921  20.16821827 0.845273124
922   5.20758271 0.573569671
923  -3.05534245 0.286828574
924  -5.31306254 0.961990401
925   1.09307567 0.006478724
926  -3.75412572 0.598277695
927  -2.38444245 0.777900122
928   2.46837742 0.280363751
929   9.72195519 0.041094463
930   3.96271247 0.604775284
931   2.14105354 0.400315328
932   7.88645912 0.404573389
933  -4.03565076 0.798377309
934  10.80180959 0.932152434
935 -10.89359212 0.446813857
936   1.43144578 0.310194540
937   4.79825196 0.504826858
938  10.73201365 0.384306369
939  -4.07526187 0.893893643
940  -2.84330198 0.390202663
941   5.81825057 0.830581384
942  -2.77842745 0.382966910
943  -7.70333673 0.157692966
944  -3.25753058 0.726303603
945   8.50032387 0.556524444
946   2.35027236 0.857076526
947  -1.70740565 0.194760923
948  -3.40693880 0.696420946
949  -8.03983352 0.514393263
950  -1.85105344 0.609459979
951  -9.01148029 0.526019631
952  18.37344635 0.690793045
953  16.46079416 0.811535334
954   4.10224315 0.043403618
955   7.06657672 0.831274577
956  15.31421824 0.434558881
957 -12.36760970 0.004215634
958   1.95473415 0.277788662
959  -0.93207006 0.368433415
960  15.39919341 0.843189783
961   5.23452387 0.626226925
962  11.40805770 0.002417288
963  -1.30282837 0.072493756
964   3.92130690 0.675355182
965   2.53148399 0.027222295
966   4.92705318 0.934429364
967   5.54978818 0.042268708
968  -2.19608977 0.246743834
969  -0.62565550 0.858214200
970  -8.98329365 0.646827226
971  12.78468146 0.533966352
972   2.01061290 0.418710227
973   1.03689579 0.019241741
974   8.01166696 0.992268130
975  -4.49786437 0.694127903
976  -8.15387184 0.066275002
977   2.22256207 0.083301613
978 -12.27145086 0.535369809
979   9.95709112 0.227692557
980  14.58198717 0.667298058
981   5.98046083 0.922503625
982   1.25640725 0.632933575
983   9.77623752 0.136171032
984   5.57068426 0.374916651
985 -10.07048336 0.470411379
986   3.69267954 0.897278365
987   2.22185354 0.212539549
988   7.96155623 0.720525208
989  -6.21272358 0.771491819
990   2.63054735 0.474989115
991  -2.81488890 0.675381020
992   4.52747191 0.118615879
993  -3.22975936 0.783991133
994  11.42834761 0.423344824
995   0.26512464 0.617515445
996  -5.84322807 0.210915613
997   9.61073028 0.988117333
998  -6.11878012 0.492318959
999   5.30581443 0.339379499
1000  -6.40132703 0.903540026
1001   1.22921808 0.122161655
1002   8.08547837 0.197296588
1003  -0.77943801 0.935963718
1004  11.43194858 0.828270943
1005  -5.41689395 0.556863468
1006  15.14667847 0.565186375
1007  -5.15327419 0.542802437
1008  -3.95903082 0.643379366
1009   5.78847793 0.391369361
1010  11.54430873 0.158789330
1011   1.90340148 0.841316129
1012  14.69680285 0.532022770
1013   0.68552840 0.367073827
1014  -8.72287967 0.250127491
1015   9.35401445 0.836083158
1016   5.32139524 0.996712598
1017 -14.53387897 0.825434481
1018  -2.93925146 0.513153861
1019  12.54386493 0.713306793
1020   2.04842442 0.993893406
1021   2.87461954 0.049843312
1022   4.89765230 0.376710062
1023  -6.23945314 0.321108142
1024  -3.45840168 0.854710947
1025   9.05807160 0.199992188
1026   3.33815006 0.787302467
1027   4.22244242 0.351841910
1028  15.75879160 0.268699469
1029   2.78549859 0.920299974
1030  -4.46643118 0.727283862
1031   0.48021298 0.428672083
1032   2.55814938 0.130915212
1033   5.00692968 0.062266047
1034   4.78801127 0.325124688
1035   6.39524485 0.693406744
1036 -10.46792584 0.458128441
1037  10.14111908 0.353412759
1038 -10.56424183 0.821588957
1039   7.60967746 0.267669137
1040  -2.34956688 0.434855697
1041  23.82269027 0.802311880
1042   8.37170447 0.445185000
1043  10.05024769 0.778687843
1044  -9.15753018 0.957292819
1045  12.17438228 0.774769426
1046   1.57960028 0.783591989
1047   0.06719501 0.849073924
1048  16.21114558 0.243444943
1049  -3.79808298 0.842994720
1050   8.98927715 0.020537113
1051   7.72362992 0.984168340
1052  11.25158442 0.152385348
1053 -21.23936903 0.909204114
1054   7.34995949 0.987249305
1055  -7.99435203 0.335456401
1056  -2.78218185 0.768517548
1057  11.59547596 0.466617637
1058  15.90870706 0.071892573
1059   5.58160897 0.554485703
1060  16.05253351 0.815206562
1061  -3.23103465 0.280495460
1062  -4.61108636 0.035757819
1063   5.41596511 0.746146856
1064   2.92445613 0.136743821
1065  11.23628254 0.681316365
1066 -12.93714705 0.838791576
1067   9.94668264 0.084457395
1068  -4.56061529 0.983605894
1069  -4.24795688 0.601732731
1070  -2.83740044 0.375102341
1071  -0.43078317 0.403870303
1072  15.19689584 0.114826374
1073 -10.29920266 0.731582141
1074   6.01686515 0.641655876
1075   6.69431335 0.496723697
1076   4.62223602 0.328118236
1077  -1.74309026 0.072604771
1078  14.31971261 0.827101483
1079  -1.86629155 0.613346722
1080   8.30971428 0.274948560
1081   8.50080711 0.059822908
1082  -7.94061422 0.121069240
1083  -2.72096492 0.710791774
1084   3.33259421 0.398621625
1085   1.73248470 0.488581205
1086   9.56008489 0.011104565
1087  12.71499762 0.038568985
1088   4.11512127 0.219846314
1089  -0.96707584 0.822646857
1090   4.98621667 0.633779997
1091   4.69384821 0.295708955
1092  10.16008645 0.778287787
1093  -7.72973800 0.097096969
1094   2.87264210 0.796538177
1095   4.56095440 0.862952770
1096   5.02621658 0.934628629
1097   3.18138681 0.805600816
1098  -1.02245780 0.317640678
1099  18.16001652 0.992503640
1100   4.13729026 0.941910149
1101   1.61211303 0.377271914
1102   1.71520009 0.735196094
1103   3.26325421 0.514432564
1104  12.94663819 0.591190711
1105  10.53239931 0.005877708
1106   8.06705056 0.340779884
1107  -5.09007267 0.332516161
1108  12.31973355 0.323119296
1109  -2.69957650 0.633232996
1110  12.51207803 0.377641090
1111   8.02081444 0.859293157
1112  -0.13098726 0.099370804
1113  -0.97757546 0.852873609
1114  16.73605399 0.595854575
1115   3.63219184 0.329310613
1116  -4.79105630 0.247760146
1117  -4.77209495 0.708235587
1118   0.92107647 0.924567254
1119  12.12724271 0.433550712
1120  -5.07731478 0.200109463
1121   9.16019579 0.897456586
1122  18.33260560 0.649877409
1123   1.93596773 0.584401505
1124   8.51254631 0.283154523
1125  11.41092928 0.698703314
1126  10.85035748 0.351078210
1127  12.62749979 0.570101319
1128  -2.32028296 0.313842122
1129  -2.45778301 0.007943144
1130   6.93102526 0.108737491
1131  -0.67304654 0.245399613
1132   9.27294774 0.204010286
1133  14.29292826 0.396294626
1134  14.05843185 0.864613328
1135  -3.73515954 0.305862948
1136   0.36606339 0.116802407
1137  -5.79235478 0.457308058
1138   8.70346900 0.858244380
1139  -8.91321043 0.077001581
1140   0.58499566 0.503209780
1141   0.39160153 0.324883353
1142   7.46715326 0.343451039
1143  12.36256009 0.679483638
1144   8.84283689 0.687359177
1145  -6.39396909 0.113065562
1146  -3.67844896 0.667335667
1147   9.36904962 0.009815419
1148  -3.25244888 0.213105120
1149  19.09389976 0.593130536
1150   7.28826611 0.829483570
1151  -5.44565944 0.956490203
1152   7.96993416 0.770961635
1153   0.20683778 0.006497153
1154  -3.73273760 0.037042812
1155 -10.64745846 0.813594448
1156   5.70578906 0.157678242
1157   4.05282218 0.224663656
1158  14.77711159 0.577586777
1159   0.89685942 0.297213941
1160   3.92600687 0.672347849
1161 -12.29347477 0.367072171
1162  -9.33603480 0.456544225
1163  -0.86683190 0.088696811
1164   4.65685745 0.779783359
1165   1.24438030 0.712958633
1166  11.43533814 0.920345548
1167 -10.18380242 0.044456697
1168  -1.20684029 0.992051648
1169  -9.78059038 0.611477837
1170   3.05588762 0.581933667
1171   3.47419279 0.769325101
1172   0.87528245 0.455214184
1173  -3.13185655 0.805887381
1174  -0.82283965 0.707668384
1175  -1.86717272 0.984060013
1176  16.56357048 0.217369677
1177  -2.11052646 0.474156371
1178  -1.39795364 0.958554209
1179   4.87468692 0.328779186
1180   2.69163553 0.401633221
1181   6.08640626 0.599963560
1182   7.41420081 0.240202007
1183   5.73729928 0.696034193
1184   7.31747120 0.569520861
1185  -6.20465547 0.214005920
1186  17.52477873 0.667125450
1187  12.97855692 0.796977778
1188  -3.35883428 0.379721403
1189  -2.90306972 0.552454626
1190   5.31617371 0.401625473
1191  -3.86414389 0.830986352
1192 -14.94107832 0.702705123
1193  -5.74060402 0.833328045
1194  -8.10116203 0.078855027
1195  23.48247017 0.568666620
1196  20.22005082 0.357069809
1197  -2.53387193 0.637455425
1198  15.72048831 0.845354124
1199  -4.41494567 0.934471473
1200  -8.02254420 0.378467959
1201  -0.13398716 0.489382793
1202   0.95967155 0.813667919
1203   0.14835664 0.215786848
1204  14.31875579 0.675145039
1205  -6.36589196 0.822037848
1206   8.25942906 0.156787526
1207  -7.33597529 0.051076292
1208  12.58936771 0.666507807
1209   2.34653798 0.626196518
1210  -0.69351398 0.050664564
1211   7.08738260 0.808776877
1212   5.19653521 0.779008623
1213   3.20900427 0.197212774
1214   7.81171331 0.744975548
1215   6.49008186 0.991318119
1216   7.27471854 0.839642650
1217  -7.68367290 0.880500743
1218  12.04846713 0.797754890
1219  14.93435279 0.190527791
1220  -3.83641079 0.075995951
1221   2.15090497 0.426560973
1222  -3.61166623 0.777188818
1223   8.49333248 0.891445999
1224  -7.46936100 0.148607446
1225  13.85406193 0.983656455
1226  12.20477754 0.499345090
1227  10.09415710 0.638127733
1228   5.37134772 0.110929011
1229   8.17660840 0.879411588
1230  -4.38804367 0.608933700
1231 -11.78145902 0.265134740
1232   6.18940186 0.970982743
1233 -16.24831477 0.844983635
1234   9.52790402 0.578152651
1235  16.44372225 0.264144422
1236  -2.48286428 0.893865621
1237   5.33297280 0.512990215
1238  -2.68912507 0.851636020
1239   9.94607707 0.644483197
1240  -1.93526852 0.550759844
1241   2.34310539 0.787853650
1242  11.79131608 0.983668283
1243   3.16689104 0.605394987
1244  10.47759320 0.919442774
1245   2.86973133 0.557835916
1246  10.30674302 0.442504870
1247  10.92820575 0.976183635
1248   7.98050212 0.139334994
1249  -0.64719705 0.981199028
1250  -2.63625596 0.341524563
1251  11.38799583 0.858987904
1252   1.37321916 0.202373294
1253  12.66698520 0.142127091
1254   5.83599540 0.864497670
1255   4.88659560 0.472598564
1256  13.00108599 0.961629827
1257   5.79514791 0.408377170
1258  -1.47807631 0.536772872
1259  -3.38142805 0.288956265
1260   6.25154986 0.828695103
1261   2.40919373 0.478123848
1262   3.72990486 0.056539500
1263  -9.90915815 0.603356617
1264   0.21737084 0.737251896
1265   5.36929388 0.026920178
1266  -1.05027354 0.034992509
1267  -4.97887624 0.506301429
1268  -6.40058435 0.014061876
1269  -0.14610837 0.619699963
1270   3.78483619 0.653952701
1271   3.84143365 0.162122572
1272   2.66030676 0.196542503
1273 -10.56809462 0.386200215
1274  -5.01140125 0.711703654
1275  -3.09809005 0.118120179
1276  -2.76110171 0.118809515
1277   2.85825107 0.129646974
1278   2.75993661 0.171779333
1279  11.55931169 0.372165133
1280   9.21211486 0.969079819
1281   6.02207148 0.498965865
1282  -3.52883224 0.954619249
1283  -2.60190803 0.069405278
1284   1.34183694 0.569402487
1285 -11.35155228 0.766344735
1286   1.04661568 0.023673810
1287  -1.90461932 0.179728300
1288  13.72465582 0.467775796
1289  19.14882438 0.476924297
1290  -1.07480326 0.944407858
1291  -8.44289331 0.059804028
1292   1.89732882 0.743225795
1293  -7.87832463 0.672539050
1294 -12.24163608 0.916803014
1295 -12.77212790 0.648129714
1296   6.39197262 0.622954436
1297   5.26261666 0.494421400
1298 -10.65239640 0.695527931
1299   4.63841458 0.499519163
1300  -2.94276544 0.429201572
1301   4.68788953 0.639613685
1302  -1.03031400 0.349342009
1303  -2.69946354 0.221796918
1304 -15.32237714 0.631289988
1305  -8.31962698 0.925363812
1306  -5.80897714 0.833536878
1307   7.16070989 0.832098478
1308 -10.99679727 0.794048223
1309   0.84514458 0.748014415
1310   2.23308495 0.111176288
1311   3.56351018 0.599805508
1312   0.88336430 0.746908710
1313 -14.63461670 0.314391808
1314   4.39039715 0.079604833
1315  -7.07001439 0.633705345
1316   2.11252583 0.461468123
1317   7.60219364 0.497389476
1318  -4.87713428 0.039952736
1319   2.17515292 0.421830084
1320   0.64302362 0.267982804
1321 -22.29371533 0.646257366
1322   0.31652779 0.060548371
1323   7.93445046 0.343570449
1324   0.28292029 0.651909785
1325   2.77775640 0.637679287
1326   6.22941586 0.291132945
1327  23.68567532 0.708513840
1328   9.49503014 0.645200206
1329   0.87405420 0.063154289
1330  -4.04931224 0.110797498
1331   8.91607239 0.732917195
1332  -5.77728018 0.635435595
1333 -16.37296319 0.343727613
1334   9.87409940 0.774177478
1335  -8.11360210 0.377765616
1336  14.54242540 0.204343527
1337   0.36239636 0.115528352
1338  19.51009176 0.181365423
1339   1.23592729 0.011676577
1340 -15.81877035 0.767155028
1341  -0.05911251 0.737944231
1342  -6.55395965 0.214062137
1343  -7.85591487 0.539865054
1344  -9.73010882 0.730924287
1345  11.79433862 0.267116856
1346  -8.84308360 0.088069165
1347  -5.56689174 0.405987947
1348   7.59010135 0.655631611
1349  10.07629305 0.031106157
1350  -6.19331485 0.052350502
1351  -4.58626710 0.326901540
1352  -5.19431549 0.125740555
1353  -2.08129025 0.034657174
1354 -10.48798034 0.153632237
1355  13.04657686 0.317295703
1356   1.94142067 0.731437668
1357  -1.62470735 0.701070475
1358 -12.27046912 0.505781742
1359  -2.96095228 0.122808075
1360  -2.91847765 0.372668438
1361 -14.83230131 0.100749725
1362  16.57350659 0.707854947
1363  10.05473238 0.244046174
1364   5.50858969 0.070691273
1365   7.65309196 0.245393047
1366   7.16359996 0.056261015
1367   4.33026356 0.318855549
1368  -4.65721575 0.271249938
1369   2.85909691 0.309377566
1370   3.02736080 0.553944209
1371   6.22796768 0.763945813
1372  -4.47036396 0.197721195
1373   2.78901176 0.441166128
1374  -9.94574794 0.964660659
1375   1.86451969 0.704635530
1376 -10.38926659 0.772304221
1377  -5.36565800 0.029527218
1378   1.99230152 0.578448308
1379  13.65547415 0.936050102
1380  -2.05229879 0.851521142
1381   0.99504588 0.974891334
1382  -1.46027404 0.320227281
1383  -8.45614275 0.727910071
1384  -0.95201934 0.199101032
1385  -2.46642929 0.462252060
1386  -6.44060430 0.703637604
1387  -2.58115910 0.084948525
1388   0.76248197 0.125769097
1389  12.00603845 0.675927328
1390   1.97538215 0.782502470
1391   2.23331320 0.870228155
1392  -3.10226060 0.485056198
1393  12.59337170 0.584729095
1394  -2.42247402 0.387588168
1395   9.41981063 0.374604221
1396   6.26806243 0.727453335
1397  -5.30630356 0.427294265
1398  13.81542647 0.394246994
1399   1.05647858 0.646684666
1400 -12.25005208 0.010531726
1401  -4.58162076 0.077133994
1402   0.58094190 0.400275636
1403   5.79443858 0.641731247
1404   8.87635216 0.913593476
1405   9.71048520 0.955285711
1406  13.10563373 0.908471848
1407   4.99194220 0.967014095
1408  15.88178853 0.041518216
1409   9.35962068 0.864770023
1410  -7.53095731 0.300106124
1411  12.18427585 0.248876997
1412   9.22034502 0.450149366
1413  -1.02861237 0.684246939
1414  -2.98140404 0.326901490
1415  -4.64316598 0.425381055
1416  15.35233259 0.630774937
1417  -1.85655250 0.226889991
1418  15.43748330 0.584219351
1419  10.39060893 0.387854461
1420   2.80705696 0.564024865
1421   3.48201221 0.787103673
1422   7.03787977 0.112019552
1423   8.41853061 0.798376796
1424  15.63925527 0.873984550
1425  -4.05742183 0.699131238
1426   6.56954685 0.720018710
1427   2.44007265 0.232697343
1428   3.75597926 0.975133449
1429   2.92362149 0.290975435
1430  -4.74372257 0.003738451
1431   1.28365940 0.987536495
1432  15.65288265 0.179629701
1433 -11.76385004 0.850614822
1434   1.56331228 0.592017435
1435  -9.64774741 0.024951969
1436  -9.44879860 0.993960270
1437  29.33340056 0.913358233
1438   7.97233120 0.021820585
1439 -12.10837953 0.401535846
1440  -1.20729618 0.984977268
1441   3.63219301 0.491142613
1442   2.79853507 0.663823888
1443   3.19584583 0.612511282
1444  -0.81790885 0.908769330
1445  -1.67795944 0.611690031
1446   2.55137163 0.109447998
1447   4.36572889 0.382049700
1448  -6.35667866 0.162787163
1449  -0.76239101 0.892383562
1450  -3.99558996 0.466572017
1451  -0.47513018 0.457760464
1452 -10.69568261 0.544872910
1453   4.30943512 0.982456072
1454   2.91825703 0.823403368
1455   0.10753188 0.945676881
1456  -8.38623073 0.923085521
1457   4.95690232 0.188128654
1458   5.39956649 0.331692462
1459  -1.47421789 0.327711090
1460  -1.81689665 0.713285385
1461   5.15137860 0.414906436
1462   5.68897151 0.110799415
1463   0.78825159 0.396824099
1464  -1.78376652 0.929264595
1465   0.76991060 0.950124414
1466  15.81469073 0.951245195
1467  -4.33820920 0.009896093
1468   1.67174323 0.821983745
1469   0.38997945 0.928857784
1470   1.97848484 0.175680230
1471  -5.81067801 0.772580245
1472 -10.45208478 0.418845035
1473  13.34024524 0.905645046
1474  -8.79585122 0.906516178
1475   2.89093397 0.113010960
1476   2.22324289 0.799940482
1477   8.95497981 0.984663669
1478   0.93288527 0.277914575
1479 -17.35306978 0.455587022
1480  -3.26914604 0.406757639
1481   8.75871227 0.067059659
1482   1.79914932 0.784879863
1483  -0.67305388 0.006393497
1484   1.66805704 0.039614073
1485   9.03868439 0.601066847
1486   4.29458670 0.015772820
1487  -8.15564320 0.939633197
1488  12.50538902 0.766347628
1489  -0.45547258 0.464314122
1490  -9.47180656 0.640114882
1491 -13.25567198 0.125841930
1492   2.87660101 0.381931128
1493   7.37834152 0.648958712
1494  -0.45874073 0.303139498
1495   4.87941450 0.500090729
1496   4.50344891 0.311329309
1497  -6.14257896 0.061368838
1498   5.98243271 0.873804882
1499  -2.64694079 0.080493398
1500 -17.79727796 0.188420116
1501 -13.52552336 0.798403568
1502   2.29086373 0.518700767
1503   5.21493652 0.788828533
1504  -8.09641615 0.775041349
1505   5.87005782 0.079447757
1506  10.74795720 0.955691540
1507  -8.01115709 0.004508053
1508  -7.53735064 0.054195934
1509  -6.79130165 0.877193354
1510  -1.26419539 0.837772170
1511   8.31082852 0.967509866
1512  21.83090247 0.261529880
1513  11.20453234 0.913858875
1514   7.19128396 0.541942489
1515  -2.93623595 0.860095891
1516  -3.61446403 0.022418065
1517  -6.59997709 0.532998307
1518   3.71486934 0.522669434
1519  18.03420874 0.295064126
1520  -8.75452291 0.390175021
1521  -7.83680812 0.263760724
1522  -1.10263921 0.501819826
1523   2.05633484 0.338684642
1524   5.25636848 0.558667384
1525  -7.33260497 0.457327559
1526   3.86721296 0.612182242
1527 -15.94331373 0.478329365
1528   3.71501899 0.264241588
1529  18.26175822 0.023212661
1530  -5.21093378 0.184378036
1531  -2.44074986 0.297114134
1532 -11.88339919 0.875956945
1533   7.52127093 0.927322099
1534   5.31597834 0.416344968
1535  11.42012314 0.952491078
1536  13.64950955 0.794183413
1537  12.50861255 0.390723282
1538  -3.48142207 0.538708662
1539  14.32910902 0.085221990
1540   5.76196699 0.313860477
1541   2.63751452 0.917424732
1542   2.99975231 0.208662214
1543   7.09852825 0.798246964
1544  -1.95742636 0.352166210
1545   7.80534904 0.386523123
1546  -4.47229047 0.290188493
1547  -4.35535158 0.761527294
1548   1.47083860 0.447897289
1549   3.09504296 0.048513534
1550   3.50446804 0.925072429
1551  12.00487617 0.574499971
1552  10.35171466 0.934193962
1553  -5.63256003 0.968833982
1554   7.15625220 0.467160468
1555  -7.81378393 0.790220187
1556   4.52101003 0.014459969
1557  12.90773453 0.990835752
1558   7.70737851 0.785329264
1559  -3.37196794 0.066025357
1560  -5.12793918 0.347459322
1561  -7.96083724 0.216608294
1562  12.81247279 0.287880308
1563   4.63872463 0.426881173
1564  -3.85439309 0.336532356
1565   4.55633320 0.108001536
1566  -2.40824634 0.135247519
1567   1.65932541 0.005108006
1568   3.26129578 0.093163961
1569  -3.52114597 0.544041275
1570  -9.08479260 0.111212700
1571   7.75150456 0.942726234
1572   7.44829768 0.396996218
1573  14.44430576 0.525470762
1574  -2.13457508 0.207577358
1575   9.74871681 0.537177845
1576  -4.53338693 0.625854028
1577  16.15962824 0.947933141
1578  -0.17711664 0.480940902
1579  -7.21470818 0.006952612
1580  -6.27644212 0.737909602
1581  -0.81648165 0.230003567
1582  -2.10429152 0.209671398
1583   7.69291241 0.987903443
1584  -0.32284504 0.183904658
1585  -0.90833921 0.782169770
1586  10.35542238 0.201758865
1587  10.40788689 0.540802365
1588  10.80011849 0.298263948
1589   7.39943598 0.785716539
1590 -12.71674257 0.154135834
1591  16.67139866 0.116794235
1592  12.47832985 0.998179468
1593   3.24041348 0.653080096
1594  -5.50381593 0.995396942
1595 -10.41952811 0.576472768
1596   4.33514092 0.146434686
1597   4.41294276 0.507165968
1598  -0.14746982 0.698144836
1599  -1.33323051 0.466481571
1600  -7.01201350 0.797150114
1601   6.58669848 0.942287809
1602   7.19444974 0.053569397
1603  -5.66046997 0.435728340
1604  -5.07828702 0.497727572
1605  13.72045272 0.324222944
1606   9.99111984 0.355713969
1607  -4.42363728 0.071790181
1608  -2.34300923 0.618434528
1609   4.98594041 0.605667438
1610  -2.45307721 0.894546647
1611  -3.52276424 0.760086779
1612  -3.69489441 0.960758209
1613  13.04792817 0.511273320
1614  21.61433486 0.236270637
1615  -9.57303968 0.964235539
1616  11.70400744 0.391045695
1617   4.25170422 0.411577090
1618   7.87516537 0.952858161
1619   9.89202673 0.971106687
1620   7.51554467 0.505791978
1621   2.17944879 0.893835908
1622   0.82420351 0.213912155
1623   2.47121932 0.688019842
1624 -14.88503628 0.640950883
1625   8.16032283 0.277742858
1626  -4.65776244 0.129415853
1627   7.48274838 0.074213153
1628   7.70537066 0.476778957
1629   5.88202944 0.351838898
1630   1.95618325 0.106331699
1631   7.22064623 0.511434587
1632 -18.64632081 0.009314188
1633  -6.16794611 0.526204245
1634   2.14042033 0.675800465
1635  -1.89535048 0.916845690
1636  -7.77156605 0.069742819
1637  -6.84078801 0.865082345
1638   8.17539904 0.095895629
1639  10.75170309 0.821383078
1640  14.31498805 0.117893208
1641  -2.82264467 0.809086411
1642   0.11117380 0.400587471
1643   6.43898314 0.333163663
1644   9.48110784 0.465173316
1645   5.39395511 0.695273081
1646  -2.05636570 0.508060862
1647   0.68666117 0.647109494
1648  -6.41880322 0.267530762
1649  -0.12096589 0.986901165
1650   6.46062643 0.588580914
1651  -4.20926136 0.550783675
1652   4.07354300 0.907963701
1653  10.84045143 0.900920521
1654   2.64504664 0.767700269
1655  10.34578229 0.197810342
1656  -0.19222273 0.281932395
1657   3.47400952 0.977555902
1658  11.04549389 0.694010579
1659   6.79729856 0.056652433
1660   9.28300628 0.598930531
1661  -3.53453282 0.183412212
1662   8.04028248 0.250746943
1663   5.75964045 0.424692336
1664  -4.98252741 0.867446071
1665  12.00352175 0.289615080
1666   7.53497791 0.350915526
1667   2.54579776 0.655113837
1668  -9.29572208 0.900136667
1669   6.41659249 0.100570650
1670   7.37095646 0.907179211
1671 -12.78417775 0.262214556
1672   0.87962107 0.624657444
1673  -5.96939907 0.296725805
1674  -2.56857339 0.604065931
1675   4.27131811 0.962952479
1676  21.72603838 0.442485270
1677   6.10056565 0.418383130
1678  10.48099521 0.333593221
1679  19.28363092 0.382408442
1680   2.12080726 0.601206970
1681  -6.82450704 0.740158518
1682  11.32395692 0.627015570
1683   5.00040701 0.476274658
1684 -11.64750733 0.105099095
1685   5.77442654 0.576560214
1686   0.31340364 0.516479036
1687  -2.09881449 0.146089191
1688   5.12411327 0.368130477
1689   1.70530391 0.621828438
1690 -12.95649749 0.355726301
1691   8.43735652 0.275383759
1692 -15.56161079 0.413160084
1693   5.28942694 0.069125495
1694   5.96040877 0.438716686
1695  -2.59318107 0.571116303
1696   6.95988992 0.650760909
1697  14.00074797 0.623645969
1698   1.66101456 0.558763985
1699  -2.57968349 0.648185379
1700  -5.47584253 0.716901151
1701   6.37222581 0.060563130
1702   2.83664864 0.842419730
1703   1.48926558 0.620280308
1704   0.33471689 0.170312461
1705   5.21648412 0.317639631
1706   0.51733642 0.843867329
1707   9.86005834 0.306036746
1708  -5.81145791 0.975655452
1709  -5.43219061 0.303385368
1710   5.87157118 0.677369776
1711   2.08889926 0.310200439
1712  -2.53433085 0.194730908
1713   7.01359575 0.674259533
1714  -2.00936260 0.682056466
1715  -2.98240739 0.787899917
1716  -7.43289210 0.357483044
1717 -12.58905988 0.981387385
1718   5.78095517 0.533526274
1719  -1.23065889 0.687266774
1720  -6.82309960 0.293249774
1721   8.47000829 0.842056399
1722  -5.81624772 0.303700280
1723 -14.83571031 0.311387926
1724   4.66808472 0.091222946
1725  -2.90144463 0.438301785
1726  10.62458662 0.828335698
1727   7.88002491 0.990156110
1728  10.27680283 0.251087079
1729  -9.42498970 0.292462244
1730   6.73027640 0.213065205
1731   1.28169895 0.353152789
1732 -14.29203733 0.264563048
1733  20.35772711 0.265208837
1734   3.55095071 0.242905653
1735 -17.97067670 0.373951756
1736  10.53141139 0.247520698
1737   0.05293205 0.579940423
1738  12.79674707 0.288031751
1739  -5.44235185 0.075899079
1740  14.29464811 0.960707538
1741  -1.36753291 0.124265178
1742  -4.25946974 0.521720352
1743 -12.46519252 0.385503339
1744  -6.65343143 0.540942219
1745   5.55949184 0.143194404
1746  -1.20480594 0.515905644
1747  -4.13839908 0.164461445
1748  -2.21345425 0.812969725
1749   3.94223380 0.229238952
1750 -10.78661097 0.395049514
1751   3.06997341 0.791234255
1752  24.82205477 0.110859039
1753   6.28791249 0.867125744
1754  -2.80296119 0.703583849
1755  13.24274039 0.425951975
1756  -0.19577471 0.361568727
1757  -2.34894781 0.954814545
1758  19.76339577 0.635462177
1759  -1.87591480 0.149121567
1760  -7.70962391 0.711708342
1761  -2.46291902 0.390902746
1762 end data
1763 regression /variables=v0 v1 /statistics defaults /dependent=v0 /method=enter.
1764 ])
1765
1766 AT_CHECK([pspp -O format=csv regression.sps], [0], [dnl
1767 Table: Reading free-form data from INLINE.
1768 Variable,Format
1769 v0,F8.0
1770 v1,F8.0
1771
1772 Table: Model Summary (v0)
1773 ,R,R Square,Adjusted R Square,Std. Error of the Estimate
1774 ,.05,.00,.00,8.11
1775
1776 Table: ANOVA (v0)
1777 ,,Sum of Squares,df,Mean Square,F,Sig.
1778 ,Regression,235.23,1,235.23,3.58,.059
1779 ,Residual,98438.40,1498,65.71,,
1780 ,Total,98673.63,1499,,,
1781
1782 Table: Coefficients (v0)
1783 ,,Unstandardized Coefficients,,Standardized Coefficients,,
1784 ,,B,Std. Error,Beta,t,Sig.
1785 ,(Constant),1.24,.42,.00,2.95,.003
1786 ,v1,1.37,.72,.05,1.89,.059
1787 ])
1788
1789 AT_CLEANUP
1790
1791 AT_SETUP([LINEAR REGRESSION no crash on all missing])
1792 AT_DATA([regcrash.sps], [dnl
1793 data list list /x * y.
1794 begin data.
1795  . .
1796  . .
1797  . .
1798  . .
1799  . .
1800  . .
1801  . .
1802  . .
1803  . .
1804  . .
1805 end data.
1806
1807
1808 regression /variables=x y /dependent=y.
1809 ])
1810
1811 AT_CHECK([pspp -o pspp.csv regcrash.sps], [1], [ignore], [ignore])
1812
1813 AT_CLEANUP
1814
1815
1816
1817 AT_SETUP([LINEAR REGRESSION missing dependent variable])
1818
1819 dnl Test for a bug where missing values in the dependent variable were not being
1820 dnl ignored like they should have been.
1821 AT_DATA([reg-mdv-ref.sps], [dnl
1822 data list notable list / v0 to v2.
1823 begin data
1824  0.65377128  7.735648 -23.97588
1825 -0.13087553  6.142625 -19.63854
1826  0.34880368  7.651430 -25.26557
1827  0.69249021  6.125125 -16.57090
1828 -0.07368178  8.245789 -25.80001
1829 -0.34404919  6.031540 -17.56743
1830  0.75981559  9.832291 -28.35977
1831 -0.46958313  5.343832 -16.79548
1832 -0.06108490  8.838262 -29.25689
1833  0.56154863  6.200189 -18.58219
1834 end data
1835 regression /variables=v0 v1
1836              /statistics defaults
1837              /dependent=v2
1838              /method=enter.
1839 ])
1840
1841 AT_CHECK([pspp -o pspp-ref.csv reg-mdv-ref.sps])
1842
1843 AT_DATA([reg-mdv.sps], [dnl
1844 data list notable list / v0 to v2.
1845 begin data
1846  0.65377128  7.735648 -23.97588
1847 -0.13087553  6.142625 -19.63854
1848  0.34880368  7.651430 -25.26557
1849  0.69249021  6.125125 -16.57090
1850 -0.07368178  8.245789 -25.80001
1851 -0.34404919  6.031540 -17.56743
1852  0.75981559  9.832291 -28.35977
1853 -0.46958313  5.343832 -16.79548
1854 -0.06108490  8.838262 -29.25689
1855  0.56154863  6.200189 -18.58219
1856  0.5         8         9
1857 end data
1858
1859 missing values v2 (9).
1860
1861 regression /variables=v0 v1
1862              /statistics defaults
1863              /dependent=v2
1864              /method=enter.
1865 ])
1866
1867 AT_CHECK([pspp -o pspp.csv reg-mdv.sps])
1868
1869 AT_CHECK([diff pspp.csv pspp-ref.csv])
1870
1871
1872 AT_CLEANUP
1873
1874 AT_SETUP([LINEAR REGRESSION with invalid syntax (and empty dataset)])
1875
1876 AT_DATA([ss.sps], [dnl
1877 data list notable list / v0 to v2.
1878 begin data
1879 end data.
1880
1881 regression /variables=v0 v1
1882              /statistics r coeff anova
1883              /dependent=v2
1884              /method=enter v2.
1885 ])
1886
1887 AT_CHECK([pspp ss.sps], [1], [ignore])
1888
1889 AT_CLEANUP
1890
1891
1892 dnl The following example comes from 
1893 dnl http://www.ats.ucla.edu/stat/spss/output/reg_spss%28long%29.htm
1894 AT_SETUP([LINEAR REGRESSION coefficient confidence interval])
1895
1896 AT_DATA([conf.sps], [dnl
1897 set format = F22.3.
1898
1899 data list notable list /math female socst read science *
1900 begin data.
1901     41.00       .00     57.00     57.00     47.00
1902     53.00      1.00     61.00     68.00     63.00
1903     54.00       .00     31.00     44.00     58.00
1904     47.00       .00     56.00     63.00     53.00
1905     57.00       .00     61.00     47.00     53.00
1906     51.00       .00     61.00     44.00     63.00
1907     42.00       .00     61.00     50.00     53.00
1908     45.00       .00     36.00     34.00     39.00
1909     54.00       .00     51.00     63.00     58.00
1910     52.00       .00     51.00     57.00     50.00
1911     51.00       .00     61.00     60.00     53.00
1912     51.00       .00     61.00     57.00     63.00
1913     71.00       .00     71.00     73.00     61.00
1914     57.00       .00     46.00     54.00     55.00
1915     50.00       .00     56.00     45.00     31.00
1916     43.00       .00     56.00     42.00     50.00
1917     51.00       .00     56.00     47.00     50.00
1918     60.00       .00     56.00     57.00     58.00
1919     62.00       .00     61.00     68.00     55.00
1920     57.00       .00     46.00     55.00     53.00
1921     35.00       .00     41.00     63.00     66.00
1922     75.00       .00     66.00     63.00     72.00
1923     45.00       .00     56.00     50.00     55.00
1924     57.00       .00     61.00     60.00     61.00
1925     45.00       .00     46.00     37.00     39.00
1926     46.00       .00     31.00     34.00     39.00
1927     66.00       .00     66.00     65.00     61.00
1928     57.00       .00     46.00     47.00     58.00
1929     49.00       .00     46.00     44.00     39.00
1930     49.00       .00     41.00     52.00     55.00
1931     57.00       .00     51.00     42.00     47.00
1932     64.00       .00     61.00     76.00     64.00
1933     63.00       .00     71.00     65.00     66.00
1934     57.00       .00     31.00     42.00     72.00
1935     50.00       .00     61.00     52.00     61.00
1936     58.00       .00     66.00     60.00     61.00
1937     75.00       .00     66.00     68.00     66.00
1938     68.00       .00     66.00     65.00     66.00
1939     44.00       .00     36.00     47.00     36.00
1940     40.00       .00     51.00     39.00     39.00
1941     41.00       .00     51.00     47.00     42.00
1942     62.00       .00     51.00     55.00     58.00
1943     57.00       .00     51.00     52.00     55.00
1944     43.00       .00     41.00     42.00     50.00
1945     48.00       .00     66.00     65.00     63.00
1946     63.00       .00     46.00     55.00     69.00
1947     39.00       .00     47.00     50.00     49.00
1948     70.00       .00     51.00     65.00     63.00
1949     63.00       .00     46.00     47.00     53.00
1950     59.00       .00     51.00     57.00     47.00
1951     61.00       .00     56.00     53.00     57.00
1952     38.00       .00     41.00     39.00     47.00
1953     61.00       .00     46.00     44.00     50.00
1954     49.00       .00     71.00     63.00     55.00
1955     73.00       .00     66.00     73.00     69.00
1956     44.00       .00     42.00     39.00     26.00
1957     42.00       .00     32.00     37.00     33.00
1958     39.00       .00     46.00     42.00     56.00
1959     55.00       .00     41.00     63.00     58.00
1960     52.00       .00     51.00     48.00     44.00
1961     45.00       .00     61.00     50.00     58.00
1962     61.00       .00     66.00     47.00     69.00
1963     39.00       .00     46.00     44.00     34.00
1964     41.00       .00     36.00     34.00     36.00
1965     50.00       .00     61.00     50.00     36.00
1966     40.00       .00     26.00     44.00     50.00
1967     60.00       .00     66.00     60.00     55.00
1968     47.00       .00     26.00     47.00     42.00
1969     59.00       .00     44.00     63.00     65.00
1970     49.00       .00     36.00     50.00     44.00
1971     46.00       .00     51.00     44.00     39.00
1972     58.00       .00     61.00     60.00     58.00
1973     71.00       .00     66.00     73.00     63.00
1974     58.00       .00     66.00     68.00     74.00
1975     46.00       .00     51.00     55.00     58.00
1976     43.00       .00     31.00     47.00     45.00
1977     54.00       .00     61.00     55.00     49.00
1978     56.00       .00     66.00     68.00     63.00
1979     46.00       .00     46.00     31.00     39.00
1980     54.00       .00     56.00     47.00     42.00
1981     57.00       .00     56.00     63.00     55.00
1982     54.00       .00     36.00     36.00     61.00
1983     71.00       .00     56.00     68.00     66.00
1984     48.00       .00     56.00     63.00     63.00
1985     40.00       .00     41.00     55.00     44.00
1986     64.00       .00     66.00     55.00     63.00
1987     51.00       .00     56.00     52.00     53.00
1988     39.00       .00     56.00     34.00     42.00
1989     40.00       .00     31.00     50.00     34.00
1990     61.00       .00     56.00     55.00     61.00
1991     66.00       .00     46.00     52.00     47.00
1992     49.00       .00     46.00     63.00     66.00
1993     65.00      1.00     61.00     68.00     69.00
1994     52.00      1.00     48.00     39.00     44.00
1995     46.00      1.00     51.00     44.00     47.00
1996     61.00      1.00     51.00     50.00     63.00
1997     72.00      1.00     56.00     71.00     66.00
1998     71.00      1.00     71.00     63.00     69.00
1999     40.00      1.00     41.00     34.00     39.00
2000     69.00      1.00     61.00     63.00     61.00
2001     64.00      1.00     66.00     68.00     69.00
2002     56.00      1.00     61.00     47.00     66.00
2003     49.00      1.00     41.00     47.00     33.00
2004     54.00      1.00     51.00     63.00     50.00
2005     53.00      1.00     51.00     52.00     61.00
2006     66.00      1.00     56.00     55.00     42.00
2007     67.00      1.00     56.00     60.00     50.00
2008     40.00      1.00     33.00     35.00     51.00
2009     46.00      1.00     56.00     47.00     50.00
2010     69.00      1.00     71.00     71.00     58.00
2011     40.00      1.00     56.00     57.00     61.00
2012     41.00      1.00     51.00     44.00     39.00
2013     57.00      1.00     66.00     65.00     46.00
2014     58.00      1.00     56.00     68.00     59.00
2015     57.00      1.00     66.00     73.00     55.00
2016     37.00      1.00     41.00     36.00     42.00
2017     55.00      1.00     46.00     43.00     55.00
2018     62.00      1.00     66.00     73.00     58.00
2019     64.00      1.00     56.00     52.00     58.00
2020     40.00      1.00     51.00     41.00     39.00
2021     50.00      1.00     51.00     60.00     50.00
2022     46.00      1.00     56.00     50.00     50.00
2023     53.00      1.00     56.00     50.00     39.00
2024     52.00      1.00     46.00     47.00     48.00
2025     45.00      1.00     46.00     47.00     34.00
2026     56.00      1.00     61.00     55.00     58.00
2027     45.00      1.00     56.00     50.00     44.00
2028     54.00      1.00     41.00     39.00     50.00
2029     56.00      1.00     46.00     50.00     47.00
2030     41.00      1.00     26.00     34.00     29.00
2031     54.00      1.00     56.00     57.00     50.00
2032     72.00      1.00     56.00     57.00     54.00
2033     56.00      1.00     51.00     68.00     50.00
2034     47.00      1.00     46.00     42.00     47.00
2035     49.00      1.00     66.00     61.00     44.00
2036     60.00      1.00     66.00     76.00     67.00
2037     54.00      1.00     46.00     47.00     58.00
2038     55.00      1.00     56.00     46.00     44.00
2039     33.00      1.00     41.00     39.00     42.00
2040     49.00      1.00     61.00     52.00     44.00
2041     43.00      1.00     51.00     28.00     44.00
2042     50.00      1.00     52.00     42.00     50.00
2043     52.00      1.00     51.00     47.00     39.00
2044     48.00      1.00     41.00     47.00     44.00
2045     58.00      1.00     66.00     52.00     53.00
2046     43.00      1.00     61.00     47.00     48.00
2047     41.00      1.00     31.00     50.00     55.00
2048     43.00      1.00     51.00     44.00     44.00
2049     46.00      1.00     41.00     47.00     40.00
2050     44.00      1.00     41.00     45.00     34.00
2051     43.00      1.00     46.00     47.00     42.00
2052     61.00      1.00     56.00     65.00     58.00
2053     40.00      1.00     51.00     43.00     50.00
2054     49.00      1.00     61.00     47.00     53.00
2055     56.00      1.00     66.00     57.00     58.00
2056     61.00      1.00     71.00     68.00     55.00
2057     50.00      1.00     61.00     52.00     54.00
2058     51.00      1.00     61.00     42.00     47.00
2059     42.00      1.00     41.00     42.00     42.00
2060     67.00      1.00     66.00     66.00     61.00
2061     53.00      1.00     61.00     47.00     53.00
2062     50.00      1.00     58.00     57.00     51.00
2063     51.00      1.00     31.00     47.00     63.00
2064     72.00      1.00     61.00     57.00     61.00
2065     48.00      1.00     61.00     52.00     55.00
2066     40.00      1.00     31.00     44.00     40.00
2067     53.00      1.00     61.00     50.00     61.00
2068     39.00      1.00     36.00     39.00     47.00
2069     63.00      1.00     41.00     57.00     55.00
2070     51.00      1.00     37.00     57.00     53.00
2071     45.00      1.00     43.00     42.00     50.00
2072     39.00      1.00     61.00     47.00     47.00
2073     42.00      1.00     39.00     42.00     31.00
2074     62.00      1.00     51.00     60.00     61.00
2075     44.00      1.00     51.00     44.00     35.00
2076     65.00      1.00     66.00     63.00     54.00
2077     63.00      1.00     71.00     65.00     55.00
2078     54.00      1.00     41.00     39.00     53.00
2079     45.00      1.00     36.00     50.00     58.00
2080     60.00      1.00     51.00     52.00     56.00
2081     49.00      1.00     51.00     60.00     50.00
2082     48.00      1.00     51.00     44.00     39.00
2083     57.00      1.00     61.00     52.00     63.00
2084     55.00      1.00     61.00     55.00     50.00
2085     66.00      1.00     56.00     50.00     66.00
2086     64.00      1.00     71.00     65.00     58.00
2087     55.00      1.00     51.00     52.00     53.00
2088     42.00      1.00     36.00     47.00     42.00
2089     56.00      1.00     61.00     63.00     55.00
2090     53.00      1.00     66.00     50.00     53.00
2091     41.00      1.00     41.00     42.00     42.00
2092     42.00      1.00     41.00     36.00     50.00
2093     53.00      1.00     56.00     50.00     55.00
2094     42.00      1.00     51.00     41.00     34.00
2095     60.00      1.00     56.00     47.00     50.00
2096     52.00      1.00     56.00     55.00     42.00
2097     38.00      1.00     46.00     42.00     36.00
2098     57.00      1.00     52.00     57.00     55.00
2099     58.00      1.00     61.00     55.00     58.00
2100     65.00      1.00     61.00     63.00     53.00
2101 end data.
2102
2103 regression
2104  /variables = math female socst read
2105  /statistics = coeff r anova ci (95)
2106  /dependent = science
2107  /method = enter 
2108 ])
2109
2110 AT_CHECK([pspp -O format=csv conf.sps], [0], [dnl
2111 Table: Model Summary (science)
2112 ,R,R Square,Adjusted R Square,Std. Error of the Estimate
2113 ,.699,.489,.479,7.148
2114
2115 Table: ANOVA (science)
2116 ,,Sum of Squares,df,Mean Square,F,Sig.
2117 ,Regression,9543.721,4,2385.930,46.695,.000
2118 ,Residual,9963.779,195,51.096,,
2119 ,Total,19507.500,199,,,
2120
2121 Table: Coefficients (science)
2122 ,,Unstandardized Coefficients,,Standardized Coefficients,,,95% Confidence Interval for B,
2123 ,,B,Std. Error,Beta,t,Sig.,Lower Bound,Upper Bound
2124 ,(Constant),12.325,3.194,.000,3.859,.000,6.027,18.624
2125 ,math,.389,.074,.368,5.252,.000,.243,.535
2126 ,female,-2.010,1.023,-.101,-1.965,.051,-4.027,.007
2127 ,socst,.050,.062,.054,.801,.424,-.073,.173
2128 ,read,.335,.073,.347,4.607,.000,.192,.479
2129 ])
2130
2131
2132 AT_CLEANUP