SAS_Institute
A00-201 · Question #74
The SAS data set EMPLOYEE_INFO is listed below: IDNumber Expenses 2542 100.00 3612 133.15 2198 270.34 3198 311.12 The following SAS program is submitted: proc sort data = employee_info; <insert BY…
The correct answer is B. By IDNumber Expenses. See the full explanation below for the reasoning.
Question
The SAS data set EMPLOYEE_INFO is listed below:
IDNumber Expenses
2542 100.00
3612 133.15
2198 270.34
3198 311.12
The following SAS program is submitted:
proc sort data = employee_info;
<insert BY statement here>
run;
Which one of the following BY statements completes the program and sorts the data sequentially by ascending expense values within each ascending IDNUMBER value?
Options
- ABy Expenses IDNumber;
- BBy IDNumber Expenses;
- CBy ascending (IDNumber Expenses);
- DBy ascending IDNumber ascending Expenses;
How the community answered
(47 responses)- A15% (7)
- B72% (34)
- C4% (2)
- D9% (4)
Community Discussion
No community discussion yet for this question.