View source: R/ols-normality-tests.R
ols_test_correlation | R Documentation |
Correlation between observed residuals and expected residuals under normality.
ols_test_correlation(model)
model |
An object of class |
Correlation between fitted regression model residuals and expected values of residuals.
Other residual diagnostics:
ols_plot_resid_box()
,
ols_plot_resid_fit()
,
ols_plot_resid_hist()
,
ols_plot_resid_qq()
,
ols_test_normality()
model <- lm(mpg ~ disp + hp + wt + qsec, data = mtcars)
ols_test_correlation(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.