|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
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.
- Quartiles works with SparseArray objects.
New in 6 | Last modified in 7
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
