Skip to content

InterquartileRange

Difference between third and first quartiles.

$ wo 'InterquartileRange[{1, 3, 5, 7, 9}]'
5

A matrix is reduced columnwise.

$ wo 'InterquartileRange[{{1, 10}, {2, 20}, {3, 30}, {4, 40}}]'
{2, 20}

A second argument supplies the Quantile parameters.

$ wo 'InterquartileRange[{1, 2, 3, 4, 5, 6, 7, 8}, {{0, 0}, {1, 0}}]'
4