由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - 请教SAS BASE的一个题目
相关主题
这sas BASE 考试很坑爹..请问一道SAS BASE的题目,THANKS~~~
请教一个base 123的问题,先谢谢大家了!!##问一个SAS BASE 问题##
请教两道BASE题,关于if then的SAS BASE Questions
Base 123 中的问题(已考古,没有历史资料)question about SAS BASE 123 NO.110
求助一道SAS advanced题目Base sas/If else questions
请问一道sas base的题请教sas adv的题
一个sas base问题不明白,请教再次请教 SAS ADV 题
SAS BASE 70 第 48 题答案是啥?help! a sas base problem
相关话题的讨论汇总
话题: sas话题: base话题: street话题: ranch话题: style
进入Statistics版参与讨论
1 (共1页)
y***q
发帖数: 99
1
SAS BASE 123的第13道
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"
data work.condo_ranch;
infile 'e:\SASdata\base13.xls' dsd;
input style $ @;
if style = 'condo' or style = 'ranch' then
input sqfeet bedrooms baths street $ price : dollar10.
c******s
发帖数: 85
2
I run a similar program and the answer is indeed 7.
The if statement only determines whether "sqfeet bedrooms baths street $
price" will be in the output, but it does not affect the No of observations.
Y**********8
发帖数: 67
3
同意
执行第一个input语句,input style就已经把所有obs读入了
假如在if..then..之后加个:else delete 估计会筛选出特定style的obs

observations.

【在 c******s 的大作中提到】
: I run a similar program and the answer is indeed 7.
: The if statement only determines whether "sqfeet bedrooms baths street $
: price" will be in the output, but it does not affect the No of observations.

1 (共1页)
进入Statistics版参与讨论
相关主题
help! a sas base problem求助一道SAS advanced题目
Sas base Question请问一道sas base的题
[SAS]请教:怎么判断folder里面是否包含某个file一个sas base问题不明白,请教
[合集] 刚过了Advanced SASSAS BASE 70 第 48 题答案是啥?
这sas BASE 考试很坑爹..请问一道SAS BASE的题目,THANKS~~~
请教一个base 123的问题,先谢谢大家了!!##问一个SAS BASE 问题##
请教两道BASE题,关于if then的SAS BASE Questions
Base 123 中的问题(已考古,没有历史资料)question about SAS BASE 123 NO.110
相关话题的讨论汇总
话题: sas话题: base话题: street话题: ranch话题: style