Questions about Comparing and Testing Two Groups in SAS.
(written at Notre Dame to cover material in Chapter 7 of SAS System for Elementary Statistical Analysis)
Click on the answer you think is most nearly correct.
1. To produce side-by-side charts using PROC CHART you use the option:
LEVEL = LEVELS= DISCRETE MIDPOINTS= GROUP=
2. If your data set does not contain a variable representing the difference between two of your existing variables of interest (i.e. womens's wage and men's wage) you can create this new difference variable using:
PROC TTEST. PROC MEANS. PROC UNIVARIATE. a SAS DATA section. PROC NPAR1WAY.
3. In testing for the difference between two means if you know the underlying distribution of your variables and that your observations are all independent of one another then the most appropriate tests to use is the:
two-sample t-test. paired difference t-test. Wilcoxon Rank Sum test. Wilcoxon Signed Rank test. two-sample sign test.
4. The Wilcoxon Rank Sum test is calculated for you when you use the WILCOXON option with:
PROC MEANS. PROC TTEST. PROC NPAR1WAY. PROC UNIVARIATE. PROC RANK.
5. A test for the difference between two population means based on paired sample observations in the parametric case can be carried out using either of the following two PROC's:
PROC MEANS and PROC UNIVARIATE. PROC MEANS and PROC TTEST. PROC TTEST and PROC UNIVARIATE. PROC UNIVARIATE and PROC NPAR1WAY. PROC RANK and PROC UNIVARIATE.