Package: fable.intermittent 0.1.0

fable.intermittent: Forecasting Models for Intermittent Time Series

Extends the 'fable' framework to support forecasting methods specifically designed for intermittent time series data, where demand occurs sporadically with many zero values. All methods produce probabilistic forecasts returned as 'distributional' objects. The returned forecasts can be used to evaluate accuracy, plot and print the results seamlessly with 'fable'. The methods include: Harvey, Fernandes (1989) <doi:10.1080/07350015.1989.10509750>, Willemain, Smart, Schwarz (2004) <doi:10.1016/S0169-2070(03)00013-X>, Zhou, Viswanathan (2011) <doi:10.1016/j.ijpe.2010.09.021>, Snyder, Ord, Beaumont (2012) <doi:10.1016/j.ijforecast.2011.03.009>, Kolassa (2016) <doi:10.1016/j.ijforecast.2015.12.004>, Hasni, Aguir, Babai, Jemai (2019) <doi:10.1080/00207543.2018.1424375>, Damato, Azzimonti, Corani (2025) <doi:10.1016/j.ijforecast.2025.10.001>, Sbrana (2025) <doi:10.1080/01605682.2025.2569661>.

Authors:Stefano Damato [aut, cre, cph], Lorenzo Zambon [aut], Dario Azzimonti [aut]

fable.intermittent_0.1.0.tar.gz
fable.intermittent_0.1.0.zip(r-4.7)fable.intermittent_0.1.0.zip(r-4.6)fable.intermittent_0.1.0.zip(r-4.5)
fable.intermittent_0.1.0.tgz(r-4.6-x86_64)fable.intermittent_0.1.0.tgz(r-4.6-arm64)fable.intermittent_0.1.0.tgz(r-4.5-x86_64)fable.intermittent_0.1.0.tgz(r-4.5-arm64)
fable.intermittent_0.1.0.tar.gz(r-4.7-arm64)fable.intermittent_0.1.0.tar.gz(r-4.7-x86_64)fable.intermittent_0.1.0.tar.gz(r-4.6-arm64)fable.intermittent_0.1.0.tar.gz(r-4.6-x86_64)
fable.intermittent_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
fable.intermittent/json (API)
NEWS

