Learn R Programming

AFR (version 0.3.6)

ols_test_normality: 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, ...)

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

Arguments

model

an object of class lm.

...

Other arguments.

Examples

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

Run the code above in your browser using DataLab