Description Usage Arguments Value References See Also Examples
A function for computing various residual-based and influence-based quantities from a linear regression fit using lm
or a generalized linear regression fit using glm
.
1 | logdiag(out)
|
out |
An object of class |
logdiag
returns a data frame with the following columns:
r.i |
The raw residuals. |
p.i |
The Pearson residuals. |
d.i |
The deviance residuals. |
stud.r.i |
The Studentized raw residuals. |
stud.p.i |
The Studentized Pearson residuals. |
stud.d.i |
The Studentized deviance residuals. |
h.ii |
The leverage values. |
C.i |
The Cook's distance value. |
C.i.bar |
The average Cook's distance value when omitting observation i. |
DFDEV |
The change in the deviance statistic when omitting observation i. |
DFCHI |
The change in the Pearson's chi-square statistic when omitting observation i. |
fit |
The estimated response (fitted) values. |
Young, D. S. (2017), Handbook of Regression Methods, CRC Press.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.