stats[statplots, scatterplot](data, format=symmetry)
Important: The stats package has been deprecated. Use the superseding package Statistics instead.
The function scatterplot with the formatting option, format=symmetry of the subpackage stats[statplots] gives a symmetry plot of data.
The data in the data parameter are sorted, and missing items are removed. If the data are indexed by data[i], med is the median of the data and n is the total number of observations then a plot of datan+1−i−med versus med−datai for all i is produced together with the y=x line.
If the data set is symmetric (with respect to the median), then the plot will produce points on straight line y=x. For ease of comparison, the symmetry plot includes this comparison line. Thus, a symmetry plot reveals departures from symmetry.
The actual behavior takes into account the various weight of the data.
Although classes are converted to classmarks when generating this type of plot, it is recommended that only data without classes be used. class data may distort results that can be inferred from the graph.
The command with(stats[statplots] allows the use of the abbreviated form of this command.
Here is some data that is skewed to the right. Note that the points lie above y=x.
Sometimes it is clearer to produce a plot with constrained axes.
This data is skewed to the left. Note that the points lie below y=x.
This data is symmetric. Note that all points fall on the line y=x.
Download Help Document
What kind of issue would you like to report? (Optional)