fn_abdi_molin#

pycafee.normalitycheck.abdimolin.AbdiMolin.fn_abdi_molin(self, n_rep)#

This function returns the divisor term for the correction proposed by Molin & Abdi (1998) [1] to calculate the critical values of the Normality test for n_rep > 50.

The correction is calculated using the following expresion:

\[f_N = \frac{0.83 + N}{\sqrt{N}} - 0.01\]

where \(N\) is the number of observations (e.g, n_rep)

Parameters
n_repint

The number of observations in the sample (n_rep > 50)

Returns
fnfloat

The divisor of the correction proposed by the authors.

See also

get_critical_value

get the critical values for the AbdiMolin Normality test.

fit

performs the AbdiMolin Normality test.

References

1

MOLIN, P.; ABDI, H. New Tables and numerical approximation for the Kolmogorov- Smirnov/Lillierfors/Van Soest test of normality. p. 1–12, 1998. Available from MolinAbdi1998-LillieforsTechReport.pdf.

Examples

>>> from pycafee.normalitycheck import AbdiMolin
>>> test = AbdiMolin()
>>> result = test.fn_abdi_molin(54)
>>> print(result)
7.451417922044536