楼主: qcasrl
8153 4

sas base 123题中的第91 题 [推广有奖]

  • 6关注
  • 0粉丝

博士生

27%

还不是VIP/贵宾

-

威望
0
论坛币
99 个
通用积分
17.8700
学术水平
0 点
热心指数
1 点
信用等级
0 点
经验
503 点
帖子
106
精华
0
在线时间
397 小时
注册时间
2014-1-16
最后登录
2023-12-7

楼主
qcasrl 发表于 2016-1-12 21:47:09 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币

sas base 123题中的第91
The following SAS program is submitted:
proc report data = work.houses nowd;
column style price;
where prices <100000;
<insert DEFINE statements here>
title;
run;
Exhibit: the output from the REPORT procedure.
捕获.JPG


Assume permanent variable labels have been assigned.
Which one of the following completes the program and produces the output
displayed in the exhibit?
A. define style / display width = 9;
define price / sum format = comma9. width = 10;
B. define style / width = 9;
define price / sum format = comma9. width = 10;
C. define style / group width = 9;
define price / sum format = comma9. width = 10;
D. define style / order width = 9;
define price / sum format = comma9. width = 10;

answer:D     why?

A后用display 为什么不可以?  sum group display across 的用法


二维码

扫码加我 拉你入群

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

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

关键词:SAS base Base proc report following Program statements following permanent procedure produces

已有 1 人评分热心指数 收起 理由
eijuhz + 1 精彩帖子

总评分: 热心指数 + 1   查看全部评分

沙发
extension 发表于 2016-1-14 17:37:50
A: "DISPLAY"选项会把'style'的每条记录都列出来;
B:DEFINE后无选项,按默认"DISPLAY"处理;
C: "GROUP"和"SUM"联合使用的话,每个"GROUP"只显示一条汇总结果;
D: "ORDER"与"DISPLAY"的区别是同一个组别'style'只显示一次。
已有 1 人评分学术水平 热心指数 信用等级 收起 理由
wanlinhu + 1 + 1 + 1 精彩帖子

总评分: 学术水平 + 1  热心指数 + 1  信用等级 + 1   查看全部评分

藤椅
wanlinhu 发表于 2017-11-2 11:37:53
extension 发表于 2016-1-14 17:37
A: "DISPLAY"选项会把'style'的每条记录都列出来;
B:DEFINE后无选项,按默认"DISPLAY"处理;
C: "GROUP ...
最近在学,受教了

板凳
yuan_wang 发表于 2018-7-11 13:09:09
“group” creates one row for each unique value of the variable,
while “order” creates one row for each observation with rows arranged according to the values of the order variable.
So the option is “order” here.

报纸
vivian1129m 发表于 2019-5-4 05:42:08
extension 发表于 2016-1-14 17:37
A: "DISPLAY"选项会把'style'的每条记录都列出来;
B:DEFINE后无选项,按默认"DISPLAY"处理;
C: "GROUP ...
简单明了,感谢感谢!

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

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