How do you choose an error metric that reflects the business cost of over-forecasting versus under-forecasting?

Quick Overview

Choose a forecast error metric that matches the business when over-forecasting and under-forecasting cost different amounts. It tests the newsvendor critical ratio, pinball loss, the limits of RMSE, MAE and MAPE, and how to backtest a metric against inventory cost and service level.

How do you choose an error metric that reflects the business cost of over-forecasting versus under-forecasting?

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Other

How do you choose an error metric that reflects the business cost of over-forecasting versus under-forecasting? Assume a demand forecast feeds an ordering or stocking decision, and that a unit of unmet demand and a unit of excess stock do not cost the same. ```hint Price the two errors Put a cost on one unit of demand you could not serve and on one unit you stocked but could not sell. ``` ```hint Think about the decision Given those two costs, ask which point of the demand distribution minimizes expected cost, and which loss function is minimized at that point. ``` ### What a Strong Answer Covers - Why symmetric metrics such as RMSE and MAE are the wrong default when the two errors cost different amounts - How to estimate the overage and underage costs and turn them into a target quantile - Which loss function targets that quantile and how it relates to the business cost - How to validate the choice against business KPIs in a backtest - Where the approach breaks, such as nonlinear costs or costs that differ by item ### Follow-up Questions - How would you handle a cost that includes a fixed penalty for every stockout event? - The stockout cost includes customers who never come back and is hard to measure. How do you pick the quantile? - How do you compare models across thousands of SKUs with very different volumes? - How would you evaluate a full probabilistic forecast instead of a single quantile?

Overview: Choose a forecast error metric that matches the business when over-forecasting and under-forecasting cost different amounts. It tests the newsvendor critical ratio, pinball loss, the limits of RMSE, MAE and MAPE, and how to backtest a metric against inventory cost and service level.

PracHub logo
General
Nov 25, 2026
mediumData ScientistOtherStatistics & Math
0
0

How do you choose an error metric that reflects the business cost of over-forecasting versus under-forecasting? Assume a demand forecast feeds an ordering or stocking decision, and that a unit of unmet demand and a unit of excess stock do not cost the same.

What a Strong Answer Covers Guidance

  • Why symmetric metrics such as RMSE and MAE are the wrong default when the two errors cost different amounts
  • How to estimate the overage and underage costs and turn them into a target quantile
  • Which loss function targets that quantile and how it relates to the business cost
  • How to validate the choice against business KPIs in a backtest
  • Where the approach breaks, such as nonlinear costs or costs that differ by item

Follow-up Questions Guidance

  • How would you handle a cost that includes a fixed penalty for every stockout event?
  • The stockout cost includes customers who never come back and is hard to measure. How do you pick the quantile?
  • How do you compare models across thousands of SKUs with very different volumes?
  • How would you evaluate a full probabilistic forecast instead of a single quantile?