Intermittent time series are common in spare-parts demand and retail sales. Since the cost of forecast errors is typically asymmetric, decisions such as inventory control require the full predictive distribution rather than a point forecast. Many probabilistic forecasting methods have been proposed; their implementations, however, are scattered across different software frameworks, making it difficult to compare them systematically. We introduce fable.intermittent, an R package that implements several probabilistic forecasting methods for intermittent series within the fable framework. The package allows several models to be fitted and evaluated on a collection of time series through a single, simple forecasting pipeline. We also introduce TWEES, a new exponential smoothing model with a Tweedie predictive distribution. Fitting TWEES requires repeated evaluation of the computationally demanding Tweedie density. We also release the R package tweedieDistr, whose implementation of the Tweedie distribution is substantially faster than the existing one while preserving the same numerical accuracy. We evaluate the methods implemented in fable.intermittent on four datasets, also released in the package.
Figures & tables
Figure 1: Classification of the series of the four data sets according to average inter-demand interval (ADI, log scale) and the squared coefficient of variation of the non-zero demand sizes (CV 2 , linearly-adjusted log scale). Dashed lines mark the cut-offs of Syntetos et al. (2005) ( ADI=1.32 , CV2=0.49 ). A small number of series with CV2=0 (constant non-zero demand size) appear in the plot exactly on zero because of the linearly adjusted log scale.
Figure 4: Two Tweedie distributions with the same mean and power parameter, but different dispersion.
Figure 5: Improvement of the running times of the core density ( dtweedie() ), cumulative ( ptweedie() ) and quantile ( qtweedie() ) functions for different choices of ϕ and ρ . For additional details on the setup of this evaluation, see C .
East China Normal University, Shanghai, China. · University of Electronic Science and Technology of China, Chengdu, China. · Aalborg University, Aalborg, Denmark.