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.
data1 ≔ 2.93,2.58,2.85,4.26,2.94,4.33,1.71,4.42,3.59,4.35,2.07,1.16,2.36,1.16,4.72,6:
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.
data2 ≔ 1,4,5,16,17,18,19
This data is symmetric. Note that all points fall on the line y=x.
data3 ≔ 1,3,4,5,6,7,9
Download Help Document
What kind of issue would you like to report? (Optional)