Library · Demand and stock

SBA: the Syntetos-Boylan approximation

The Syntetos-Boylan approximation is Croston's method with one correction factor. It removes most of the upward bias of the original, and slightly over-corrects when demand occurs in almost every period.

By , published

Definition

Syntetos and Boylan derived the expected bias of Croston's method and proposed in 2005 to deflate the forecast by a factor that depends on the smoothing constant α used for the interval.

forecastSBA = ( 1 − α ÷ 2 ) × z ÷ p

With α = 0.1 the Croston forecast is reduced by 5 %, with α = 0.3 by 15 %. The correction is approximate: it is exact in the limit of very long intervals between demands.

Worked example

The bias of both methods is measured by simulation for three smoothing constants, on items that sell in one period out of five, then on items that sell in nine periods out of ten. The functions come from intermittent-eval, our open-source package (pip install intermittent-eval).

import numpy as np
from intermittent_eval import croston, sba

rng = np.random.default_rng(0)

def bias(prob, alpha, f):
    Y = rng.binomial(1, prob, (3000, 200)) * rng.integers(1, 6, (3000, 200))
    return 100 * (np.mean([f(row, alpha) for row in Y]) / (prob * 3) - 1)

for prob in (0.2, 0.9):
    for alpha in (0.1, 0.2, 0.3):
        print(f"demand in {prob:.0%} of periods, alpha = {alpha}:  Croston {bias(prob, alpha, croston):+5.1f} %   SBA {bias(prob, alpha, sba):+5.1f} %")

Output, produced by running the code above when this page was built:

demand in 20% of periods, alpha = 0.1:  Croston  +3.8 %   SBA  -0.3 %
demand in 20% of periods, alpha = 0.2:  Croston  +8.2 %   SBA  -1.9 %
demand in 20% of periods, alpha = 0.3:  Croston +12.2 %   SBA  -3.2 %
demand in 90% of periods, alpha = 0.1:  Croston  +0.5 %   SBA  -4.0 %
demand in 90% of periods, alpha = 0.2:  Croston  +0.7 %   SBA  -8.9 %
demand in 90% of periods, alpha = 0.3:  Croston  +1.1 %   SBA -13.3 %

For the slow items the bias of Croston rises with α and SBA stays within a few percent. For the items that sell almost every period Croston has little bias to remove, and SBA ends up below the true mean.

Where it misleads

  • On items with frequent demand, SBA under-forecasts. This is the reason behind the classification of series by ADI and CV²: SBA is recommended only above the cut-offs.
  • A smaller bias in the mean does not make a better stock decision by itself. In our tests, a quantile built on SBA scored worse than the same quantile built on a moving average.
  • Like Croston, SBA does not react when demand stops, and it returns a rate without a distribution.

The paper that introduced SBA compared methods on 3,000 real series from the automotive industry. Later comparisons on other data, including ours, do not always place it first, and the ranking depends on the error measure, as MAE and RMSE reward different forecasts.

In our work

SBA is one of the methods of our intermittent demand studies. On 2,404 spare-part series the scaled quantile loss at 90 % was 0.417 for a Poisson quantile built on SBA and 0.364 for the same quantile built on a moving average.

References

  1. Syntetos, A. A., Boylan, J. E. (2005). The accuracy of intermittent demand estimates. International Journal of Forecasting, 21(2), 303-314. doi:10.1016/j.ijforecast.2004.10.001
  2. Syntetos, A. A., Boylan, J. E. (2001). On the bias of intermittent demand estimates. International Journal of Production Economics, 71(1-3), 457-466. doi:10.1016/S0925-5273(00)00143-2
  3. Croston, J. D. (1972). Forecasting and stock control for intermittent demands. Operational Research Quarterly, 23(3), 289-303. doi:10.1057/jors.1972.50

Have a question like this one on your own data? Tell us what you need in a few lines.

Send us the brief

Related pages

  • Croston's methodCroston's method splits an intermittent series in two: how much is ordered when there is an order, and how long between orders. Each is smoothed separately and the forecast is their ratio. The ratio is biased upward.
  • TSB: the Teunter-Syntetos-Babai methodTSB replaces the interval of Croston's method with a probability of demand that is updated every period. When an item stops selling, the forecast falls toward zero, which Croston and SBA never do.
  • Demand classification: ADI and CV²Two numbers describe a demand series: how often it sells (ADI) and how much the order sizes vary (CV²). The cut-offs 1.32 and 0.49 split a catalogue into smooth, erratic, intermittent and lumpy items.
All library pages