powered by
Chart for identifying outliers.
ols_plot_resid_stand(model)
An object of class lm.
lm
ols_plot_resid_stand returns a list containing the following components:
ols_plot_resid_stand
a tibble with observation number and standardized resiudals that exceed threshold
standardized resiudals
threshold
threshold for classifying an observation as an outlier
ols_srsd_chart() has been deprecated. Instead use ols_plot_resid_stand().
ols_srsd_chart()
ols_plot_resid_stand()
Standardized residual (internally studentized) is the residual divided by estimated standard deviation.
[ols_plot_resid_stud()]
# NOT RUN { model <- lm(mpg ~ disp + hp + wt, data = mtcars) ols_plot_resid_stand(model) # }
Run the code above in your browser using DataLab