Learn R Programming

PSGoft (version 0.0.1)

MLF.stat: Modified Lilliefors Goodness-of-Fit Normality Test

Description

Calculates the value of the modified Lilliefors goodness-of-fit normality test statistic.

Usage

MLF.stat(x)

Value

The function returns the value of the modified Lilliefors goodness-of-fit normality test statistic.

Arguments

x

a numeric vector of data values, the number of which must be greater than 4.

Author

Piotr Sulewski, piotr.sulewski@apsl.edu.pl, Pomeranian University in Slupsk.

Details

The modified Lilliefors goodness-of-fit normality test statistic, see formula (5) in the article.

References

Sulewski, P. (2019). Modified Lilliefors Goodness-of-fit Test for Normality. Communications in Statistics - Simulation and Computation 51(3), 1199-1219.

Examples

Run this code
MLF.stat(rnorm(33, mean = 0, sd = 2))
MLF.stat(data1)

Run the code above in your browser using DataLab