Overview

Use principal component analysis to reduce a large set of correlated variables to a few new ones that keep much of the information: for example, summarising six related head measurements with two components that account for most of the observed variation.

The new components are uncorrelated with each other and can be analysed further with regression, ANOVA or MANOVA, turning a large number of variables into fewer, simpler ones.

Principal component analysis is often used as an alternative to factor analysis. The difference is that each component is built from the measured variables, whereas factor analysis treats the measured variables as reflecting underlying factors that cannot be measured directly. Neither uses known groups: to separate groups that are already known, use discriminant analysis.

A scatter plot of two correlated variables, with two lines through the centre of the points. PC 1 runs along the direction in which the points are most spread out, and PC 2 crosses it at right angles.
The principal components of two correlated variables. PC 1 follows the greatest variation; PC 2 is at right angles to it.

Methods and options

  • Principal component analysis
  • Correlation or covariance matrix
  • Extraction by number of components, % of variance or eigenvalue
  • Scree plots
  • Component score scatterplots with variable coefficients
  • Casewise component scores

Running the analysis

Click Principal Components on the statistiXL ribbon. In the dialog, select your variable range and output location. The Options and Plots pages set the matrix to use, how many components to extract, and the plots.

The Principal Components button on the statistiXL ribbon.
The Principal Components button on the statistiXL ribbon.
The General page of the Principal Component Analysis dialog, with a variable range, a Labels in First Row option, an output range, options for descriptive statistics, the correlation or covariance matrix and casewise scores (with an option to standardise them), Options and Plots tabs, and the QuickHelp pane on the right.
The Principal Component Analysis dialog, with QuickHelp on the right.

What the output includes

  • Descriptive statistics and the correlation or covariance matrix (optional)
  • Eigenvalues, with the percentage and cumulative percentage of variance each component explains
  • Component loadings, the correlations between the original variables and each component
  • Component score coefficients (eigenvectors)
  • Casewise component scores, optionally standardised (optional)
  • A scree plot, and scatter plots of the component scores with the variable coefficients (optional)
Principal component output in Excel for six head measurements, extracted from the correlation matrix with eigenvalues greater than 1. Tables give the eigenvalues (2.568 and 1.369, explaining 65.6% of the variance between them), component loadings and component score coefficients, beside a scree plot and a plot of the first two components with lines showing each variable's coefficients.
Output from a principal component analysis, with a scree plot and a component plot.