data electric; format date monyy5.; input date:monyy5. elec @@; datalines; jan72 144549 feb72 137310 mar72 140151 apr72 132112 may72 138168 jun72 145583 jul72 157878 aug72 162901 sep72 147584 oct72 144062 nov72 144366 dec72 154966 jan73 159913 feb73 143257 mar73 147846 apr73 139292 may73 147088 jun73 160945 jul73 173467 aug73 177109 sep73 156385 oct73 153951 nov73 147881 dec73 153305 jan74 157254 feb74 142472 mar74 150043 apr74 142021 may74 153513 jun74 156161 jul74 177992 aug74 173871 sep74 152222 oct74 151978 nov74 149841 dec74 159736 jan75 164325 feb75 147080 mar75 155481 apr75 146217 may75 153231 jun75 162442 jul75 176816 aug75 179714 sep75 155223 oct75 154944 nov75 152794 dec75 169372 jan76 178329 feb76 156684 mar76 164174 apr76 153167 may76 157370 jun76 173392 jul76 186434 aug76 186403 sep76 165035 oct76 163746 nov76 169085 dec76 183877 jan77 196372 feb77 162734 mar77 169157 apr77 156853 may77 169332 jun77 180787 jul77 198930 aug77 196126 sep77 176265 oct77 166402 nov77 167099 dec77 184267 jan78 197835 feb78 173504 mar78 173193 apr78 159738 may78 175236 jun78 188312 jul78 202682 aug78 206418 sep78 185572 oct78 175802 nov78 176172 dec78 191865 jan79 209692 feb79 186337 mar79 182849 apr79 169962 may79 178069 jun79 186682 jul79 202255 aug79 204850 sep79 180751 oct79 179716 nov79 177506 dec79 188703 jan80 200005 feb80 188715 mar80 187464 apr80 168720 may80 175734 jun80 189430 jul80 216776 aug80 215393 sep80 191485 oct80 178555 nov80 178550 dec80 195613 jan81 206467 feb81 179613 mar81 185553 apr81 172545 may81 177806 jun81 202702 jul81 220373 aug81 210403 sep81 186838 oct81 181352 nov81 175570 dec81 195590 jan82 209403 feb82 180299 mar82 187687 apr82 172580 may82 177147 jun82 186128 jul82 210584 aug82 205656 sep82 180662 oct82 172966 nov82 173377 dec82 184722 jan83 195579 feb83 172479 mar83 182488 apr83 170372 may83 174392 jun83 191048 jul83 220165 aug83 229957 sep83 195604 oct83 182931 nov83 182949 dec83 212319 jan84 216632 feb84 189564 mar84 200107 apr84 181084 may84 192217 jun84 209649 jul84 221245 aug84 229296 sep84 195198 oct84 190936 nov84 190380 dec84 199996 jan85 227856 feb85 198242 mar85 194970 apr85 184877 may85 196790 jun85 205363 jul85 226722 aug85 226050 sep85 202499 oct85 194789 nov85 192427 dec85 219255 jan86 217470 feb86 192336 mar86 196834 apr86 186074 may86 197315 jun86 215015 jul86 242672 aug86 225166 sep86 206692 oct86 197754 nov86 196432 dec86 213551 jan87 222749 feb87 194034 mar87 201849 apr87 189496 may87 206074 jun87 225589 jul87 247915 aug87 247645 sep87 213008 oct87 203009 nov87 200258 dec87 220500 jan88 237600 feb88 216702 mar88 213838 apr88 195809 may88 208180 jun88 232507 jul88 257235 aug88 267408 sep88 220023 oct88 210377 nov88 209394 dec88 232550 jan89 231343 feb89 219066 mar89 226436 apr89 207749 may89 219803 jun89 235397 jul89 256744 aug89 258335 ; title 'Monthly Electricity Production Data (1972-89)'; title2 '(in thousands of kilowatt-hours)'; axis1 order=('01jan72'd to '05jan90'd by 731) label=('Year') minor=(number=1) offset=(3); axis2 order=(120000 to 270000 by 30000) minor=(number=2) label=(angle=90 'Electricity Produced'); proc gplot data=electric; plot elec*date / haxis=axis1 vaxis=axis2; symbol1 i=join; format date year4.; run; ods graphics on; proc esm data=electric out=_null_ lead=12 print=forecasts plot=forecastsonly; id date interval=month; forecast elec / model=addwinters; run;