由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - sas base 再问问
相关主题
SAS base 50题第29题求解惑这sas BASE 考试很坑爹..
Base sas/If else questions请教:三道SAS BASE题
asking for help with Proc SurveySelect again (THANK YOU !!!)问几道SAS Adv的题
Asking for SAS Programming III:Advanced Techniques问几道SAS ADV真题。多谢!
有关连接符的一道题问几道SAS Adv的题
请教一个123题的题目请教SAS ADV 最新真题
HELP!!!!!SAS123题之64和50题之37居然题目相同,答案不同!
请教sas123题中第59题。也弱问一个SAS里面genotype/SNP variable recoding的问题
相关话题的讨论汇总
话题: actor话题: joblevel话题: advanced话题: jobcode话题: unknown
进入Statistics版参与讨论
1 (共1页)
n*****5
发帖数: 61
1
A frequency report of the variable Jobcode in the Work.Actors data set is
listed
below.
Jobcode Frequency Percent Cumulative
Frequency Cumulative
Percent
Actor I 2 33.33 2 33.33
Actor II 2 33.33 4 66.67
Actor III 2 33.33 6 100.00
Frequency Missing = 1
The following SAS program is submitted:
data work.joblevels;
set work.actors;
if jobcode in ('Actor I', 'Actor II') then
joblevel='Beginner';
if jobcode='Actor III' then
joblevel='Advanced';
else joblevel='Unknown';
run;
Which of the following represents the possible values for the variable
joblevel in the
Work.Joblevels data set?
a. Advanced and Unknown only
b. Beginner and Advanced only
c. Beginner, Advanced, and Unknown
d. ' ' (missing character value)
Correct answer: a
why?不应该是b吗?
t*****w
发帖数: 254
2
else joblevel='Unknown';
will change the other into unknown;
if "if jobcode='Actor III' then joblevel='Advanced';" is changed into
"else if jobcode='Actor III' then joblevel='Advanced';",
the correct answer is b.
1 (共1页)
进入Statistics版参与讨论
相关主题
也弱问一个SAS里面genotype/SNP variable recoding的问题有关连接符的一道题
求高人指点,base 70题库中的第64题的答案为什么是5?请教一个123题的题目
question about SAS BASE 123 No.64?HELP!!!!!
Cleveland Clinic Job Opening - Data Scientist II请教sas123题中第59题。
SAS base 50题第29题求解惑这sas BASE 考试很坑爹..
Base sas/If else questions请教:三道SAS BASE题
asking for help with Proc SurveySelect again (THANK YOU !!!)问几道SAS Adv的题
Asking for SAS Programming III:Advanced Techniques问几道SAS ADV真题。多谢!
相关话题的讨论汇总
话题: actor话题: joblevel话题: advanced话题: jobcode话题: unknown