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:
Shapiro_Wilk_test()with 3 alternatives:Ryan_Joiner_test()pdf
Graphical analysis:
- Q-Q plot
- P-P plot
Miscellaneous:
- [?] Searching...