This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

InterquartileRange

InterquartileRange[list]
gives the difference between the upper and lower quartiles for the elements in list.
InterquartileRange[dist]
gives the difference between the upper and lower quartiles for the symbolic distribution dist.
Interquartile range for a list of exact numbers:
Interquartile range of a symbolic distribution:
Interquartile range for a list of exact numbers:
In[1]:=
Click for copyable input
Out[1]=
 
Interquartile range of a symbolic distribution:
In[1]:=
Click for copyable input
Out[1]=
InterquartileRange works with any real numeric quantities:
Interquartile ranges for columns of a matrix:
Obtain results at any precision:
Compute results for a large vector or matrix:
InterquartileRange can be used as a check for agreement between data and a distribution:
Generate a random sample:
Find the interquartile range of the data:
Compare with the interquartile range of the distribution:
InterquartileRange is the difference of linearly interpolated Quantile values:
QuartileDeviation is half the interquartile range:
InterquartileRange is the difference between the first and third quartiles:
InterquartileRange requires numeric values:
New in 6 | Last modified in 7