Time Serie - Seasonality (Cycle detection)

About

Seasonality is a cycle in time serie.

Methods

Regression with Season as Dummy Variable

The season is used a discreet regression variable and code it as dummy variables).

For instance:

  • 1 if it's the season
  • 0 if it's not the season

If you have more than one type of season, then you may need various dummy variables.

Seasonal Index

If you have five Decembers, then you should have five June. Having five of some month and six of other months will skew the seasonal indices.

Calculate a seasonal index for each month on past data.

If the average monthly sales is 100%, then the value in each month shows how that month compares to the average. Example:

  • January can be 54.8% of the average month whereas December can 256.19% of the average month.

Do a normal regression and apply then this index to the forecast value.

Holt-Winters method

The Holt-Winters method was designed to handle data where there is a conventional seasonal cycle across the course of a year, such as monthly seasonality. However, many series have multiple cycles: the demand for electricity will have hourly (patterns across the hours of a day), daily (patterns across the days of the week), and monthly cycles. Similar patterns occur in the number of calls received by call centers or the workload faced by hospitals.

Fast Fourier Transform

FFT is a good tool to detect seasonality if we have a good amount of historical data. See http://nerds.airbnb.com/anomaly-detection

Statistics

R Squared

A R-Squared value of 0.0999 will means that straight-line forecasting is not going to yield an accurate forecast.

Documentation / Reference





Discover More
Thomas Bayes
Statistics - (Periodicity|Periodic phenomena|Cycle)

Periodic phenomena such as: sound and light waves, the position and velocity of harmonic oscillators, sunlight intensity and day length, and average temperature variations throughout the year....
Time Serie - Analysis

Time series analysis aims to uncover specific patterns in these data to forecast future values basing on previously observed ones. In Time series, fixed variation are introduced into...
Time Serie - Moving Average (MA) - (Rolling|running)

(moving|rolling|running) average A moving average is commonly used with time series data to smooth out short-term fluctuations and highlight longer-term trends or cycles (Seasonality). Variations include:...



Share this page:
Follow us:
Task Runner