Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

SAS Exam A00-231 Topic 3 Question 9 Discussion

Actual exam question for SAS's A00-231 exam
Question #: 9
Topic #: 3
[All A00-231 Questions]

The following SAS program is submitted:

proc means data=work.schools median;

run;

Assume thatWork.Schoolshas two numeric variables and the following PROC MEANS report is produced:

Which of the following SAS statements completes the program and creates the desired report? Select one:

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Rolande
4 days ago
Option B, because if it's good enough for the PROC MEANS procedure, it's good enough for me! SAS knows what it's doing, right?
upvoted 0 times
...
Phillip
5 days ago
Ah, the age-old debate: BY vs CLASS. I'm going with option B just to be on the safe side. Gotta love those SAS syntax rules!
upvoted 0 times
...
Annmarie
24 days ago
Wait, I thought we were supposed to use the BY statement to split the report by location. Option D seems like the right choice to me.
upvoted 0 times
Heike
10 days ago
Yes, option D is the correct choice to achieve the desired report.
upvoted 0 times
...
Yuette
13 days ago
I agree, using the BY statement with ID location will split the report by location.
upvoted 0 times
...
...
Verdell
1 months ago
I'm not sure, but I think D) by location; id location; could also work.
upvoted 0 times
...
Vince
1 months ago
Haha, 'group by location'? That's so SQL-esque. Nah, gotta go with the SAS way - option B, baby!
upvoted 0 times
Vinnie
3 days ago
Yeah, definitely sticking with the SAS way. Option B it is!
upvoted 0 times
...
Telma
13 days ago
I agree, 'group by location' does sound more like SQL. Option B seems like the way to go.
upvoted 0 times
...
...
Alline
1 months ago
I agree with Lucina, using class location makes sense for grouping.
upvoted 0 times
...
Lucina
1 months ago
I think the answer is B) class location.
upvoted 0 times
...
Rosalind
1 months ago
This is a classic case of needing to use the CLASS statement to group the data. Option B for the win!
upvoted 0 times
Leslee
7 days ago
I agree, Option B is the correct answer. It's important to use the CLASS statement to group the data.
upvoted 0 times
...
Shanice
10 days ago
Yes, using the CLASS statement is essential in this case. Option B is the right choice.
upvoted 0 times
...
Lynda
15 days ago
Option B is correct. The CLASS statement is needed to group the data by location.
upvoted 0 times
...
...
Bulah
1 months ago
Hmm, the key here is to group the data by location. I think option B is the way to go.
upvoted 0 times
Giuseppe
8 days ago
Let's go with option B to complete the program and create the report.
upvoted 0 times
...
Carol
12 days ago
Yes, option B is the correct choice for this SAS program.
upvoted 0 times
...
Dong
15 days ago
I agree, grouping by location will give us the desired report.
upvoted 0 times
...
...

Save Cancel