How would you choose an imputation strategy for numerical data with outliers or skewed distributions?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Describe various imputation strategies for numerical data and when you would prefer one over another, especially with outliers or skewed distributions.
```hint Why is it missing?
Before picking a fill value, ask whether missingness depends on nothing, on other observed columns, or on the missing value itself.
```
```hint Side effects
Check what each method does to the column's spread and to its correlations with other features, in addition to the value placed in each empty cell.
```
### What a Strong Answer Covers
- Simple fills (mean, median, mode or constant) and how outliers and skew change which one is appropriate
- Model-based methods such as KNN, iterative or regression imputation, and multiple imputation, with their costs
- The missingness mechanism (MCAR, MAR, MNAR) and how it limits what any imputation can fix
- Side effects such as shrunken variance and weakened correlations, and the role of missing indicators
- How the imputer is fit relative to the train/test split and cross-validation
### Follow-up Questions
- Income is missing more often for high earners. What does median imputation do to your estimate of mean income, and what could you do instead?
- When would you skip imputation and let a gradient boosting model handle missing values natively?
- How does multiple imputation account for uncertainty, and how do you combine estimates across the imputed datasets?
- After training, how would you check whether an imputation choice hurt the downstream model?
Overview: Asks how to choose among imputation methods for missing numerical values, from mean and median fills to KNN and iterative imputation, when the data has outliers or skew. Tests understanding of missingness mechanisms, variance shrinkage and leakage-safe preprocessing.