50 16.4 161.2 4.1 114.8
51 19.0 171.5 3.1 123.2
52 19.1 175.5 3.1 126.9
53 18.8 180.8 1.1 132.1
54 20.4 190.7 2.2 137.7
55 22.7 202.1 2.1 146.0
56 26.5 212.4 5.6 154.1
57 28.1 226.1 5.0 162.3
58 27.6 231.9 5.1 164.3
59 26.3 239.0 0.7 167.6
60 31.1 258.0 5.6 176.8
61 33.3 269.8 3.9 186.6
62 37.0 288.4 3.1 199.7
63 43.3 304.5 4.6 213.9
64 49.0 323.4 7.0 223.8
65 50.3 336.8 1.2 232.0
66 56.6 353.9 4.5 242.9
;
run;
Creating the Iron Data Set
The data set Iron contains data from Draper and Smith.
data iron;
input Fe Loss @@;
datalines;
0.01 127.6 0.48 124.0 0.71 110.8 0.95 103.9
1.19 101.5 0.01 130.1 0.48 122.0 1.44 92.3
0.71 113.1 1.96 83.7 0.01 128.0 1.44 91.4
1.96 86.2
;
run;
Draper, N. and Smith, H. 1998. Applied Regression Analysis, Second Edition. New
York, New York: John Wiley & Sons, 98.
Creating the Model Data Set
data model;
input year 1-2 a 3-9 .3 b 10-17 .3 r4 18-24 .3 r8 25-31 .3
c 32-38 .3 d 39-45 .3 e 46-51 .3 r23 52-58 .3
r24 59-64 .3 r29 65-70 .3 r33 71-77 .3 ;
datalines;
60 994534 53552371656049 9362944261250 8921423631971140299106045 8780 335066
611253576 5580643177015110671424650930 9933453874651217360151507 36871 49192
621318885 621448018932921075688469573610686654502881317293178014 66671 566079
631507969 666125121046261533088511701311673695162821579148179797106485 -4568
641811051 731945021737841454106554095914677245822921945534206255145948 -10940
652532026 816707123363201962785640926221155676314091906268218759195733-145568
661845213 889039326806342223395649307215331186055041732948288322275400 132143
1076 Appendix 2 Example Programs

Get SAS 9.4 Output Delivery System, 3rd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.