ols_test_correlation {olsrr} | R Documentation |
Correlation test for normality
Description
Correlation between observed residuals and expected residuals under normality.
Usage
ols_test_correlation(model)
Arguments
model |
An object of class |
Value
Correlation between fitted regression model residuals and expected values of residuals.
See Also
Other residual diagnostics:
ols_plot_resid_box()
,
ols_plot_resid_fit()
,
ols_plot_resid_hist()
,
ols_plot_resid_qq()
,
ols_test_normality()
Examples
model <- lm(mpg ~ disp + hp + wt + qsec, data = mtcars)
ols_test_correlation(model)
[Package olsrr version 0.6.0 Index]