statsmodels.tools.eval_measures.iqr

statsmodels.tools.eval_measures.iqr(x1, x2, axis=0)[source]

Interquartile range of error

Parameters:
x1array_like

One of the inputs into the IQR calculation.

x2array_like

The other input into the IQR calculation.

axis{None, int}

axis along which the summary statistic is calculated

Returns:
irq{float, ndarray}

Interquartile range along given axis.

Notes

If x1 and x2 have different shapes, then they must broadcast.


Last update: Nov 14, 2024