Skip to content

Quartiles

Quartiles(arg)

returns a list of the 1/4, 1/2 and 3/4 quantile of arg.

Quartiles(arg, {{a,b},{c,d}})

use the quantile parameters {{a,b},{c,d}}. The default parameters for the quantile definition are {{0,0},{1,0}}.

See

Examples

Method 1 from Wikipedia - Quartile

>> Quartiles({6, 7, 15, 36, 39, 40, 41, 42, 43, 47, 49}, {{0, 0}, {1, 0}}) // N
{15.0,40.0,43.0}

Method 3 from Wikipedia - Quartile

>> Quartiles({6, 7, 15, 36, 39, 40, 41, 42, 43, 47, 49}) // N
{20.25,40.0,42.75}

FiveNum, Median, Quantile

Implementation status

  • ✅ - full supported

Github