Skip to content

Principal Component Analysis

PCA online with eigenvalues, scree plot, loadings, varimax rotation and biplot.

Open the Principal Component Analysis calculator

When to use it

Use when many correlated variables describe the same set of subjects and you want to reduce them to a few orthogonal components for visualisation, screening, or downstream regression. Standard step before clustering high-dimensional data and before regression with multicollinearity.

When NOT to use it

Do not use when variables are on very different scales without first standardising (correlation-matrix PCA). Do not interpret PCA as if it returned latent factors; use exploratory factor analysis (EFA) for that. PCA is a variance-decomposition, not a measurement model. Do not use as a black-box feature selector.

What you get

Eigenvalues with cumulative percent variance explained; the scree plot; loadings (eigenvectors) per component, optionally varimax-rotated; component scores per observation; biplot of the first two components; Kaiser criterion (retain components with eigenvalue greater than 1) and Horn parallel analysis when run.

How to interpret the output

Components are linear combinations of the original variables; the first captures the most variance, the second the most subject to orthogonality, and so on. Decide how many to keep using the scree plot 'elbow', Kaiser's eigenvalue-greater-than-1 rule (lenient), or parallel analysis (more conservative; recommended). Loadings of absolute value 0.4 or higher are conventionally considered meaningful for interpretation.

Common pitfalls

Try it in StatVeda

The Principal Component Analysis engine runs entirely in the browser. No signup, no install, no data sent to a server. Paste your data, hit Run, copy the output.

Open Principal Component Analysis

References

Related calculators