Companion to Applied Regression, providing functions for ANOVA, regression, and statistical model analysis in R.
This document is the user manual for the 'car' package in R, a companion to Applied Regression. It provides functions for analysis of variance, regression, and other statistical models. The package includes functions for calculating type-II and type-III ANOVA tables, model diagnostics, and various statistical tests. It supports multiple model types including linear, generalized linear, and mixed-effects models. The manual details usage, arguments, and methods for functions such as Anova, Manova, and various diagnostic plots.
The function calculates analysis-of-variance tables for models produced by lm, glm, multinom, polr, coxph, coxme, svyglm, svycoxph, rlm, lmer, lme, and most models with a linear predictor.
For generalized linear models, the function calculates likelihood-ratio chisquare, Wald chisquare, or F-tests.
The function can compute Pillai, Wilks, Hotelling-Lawley, or Roy multivariate test statistics, with Pillai as the default.