powered by
This function plots the results of a forward search analysis in linear regression models.
# S3 method for fwdlm plot(x, which.plots = 1:10, squared = FALSE, scaled = TRUE, ylim = NULL, xlim = NULL, th.Res = 2, th.Lev = 0.25, sig.Tst = 2.58, labels.in.plot = TRUE, ...)
a "fwdlm" object.
"fwdlm"
select which plots to draw, by default all. Each graph is addressed by an integer:
leverages
maximum studentized residuals
minimum deletion residuals
coefficients
statistics
forward Cook's distances
modified forward Cook's distances
\(S^2\) values
\(R^2\) values
logical, if TRUE plots squared residuals.
TRUE
logical, if TRUE plots scaled coefficient estimates.
a two component vector for the min and max of the y axis.
a two component vector for the min and max of the x axis.
numerical, a threshold for labelling the residuals.
numerical, a threshold for labelling the leverages.
numerical, a value (on the scale of the t statistics) used to draw the confidence interval on the plot of the t statistics.
logical, if TRUE units are labelled in the plots when required.
further arguments passed to or from other methods.
Originally written for S-Plus by: Kjell Konis kkonis@insightful.com and Marco Riani mriani@unipr.it Ported to R by Luca Scrucca luca@stat.unipg.it
Atkinson, A.C. and Riani, M. (2000), Robust Diagnostic Regression Analysis, First Edition. New York: Springer, Chapters 2-3.
fwdlm, fwdsco, fwdglm.
fwdlm
fwdsco
fwdglm
library(MASS) data(forbes) plot(forbes) mod <- fwdlm(100*log10(pres) ~ bp, data=forbes) summary(mod) if (FALSE) plot(mod)
Run the code above in your browser using DataLab