SAS中文论坛

标题: 求助SAS BASE 2题 [打印本页]

作者: shiyiming    时间: 2008-12-10 22:41
标题: 求助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,脑袋都快想破了也不明白
作者: shiyiming    时间: 2008-12-12 03:13
标题: Re: 求助SAS BASE 2题
daisy1166:

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




欢迎光临 SAS中文论坛 (https://mysas.net/forum/) Powered by Discuz! X3.2