SymmetryPlot - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Statistics

  

SymmetryPlot

  

generate symmetry plots

 

Calling Sequence

Parameters

Options

Description

Examples

Calling Sequence

SymmetryPlot(X, plotoptions)

Parameters

X

-

data sample

plotoptions

-

options to be passed to the plots[display] command

Options

• 

The plotoptions argument can contain one or more of the options accepted by the plots[display] command. See plot/options for details.

Description

• 

The SymmetryPlot command generates a symmetry plot for the specified data. The elements of X are sorted and plotted in such a way to show which way the data is skewed. If the data is indexed as X[i], med is the median of the data and n is the total number of observations, then a plot of X[n+1-i] - med versus med-X[i] 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 produced will have points lying along the line y=x. Any departure from this symmetry will be visible as points lying off of this line. If the data is skewed to the right, the points will lie above the line. If the data is skewed to the left, the points will lie below the line.

• 

The parameter X is the data to be plotted. It is either a single data sample - given as e.g a Vector - or a list of data samples and does not need to be one dimensional, though it will be treated as though it were. There must be at least two points present for this function to create a plot.

Examples

withStatistics:

This data is skewed to the right, and so the points lie above y=x.

data11.3,3.2,2.1,4.76,7.33,2,0.91,5.5,1,2.4:

SymmetryPlotdata1

This data is skewed to the left, and so the points lie below y=x.

data2Array1,4,5,13,15,12,14,16:

SymmetryPlotdata2

This data is symmetric, and so the points fall on the line y=x.

data3Vector1,2,3,4,5,6,7,8,9,10:

SymmetryPlotdata3

Added options can customize the plot:

SymmetryPlotdata3,symbol=circle,symbolsize=15,thickness=2,axis=gridlines=linestyle=dot

The commands to create the plot from the Plotting Guide are

data4Array1,4,5,13,15,12,14,16,6,2,14,13,12,2,9,16,12,10,3,8,2,10,14:

SymmetryPlotdata4

See Also

plot/options

plots[display]

Statistics

Statistics/Visualization