Learn R Programming

PSGoft (version 0.0.1)

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

Description

Performs the modified Lilliefors goodness-of-fit normality test.

Usage

MLF.test(x)

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.

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.test(rnorm(33, mean = 0, sd = 2))
MLF.test(data1)

Run the code above in your browser using DataLab