_normal_order_medians#

normtest.filliben._normal_order_medians(mi)[source]#

This function transforms the uniform order median to normal order median using the standard Normal distribution (\(z_{i}\)).

Parameters:
minumpy array

The estimated the uniform order statistic median (\(m_{{i}}\))

Returns:
zinumpy array

The statistical order in the standard Normal distribution scale.

See also

fi_test

Notes

The transformation to the standard Normal scale is done using the equation:

\[z_{i} = \phi^{-1} \left(m_{i} \right)\]

where \(m_{i}\) is the uniform statistical order and \(\phi^{-1}\) is the inverse of the standard Normal distribution. The transformation is performed using stats.norm.ppf().

Examples

>>> from normtest import filliben
>>> uniform_order = filliben._uniform_order_medians(7)
>>> normal_order = filliben._normal_order_medians(uniform_order)
>>> print(normal_order)
[-1.31487275 -0.74397649 -0.3471943   0.          0.3471943   0.74397649
1.31487275]