Seasonal differencing


Seasonal difference (season-to-season change)
First difference of seasonal difference


The seasonal difference of a time series is the series of changes from one season to the next. For monthly data, in which there are 12 periods in a season, the seasonal difference of Y at period t is Y(t)-Y(t-12). In Statgraphics, the seasonal difference of Y with a seasonal period of 12 is expressed as SDIFF(Y,12), although you should not often need to use this expression: seasonal differencing, like nonseasonal differencing, can be performed as an analysis option within the time series procedures. If the seasonal difference of Y is "pure noise" (constant variance, no autocorrelation, etc.), then Y is described by a seasonal random walk model: each value is a random step away from the value that occurred exactly one season ago.

Seasonal differencing is a crude form of additive seasonal adjustment: the "index" which is subtracted from each value of the time series is simply the value that was observed in the same season one year earlier. Seasonal differencing therefore usually removes the gross features of seasonality from a series, as well as most of the trend. Here is a plot of the seasonal difference of AUTOSALE/CPI, the deflated auto sales series. Notice that little remains of the original seasonal pattern or trend, although it now looks a bit like a random walk rather than pure noise.

(Return to top of page.)


First difference of seasonal difference: In the preceding two graphs, we see that the first difference of AUTOSALE/CPI is far from random (it is still strongly seasonal), and the seasonal difference is far from stationary (it resembles a random walk). In this case, it appears that both kinds of differencing are needed to render the series stationary and to account for the gross pattern of seasonality. The first difference of the seasonal difference of a monthly time series Y at period t is equal to (Y(t) - Y(t-12)) - (Y(t-1) - Y(t-13)). Equivalently, it is equal to (Y(t) - Y(t-1)) - (Y(t-12) - Y(t-13)). This is the amount by which the change from the previous period to the current period is different from the change that was observed exactly one year earlier. Thus, for example, the first difference of the seasonal difference in September 1995 is equal to the August-to-September change in 1995 minus the August-to-September change in 1994. If the first difference of the seasonal difference of Y is pure noise, then Y is described by a seasonal random trend model.

In Statgraphics, the first difference of the seasonal difference of Y is expressed as DIFF(SDIFF(Y,12)), although, as noted above, you shouldn't need to use this expression very often. (Use the "analysis options" to perform all the necessary differencing inside the time series procedures.) Here is a plot of the first difference of the seasonal difference of AUTOSALE/CPI. Note that it now appears stationary without obvious signs of seasonality. (We should look at an autocorrelation plot to be sure that no seasonal pattern remains, but at least the gross seasonal pattern has been eliminated.)


(Return to top of page.)


The following spreadsheet shows how the seasonal difference and first difference of the seasonal difference are calculated in this example: