|
IDL Demo Library |
|
Principal Components Analysis attempts to describe relationships and associations among the variables (the columns) of multivariate data. When dealing with a large number of variables standard analysis methods are excessively time-consuming. In such circumstances, a reduction in the number of variables is required. Simply choosing a subset of the original variables may result in the loss of essential information. An alternative procedure is to construct a number of new variables from the original variables.
Principal Components Analysis is a method of data reduction which aims to create a small number of derived variables that can be used in place of the large number of original variables. The derived variables are uncorrelated (containing unique data) and are used in the subsequent analyses with virtually no loss of accuracy.
An example of the call to the function PCOMP is shown below.
newVariables = PCOMP(array, $ COEFFICIENTS = eigenvectors, $ EIGENVALUES = eigenvalues, $ VARIANCES = variances, $ NVARIABLES = nvariables, $ /COVARIANCE, /STANDARDIZE)
The reference for the data used in the demo is shown below.
Statistical Methods For Medical Investigations
Brian S. Everitt
ISBN: 0-470-23383-4
Select Quit to exit the Demo and return to the IDL Demo main screen.
The Options Menu features are described below in the Features section.
Select "About Principal Components Analysis" for information about the Principal Components Analysis demo.
Displays a plot of the eigenvalues for the analysis.
Displays a plot of principle components for the analysis.
Displays the variances of the first through fifth derived variables.
Sets the plot visualization style. Choose from:
The default style is Gouroud-Default.
Sets the background color. Choose from:
The default background color is white.
IDL Demo Online Help (October 11, 2006)