请选择 进入手机版 | 继续访问电脑版
楼主: miclilu
3017 8

[问答] 关于SAS初级考试123题第96题 [推广有奖]

  • 0关注
  • 0粉丝

本科生

23%

还不是VIP/贵宾

-

威望
0
论坛币
8 个
通用积分
0
学术水平
0 点
热心指数
2 点
信用等级
1 点
经验
2201 点
帖子
26
精华
0
在线时间
119 小时
注册时间
2017-2-22
最后登录
2022-5-11

miclilu 发表于 2018-1-17 21:21:22 |显示全部楼层 |坛友微信交流群
相似文件 换一批

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币

QUESTION 96

Exhibit: listing of the SASUSER.HOUSES data set

The following SAS program is submitted:

proc report data = sasuser.houses nowd headline;

column style price;

where prices lt 100000;

<insert DEFINE statement here>

define price / mean width = 9;

title;

run;

The following ouput is created by the REPORT procedure:

style price

CONDO $79,700

RANCH $68,575

SPLIT $77,983

TWOSTORY $62,550

Which one of the following DEFINE statements completes the above program and produces the above output?

A. define style / order width = 9;

B. define style / group width = 9;

C. define style / across width = 9;

D. define style / display width = 9;


二维码

扫码加我 拉你入群

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

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

关键词:proc report Statements following Procedure statement

view.jpg
miclilu 发表于 2018-1-17 21:22:47 |显示全部楼层 |坛友微信交流群
为什么选B,不应该是A吗?
对style进行了排序了吧?需要order吧?group只是分组,对吗?

使用道具

miclilu 发表于 2018-1-17 21:38:17 |显示全部楼层 |坛友微信交流群
与此类似的还有99题,感觉B和C都可以,order就是在group的基础上加了排序,是这样吗?
Exhibit: view two reports. Assume permanent variable labels have been assigned.


The following SAS program is submitted and produces the first report: proc report data = sasuser.shoes nowd;

column region subsidiary sales;

define subsidiary / display;

define region / group;

define sales / sum;

run;

Which one of the following corrects the program above to produce the second report shown in the exhibit?

A. Define the variable SUBSIDIARY with a SUM usage.

B. Define the variable SUBSIDIARY with a GROUP usage.

C. Define the variable SUBSIDIARY with an ORDER usage.

D. Define the variable SUBSIDIARY with an ACROSS usage.
6631620820047871331.png

使用道具

梦之啸 发表于 2018-1-23 11:17:45 |显示全部楼层 |坛友微信交流群
miclilu 发表于 2018-1-17 21:22
为什么选B,不应该是A吗?
对style进行了排序了吧?需要order吧?group只是分组,对吗?
没有排序,否则比如ranch 为什么有好多个分开的? 所以不是order

group分组后算出这一组的statistics

使用道具

swei007 发表于 2018-1-24 17:29:30 |显示全部楼层 |坛友微信交流群
只有group后才能计算mean

使用道具

miclilu 发表于 2018-1-24 22:24:00 |显示全部楼层 |坛友微信交流群
梦之啸 发表于 2018-1-23 11:17
没有排序,否则比如ranch 为什么有好多个分开的? 所以不是order

group分组后算出这一组的statistics
ranch没有很多个分开的吧?结果是
CONDO $79,700
RANCH $68,575
SPLIT $77,983
TWOSTORY $62,550
原始数据中有多个分开的,用group是分组,用order是排序,然后price是analysis数据,order和group都可以起到分组的作用,order多了一个排序,如果按原始数据group,结果就R,S,C,T吧?

使用道具

miclilu 发表于 2018-1-24 22:26:44 |显示全部楼层 |坛友微信交流群
swei007 发表于 2018-1-24 17:29
只有group后才能计算mean
意思是order之后不能计算mean?sum呢?
那order之后,analysis数据可以计算sum吗?sum不是默认统计量吗?

使用道具

梦之啸 发表于 2018-1-25 04:13:41 |显示全部楼层 |坛友微信交流群
miclilu 发表于 2018-1-24 22:26
意思是order之后不能计算mean?sum呢?
那order之后,analysis数据可以计算sum吗?sum不是默认统计量吗? ...
order之后不能计算任何统计量,order只是排序。要计算统计量需要group

使用道具

miclilu 发表于 2018-1-25 09:44:56 |显示全部楼层 |坛友微信交流群
梦之啸 发表于 2018-1-25 04:13
order之后不能计算任何统计量,order只是排序。要计算统计量需要group
奥好的,谢谢您

使用道具

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

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-3-29 03:03