Skip to content

Instantly share code, notes, and snippets.

@miniaturelle
miniaturelle / forecasting-through-decomposition.ipynb
Last active July 30, 2020 10:36
In this notebook I illustrate a very simple forecasting technique with a toy dataset, namely, forecasting through decomposition. I use the 'seasonal_decompose' function in the 'statsmodels' package to do the decomposition. Then I use a naive forecasting technique and calculate the prediction interval by hand.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@miniaturelle
miniaturelle / moving-average-window-size-effect.ipynb
Created July 3, 2020 10:02
I want to illustrate the impact of the window size chosen for doing the moving average when extracting the trend-cycle from a timeseries dataset.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.