楼主: mingfeng07
2002 4

[问答] 关于report过程问题 [推广有奖]

已卖:306份资源

副教授

65%

还不是VIP/贵宾

-

威望
0
论坛币
1147 个
通用积分
2.0601
学术水平
113 点
热心指数
105 点
信用等级
83 点
经验
30381 点
帖子
643
精华
0
在线时间
1147 小时
注册时间
2012-11-20
最后登录
2023-5-23

初级热心勋章

楼主
mingfeng07 学生认证  发表于 2013-10-25 12:29:07 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
请问一下关于proc report过程中,define后面选项中order选项和group选项有什么区别呢,我运行编程时发现如果是正常升序排序的话两者似乎是可以替换的
二维码

扫码加我 拉你入群

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

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

关键词:Report repor Port repo proc report report

欢迎扫一扫我头像关注, 不定期分享SAS技术知识。

沙发
heperwong 在职认证  发表于 2013-10-25 13:30:45
If you want the values of the variable to determine the order of the rows in the report, then specify
ORDER;If you want the values of the variable to consolidate into one row all observations from the input
SAS data set that have the same variable value, then specify GROUP.

藤椅
heperwong 在职认证  发表于 2013-10-25 13:47:48
换句话说,order有排序功能,group没有。你有时候所看到的可能就是它们将相同几列合并成一列,误以为它们是一样的

板凳
mingfeng07 学生认证  发表于 2013-10-25 13:52:59
heperwong 发表于 2013-10-25 13:30
If you want the values of the variable to determine the order of the rows in the report, then specif ...
明白了,谢谢哈
欢迎扫一扫我头像关注, 不定期分享SAS技术知识。

报纸
mingfeng07 学生认证  发表于 2013-10-25 19:47:40
明白了一点,如果是添加了汇总选项的话就可以看出其区别了
欢迎扫一扫我头像关注, 不定期分享SAS技术知识。

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

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-9 13:47