Tests for Departure from Normality

A toolkit for assessing data normality using a comprehensive collection of statistical methods. It includes descriptive measures and formal hypothesis tests, such as skewness and kurtosis tests, the Anderson–Darling test, the Shapiro–Wilk test, and the D'Agostino–Pearson K2 omnibus test.


normality

Repo_Status_Badge CRAN_Status_Badge R-CMD-check Downloads Downloads

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()
  • [x] Anderson_Darling_test()
  • [x] Cramer_von_Mises_test()
  • [x] Lilliefors_test()

3. Moments:

  • [x] skewness()
  • [x] kurtosis()
  • [x] Jarque_Bera_test()
  • [x] D.Agostino_Pearson_test()

4. Regression and correlation:

Graphical analysis:

  • [ ] Q-Q plot
  • [ ] P-P plot

Miscellaneous:

  • [?] Searching...

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("normality")

0.0.4 by Joon-Keat Lai, 2 months ago


https://github.com/P10911004-NPUST/normality


Report a bug at https://github.com/P10911004-NPUST/normality/issues


Browse source code at https://github.com/cran/normality


Authors: Joon-Keat Lai [aut, cre, cph] (ORCID:


Documentation:   PDF Manual  


MIT + file LICENSE license


Suggests testthat


Imported by oneway.


See at CRAN