楼主: WEICHEN360
1931 3

记录中有太多零值的问题怎么解决? [推广有奖]

  • 0关注
  • 0粉丝

高中生

15%

还不是VIP/贵宾

-

威望
0
论坛币
50 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
157 点
帖子
24
精华
0
在线时间
12 小时
注册时间
2008-12-19
最后登录
2009-12-20

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
82 observations having zero frequencies or weights were excluded since they do not contribute to the analysis.这是什么问题啊?我已经把变量里面包含零值的记录作了修改,改为很小的数值,0.00001,怎么还会提示有这么多零值?
二维码

扫码加我 拉你入群

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

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

关键词:observations observation frequencies contribute Analysis 解决 记录

沙发
jingju11 发表于 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.

使用道具

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

使用道具

板凳
jingju11 发表于 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.

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-5-11 17:16