QuantilePlot - Maple Help

Statistics

 QuantilePlot
 generate quantile-quantile plots

 Calling Sequence QuantilePlot(X, Y, options, plotoptions) QuantilePlot['interactive'](X, Y)

Parameters

 X - first data sample Y - second data sample options - (optional) equation(s) of the form option=value where option is one of color, method, reference, or samplesize; specify options for generating the quantile-quantile plot plotoptions - options to be passed to the plots[display] command

Description

 • The QuantilePlot command generates a quantile-quantile plot for the specified data.
 • The first parameter X is the first data sample - given as e.g. a Vector.
 • The second parameter Y is the second data sample - given as e.g. a Vector.
 • If the ['interactive'] option is used, then a dialog box appears that allows for customized creation of the plot.

Options

 The options argument can contain one or more of the options shown below. All unrecognized options will be passed to the plots[display] command. See plot/options for details.
 • color=name, list, or range
 This option specifies colors for the points and for the reference line. When a list of colors is given, the set of points and the reference line are colored with the corresponding colors in the list. If a range of colors is given, the colors are generated by selecting an appropriate number of equally spaced points in the corresponding hue range.
 • method=integer[1..9]
 Method for calculating the quantiles. See Statistics[Quantile] for more details.
 • reference=true or false
 If reference is set to true, the reference line $y=x$ is drawn in the same plot. Default value is true.
 • samplesize= positive integer
 The number of points to be plotted. The quantiles taken will be $Q\left(\frac{i}{\mathrm{numpoints}}\right)$ for $i=1..\mathrm{numpoints}$ The default value is 25.

Examples

 > $\mathrm{with}\left(\mathrm{Statistics}\right):$

Create three random samples.

 > $X≔\mathrm{Sample}\left(\mathrm{Normal}\left(5,2\right),500\right):$
 > $Y≔\mathrm{Sample}\left(\mathrm{Normal}\left(5,2\right),500\right):$
 > $Z≔\mathrm{Sample}\left(\mathrm{Normal}\left(6,3\right),500\right):$
 > $\mathrm{QuantilePlot}\left(X,Y\right)$

The command to create the plot from the Plotting Guide using the data above is

 > $\mathrm{QuantilePlot}\left(X,Z\right)$

Added options can alter the appearance of the plot:

 > $\mathrm{QuantilePlot}\left(X,Y,\mathrm{symbolsize}=15,\mathrm{symbol}=\mathrm{circle},\mathrm{color}=\left["Black","Red"\right],\mathrm{axis}\left[2\right]=\left[\mathrm{gridlines}=\left[8,\mathrm{color}="Grey"\right]\right]\right)$
 >