A data scientist is performing EDA on a dataset with missing values in 3 of 20 features. The missing rate is 5% for each feature. The scientist wants to preserve as much data as possible while avoiding bias. Which imputation strategy is most appropriate?
Median imputation is robust to outliers, preserves the dataset size, and is a simple, effective method for low missing rates (5% per feature).
Why this answer
Median imputation (Option D) is the most appropriate because it preserves the dataset size, is robust to outliers, and avoids bias introduced by more complex methods. Removing rows (Option A) would discard approximately 14% of the data if missing patterns are independent, unnecessarily reducing sample size. Mean imputation (Option B) is sensitive to outliers, which could skew the distribution.
KNN imputation (Option C) may introduce bias if the neighborhood size is not properly tuned and is computationally expensive for large datasets. Therefore, median imputation provides a simple, robust solution that maintains data integrity.