Data from Chapter 2 from Table 2.2, page 22.

data list list /a score. begin data. 1 16 1 18 1 10 1 12 1 19 2 4 2 7 2 8 2 10 2 1 3 2 3 10 3 9 3 13 3 11 end data.

Table 4.4, page 70. Orthogonal contrasts in a one-way analysis of variance

NOTE1: Contrasts in SPSS are performed through the **lmatrix** option.

NOTE2: In an orthogonal contrast, the model sums of squares are uniquely partitioned
between the two comparisons.

glm score by a /lmatrix a 0 1 -1 /lmatrix a 1 -1/2 -1/2.

**Custom Hypothesis Tests #1**

**Custom Hypothesis Tests #2**

Non-orthogonal contrast, top of page 78.

NOTE: Unlike the previous orthogonal contrast, a non-orthogonal contrast does
not uniquely partition the model sums of squares.

glm score by a /lmatrix a 1 -1 0 /lmatrix a 1 0 -1.

**Custom Hypothesis Tests #1**

**Custom Hypothesis Tests #2**