Description Usage Arguments Details Value Deprecated Function See Also Examples
View source: R/ols-studentized-residual-plot.R
Graph for identifying outliers.
1 | ols_plot_resid_stud(model, print_plot = TRUE)
|
model |
An object of class |
print_plot |
logical; if |
Studentized deleted residuals (or externally studentized residuals) is the deleted residual divided by its estimated standard deviation. Studentized residuals are going to be more effective for detecting outlying Y observations than standardized residuals. If an observation has an externally studentized residual that is larger than 3 (in absolute value) we can call it an outlier.
ols_plot_resid_stud
returns a list containing the
following components:
outliers |
a |
for classifying an observation as an outlier
threshold |
|
ols_srsd_plot()
has been deprecated. Instead use ols_plot_resid_stud()
.
[ols_plot_resid_stand()]
1 2 | model <- lm(mpg ~ disp + hp + wt, data = mtcars)
ols_plot_resid_stud(model)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.