statsmodels.robust.scale.iqr

statsmodels.robust.scale.iqr(a, c=1.3489795003921634, axis=0)[source]

The normalized interquartile range along given axis of an array

Parameters:
aarray_like

Input array.

cfloat, optional

The normalization constant, used to get consistent estimates of the standard deviation at the normal distribution. Defined as scipy.stats.norm.ppf(3/4.) - scipy.stats.norm.ppf(1/4.), which is approximately 1.349.

axisint, optional

The default is 0. Can also be None.

Returns:
The normalized interquartile range