Standardized residual chartSource:
Chart for identifying outliers.
An object of class
Threshold for detecting outliers. Default is 2.
TRUE, prints the plot else returns a plot object.
ols_plot_resid_stand returns a list containing the
data.framewith observation number and
standardized resiudalsthat exceed
for classifying an observation as an outlier
thresholdfor classifying an observation as an outlier
Standardized residual (internally studentized) is the residual divided by estimated standard deviation.
model <- lm(mpg ~ disp + hp + wt, data = mtcars) ols_plot_resid_stand(model) ols_plot_resid_stand(model, threshold = 3)