Specifying Univariate and Multivariate Between-Groups Designs - One-Way Between-Groups ANOVA and Contrast Analysis
For example, you can assign the text label Book 1 to a student if he or she was in the class in which the first algebra textbook was used; you can assign the text label Book 2 if the respective student was in the class in which the second algebra textbook was used, and you can assign the text label Book 3 if the student participated in the class in which the third algebra textbook was used. The resulting data file looks like this:
Independent Variable | Dependent Variable |
Book 1 | 23 |
Book 3 | 48 |
Book 3 | 26 |
Book 2 | 27 |
Book 1 | 43 |
Book 1 | 39 |
Book 2 | 30 |
- | - |
- | - |
- | - |
In this example, the grouping variable only contains the three different text codes that you entered in order to code the between-groups factor. If a datafile contains cases with numeric or text labels for the grouping variable that were not specified in the list of valid codes, those cases are excluded from the analysis. Note that when entering data into the file, it is not necessary to enter the subjects (cases) in any particular order.
- The contrast must have as many coefficients as there are levels for the respective factor.
- Groups to be omitted in the contrast are given a 0 (zero).
- Groups that are to be compared against each other are assigned positive or negative integer values, respectively; however, it is important that the sum of such contrast coefficients is equal to zero.
- Groups that are to be collapsed in the contrast are assigned identical integer values.
For example, if you wanted to compare group 1 with groups 2 and 3 combined, the proper set of contrast coefficients would be 2, -1, -1. If you wanted to compare group 2 against groups 1 and 3 combined, the proper contrast would be 1, -2, and 1. If you wanted to compare group 2 with group 3 (ignoring group 1), the proper contrast would be 0, 1, and -1.
Independent Variable | Dependent Variables | ||
Book 1 | 23 | 24 | 28 |
Book 3 | 48 | 43 | 40 |
Book 3 | 26 | 38 | 21 |
Book 2 | 27 | 29 | 35 |
Book 1 | 43 | 42 | 42 |
Book 1 | 39 | 40 | 31 |
Book 2 | 30 | 29 | 27 |
- | - | - | - |
- | - | - | - |
- | - | - | - |
In order to perform a multivariate analysis of variance (MANOVA) of the three test scores, enter all three variables into the dependent variable list. When subsequently testing the main effect or planned comparisons, both multivariate test results (for all dependent variables simultaneously) and the results of the univariate tests (testing one variable at a time) will be calculated.
The manner in which planned comparisons are specified is basically identical to the univariate case. However, when entering contrast coefficients for a planned comparison, you also have the option to enter contrasts for the dependent variables. To do this, you will first need to select the Yes option button in the Contrasts for dependent variables group box on the GLM and ANOVA Results - Comps tab.