全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
20536 13
2012-08-05
1.png
以上是missover的程序和结果
2.png


以上是dsd的程序和结果
请问为什么会有这样的差别?
二维码

扫码加我 拉你入群

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

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

全部回复
2012-8-6 02:15:04
The MISSOVER option prevents SAS from going to another record if it does not find values in the current line for all the INPUT variables, so here comes the missing value in observation 2 and 3,while the  DSD option treats two consecutive delimiters as a missing value.
二维码

扫码加我 拉你入群

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

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

2012-8-6 05:47:53
billliwei 发表于 2012-8-6 02:15
The MISSOVER option prevents SAS from going to another record if it does not find values in the curr ...
我还是用中文翻译一下看对不对,dsd是智能识别缺失值并在缺失处以“.”表示;而missover则是避免因为缺失而导致的观测读取错误。
二维码

扫码加我 拉你入群

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

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

2012-8-6 09:00:22
pengerge 发表于 2012-8-6 05:47
我还是用中文翻译一下看对不对,dsd是智能识别缺失值并在缺失处以“.”表示;而missover则是避免因为缺失 ...
可以这么理解
二维码

扫码加我 拉你入群

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

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

2012-8-6 12:46:54
billliwei 发表于 2012-8-6 09:00
可以这么理解
请问为啥用missover的时候,最后一个观察量是最后一个变量缺失值,但用dsd的时候却是第一个观察两缺失值了?
二维码

扫码加我 拉你入群

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

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

2012-8-6 12:59:01
你猜~~~ 发表于 2012-8-6 12:46
请问为啥用missover的时候,最后一个观察量是最后一个变量缺失值,但用dsd的时候却是第一个观察两缺失值了 ...
The DSD option can also be used to read raw data when there is a missing value at the
beginning of a record, as long as a delimiter precedes the first value in the record
二维码

扫码加我 拉你入群

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

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

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

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