楼主: pinoccur
4932 2

[问答] 求问SAS BASE 123题第92题。谢谢啦! [推广有奖]

  • 0关注
  • 0粉丝

高中生

52%

还不是VIP/贵宾

-

威望
0
论坛币
176 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
278 点
帖子
25
精华
0
在线时间
23 小时
注册时间
2010-11-4
最后登录
2017-5-26

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
92 The following SAS program is submitted:

proc report data = sasuser.houses nowd headline headskip;
    column style price;
    where price <100000;
    <insert code here>
    title;
run;

Exhibit: output from the REPORT procedure.
Style     Price
RANCH     $64,000
SPLIT     $65,850
CONDO     $80,050
RANCH     $86,650
SPLIT     $94,450
SPLIT     $73,650
CONDO     $79,350
TWOSTORY  $55,850
RANCH     $89,100
TWOSTORY  $69,250
RANCH     $34,500

Assuming that the PRICE variable is numeric, which one of the following completes the program and produces the output displayed in the exhibit?

A.
define style / group 'Style';
define price / mean 'Price' format = dollar9.;

B.
define style / display 'Style';
define price / across 'Price' format = dollar9.;

C.
define style / display 'Style';
define price / sum 'Price' format = dollar9.;

D.
define style / order 'Style';
define price / mean 'Price' format = dollar9.;


请问为啥是C呀?那个SUM是咋回事儿?谢谢!


二维码

扫码加我 拉你入群

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

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

关键词:SAS base Base proc report following headline 统计 SAS SAS数据分析方法

沙发
Newkoarla 发表于 2017-4-19 18:34:36 |只看作者 |坛友微信交流群
look at the output column Style, there are multi RANCH and no order, so D and A are not correct answer. the output of Price is single, so no across.

so the right answer is C

使用道具

藤椅
pinoccur 发表于 2017-4-20 03:36:59 |只看作者 |坛友微信交流群
Newkoarla 发表于 2017-4-19 18:34
look at the output column Style, there are multi RANCH and no order, so D and A are not correct answ ...
多谢指点

使用道具

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

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

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

GMT+8, 2024-4-20 06:11