SAMPLE 1 30 READ SALES / BYVAR 1806 1644 1814 1770 1518 1103 1266 1473 1423 1767 2161 2336 2602 2518 2637 2177 1920 1910 1984 1787 1689 1866 1896 1684 1633 1657 1569 1390 1387 1289 GENR YEAR=TIME(1930) * Set the smoothing constant for exponential smoothing. GEN1 A=0.4 GEN1 W=1-A SMOOTH SALES / NMA=5 WEIGHT=W MAVE=MA5 * Graph the original data GRAPH SALES YEAR / LINEONLY * Graph the smoothed series SAMPLE 3 28 GRAPH MA5 YEAR / LINEONLY STOP