Income has a long right tail and some missing values. Which imputation is most robust?
- Exam domain
- Data Processing20% of the exam
- Difficulty
- Medium
- In this mock
- 10 questions on this domainPractise this domain
Why the exam asks this
Data Processing (20% of the exam)
Objective in the exam guide: Compare and contrast imputing missing values with the mean or median or mode value
Comparing mean, median and mode imputation is named.
Why C is the answer
The median, because it is not pulled by extreme values
The median resists outliers, so it suits skewed numeric data. The mean is pulled by the tail. The mode suits categorical features.
Remember: Median for skewed numeric data.
How it works
Imputation strategy should match the distribution.
In detail
- Median for skewed numbers.
- Mode for categories.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Zero, because missing usually means noneWrong
Zero distorts the distribution.
B. The mean, because it uses every value including the extreme incomesWrongMost tempting
The tail pulls the mean upward.
Why it tempts: Mean is the default many people reach for.
C. The median, because it is not pulled by extreme valuesRight
Median for skewed numeric data.
D. The mode, because it suits continuous features bestWrong
Mode suits categorical data.
Use case
An illustrative scenario, not a real incident.
Illustrative: median income imputation keeps a few billionaires from inflating filled values.
See it in different ways
flowchart TD
Q{"What is the feature?"}
Q -->|"Numeric, symmetric"| A0["Mean"]
Q -->|"Numeric, skewed"| A1["Median"]
Q -->|"Categorical"| A2["Mode"]How to read this chart
- At "What is the feature?": if "Numeric, symmetric", go to "Mean"; if "Numeric, skewed", go to "Median"; if "Categorical", go to "Mode".
mindmap
root(("Imputer"))
n1["mean"]
n2["Symmetric data"]
n3["median"]
n4["Skewed data"]
n5["mode"]
n6["Categories"]How to read this chart
- The centre is "Imputer".
- "mean" covers "Symmetric data".
- "median" covers "Skewed data".
- "mode" covers "Categories".