Using R formulae to test for main effects in the presence of higher-order interactions
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.
Keywords
Cite
@article{arxiv.1405.2094,
title = {Using R formulae to test for main effects in the presence of higher-order interactions},
author = {Roger Levy},
journal= {arXiv preprint arXiv:1405.2094},
year = {2018}
}
Comments
Minor update from version 1 to correct a small error in Section 3; thanks due to Kevin Tang for pointing out the error