全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
4187 20
2010-02-17
悬赏 20 个论坛币 已解决
数据大概如下:

Name   Test1 ..... Test1000
Billy   1              2
.....
....

其实对于所有的 Test Variable, 只有三个值:1,2,3

我想知道,有什么简单方法,可以计算对于每一列(TEST1, TEST2....,TEST1000)的数据中,1出现的百分比,2出现的百分比,3出现的百分比,同时还要把它存储到这个DATA SET的最后一行

对了,数据中有MISSING DATA的,计算百分比的时候,MISSING VALUE不可以计算在内

非常感谢!!

最佳答案

jingju11 查看完整内容

If I understand the question correctly, those percentages should converage to 0.33 when randomly generated 1,2, 3 and missing values as what I was doing above; something wrong with the website, many 's were gone...??
二维码

扫码加我 拉你入群

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

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

全部回复
2010-2-17 10:03:06
复制代码
If I understand the question correctly, those percentages should converage to 0.33 when randomly generated 1,2, 3 and missing values as what I was doing above;
something wrong with the website, many 's were gone...??
二维码

扫码加我 拉你入群

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

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

2010-2-19 19:52:45
AMAZING!!!!
二维码

扫码加我 拉你入群

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

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

2010-2-19 21:46:58
进来学习了
二维码

扫码加我 拉你入群

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

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

2010-2-20 11:31:46
I really hope to be at ur level of SAS......thank you so much!!!


2# jingju11
二维码

扫码加我 拉你入群

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

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

2010-2-20 17:29:57
xuexile, xiexie!
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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