全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
13612 5
2014-05-20
proc summary中的var 和output 都需要把变量一一列出
如果我的数据集变量很多,一一列出很麻烦
变量其命名又不是很规律,无法用A1-A20的方式列出

那有没有简单的指定所有变量的方法???
二维码

扫码加我 拉你入群

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

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

全部回复
2014-5-20 18:05:18
复制代码
二维码

扫码加我 拉你入群

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

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

2014-5-23 08:00:55
Use proc contents to list all variables and select it from there.
二维码

扫码加我 拉你入群

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

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

2014-5-24 11:40:23
zhengbo8 发表于 2014-5-20 18:05
It is a good answer.
Moreover, it is also curious to know why using summary procedure instead of means procedure? Both are available from SAS/Base. Some people may think they are identical; in fact, not fully the same. According to my experiences, MEANS completely covers SUMMARY, but not true vice versa.In fact, SAS does not even give a direct documentation for SUMMARY but try to use the one for MEANS instead.
JingJu


二维码

扫码加我 拉你入群

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

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

2014-6-28 16:43:57
非常感谢楼上们,人大sas真是好地方
二维码

扫码加我 拉你入群

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

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

2014-7-22 17:38:20
_numeric_很实用
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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