What happens to a distribution after median imputation?
Simple imputation learns a per-column replacement, such as the median of observed training values.
SimpleImputer in practice
Filling rents with the median creates a spike there. If high-rent listings disproportionately omit the field, filling blanks does not remove selection bias.
中文
用中位数填空会怎样影响分布?
简单插补为每列学习一个填充值,例如从非缺失训练记录求中位数。
SimpleImputer 应用实例
用中位租金补齐空白会在分布中堆出一座小峰。缺失若集中在高租金房源,填完并没有消除偏差。