_critical_value#

normtest.looney_gulledge._critical_value(sample_size, alpha=0.05)[source]#

This function calculates the critical value for the Looney-Gulledge normality test [1].

Parameters:
sample_sizeint

The sample size. Must be equal or greater than 4;

alphafloat, optional

The level of significance (\(\alpha\)). Default is 0.05;

Returns:
criticalfloat

The critical value of the test;

References

[1]

LOONEY, S. W.; GULLEDGE, T. R. Use of the Correlation Coefficient with Normal Probability Plots. The American Statistician, v. 39, n. 1, p. 75-79, fev. 1985.

Examples

>>> from normtest import looney_gulledge
>>> sample_size = 7
>>> critical = looney_gulledge._critical_value(sample_size, alpha=0.05)
>>> print(critical)
0.898