A00-240 Exam QuestionsBrowse all questions from this exam

A00-240 Exam - Question 17


The SAS data set RESULT contains the following variables:

✑ Region (GrpA or GrpB)

✑ Sales (dollars per year)

Which SAS programs can be used to find the p-value for comparing GrpA sales with GrpB sales? (Choose two.)

A.

B.

C.

D.

Show Answer
Correct Answer:

To compare the sales between GrpA and GrpB, you can use a t-test or analysis of variance (ANOVA). In SAS, the `proc ttest` and `proc glm` procedures are suitable for these purposes. The correct programs are the following: A and C. Response A uses the `proc ttest`, which directly compares the means of two groups specified by the `class` statement. Response C employs the `proc glm` for ANOVA, where the class statement is used to define the categorical variable (Region), and the model specifies the relationship between sales and region. Option B is incorrect as it wrongly uses the `model` statement with `proc ttest`, and option D is also incorrect because it specifies the `class` statement improperly for a continuous variable like Sales. Therefore, the correct answers are A and C.

Discussion

4 comments
Sign in to comment
test1234512w
Sep 26, 2020

Answer should be A,C. In PROC TEST there is no model.

Unorich
Oct 8, 2020

These questions have so many errors... A,C should be correct answers.

Dkonat
Oct 25, 2020

I think AC are the correct answer

chuck
Mar 14, 2021

A and C are correct. In B the ttest proc is using the model keyword, which is wrong