全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
2174 3
2009-12-02
82 observations having zero frequencies or weights were excluded since they do not contribute to the analysis.这是什么问题啊?我已经把变量里面包含零值的记录作了修改,改为很小的数值,0.00001,怎么还会提示有这么多零值?
二维码

扫码加我 拉你入群

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

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

全部回复
2009-12-2 11:36:23
A more detailed sample should illustrate this problem better. It is not clear what you desire to do for those zeros. Whatever, a new verison of SAS allows you to use zeros options on dealing with zero frequency or weights.
二维码

扫码加我 拉你入群

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

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

2009-12-2 14:44:50
2# jingju11
我只是做个回归分析,用距离做权重,大于某一距离的阈值记为0,所以这样weights变量中才会有0值,但是其它变量里面都没有零值的。好像有零值的记录全被剔除在外,并没有进入回归模型。现在不知道该怎么办了。高版本的SAS是否可以解决这个问题?
二维码

扫码加我 拉你入群

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

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

2009-12-2 22:05:13
3# WEICHEN360

I misunderstood your problem somehow.
In fact zeros option is only working on proc FREQ.
For either proc REG or GLM will exclude those observations with weight as 0 from the analysis.
When you assign a low value of weight to a record, that will contribute very less to the (weigthed) residual sum of squares, and that is also how weight works.
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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