| Line 1... |
Line 1... |
| 1 |
% File src/library/stats/man/lm.influence.Rd
|
1 |
% File src/library/stats/man/lm.influence.Rd
|
| 2 |
% Part of the R package, https://www.R-project.org
|
2 |
% Part of the R package, https://www.R-project.org
|
| 3 |
% Copyright 1995-2024 R Core Team
|
3 |
% Copyright 1995-2026 R Core Team
|
| 4 |
% Distributed under GPL 2 or later
|
4 |
% Distributed under GPL 2 or later
|
| 5 |
|
5 |
|
| 6 |
\name{lm.influence}
|
6 |
\name{lm.influence}
|
| 7 |
\title{Regression Diagnostics}
|
7 |
\title{Regression Diagnostics}
|
| 8 |
\alias{lm.influence}
|
8 |
\alias{lm.influence}
|
| Line 68... |
Line 68... |
| 68 |
that aliased coefficients are not included in the matrix.}
|
68 |
that aliased coefficients are not included in the matrix.}
|
| 69 |
\item{sigma}{a vector whose i-th element contains the estimate
|
69 |
\item{sigma}{a vector whose i-th element contains the estimate
|
| 70 |
of the residual standard deviation obtained when the i-th
|
70 |
of the residual standard deviation obtained when the i-th
|
| 71 |
case is dropped from the regression. (The approximations needed for
|
71 |
case is dropped from the regression. (The approximations needed for
|
| 72 |
GLMs can result in this being \code{NaN}.)}
|
72 |
GLMs can result in this being \code{NaN}.)}
|
| 73 |
\item{wt.res}{a vector of \emph{weighted} (or for class \code{glm}
|
73 |
\item{wt.res}{a vector of \emph{weighted} residuals.}
|
| 74 |
rather \emph{deviance}) residuals.}
|
- |
|
| 75 |
|
74 |
|
| 76 |
\code{qr.influence()} returns list with the two components \code{hat} and
|
75 |
\code{qr.influence()} returns list with the two components \code{hat} and
|
| 77 |
\code{sigma}, as above but without \code{\link{names}}.
|
76 |
\code{sigma}, as above but without \code{\link{names}}.
|
| 78 |
}
|
77 |
}
|
| 79 |
\note{
|
78 |
\note{
|
| Line 89... |
Line 88... |
| 89 |
to the situation in S).
|
88 |
to the situation in S).
|
| 90 |
|
89 |
|
| 91 |
If a model has been fitted with \code{na.action = na.exclude} (see
|
90 |
If a model has been fitted with \code{na.action = na.exclude} (see
|
| 92 |
\code{\link{na.exclude}}), cases excluded in the fit \emph{are}
|
91 |
\code{\link{na.exclude}}), cases excluded in the fit \emph{are}
|
| 93 |
considered here.
|
92 |
considered here.
|
| - |
|
93 |
|
| - |
|
94 |
These functions call \code{\link{weighted.residuals}()} so it is
|
| - |
|
95 |
assumed that the methods for \code{residuals()} and \code{weights()}
|
| - |
|
96 |
accept \code{type="working"}.
|
| 94 |
}
|
97 |
}
|
| 95 |
\references{
|
98 |
\references{
|
| 96 |
See the list in the documentation for \code{\link{influence.measures}}.
|
99 |
See the list in the documentation for \code{\link{influence.measures}}.
|
| 97 |
|
100 |
|
| 98 |
\bibshow{R:Chambers:1992:c4}}
|
101 |
\bibshow{R:Chambers:1992:c4}}
|