stats[statplots, scatterplot]  Quantile Plot

Calling Sequence


stats[statplots, scatterplot](data, format=quantile, ...)
statplots[scatterplot](data, format=quantile, ...)
scatterplot(data, format=quantile, ...)


Description


•

The function scatterplot with the format parameter format=quantile of the subpackage stats[statplots] generates either a quantile plot, or a quantilequantile plot, depending on the number of statistical lists passed.

•

A quantile plot is generated when one statistical list is passed, ie. the command scatterplot(data1, format=quantile) is used. In this plot, each item in data1 is plotted versus its quantile value.

•

The onedimensional quantile plot gives an idea of the local densities of points. Where the slope of the interpolated points is flatter, the density of points is higher. This type of plot is closely related to percentage ogives.

•

A quantilequantile plot is generated when more than one statistical list is passed, ie. the command scatterplot(data1, data2, format=quantile), or scatterplot(data1, data2, data3, format=quantile) is used. In these plots, the quantiles of each data set are plotted against each other. So the i^th quantile of data1 is plotted as the xcoordinate versus the i^th quantile of data2 in the ycoordinate, and if specified, the i^th quantile of data3 in the zcoordinate. Note that in this case the statistical lists need not have equal weight.

•

Multidimensional quantile plots, or quantilequantile plots are useful in comparing multiple data sets. Consider data sets of the maximum daily temperatures in two cities. A scatter plot of one set against the other facilitates comparison of temperatures at the two cities, at each given day. The quantilequantile plot provides answers to questions like: are the lowest third daily temperatures at this city over a greater span of temperatures than those in the lowest third in the other city.

•

Class data are plotted as lines, extending the range of the class. When classes overlap (with points, or other classes), it is impossible to determine the correct quantile of the overlapping data. In this case, a warning is printed and the classes are replaced with their corresponding classmarks. When more than one statistical list is used, it may happen that one list requires the use of classmarks, while the other(s) do not. A warning is printed for each data set requiring classmarks. Missing data is ignored.

•

The command with(stats[statplots] allows the use of the abbreviated form of this command.



Examples


Important: The stats package has been deprecated. Use the superseding package Statistics instead.
>


>


>


>


>



