Using R formulae to test for main effects in the presence of higher-order interactions
Roger Levy

TL;DR
This paper explains how to test for main effects in the presence of higher-order interactions using R, addressing the complexities of model parameterization in regression and mixed-effects models.
Contribution
It provides practical guidance and worked examples for conducting these tests in R, bridging the gap between traditional ANOVA and modern regression approaches.
Findings
Guidance on parameterizing models for main effect tests
Worked examples demonstrating the testing process
Clarification of differences between ANOVA and regression testing
Abstract
Traditional analysis of variance (ANOVA) software allows researchers to test for the significance of main effects in the presence of interactions without exposure to the details of how the software encodes main effects and interactions to make these tests possible. Now that increasing numbers of researchers are using more general regression software, including mixed-effects models, to supplant the traditional uses of ANOVA software, conducting such tests generally requires greater knowledge of how to parameterize one's statistical models appropriately. Here I present information on how to conduct such tests using R, including relevant background information and worked examples.
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.
Taxonomy
TopicsData Analysis with R
