Exercise 2: Inspecting and Removing Seasonality

This workflow shows the seasonality of time series (energy consumption) in an autocorrelation plot. The seasonality is removed by differencing the time series at the lag where the maximum peak is detected in the autocorrelation plot. As an alternative approach, the time series is decomposed into its trend, first and second seasonalities, and irregular component. The distribution of energy consumption for each hour is shown in a conditional box plot for both the original and differenced time series.

This is a companion discussion topic for the original entry at https://kni.me/w/cUbJMB0G5l5aBdeC