inf.index {alr3} | R Documentation |
Provides index plots of Cook's distances, leverages, Studentized residuals and outlier significance levels for a regression object.
inf.index (m, cooks.distance = TRUE, rstudent = TRUE, outlier.t. test = TRUE, leverages = TRUE, ...) inf.index(m,cooks.distance,rstudent,outlier.t.test,leverages,...) inf.index.lm(m,cooks.distance=TRUE,rstudent=TRUE, outlier.t.test=TRUE,leverages=TRUE,...)
m |
A regression object |
cooks.distance |
If TRUE, plot Cook's distances |
rstudent |
If TRUE, plot the Studentized residuals |
outlier.t.test |
If TRUE, index plot n*2*qt(-abs(rstandard),m$df-1), the two-tailed significance levels for the outlier test based on the Bonferroni inequality |
leverages |
If TRUE, plot the leverages |
... |
Arguments passed to plot |
Used for its side effect of producing a graph.
Sanford Weisberg, sandy@stat.umn.edu
S. Weisberg (2005), Applied Linear Regression, third edition, Wiley, Chapter 8
data(rat) names(rat) m1 <- lm(y~BodyWt+LiverWt+Dose,data=rat) inf.index(m1)