RESUMEN
We adopt a causal inference perspective to shed light into which ANOVA type of sums of squares (SS) should be used for testing main effects and whether main effects should be considered at all in the presence of interactions. We consider balanced, proportional and nonorthogonal designs, and models with and without interactions. When the design is balanced, we show that the average treatment effect is estimated by the main effects obtained by type I, II, and III sums of squares. In proportional designs, we show that the average treatment effect is estimated by the the type I and type II main effects, whereas type III SS yield biased estimates of the average treatment effect if there are interactions. When the design is nonorthogonal, ANOVA type I is always highly biased and ANOVA type II and III main effects are biased if there are interactions. We include a simulation study to illustrate the magnitude of the bias in estimating the average treatment effect across a variety of conditions, and provide recommendations for applied researchers.