TIME SERIES & FORECASTING · INTERVIEW QUESTION
Why can MAPE be problematic when actual values are near zero?
⚫ expert · Metrics · Mape
Hint: Focus on the decision rule, assumptions, and failure mode behind metrics · mape.
Answer
MAPE divides by actual values, so near-zero denominators create unstable or meaningless errors.
Interview reasoning
MAPE divides each absolute error by its actual, making zero undefined and near-zero observations disproportionately influential.
MAPE contributions equal 100 times absolute error divided by actual magnitude. Equal unit errors consequently receive unequal weights. This is appropriate only if relative error is the intended objective and actual values have meaningful nonzero denominators. Compare absolute, volume-weighted and naive-scaled losses to understand their different priorities.
Worked example. Actuals 1 and 1,000 with absolute error 1 produce contributions 100% and 0.1%. MAPE is 50.05%, while WAPE is about 0.20%.
Validation
Compare MAE, WAPE, appropriate scaled errors, and inventory cost by volume.
Compute metric contributions by volume and explicitly test zeros. Document the denominator convention and the portfolio aggregation rule.
Common pitfalls
An arbitrary denominator epsilon changes the implied objective and must not be hidden.
An epsilon changes the objective, not just numerical stability. WAPE fails at zero total demand and MASE fails at zero training naive error.
Likely follow-up: Compare MAE, WAPE, appropriate scaled errors, and inventory cost by volume.
Related questions
- Explain ARIMA. What are the p, d, q parameters and how do you select them?
- What is a time series and what makes it different from regular tabular data?
- What is stationarity? Why is it important and how do you test for it?
- Compare traditional vs deep learning approaches for time series forecasting.
- Why is random train-test splitting usually inappropriate for forecasting?