Chapter 12, Table 21: Performing an ANOVA on a Latin Square Design Through SPSS Syntax

The data in Table 12.21 consist of hypothetical aggressiveness scores for 6 monkeys who have been exposed to three types of drugs (*A*, *B*, and *C*). In order to control for potential order effects, a Latin square design is utilized. In particular, two randomly constituted squares are formed with three monkeys randomly assigned to each square and also randomly assigned to the particular row of the square that assigns the order that they are exposed to treatment

The hypothesis of primary interest is whether the drugs differ in their effectiveness in controlling aggression in the monkeys. Thus, the test of the condition main effect is of primary interest. The current SPSS syntax reproduces the results for test of the condition main effect shown on page 615:

At this point, click Run and then All to obtain the results.