How to capitalize on a priori contrasts in linear (mixed) models: A tutorial
Daniel J. Schad, Shravan Vasishth, Sven Hohenstein, Reinhold Kliegl

TL;DR
This tutorial explains how to properly specify and interpret a priori contrasts in linear and mixed models, emphasizing their importance over omnibus F-tests for testing specific hypotheses in factorial experiments.
Contribution
It provides a comprehensive explanation of various contrast types, their properties, and implementation in R, including the use of the generalized inverse for custom hypotheses.
Findings
Contrasts offer more informative tests than omnibus F-tests.
Proper contrast coding is essential for accurate hypothesis testing.
Reproducible R code demonstrates practical application.
Abstract
Factorial experiments in research on memory, language, and in other areas are often analyzed using analysis of variance (ANOVA). However, for effects with more than one numerator degrees of freedom, e.g., for experimental factors with more than two levels, the ANOVA omnibus F-test is not informative about the source of a main effect or interaction. Because researchers typically have specific hypotheses about which condition means differ from each other, a priori contrasts (i.e., comparisons planned before the sample means are known) between specific conditions or combinations of conditions are the appropriate way to represent such hypotheses in the statistical model. Many researchers have pointed out that contrasts should be "tested instead of, rather than as a supplement to, the ordinary `omnibus' F test" (Hays, 1973, p. 601). In this tutorial, we explain the mathematics underlying…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
