a*******a 发帖数: 1336 | 1 为什么是C呢,谢谢
45. The SAS data set TEMP has the following distribution of values for
variable A:
TEMP
A Frequency
1 500,000
2 500,000
6 7,000,000
8 3,000
Which SAS pr ogram
requires the least amount of CPU resources to be processed?
A.data new; set temp; if a = 8 then b = 'Small '; else if a in(1, 2) then b
= 'Medium'; else if a
= 6 then b = 'Large'; run;
B.data new; set temp; if a in (1, 2) then b = 'Medium'; else if a = 8 then b
= 'Small'; else if a
= 6 then b = 'Large'; run;
C.data new; set te | o******t 发帖数: 58 | 2 rule: "Check the most frequently occuring conditions first". see Utilizing
Best Practices. |
|