A forecasting model has a lower RMSE but misses most ordinary cases. Is it better?
Calculate MAE and RMSE, then choose a loss that reflects the decision being made.
01. Calculate what each metric rewards
Suppose three absolute errors are 1, 1, and 10. MAE is (1+1+10)/3 = 4. RMSE is sqrt((1+1+100)/3), approximately 5.83. The large error contributes disproportionately to squared loss.
Now compare a model with errors 4, 4, and 4. Its MAE and RMSE are both 4. Under MAE the models tie; under RMSE the second wins. Neither result tells you whether the large mistake is operationally acceptable. State the consequence of the error before picking the leaderboard metric.
02. Distinguish point estimates from uncertainty
Under suitable conditions, minimizing expected squared error targets a conditional mean, while minimizing expected absolute error targets a conditional median. They can differ for skewed outcomes. A single point estimate also hides the range of plausible outcomes.
For a delivery promise, underestimating arrival time may be more damaging than modest overestimation. A higher conditional quantile can represent a more conservative promise. Quantile loss weights under- and overprediction differently, but the chosen quantile should reflect the actual trade-off rather than a desire for a better-looking metric.
03. Watch denominators and aggregation
Percentage errors can become unstable or undefined near zero actual values. For intermittent demand, a zero-sales day is normal, so blindly averaging percentage error can make the evaluation unusable. Report absolute error, an appropriate scaled measure, and the slices that affect decisions.
An overall metric dominated by popular items can conceal poor performance on small categories. Conversely, giving every item equal weight can overemphasize tiny products. Present volume-weighted and per-series views where they answer different questions. Compute metrics from the intended unit, not an accidental aggregation of already-averaged numbers.
04. Tie evaluation to deployment
Evaluate the same horizon and information set used in production. Predicting tomorrow after seeing tomorrow morning is not a valid simulation of a forecast generated tonight. Include a simple baseline and the cost of incorrect downstream actions.
Follow-up: if RMSE improves but stockouts increase, check whether the improvement came from low-cost overprediction on large items while critical underpredictions worsened. Inspect residual direction, magnitude, horizon, and cohort. A useful answer explains why one scalar cannot replace the product decision.
Practice the follow-up
Calculate MAE and RMSE for errors 0, 0, 9. Which metric changes most if 9 becomes 18?
Connect this to demand forecasting.
Sources & further reading
Forecasting: evaluating point forecast accuracy. The interview scenario, calculations, and proposed design choices are illustrative.
Continue your preparation
Choose a connected learning path or browse more ML fundamentals questions. Read our editorial method and attribution policy.