creates a quantile‐quantile plot from the real‐valued vectors data1 and data2.
Details and Options
- To use QuantilePlot, you first need to load the Statistical Plots Package using Needs["StatisticalPlots`"].
- 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:
Axes True whether to draw axes PlotMarkers Automatic markers for points ReferenceLineStyle Automatic style for the reference line
- Valid settings for the option ReferenceLineStyle are None, Automatic, or a style or a list of styles.
- 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.
Examplesopen allclose all
Wolfram Research (2007), QuantilePlot, Wolfram Language function, https://reference.wolfram.com/language/StatisticalPlots/ref/QuantilePlot.html.
Wolfram Language. 2007. "QuantilePlot." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/StatisticalPlots/ref/QuantilePlot.html.
Wolfram Language. (2007). QuantilePlot. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/StatisticalPlots/ref/QuantilePlot.html