statsmodels.tools.eval_measures.iqr¶
- statsmodels.tools.eval_measures.iqr(x1, x2, axis=0)[source]¶
Interquartile range of error
- Parameters:
x1 (array_like) – One of the inputs into the IQR calculation.
x2 (array_like) – The other input into the IQR calculation.
axis ({None, int}) – axis along which the summary statistic is calculated
- Returns:
irq – Interquartile range along given axis.
- Return type:
{float, ndarray}
Notes
If
x1andx2have different shapes, then they must broadcast.