SAS中文论坛

 找回密码
 立即注册

扫一扫,访问微社区

查看: 1582|回复: 1
打印 上一主题 下一主题

求助SAS BASE 2题

[复制链接]

49

主题

76

帖子

1462

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1462
楼主
 楼主| 发表于 2008-12-10 22:41:38 | 只看该作者

求助SAS BASE 2题

91. The following SAS program is submitted:
proc report data = work.houses nowd;
column style price;
where price < 100000;
<insert DEFINE statements here>
title;
run;
Click the Exhibit button to view the output from the REPORT procedure.
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
为什么style's usage 在这是order而不是group,display




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;
Click the Exhibit button to view the output from the REPORT procedure.
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.;
Answer: C

这个又为什么选C,脑袋都快想破了也不明白
回复 支持 反对

使用道具 举报

49

主题

76

帖子

1462

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1462
沙发
 楼主| 发表于 2008-12-12 03:13:38 | 只看该作者

Re: 求助SAS BASE 2题

daisy1166:

这两道题是有特定图表的,正如你所想的,语法没有错误,估计你是再网上下载的习题中看的吧,它们一般不会把图表黏贴上的。
如果你有sas软件的话,把几条命令执行一下就好了。
回复 支持 反对

使用道具 举报

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

本版积分规则

QQ|小黑屋|手机版|Archiver|SAS中文论坛  

GMT+8, 2026-2-5 08:56 , Processed in 0.067506 second(s), 22 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表