This section is at https://rollingedition.com/time-series-forecasting/add-calendar-and-lag-features#choose-on-decision-windows.