Normality function

Check normality

Check normality

Check normality through Shapiro-Wilks test

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

Returns

Character vector of length one.

Author(s)

Alexey Shipunov

See Also

qqnorm, hist, rnorm

Examples

Normality(rnorm(100)) sapply(trees, Normality)
  • Maintainer: ORPHANED
  • License: GPL (>= 2)
  • Last published: 2023-02-05

Useful links