由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - 请教:三道SAS BASE题
相关主题
SAS -proc transpose 急问!如何把一个variable中missing 的observation 付上非missing observation 的value
[合集] 问个SAS的问题问个sas的小问题。
求教proc sql 问题sas help
SAS问题求助!问:how to select cases in SPSS
SAS how to change variables' nameHow to combine overlapped data
a SAS problem问一个sas改大量的variable name的问题
ask for help (urgent): A SAS questionquestion about SAS BASE 123 No.64?
About ID in sasSAS问题
相关话题的讨论汇总
话题: jcode话题: jobcode话题: set话题: data话题: output
进入Statistics版参与讨论
1 (共1页)
s*****z
发帖数: 202
1
下周就考,还有以下三个问题不明白
第一道是
62. The following SAS program is submitted:
data work.company;
set work.dept1(keep = jobcode)
work.dept2(rename = (jcode = jobcode));
run;
Which one of the following is the result?
A. The variable JCODE is written to the output data set.
B. The variable JOBCODE is written to the output data set.
C. Neither variable JCODE nor JOBCODE is written to the output data set.
D. The program fails to execute due to errors.
Answer: B
不明白为什么jcode没有写入output data set.
第二道题是
89. The value
A*********u
发帖数: 8976
2
1 jcode was renamed
2 $,.都要算
3 level = 2 or 3
等价于
(levle = 2) or 3
since 3 is forever true, level = 2 or 3 is forever true
should be
level = 2 or level =3
or
level in (2,3)

下周就考,还有以下三个问题不明白
第一道是
62. The following SAS program is submitted:
data work.company;
set work.dept1(keep = jobcode)
work.dept2(rename = (jcode = jobcode));
run;
Which one of the following is the result?
A. The variable JCODE is written to the output data set.
B. The variable JOBCODE is written to the output data set.
C. Neit

【在 s*****z 的大作中提到】
: 下周就考,还有以下三个问题不明白
: 第一道是
: 62. The following SAS program is submitted:
: data work.company;
: set work.dept1(keep = jobcode)
: work.dept2(rename = (jcode = jobcode));
: run;
: Which one of the following is the result?
: A. The variable JCODE is written to the output data set.
: B. The variable JOBCODE is written to the output data set.

s*****z
发帖数: 202
3
that is tricky, Thanks a million!!

【在 A*********u 的大作中提到】
: 1 jcode was renamed
: 2 $,.都要算
: 3 level = 2 or 3
: 等价于
: (levle = 2) or 3
: since 3 is forever true, level = 2 or 3 is forever true
: should be
: level = 2 or level =3
: or
: level in (2,3)

1 (共1页)
进入Statistics版参与讨论
相关主题
SAS问题SAS how to change variables' name
请教SAS变量重命名a SAS problem
菜鸟的SAS问题,向高手求助ask for help (urgent): A SAS question
[合集] 请教几道adv题About ID in sas
SAS -proc transpose 急问!如何把一个variable中missing 的observation 付上非missing observation 的value
[合集] 问个SAS的问题问个sas的小问题。
求教proc sql 问题sas help
SAS问题求助!问:how to select cases in SPSS
相关话题的讨论汇总
话题: jcode话题: jobcode话题: set话题: data话题: output