MLF.test {PSGoft} | R Documentation |
Modified Lilliefors Goodness-of-Fit Normality Test
Description
Performs the modified Lilliefors goodness-of-fit normality test.
Usage
MLF.test(x)
Arguments
x |
a numeric vector of data values, the number of which must be greater than 4. |
Details
The modified Lilliefors goodness-of-fit normality test statistic, see formula (5) in the article.
Value
A list with class “htest” containing the following components:
statistic
- the value of the modified Lilliefors statistic.
p.value
- the p-value for the test.
method
- the character string “Modified Lilliefors goodness-of-fit normality test”.
data.name
- a character string giving the name(s) of the data.
Author(s)
Piotr Sulewski, piotr.sulewski@apsl.edu.pl, Pomeranian University in Slupsk.
References
Sulewski, P. (2019). Modified Lilliefors Goodness-of-fit Test for Normality. Communications in Statistics - Simulation and Computation 51(3), 1199-1219.
Examples
MLF.test(rnorm(33, mean = 0, sd = 2))
MLF.test(data1)