Missing Values Have Reasons
Pantry asks customers to rate every delivery, but 40% of orders have no rating. The dashboard simply ignores the blanks and shows an average of 4.45 stars. Before anyone celebrates, ask a simple question: who skips the rating? If the customers who stay silent are different from the ones who answer, 4.45 describes the talkers, not the customers.
The rule
Before filling or dropping blanks, ask why they are blank.
Blanks arise in roughly three ways, and each calls for a different response:
- Unrelated to anything: a logging outage lost the ratings for three days. The gaps are a random slice of orders, so dropping them costs data but adds no bias.
- Explained by something you recorded: an old app version never shows the rating prompt. The blanks depend on
app_version, which you have, so you can compare like with like within each version. - Caused by the missing value itself: customers who had a bad delivery close the app without rating. Now the blanks hide exactly the low scores, and both dropping them and filling them with the average will overstate satisfaction.
You usually cannot prove which case you are in, but you can gather strong clues.