plot of the proportion of the total variation attributable to each component in a principal component analysis
ScreePlot( PCArecord )
ScreePlot( PCArecord, options, plotoptions )
ScreePlot( dataset )
ScreePlot( dataset, options, plotoptions )
the resulting record from a principal component analysis
data set or DataFrame ; Matrix or DataFrame of values with 2 or more columns
(optional) equation(s) of the form option=value, where option is one of color, showcumulative, columngraphoptions, or cumulativesumoptions
options to be passed to the plots:-dualaxisplot command, or the Statistics:-ColumnGraph command
showcumulative : truefalse; controls the display of a cumulative sum chart for the total proportion of variance. The default is true.
color : list, name, string; controls the colors for the column graph and the cumulative sum chart respectively. By default, the color list is [ "Niagara Azure", "Niagara Burgundy" ].
columngraphoptions : list; options to be passed to the Statistics:-ColumnGraph command
cumulativesumoptions : list; options to be passed to the Statistics:-CumulativeSumChart command
The ScreePlot command is used to generate a plot of the proportion of the total variation attributable to each component in a principal component analysis. This is useful in determining the number of components required to summarize the data.
In the case that a dataset or DataFrame is given as the main argument for the ScreePlot command, a principal component analysis is performed and the resulting plot of components is shown.
When the showcumulative option is set to false, any plotoptions added to the ScreePlot command are passed to Statistics:-ColumnGraph. When showcumulative is set to true (the default), any plotoptions are passed to plots:-dualaxisplot.
The ScreePlot command returns a plot of the proportion of the total variance which is attributable to each of the components in a principal component analysis.
Values proportion of variance St. Deviation
8.3208 0.8782 2.8846
1.1119 0.1173 1.0545
0.0425 0.0045 0.2061
The Scree Plot plots the values taken from PCAnalysis:-values and PCAnalysis:-varianceproportion as seen above.
From the above Scree plot, the amount of variation explained by each component drops significantly after the first component. This may suggest that using one component may be enough to summarize the data.
In the case that a 2 column or larger dataset is given as the argument to ScreePlot, the principal component analysis is computed and the plot is returned.
The above plot shows that the first 3 components account for 99.5% of the variance.
It may not always be possible to summarize a dataset using only a few components.
The Statistics[ScreePlot] command was introduced in Maple 2016.
For more information on Maple 2016 changes, see Updates in Maple 2016.
Download Help Document
What kind of issue would you like to report? (Optional)