Learn R Programming

normality

An R package as a toolkit of statistical approaches for assessing data normality.

There are also other nice alternatives such as nortest, Rita, moments, cmstatr, and other friends.

Installation

You can install the package from CRAN with:

install.packages("normality")

or the development version from GitHub with:

if (!require("devtools")) install.packages("devtools")
devtools::install_github("P10911004-NPUST/normality")

Quick start

is_normal(rnorm(20), summary = TRUE)

TODO

Implement normality tests based on:

1. Chi-Square type (may not implemented)

2. Empirical distribution function (EDF):

  • Kolmogorov_Smirnov_test()
  • Kuiper_test()
  • Anderson_Darling_test()
  • Cramer_von_Mises_test()
  • Lilliefors_test()

3. Moments:

  • skewness()
  • kurtosis()
  • Jarque_Bera_test()
  • D.Agostino_Pearson_test()

4. Regression and correlation:

Graphical analysis:

  • Q-Q plot
  • P-P plot

Miscellaneous:

  • [?] Searching...

Copy Link

Version

Install

install.packages('normality')

Version

0.0.3

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Joon-Keat Lai

Last Published

July 7th, 2026

Functions in normality (0.0.3)

is_normal

Normality test
Shapiro_Wilk_test

Shapiro-Wilk Normality Test
D.Agostino_Pearson_test

D'Agostino–Pearson K2 Normality Test
Jarque_Bera_test

Jarque-Bera Normality Test
Lilliefors_test

Lilliefors Normality Test
Anderson_Darling_test

Anderson-Darling Normality Test
is_tied

Tied data
Shapiro_Wilk_pval_table

Shapiro-Wilk normality test (p-values)
check_normality

Normality test
Shapiro_Wilk_coef_table

Shapiro-Wilk normality test (coefficients)
kurtosis

Kurtosis test
normality_standard_output

Standard output format
skewness

Skewness test