|
|
楼主

楼主 |
发表于 2009-7-24 15:22:47
|
只看该作者
请教base123 考题,多谢~
想请问一下123题里的第13题和14题
A raw data file is listed below:
ranch,1250,2,1,sheppard avenue,"$64,000"
split,1190,1,1,rand street,"$65,850"
condo,1400,2,1.5,market street,"$80,050"
twostory,1810,4,3,garris street,"$107,250"
ranch,1500,3,3,kemble avenue,"$86,650"
split,1615,4,3,west drive,"$94,450"
split,1305,3,1.5,graham avenue,"$73,650"
The following sas program is submitted using the raw data file as input:
data work.condo_ranch;
infile 'file-spicification' dsd;
input style $ @;
if style='condo' or style='ranch' then
input sqfeet bedrooms baths street $ price : dollar10.;
run;
How many observations does the work.condo_ranch data set contain?
A.0 B.3 C.5 D.7
How many observations will the output data set contain?
A.0 B.3 C.5 D.7
这俩题的解题思路是什么呢?为什么work.condo_ranch data set的结果是7而output data set的结果是3呢?我运行了一下这两个结果不都是7么?这有何区别呢?有明白的人可以讲讲么,谢谢~ |
|