Exam A00-240 All QuestionsBrowse all questions from this 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.

    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
Dkonat

I think AC are the correct answer

Unorich

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

test1234512w

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

chuck

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