| ols_test_normality | R Documentation |
Test for normality Test for detecting violation of normality assumption.
ols_test_normality(model, ...) ## S3 method for class 'lm' ols_test_normality(model, ...)
model |
an object of class |
... |
Other arguments. |
ols_test_normality is a list containing the
following components:
kolmogorv |
kolmogorov smirnov statistic |
shapiro |
shapiro wilk statistic |
cramer |
cramer von mises statistic |
anderson |
anderson darling statistic |
model <- lm(real_gdp ~ imp + exp + usdkzt + poil, data = macroKZ) ols_test_normality(model)