powered by
Correlation between observed residuals and expected residuals under normality.
ols_test_correlation(model)
An object of class lm.
lm
Correlation between fitted regression model residuals and expected values of residuals.
ols_corr_test() has been deprecated. Instead use ols_test_correlation().
ols_corr_test()
ols_test_correlation()
Other residual diagnostics: ols_plot_resid_box, ols_plot_resid_fit, ols_plot_resid_hist, ols_plot_resid_qq, ols_test_normality
ols_plot_resid_box
ols_plot_resid_fit
ols_plot_resid_hist
ols_plot_resid_qq
ols_test_normality
# NOT RUN { model <- lm(mpg ~ disp + hp + wt + qsec, data = mtcars) ols_test_correlation(model) # }
Run the code above in your browser using DataLab