View source: R/Lilliefors_test.R
| Lilliefors_test | R Documentation |
Performs the Lilliefors normality test, which is an empirical distribution function (EDF)-based goodness-of-fit test derived from the Kolmogorov–Smirnov test, using the approximation proposed by Molin and Abdi (1998).
Lilliefors_test(x, alpha = 0.05, silent = FALSE, summary = TRUE, misc = FALSE)
x |
A numeric vector, at least length of 8. |
alpha |
Numeric (default: 0.05). Significance threshold, range from 0 to 1. |
silent |
Logical (default: FALSE). If |
summary |
Logical (default: TRUE). Produce a summary table. |
misc |
Logical (default: FALSE). Output other unimportant parameters. |
A list.
Molin, P., Abdi, H., 1998. New tables and numerical approximation for the Kolmogorov-Smirnov/Lillierfors/Van Soest test of normality. Technical report, University of Bourgogne.
out <- Lilliefors_test(rnorm(10))
print(out$summary)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.