Part 1
Measure relative demand variability
XYZ analysis classifies demand predictability. X normally represents comparatively stable demand, Y intermediate variation and Z high or uncertain variation, using thresholds chosen by the organisation. A common measure is coefficient of variation: standard deviation of demand divided by mean demand for equal time periods. Use enough clean history and investigate promotions, seasonality, project orders and data errors before accepting the label.
Stable X demand may support routine forecasting and replenishment. Z demand needs closer examination of uncertainty and supply responsiveness, but does not automatically justify either maximum stock or zero stock. Criticality, lead time and supply difficulty still matter.