Intermittent demand time series analysis using the Ata Method based on the ‘ATAforecasting package with the ’fable’ Framework.
This package provides a tidy R interface to Intermittent demand time series analysis using the Ata Method procedure using fabletools. This package makes use of the ATAforecasting package for R.
You can install the development version from Github with:
# install.packages("remotes")
remotes::install_github("alsabtay/intermittentATA")
fmcgData: Intermittent sales data from a SKU form a store in Türkiye 2012–2019
library(intermittentATA)
as_tsibble(fmcgData) %>% model(crostonata = intermittentATA(value ~ d_trend(type = "M", parQ = 1) + i_trend("A") + intermittent("croston"))) %>% forecast(h=6)