Estimating the seasonality component

The study of the seasonality of a historical series can have the purpose of:

  • Simply estimating the seasonal component
  • Eliminating it from the general course once it has been estimated

If you have to compare several time series with different seasonality, the only way to compare them is by a seasonal adjustment of them.

There are several ways to estimate the seasonal component. One of these is the use of a regression model using dichotomous auxiliary variables (dummy variables).

Suppose the existence of an additive model without a trend component:

Y(t) = S(t) + r(t)

And suppose we have measured the series on a monthly basis. The dummy variables can be defined in the following way:

  • dj(t): 1 if the observation ...

Get Hands-On Machine Learning on Google Cloud Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.