©Richard Lowry, 1999-
All rights reserved.
Note that the data structure in the two-variable case takes the form of a rows-by-columns matrix. For economy of expression, it is conventional to speak of the "row variable" and the "column variable" in accordance with how the two independent variables are arrayed in the matrix. In the present example, drug A is the row variable and drug B is the column variable. |
Drug B| 0 units | 1 unit | Drug | A 0 | units r1c1 | 0 units of A 0 units of B r1c2 | 0 units of A 1 unit of B 1 | unit r2c1 | 1 unit of A 0 units of B r2c2 | 1 unit of A 1 unit of B | |||
| Drug B |
| ||||||||||||||
| 0 units | 1 unit | Drug | A 0 | units 5 | 5 | 5 | 1 | unit 5 | 5 | 5 |
| 5 | 5 | 5 | | |
| Drug B |
| ||||||||||||||
| 0 units | 1 unit | Drug | A 0 | units 5 | 10 | 7.5 | 1 | unit 10 | 15 | 12.5 |
| 7.5 | 12.5 | 10 | | |
In considering the effects of the two independent variables separately, what the two-way ANOVA actually looks at are the differences among the means of the row variable and the differences among the means of the column variable. By convention, these two sets of differences are spoken of as the "main effects" of the analysis, as distinguished from the "interaction effect," which is something above and beyond the two main effects. Thus, for the present scenario, the main effect for the row variable, drug A, is the difference between |
| Drug B |
| ||||||||||||||
| 0 units | 1 unit | Drug | A 0 | units 5 | 10 | 7.5 | 1 | unit 10 | 20 | 15 |
| 7.5 | 15 | 11.25 | | |
Note again that the main effects would consist of the difference between |
| Drug B |
| ||||||||||||||
| 0 units | 1 unit | Drug | A 0 | units 5 | 10 | 7.5 | 1 | unit 10 | 5 | 7.5 |
| 7.5 | 7.5 | 7.5 | | |
But note that in this scenario there would be no main effects for either rows or columns |
| Home | Click this link only if the present page does not appear in a frameset headed by the logo Concepts and Applications of Inferential Statistics |