Description Usage Arguments Details Value Deprecated Function See Also Examples
Plot for detecting violation of assumptions about residuals such as non-linearity, constant variances and outliers. It can also be used to examine model fit.
1 | ols_plot_resid_stud_fit(model)
|
model |
An object of class |
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 2 (in absolute value) we can call it an outlier.
ols_plot_resid_stud_fit
returns a list containing the
following components:
outliers |
a tibble with observation number, fitted values and deleted studentized
residuals that exceed the |
threshold |
|
ols_dsrvsp_plot()
has been deprecated. Instead use ols_plot_resid_stud_fit()
.
[ols_plot_resid_lev()], [ols_plot_resid_stand()], [ols_plot_resid_stud()]
1 2 | model <- lm(mpg ~ disp + hp + wt + qsec, data = mtcars)
ols_plot_resid_stud_fit(model)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.