# Install 'fable.intermittent' in R:
install.packages('fable.intermittent', repos = c('https://stefanodamato.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/stefanodamato/fable.intermittent/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
Datasets:
  • auto - Automotive Spare Parts Demand Dataset
  • raf - RAF Spare Parts Demand Dataset

On CRAN:

Conda:

openblascpp

4.90 score 1 stars 3 scripts 1 mentions 15 exports 44 dependencies

Last updated from:34e7b1c33c. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK266
linux-devel-x86_64OK233
source / vignettesOK254
linux-release-arm64OK235
linux-release-x86_64OK221
macos-release-arm64OK137
macos-release-x86_64OK443
macos-oldrel-arm64OK143
macos-oldrel-x86_64OK362
windows-develOK266
windows-releaseOK231
windows-oldrelOK261
wasm-releaseOK141

Exports:BETANBBdist_tweediedtweedieEMPDISTRGAMPOISBHSPESMARWALNEGBINESptweedieqtweediertweedieSTATICDISTRTWEESVZWSS

Dependencies:anytimeBHclicpp11digestdistributionaldplyrfabletoolsfarvergenericsggdistggplot2gluegtableisobandlabelinglifecyclelubridatemagrittrnloptrnumDerivpillarpkgconfigprogressrpurrrquadprogR6RColorBrewerRcppRcppArmadillorlangS7scalesstringistringrtibbletidyrtidyselecttimechangetsibbleutf8vctrsviridisLitewithr

Forecasting intermittent time series with fable.intermittent

Rendered fromfable.intermittent.Rmdusingknitr::rmarkdownon Jun 19 2026.

Last update: 2026-06-02
Started: 2026-05-29

Readme and manuals

Help Manual

Help pageTopics
Automotive Spare Parts Demand Datasetauto
Beta-Negative Binomial Bayesian Dynamic ModelBETANBB
Tweedie Distributiondist_tweedie
Empirical Distribution ResamplingEMPDISTR
Extract fitted values from a BETANBB modelfitted.BETANBB
Extract fitted values from an EMPDISTR modelfitted.EMPDISTR
Extract fitted values from a GAMPOISB modelfitted.GAMPOISB
Extract fitted values from a HSPES modelfitted.HSPES
Extract fitted values from a MARWAL modelfitted.MARWAL
Extract fitted values from a NEGBINES modelfitted.NEGBINES
Extract fitted values from a STATICDISTR modelfitted.STATICDISTR
Extract fitted values from a TWEES modelfitted.TWEES
Extract fitted values from a VZ modelfitted.VZ
Extract fitted values from a WSS modelfitted.WSS
Forecast a BETANBB modelforecast.BETANBB
Forecast an EMPDISTR modelforecast.EMPDISTR
Forecast a GAMPOISB modelforecast.GAMPOISB
Forecast a HSPES modelforecast.HSPES
Forecast a MARWAL modelforecast.MARWAL
Forecast a NEGBINES modelforecast.NEGBINES
Forecast a STATICDISTR modelforecast.STATICDISTR
Forecast a TWEES modelforecast.TWEES
Forecast a VZ modelforecast.VZ
Forecast a WSS modelforecast.WSS
Gamma-Poisson Bayesian Dynamic ModelGAMPOISB
Generate sample paths from a BETANBB modelgenerate.BETANBB
Generate sample paths from an EMPDISTR modelgenerate.EMPDISTR
Generate sample paths from a GAMPOISB modelgenerate.GAMPOISB
Generate sample paths from a HSPES modelgenerate.HSPES
Generate sample paths from a MARWAL modelgenerate.MARWAL
Generate sample paths from a NEGBINES modelgenerate.NEGBINES
Generate sample paths from a STATICDISTR modelgenerate.STATICDISTR
Generate sample paths from a TWEES modelgenerate.TWEES
Generate sample paths from a VZ modelgenerate.VZ
Generate sample paths from a WSS modelgenerate.WSS
Hurdle-Shifted Poisson Exponential SmoothingHSPES
Markov Chain Model with Random Walk dynamicMARWAL
Return model namemodel_sum.BETANBB
Return model namemodel_sum.EMPDISTR
Return model namemodel_sum.GAMPOISB
Return model namemodel_sum.HSPES
Return model namemodel_sum.MARWAL
Return model namemodel_sum.NEGBINES
Return model namemodel_sum.STATICDISTR
Return model namemodel_sum.TWEES
Return model namemodel_sum.VZ
Return model namemodel_sum.WSS
Negative Binomial Exponential SmoothingNEGBINES
RAF Spare Parts Demand Datasetraf
Extract residuals from a BETANBB modelresiduals.BETANBB
Extract residuals from an EMPDISTR modelresiduals.EMPDISTR
Extract residuals from a GAMPOISB modelresiduals.GAMPOISB
Extract residuals from a HSPES modelresiduals.HSPES
Extract residuals from a MARWAL modelresiduals.MARWAL
Extract residuals from a NEGBINES modelresiduals.NEGBINES
Extract residuals from a STATICDISTR modelresiduals.STATICDISTR
Extract residuals from a TWEES modelresiduals.TWEES
Extract residuals from a VZ modelresiduals.VZ
Extract residuals from a WSS modelresiduals.WSS
Static Count Distribution ModelSTATICDISTR
Tweedie Distribution Functionsdtweedie ptweedie qtweedie rtweedie tweedie
Tweedie Exponential SmoothingTWEES
Viswanathan-Zhou Bootstrap MethodVZ
Willemain-Smart-Schwarz Bootstrap MethodWSS