• search hit 42 of 309
Back to Result List

How to capitalize on a priori contrasts in linear (mixed) models

  • 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 different kinds of contrasts (i.e., treatment, sum, repeated, polynomial, custom, nested, interaction contrasts), discuss their properties, andFactorial 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 different kinds of contrasts (i.e., treatment, sum, repeated, polynomial, custom, nested, interaction contrasts), discuss their properties, and demonstrate how they are applied in the R System for Statistical Computing (R Core Team, 2018). In this context, we explain the generalized inverse which is needed to compute the coefficients for contrasts that test hypotheses that are not covered by the default set of contrasts. A detailed understanding of contrast coding is crucial for successful and correct specification in linear models (including linear mixed models). Contrasts defined a priori yield far more useful confirmatory tests of experimental hypotheses than standard omnibus F-tests. Reproducible code is available from https://osf.io/7ukf6/.show moreshow less

Export metadata

Additional Services

Search Google Scholar Statistics
Metadaten
Author details:Daniel SchadORCiDGND, Shravan VasishthORCiDGND, Sven HohensteinORCiD, Reinhold KlieglORCiDGND
DOI:https://doi.org/10.1016/j.jml.2019.104038
ISSN:0749-596X
ISSN:1096-0821
Title of parent work (English):Journal of memory and language
Subtitle (English):a tutorial
Publisher:Elsevier
Place of publishing:San Diego
Publication type:Article
Language:English
Date of first publication:2019/10/12
Publication year:2020
Release date:2022/09/26
Tag:a priori; contrasts; hypotheses; linear models; null hypothesis significance testing
Volume:110
Article number:104038
Number of pages:40
Funding institution:Deutsche Forschungsgemeinschaft (DFG)German Research Foundation (DFG); [Sonderforschungsbereich 1287, 317633480]; University of Potsdam; [Forschergruppe 1617, SCHA 1971/2]; Volkswagen FoundationVolkswagen [89; 953]
Organizational units:Humanwissenschaftliche Fakultät / Strukturbereich Kognitionswissenschaften / Department Linguistik
Humanwissenschaftliche Fakultät / Strukturbereich Kognitionswissenschaften / Department Psychologie
DDC classification:4 Sprache / 41 Linguistik
Peer review:Referiert
Publishing method:Open Access / Hybrid Open-Access
License (German):License LogoCC-BY - Namensnennung 4.0 International
Accept ✔
This website uses technically necessary session cookies. By continuing to use the website, you agree to this. You can find our privacy policy here.