Learn R Programming

⚠️There's a newer version (3.1-3) of this package.Take me there.

car (version 0.8-3)

Companion to Applied Regression

Description

This package contains mostly functions for applied regession, linear models, and generalized linear models, with an emphasis on regression diagnostics, particularly graphical diagnostic methods. There are also some utility functions. With some exceptions, I have tried not to duplicate capabilities in the basic distribution of R, nor in widely used packages. Some of the functions in car will use functions in the MASS package, if it is present; the plot.subsets function graphs objects produced by the regsubsets function in the leaps package. Where relevant, the functions in car are consistent with na.action = na.omit or na.exclude.

Copy Link

Version

Install

install.packages('car')

Monthly Downloads

522,153

Version

0.8-3

License

GPL version 2 or newer

Maintainer

John Fox

Last Published

September 27th, 2024

Functions in car (0.8-3)

plot.subsets

Plot Output from regsubsets Function in leaps package
reg.line

Plot Regression Line
box.cox.powers

Multivariate Unconditional Box-Cox Transformations
panel.car

Panel Function Coplots
Ellipses

Ellipses, Data Ellipses, and Confidence Ellipses
leverage.plots

Regression Leverage Plots
which.names

Position of Row Names
ncv.test

Score Test for Non-Constant Error Variance
outlier.test

Bonferroni Outlier Test
Deletion Diagnostics

Deletion Diagnostics for Linear and Generalized Linear Models
linear.hypothesis

Test Linear Hypothesis
car-internal

Internal car functions
Anova

Anova Tables for Linear and Generalized Linear Models
durbin.watson

Durbin-Watson Test for Autocorrelated Errors
box.cox.var

Constructed Variable for Box-Cox Transformation
box.tidwell

Box-Tidwell Transformations
spread.level.plot

Spread-Level Plots
vif

Variance Inflation Factors
Transformation Axes

Axes for Transformed Variables
Var

Variance-Covariance Matrices
scatterplot.matrix

Scatterplot Matrices
recode

Recode a Variable
ceres.plots

Ceres Plots
cr.plots

Component+Residual (Partial Residual) Plots
av.plots

Added-Variable Plots
n.bins

Number of Bins for Histogram
Ask

Change Argument to a Function Interactively
hccm

Heteroscedasticity-Corrected Covariance Matrices
box.cox

Box-Cox Family of Transformations
scatterplot

Scatterplots with Boxplots
logit

Logit Transformation
qq.plot

Quantile-Comparison Plots
Ginzberg

Data on Depression
Duncan

Duncan's Occupational Prestige Data
Guyer

Anonymity and Cooperation
Adler

Experimenter Expectations
Friendly

Format Effects on Recall
Davis

Self-Reports of Height and Weight
Mroz

U.S. Women's Labor-Force Participation
Moore

Status, Authoritarianism, and Conformity
Can.pop

Canadian Population Data
UN

GDP and Infant Mortality
Freedman

Crowding and Crime in U. S. Metropolitan Areas
Migration

Canadian Interprovincial Migration Data
Vocab

Vocabulary and Education
Mandel

Contrived Collinear Data
Burt

Fraudulent Data on IQs of Twins Raised Apart
Ericksen

The 1980 U.S. Census Undercount
Anscombe

U. S. State Public-School Expenditures
States

Education and Related Statistics for the U.S. States
SLID

Survey of Labour and Income Dynamics
Angell

Moral Integration of American Cities
Bfox

Canadian Women's Labour-Force Participation
Prestige

Prestige of Canadian Occupations
Baumann

Methods of Teaching Reading Comprehension
Leinhardt

Data on Infant-Mortality
Greene

Refugee Appeals
Hartnagel

Canadian Crime-Rates Time Series
Ornstein

Interlocking Directorates Among Major Canadian Firms
Robey

Fertility and Contraception
Florida

Florida County Voting
Sahlins

Agricultural Production in Mazulu Village
Quartet

Four Regression Datasets
Womenlf

Canadian Women's Labour-Force Participation
US.pop

Population of the United States
Chile

Voting Intentions in the 1988 Chilean Plebiscite
Chirot

The 1907 Romanian Peasant Rebellion