This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.

# 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.
• 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.
Quartiles for a list of exact numbers:
Quartiles of a symbolic distribution:
Quartiles for a list of exact numbers:
 Out[1]=

Quartiles of a symbolic distribution:
 Out[1]=
 Scope   (4)
Quartiles works with any real numeric quantities:
Quartiles by column for a matrix:
Obtain results at any precision:
Compute results for a large vector or matrix:
Compute results for a SparseArray:
Quartiles are given by linearly interpolated Quantile values:
The second quartile is the Median:
InterquartileRange is the difference between the first and third quartiles:
QuartileDeviation is half the difference between the first and third quartiles:
QuartileSkewness is a skewness measure obtained from the quartiles:
Quartiles requires numeric values: