t*******8 发帖数: 170 | 1 QUESTION 111
A SAS PRINT procedure output of the WORK.LEVELS data set is listed below:
Obsname level
1 Frank 1
2 Joan 2
3 Sui 2
4 Jose 3
5 Burt 4
6 Kelly .
7 Juan 1
The following SAS program is submitted:
data work . expertise;
set work. levels;
if level = . then
expertise = 'Unknown';
else if level = 1 then
expertise = 'Low';
else if level = 2 or 3 then
expertise =' Medium';
else
expertise = 'High';
run;
Which of the following values does the variable EXPERTISE contain?
A. Low, Medium, and High | b******e 发帖数: 539 | 2 level = 2 or 3
is not the same as level = 2 or level = 3
it is the same as level = TRUE | t*******8 发帖数: 170 | 3 谢谢!我记住了。
【在 b******e 的大作中提到】 : level = 2 or 3 : is not the same as level = 2 or level = 3 : it is the same as level = TRUE
|
|