Normality: Check normality

View source: R/aaa.r

NormalityR Documentation

Check normality

Description

Check normality through Shapiro-Wilks test

Usage

Normality(x, p=0.05)

Arguments

x

numerical vector

p

level of significance

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").

Value

Character vector of length one.

Author(s)

Alexey Shipunov

See Also

qqnorm, hist, rnorm

Examples

Normality(rnorm(100))
sapply(trees, Normality)

shipunov documentation built on Feb. 16, 2023, 9:05 p.m.

Related to Normality in shipunov...