【发布时间】:2013-07-08 10:22:31
【问题描述】:
我想根据变量其他值的分布来估算数据集中的缺失值。
假设 30 % 的值 = 1、20 % = 2 和 50 % = 3,实际上我想做以下事情:
impute(var,1) # for 30 % of the NA occurrences #
impute(var,2) # for 20 % of the NA occurrences #
impute(var,3) # for 50 % of the NA occurrences #
有人可以帮忙吗?
约翰
【问题讨论】:
标签: r missing-data imputation