Quartiles

Quartiles[list]
gives a list of the 1/4, 1/2, and 3/4 quantiles of the elements in list.

Quartiles[dist]
gives a list of the 1/4, 1/2, and 3/4 quantiles of the symbolic distribution dist.

DetailsDetails

  • Quartiles[list] is equivalent to Quantile[list,{1/4,1/2,3/4},{{1/2,0},{0,1}}]. »
  • The second quartile is equivalent to Median[list]. »
  • For even Length[list], the first quartile is equivalent to the median of the smallest elements in list.
  • For odd Length[list], the first quartile is equivalent to the average of the median of the smallest elements and the median of the smallest elements in list.
  • The third quartile is defined like the first, but with the largest rather than smallest elements.
Introduced in 2007
(6.0)
| Updated in 2008
(7.0)