New Year Sale 2026! 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 3 Question 55 Discussion

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

Which PROC MEANS program creates the report below?

Show Suggested Answer Hide Answer
Suggested Answer: A

The PROC MEANS statement is used to compute descriptive statistics of data in SAS. Option A is the correct code to produce the report shown in the first image because of the following reasons:

data=sashelp.shoes specifies the dataset on which the procedure is to be performed.

sum mean specifies that the summary statistics should include the sum and mean of the variables.

var Sales; specifies that the variable Sales is the analysis variable for which the summary statistics are to be computed.

class Product; specifies that the procedure should classify results by unique values of the Product variable. This will produce separate statistics for each type of product, which aligns with the structure of the report provided in the image.

Options B, C, and D are incorrect for the following reasons:

B uses group instead of class, and group is not a valid statement in the context of PROC MEANS. Also, var Sale; is incorrect as the variable name is Sales.

C includes nobe; which is not a valid SAS option and seems to be a typo. The by statement is used for sorting data, not for classifying groups as class does.

D incorrectly uses sum Salad; and mean Sales; as separate statements and has an invalid use of by product; which is not needed here.


SAS 9.4 documentation for the PROC MEANS statement: SAS Help Center: PROC MEANS

Contribute your Thoughts:

0/2000 characters

Currently there are no comments in this discussion, be the first to comment!


Save Cancel