Example Programs |
data one; input year import doprod stock consum; datalines; 49 15.9 149.3 4.2 108.1 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 ;
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 671745867 982910727559092191906712443321301786392551689676279632372882 206952 6814081131090291230880343031234790954515318236634751664396339031560931-197937 69 80333110648748347703228895587637176 7799776552461672718368625546377 521929 70123456789012345678901234567890123456789012345678901234567890123456789012345 71987654321098765432109876543210987654321098765432109876543210976543210987654 72543210987654321543210987654321098765432109876543210987654321098765432109876 run;
data model; set model; r4=r4/10; r8=r8/10; d=d/10; e=e/10; r23=r23/10; r33=r33/10; a=a/10; b=b/10; c=c/10; r24=r24/10; r29=r29/10; run;
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.