Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Statistical Plots Package >

QuantilePlot

QuantilePlot[data1, data2]
creates a quantile-quantile plot from the real-valued vectors data1 and data2.
  • QuantilePlot plots empirical quantiles of the two vectors against each other.
  • QuantilePlot sorts the shorter dataset, and then determines interpolated quantiles at the equivalent position in the longer list of data.
  • For datasets of equal length, QuantilePlot yields the equivalent of plotting the sorted lists against each other.
  • QuantilePlot has the same options as Graphics, with the following additions and changes:
AxesTruewhether to draw axes
PlotMarkersAutomaticmarkers for points
ReferenceLineStyleAutomaticstyle for the reference line
  • The reference line has a slope of unity. If the points on the plot fall mostly on or near the reference line, the distributions are roughly the same.
QuantilePlot of two datasets:
Needs["StatisticalPlots`"]
QuantilePlot of two datasets:
In[2]:=
Click for copyable input
Out[2]=
QuantilePlot with a dashed reference line:
Compare samples from different distributions:
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team