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 A00-215 Exam - Topic 9 Question 59 Discussion

Which PROC MEANS step generates the report below?
A) proc means data=class mean std; var Height Weight; run;
B) proc means data=class / mean std; mean (Height, Weight) ; std (Height, Weight) ; run;
C) proc means data=class; var mean std; run;
D) proc means data=class; options mean std; keep Height Weight; run;

SAS A00-215 Exam - Topic 9 Question 59 Discussion

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

Which PROC MEANS step generates the report below?

Show Suggested Answer Hide Answer
Suggested Answer: A

The correct syntax for generating the mean and standard deviation for specified variables using PROC MEANS is shown in option A. The PROC MEANS statement specifies the dataset to analyze (data=class) and includes the options (mean std) directly in the PROC statement. The VAR statement then lists the variables for which the statistics should be calculated (Height and Weight). The other options listed in B, C, and D are not correct syntax for PROC MEANS.


Contribute your Thoughts:

0/2000 characters
Avery
3 days ago
C doesn't seem to fit the report at all.
upvoted 0 times
...
Clay
9 days ago
I think B is the one, it has the right syntax.
upvoted 0 times
...
Ilda
14 days ago
Definitely A, looks right to me!
upvoted 0 times
...
Viki
19 days ago
C) doesn't make sense, you can't use var like that!
upvoted 0 times
...
Maryann
24 days ago
Wait, can you really use mean and std like that in B)?
upvoted 0 times
...
Louis
29 days ago
B) is confusing, I don't think that's valid.
upvoted 0 times
...
Brett
1 month ago
Totally agree, A) looks right!
upvoted 0 times
...
Joesph
1 month ago
A) is the correct syntax for PROC MEANS.
upvoted 0 times
...
Malcolm
1 month ago
I feel like the answer might be B, but I’m confused about the syntax for specifying mean and std. I thought they were just options in the PROC MEANS statement.
upvoted 0 times
...
Ryan
2 months ago
Option A looks familiar since it has the correct syntax for specifying the variables, but I’m not completely confident about the output it generates.
upvoted 0 times
...
Jame
2 months ago
I remember practicing a question where we had to specify statistics like mean and std, but I can't recall if it was in the VAR statement or elsewhere.
upvoted 0 times
...
Helga
2 months ago
I think the PROC MEANS step should include the variables directly in the VAR statement, but I'm not sure which option does that correctly.
upvoted 0 times
...
Ettie
2 months ago
I don’t recall seeing option D in our practice, but it doesn’t seem to follow the usual PROC MEANS structure, so I’m leaning away from it.
upvoted 0 times
...
Lyla
2 months ago
I'm a bit confused about option C; it seems like it’s missing the calculations for mean and std, which makes me doubt it.
upvoted 0 times
...
Clement
3 months ago
I remember practicing a question similar to this, and I feel like option B might be the right choice since it explicitly mentions mean and std.
upvoted 0 times
...
Nu
4 months ago
I think option A looks familiar, but I'm not sure if it includes the correct syntax for calculating mean and std.
upvoted 0 times
...

Save Cancel