How to extract coefficients from sequential (type 1) ANOVAs using lmer and lme
I wantto run sequential ANOVAs (i.e. type I sums of squares), and trying to getresults including ANOVA tables and associated coefficients for predictive variables(I am using the R 3.4.2 version). I think ANOVA tables look right, but believecoefficients are wrong. Specifically, it looks like that the coefficients arefrom ANOVA with “marginal” (type III sums of squares). I have tried both lme (nlmepackage) and lmer (lme4 + lmerTEST packages). Examples of the results arebelow:
Ibelieve the results from summary() are for “marginal” instead of “sequential”ANOVA because the p-value (i.e., 0.237 for narea) in summary are identical tothose in tables from “marginal”. I also used lmer in the lme4 pacakge to findthe same results (summary() results look like from “marginal”).
Cananybody tell me how to get coefficients for “sequential” ANOVAs? Thank you.