Style
of homes n Asking
Price
CONDO 4 $99,313
RANCH 4 $68,575
SPLIT 3 $77,983
TWOSTORY 4 $83,825
Which of the following steps created the report?
a. proc freq data=sasuser.houses;
tables style price /nocum;
format price dollar10.;
label style="Style of homes"
price="Asking price";
run;
b. proc print data=sasuser.houses;
class style;
var price;
table style,n price*mean*f=dollar10.;
label style="Style of homes"
price="Asking price";
run;
c. proc means data=sasuser.houses n mean;
class style;
var price;
format price dollar10.;
label style="Style of homes"
price="Asking price";
run;
d. proc report data=sasuser.houses nowd headline;
column style n price;
define style / group "Style of homes";
define price / mean format=dollar8.
"Asking price";
run;
The FREQ procedure cannot create the average asking price. The CLASS statement and
the VAR statement are not valid for use with the PRINT procedure. The MEANS
procedure output would have both the N statistic and the N Obs statistic since a CLASS
statement is used. The REPORT procedure produced the report.
请问从哪里看出来 asking price 是average呢,还有means procedure那个,为什么不是var condo ranch split twostory而是var price呢~



雷达卡



确实没有明确说明,但是如果给的是sum不太符合逻辑呀,因为每种户型数目不一样,加起来没有比较的意义,min或者max倒是有可能的,但是选项里没有呀,选择题有时候细节就没有多给,不要想太多啦。
京公网安备 11010802022788号







