shipunov (version 1.13)

Normality: Check normality

Description

Check normality through Shapiro-Wilks test

Usage

Normality(x, p=0.05)

Arguments

x

numerical vector

p

level of significance

Value

Character vector of length one.

Details

Normality via Shapiro-Wilks test. Kolmogorov-Smirnov is apparently too weak for small samples. The word of caution: this function only helps to decide if the data complains with parametric methods ("normal").

See Also

qqnorm, hist, rnorm

Examples

Run this code
# NOT RUN {
Normality(rnorm(100))
sapply(trees, Normality)
# }

Run the code above in your browser using DataCamp Workspace