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, 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("pak")) install.packages("pak")
pak::pak("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')

Monthly Downloads

241

Version

0.0.4

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Joon-Keat Lai

Last Published

August 22nd, 2026

Functions in normality (0.0.4)

is_normal

Normality test
check_normality

Normality test
Shapiro_Wilk_pval_table

Shapiro-Wilk normality test (p-values)
Shapiro_Wilk_test

Shapiro-Wilk Normality Test
Lilliefors_test

Lilliefors Normality Test
Anderson_Darling_test

Anderson-Darling Normality Test
D.Agostino_Pearson_test

D'Agostino–Pearson K2 Normality Test
Jarque_Bera_test

Jarque-Bera Normality Test
Cramer_von_Mises_test

Cramer-von Mises Normality Test
Shapiro_Wilk_coef_table

Shapiro-Wilk normality test (coefficients)
is_tied

Tied data
kurtosis

Kurtosis test
skewness

Skewness test
normality_standard_output

Standard output format