Sorry for the delayed response, but I wanted to plug yourtime series into both SAS’s PROC ESM and my EXCEL spreadsheet to confirm. Backcasting “STATE=BACKCAST” Seasonal values are (Note that these values MUST added upto zero): S*1 = -28.0250 (adjustedseason-1) S*2 = -22.5259 (adjusted season-2) S*3 = -102.8083 (adjusted season-3) S*4 = -52.2575 (adjusted season-4) Trend: Since you are (in effect) forecasting from period21 to period 1, the trend (B1) calculated from the regression model MUSTbe multiplied by -1 (i.e., it is now -173.2658). Constant: This is simply the actual value for period 21(i.e., 21,236). Weights SAS calculates the following: Level Weight = .07211 Trend Weight = .001 Seasonal Weight = .001 If you use EXCEL’s “SOLVER” utility you may get a slightlydifferent set of values. Post Backcasting (“STATE=STARTING”) Seasonal Values: After the backcasting is completed, the seasonal values willno longer sum to ZERO. Before they can be used in the “forward casting”, youwill need to adjust them (yet again). >From My EXECL calculations: S1 = -27.13818 S2 = -21.86446 S3 = 103.519 S4 = -51.49149 This adds up to 3.024881. This MUST be ZERO’d out beforeyou can proceed. To do this: S*1 = -27.13818 – (3.024881/4) = -27.8944 S*2 = -21.86446 – (3.024881/4) = -22.62068 S*3 = 103.519 – (3.024881/4) = 102.76278 S*4 = -51.49149 – (3.024881/4) = -52.2477 Trend: Since you are now projecting “forwards” the trendcalculated by the backcasting MUST be multiplied by -1 (i.e., -173.031 * -1 =173.031) Constant: The final constant calculated by thebackcasting must be adjusted in the same manner as the seasonal values (exceptthat we now ADD 3.024881/4: Constant * = 17662.410 + (3.024881/4) = 17,663.16622 “STATE=FINAL” In EXCEL you should wind up with the following constant termand set of seasonal values: Constant = 21,347.760 Trend = 173.081105 S1 = -27.70850 S2 = -22.45757 S3 = 102.91754 S4 = -52.10312 Lead=4: Y22 = 21,347.760 + 173.081105(1) + (-22.45757)= 21,498.38354 Y23 = 21,347.760 + 173.081105(2) + (102.91754)= 21,796.83975 Y24 = 21,347.760 + 173.081105(3) + (-52.10312)= 21,814.9002 Y25 = 21,347.760 + 173.081105(4) + (-27.70850)= 22,012.3738 SAS CODE ************************* * AdditiveHolt-Winters * *************************; proc esm data=a print=(estimates forecasts performancestatistics states) printdetails seasonality=4 lead=4 out=out_a outest=outest_a outfor=outfor_a outstat=outstat_a; id periodinterval=qtr; forecast sales /model=addwinters; title3 'ESM Procedure'; run; Hope this helps.
... View more