Chapter 7: Analysing the Data Part IV : Analysis of Variance

# Scenario and Data Set #5 SPSS Instructions

1. Enter these data into SPSS and save the data as a file. Note carefully the format in which the data are entered. In this case, there are 20 subjects. Each subject gets a line of data to themselves.

2. Click on General Linear Model and then GLM- General Factorial... to open the required dialogue box.

3. Select the dependent variable (i.e., numcorr) and the independent variables (here Lecroom and Testroom).

4. We will also select options under Options... and Plot, Continue and then OK .

### Figure 7.9 Example of how data are entered into SPSS.

Notice how the data is set up. There are 20 participants and each has their own line of data. So you need two grouping variables (lecroom and testroom) and one dependent variable (numcorr). The lecroom variable identifies whether the person was in the small or large lecture room and the testroom variable identifies whether the person was in the small or large test room. The only measure taken from each person was the number correct in the test.

### Figure 7.10 Where to find two-way between groups ANOVA.

Figure 7.11 Select the Dependent Variable (numcorr) and the two Independent variables (lecroom and testroom)

Notice here, that I gave the variables more extensive labels when I defined the variables. These more extensive label are displayed here. The Fixed Factor box is the one we want. The next two screens are from selecting OptionsÉ and Plot

### Figure 7.12 Select Descriptive statistics and Homogeneity tests in this box

Notice we could select many more options here, but we will keep the output as simple as possible!