Chapter Contents |
Previous |
Next |
Multivariate Techniques |
The purpose of principal component analysis is to derive a small number of independent linear combinations (principal components) of a set of variables that retain as much of the information in the original variables as possible.
For example, suppose you are interested in examining the relationship among measures of food consumption from different sources. The sample data set Protein records the amount of protein consumed from nine food groups for each of 25 European countries. The nine food groups are red meat (RedMt), white meat (WhiteMt), eggs (Eggs), milk (Milk), fish (Fish), cereal ( Cereal), starch (Starch), nuts (Nuts), and fruits and vegetables (FruVeg).
The goal of this analysis is to determine the principal components of all protein sources. Therefore, all of the protein source variables are included in the Variables list, as displayed in Figure 13.2. The character variable Country is an identifier variable and is omitted from the Variables list.
Note that you can analyze a partial correlation or covariance matrix by specifying the variables to be partialed out in the Partial list. The full correlation matrix is used for this analysis.
The default principal components analysis includes simple statistics, the correlation matrix for the analysis variables, and the associated eigenvalues and eigenvectors.
To request a scree plot, follow these steps:
Figure 13.3 displays the Scree Plot tab, in which a scree plot of the positive eigenvalues is requested.
A component plot displays the component score of each observation for a pair of components. When you specify an Id variable, the values of that variable are also displayed in the plot.
To request a component plot in addition to the scree plot, follow these steps.
You can also enter the Dimensions for which you want plots. For example, to request plots of the first versus second, first versus third, and second versus third principal components, you type the values 1 and 3.
Figure 13.4 displays the Component Plot tab, which requests an enhanced component plot.
Click OK in the Principal Components dialog to perform the analysis.
Figure 13.6 displays the eigenvalues and eigenvectors of the correlation matrix for the nine variables. The eigenvalues indicate that four components provide a reasonable summary of the data, accounting for about 84% of the total variance. Subsequent components each contribute 5% or less.
The table of eigenvectors in Figure 13.6 reveals that the first eigenvector has equally large loadings on all of the animal-protein variables. This suggests that the first component is primarily a measure of animal-protein consumption. This eigenvector also has a large loading on the variable Starch and negative loadings on the variables Cereal and Nuts.
The second eigenvector has high positive loadings on the variables Fish, Starch, and FruVeg. This component seems to account for diets in coastal regions or warmer climates. The remaining components are not as easily identified.
The scree plot displayed in Figure 13.7 shows a gradual decrease in eigenvalues. However, the contributions are relatively low after the fourth component, which agrees with the preceding conclusion that four principal components provide a reasonable summary of the data.
The following enhanced component plot (Figure 13.8) displays the relationship between the first two components; each observation is identified by country.
In addition, the plot is enhanced to depict the correlations between the variables and the components. This correlation is often called the component loading. The amount by which each variable "loads" on a component is measured by its correlation with the component.
In Figure 13.8, each vector corresponds to one of the analysis variables and is proportional to its component loading. For example, the variables Eggs, Milk, and RedMt all load heavily on the first component. The variables Fish and FruVeg load heavily on the second component but load very little on the first component.
The information provided by the variable Country reveals that western European countries tend to consume protein from more expensive sources (that is, meat, eggs, and milk), while countries near the Mediterranean Sea rely more heavily on fruits, vegetables, nuts, and fish for their protein sources. Eastern European countries rely more on cereal crops and nuts to supply their protein.
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.