全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
3723 8
2018-01-17

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;


附件列表
view.jpg

原图尺寸 184.74 KB

view.jpg

二维码

扫码加我 拉你入群

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

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

全部回复
2018-1-17 21:22:47
为什么选B,不应该是A吗?
对style进行了排序了吧?需要order吧?group只是分组,对吗?
二维码

扫码加我 拉你入群

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

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

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

原图尺寸 25.47 KB

6631620820047871331.png

二维码

扫码加我 拉你入群

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

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

2018-1-23 11:17:45
miclilu 发表于 2018-1-17 21:22
为什么选B,不应该是A吗?
对style进行了排序了吧?需要order吧?group只是分组,对吗?
没有排序,否则比如ranch 为什么有好多个分开的? 所以不是order

group分组后算出这一组的statistics
二维码

扫码加我 拉你入群

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

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

2018-1-24 17:29:30
只有group后才能计算mean
二维码

扫码加我 拉你入群

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

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

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吧?
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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