Open jcochero opened 4 years ago
APA tables uses Type III Sum of Squares - as per SPSS. See details to reproduce numbers below: David
library(apaTables) library(car)
options(contrasts = c("contr.helmert", "contr.poly"))
lm_output <- lm(attractiveness ~ gender*alcohol, data = goggles)
Anova(lm_output, type = 3) apa.aov.table(lm_output)
Thank you so much @dstanley4, I see the difference now. Great work, love apaTables!
Hi everyone! Why do I get different results between summary() and the output from apa.aov.table? Different sum squares, p values, etc. Thanks in advance!
Example using goggles
lm_output <- aov(attractiveness ~ gender*alcohol, data = goggles)
summary(lm_output)
apa.aov.table(lm_output, filename = "table_APA.doc")