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 : {float, ndarray}
Interquartile range along given axis.
Notes
If
x1
andx2
have different shapes, then they must broadcast.