The data used in Chapter 13 Table 12.

1 | ```
data("chapter_13_table_12")
``` |

A data frame with 8 observations on the following 2 variables.

`linear`

linear D variable

`quad`

quadratic D variable

For the hypothetical data contained in Table 13.2, the linear and quadratic D variables were formed by making use of the appropriate coefficients from Appendix Table A.10. Because the eight participants were measured at three occasions, both a linear and a quadratic effect can be tested. The question of interest in this instance is: "is there a linear and/or quadratic trend exhibited by the group over time?" Recall that in the book (pages 646-647) it was shown that the D variables for linear and quadratic effects led to an omnibus F test of 19.148, which was a value previously obtained for the omnibus effect. Because the particular values chosen for the D variables do not matter (unless it leads to a linear combination of columns), we will focus only on the tests of the individual contrasts when analyzing the data given in Table 12.

Because columns one and two already represent the linear and quadratic effect respectively, all that needs to be done is to test mean of the column in order to determine if it differs from zero. The easiest way to do this is by making use of the T-Test procedure. Note that because we are interested in testing whether the linear and/or quadratic components are significantly different from zero, the /TESTVAL (i.e., the value of the null hypothesis) should be specified as zero. Below gives the code for the linear and then for the quadratic polynomial effect.

Maxwell, S. E., Delaney, H. D., & Kelley, K. (forthcoming). Designing experiments and analyzing data: A model comparison perspective. Taylor & Francis.

Maxwell, S. E., Delaney, H. D., & Kelley, K. (forthcoming). Designing experiments and analyzing data: A model comparison perspective. Taylor & Francis.

1 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.