Smooths the demand SIZE and the INTERVAL between demands separately, and forecasts the rate as their ratio.
Usage
morie_croston(y, alpha = 0.1, variant = c("croston", "sba"))Details
Ordinary exponential smoothing on a series full of zeros chases the zeros and produces a forecast that is always too low right after a demand and too high long after one. Splitting size from interval removes that.
The plain estimator is biased UPWARD by roughly \(1/(1-\alpha/2)\)
– about 5% at alpha = 0.1 – because the ratio of two smoothed
quantities is not the smoothed ratio. variant = "sba" applies
the Syntetos-Boylan correction and is the better default.
