全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
2207 1
2012-06-15
新人写滴程序如下:
data an;
input fd yd;
cards;
1597        1693
1465        1556
1616        1623
1185        1355
1231        1389
.            1500
1593        1717
1579        1832
1379        1468
1285        1368
.       .
1670        .
;
proc mi data=an seed=1000 nimpute=5 out=outam;
var fd yd;
run;
proc print data=outam(firstobs=49 obs=60);
var fd yd;
run;

数据集第11行 2个变量全部缺失  填补输出结果为:
                                 Obs       fd         yd

                                                49    1597.00    1693.00
                                                50    1465.00    1556.00
                                                51    1616.00    1623.00
                                                52    1185.00    1355.00
                                                53    1231.00    1389.00
                                                54    1345.77    1500.00
                                                55    1593.00    1717.00
                                                56    1579.00    1832.00
                                                57    1379.00    1468.00
                                                58    1285.00    1368.00
                                                59        .          .
                                                60    1670.00    1787.28


最后那两个还是没填补  这不是我想要的结果  想问下各位网友  这是为什么 有什么解决方法没有。。。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2012-6-16 00:44:50
PROC MI imputed one using the value of the other, based on the correlation between these two variables. When both are missing, none of them can be imputed. In this case, you have to delete this observation.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群