I am pretty struggling to understand the concept of ANOVA, why do we need such a process? I also notice during the model utility test(full model vs reduced model/ check whether any of estimated parameter is not important) we also call anova(). what is this test relationship with analysis of variance?
Appreciate for any comments.
aov
function is just a wrapper aroundlm
with extra arguments allowed in the formula (e.g., controlling theError
term), so you could uselm
directly to fit a two-way ANOVA, much like you could useglm
to fit a simple linear regression, after specifying the correctfamily
(gaussian). In the case of a linear regression model, you can provide a table of regression coefficients (with their individual significance level) and/or a table of regression for the model as a whole, as described in the above link, depending on what you're interested in. $\endgroup$