Chart for identifying outliers.

ols_plot_resid_stand(model)

Arguments

model

An object of class lm.

Value

ols_plot_resid_stand returns a list containing the following components:

outliers

a tibble with observation number and standardized resiudals that exceed threshold

for classifying an observation as an outlier
threshold

threshold for classifying an observation as an outlier

Details

Standardized residual (internally studentized) is the residual divided by estimated standard deviation.

Deprecated Function

ols_srsd_chart() has been deprecated. Instead use ols_plot_resid_stand().

See also

[ols_plot_resid_stud()]

Examples

model <- lm(mpg ~ disp + hp + wt, data = mtcars) ols_plot_resid_stand(model)