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.
aovfunction is just a wrapper aroundlmwith extra arguments allowed in the formula (e.g., controlling theErrorterm), so you could uselmdirectly to fit a two-way ANOVA, much like you could useglmto 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. – chl Oct 23 '20 at 17:04