When comparing 2 linear models in R with
anova(mod1, mod2), I used to get a nice output showing AIC, BIC, LogLik etc:
`Df AIC BIC logLik deviance Chisq Chi Df Pr(>Chisq) mod2 11 847 877 -412 825 mod1 12 849 882 -412 825 0 1 1`
However, I recently got a new computer, and with a fresh R install I now get a different output from running the same R markdown:
Res.Df RSS Df Sum of Sq F Pr(>F) 1 26 72.304 2 25 42.213 1 30.091 17.821 0.00028 ***
Don't worry about the specific values, these are from different datasets, but my problem is that I can't see how to change the format of the anova output so that I get the AIC, BIC etc.
There are plenty of examples on the web of model comparison anova's, and it seems an even split between the type of output (RSS v AIC etc).
But no-one addresses the question of how to change output preferences.
In fact, I have no idea how I happened to get the original output in the first place.
Any suggestions? I presume that there is some package (not) running to change the output of