iqr
Calculate the interquartile range (IQR = Q3 - Q1) of a numeric array.
numbers(required): array of numbers
bash
echo '{"data": [1, 3, 5, 7, 9, 11, 13]}' | utlx -e 'iqr($input.data)'
# 8utlx
{
spread: iqr($input.values),
outlierThreshold: iqr($input.values) * 1.5
}