boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - 请教2个sas base问题
相关主题
请教SAS base 70题中的55题
SAS data merge求助
[合集] SAS的一个问题
求助:Import .sas7bdat to R
how to combine characters and numric variable in "where" clause by SAS?urgent!
SAS 怎样在Character value 里面输入numerical value
SAS Base 50题中的30和33题疑问
求SAS code
问个SAS问题
SAS问题求助
相关话题的讨论汇总
话题: sas话题: value话题: yr话题: day话题: mdy
进入Statistics版参与讨论
1 (共1页)
s****4
发帖数: 8
1
I didn't have SAS to test the result. Thanks for your input.
Q1:
The following SAS program is submitted:
data WORK.DATE_INFO;
Day="01" ;
Yr=1960 ;
X=mdy(Day,01,Yr) ;
run;
What is the value of the variable X?
A.
the numeric value 0
B.
the character value "01011960"
C.
a missing value due to syntax errors
D.
the step will not compile because of
the character argument in the mdy function.
Q2:
The following SAS program is submitted:
data WORK.ACCOUN
s**********e
发帖数: 63
2
Copy and past to the SAS, you will know the answer!
D******6
发帖数: 6211
3
第一个答案是0。我在sas里run过了。
第二个应该是出错。。。

【在 s****4 的大作中提到】
: I didn't have SAS to test the result. Thanks for your input.
: Q1:
: The following SAS program is submitted:
: data WORK.DATE_INFO;
: Day="01" ;
: Yr=1960 ;
: X=mdy(Day,01,Yr) ;
: run;
: What is the value of the variable X?
: A.

1 (共1页)
进入Statistics版参与讨论
相关主题
SAS问题求助
Question: Emacs + ESS for SAS
SAS advanced 真题中请教一题
sas adv 63题 第11
sas adv 63题 11 (重发)
SAS ADV 63题第11题求助
问三题SAS Base的题目
a question regarding sas programming
What is wrong with following code?
sas一问
相关话题的讨论汇总
话题: sas话题: value话题: yr话题: day话题: mdy