ols_test_normality {AFR}R Documentation

Test for normality Test for detecting violation of normality assumption.

Description

Test for normality Test for detecting violation of normality assumption.

Usage

ols_test_normality(model, ...)

Arguments

model

an object of class lm.

...

Other arguments.

Value

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

Examples

data(macroKZ)
model <- lm(real_gdp ~ imp + exp + usdkzt + poil, data = macroKZ)
ols_test_normality(model)


[Package AFR version 0.3.5 Index]