When to use it
Summarize many correlated numeric measurements into a few components, explore structure, or build features for downstream modeling.
When not to: You need a causal explanation, the variance-maximizing directions do not answer the scientific question, or you require guaranteed retention of low-variance but important signals. Inspect scaling, outliers, missingness and component stability. A low KMO is a caution about shared correlation, not a mathematical prohibition on PCA. For a latent-variable model consider factor analysis and its additional assumptions.
Step by step
Open it from the menu
Click Multivariate & ML in the menu bar; under Dimension Reduction choose Principal Component Analysis.
Fill in the form
Choose the columns: Columns to combine. The form lists only columns whose type fits each field.
Check the options
The options start at their defaults: Standardize, Number of components. Change one only when your question needs it.
Run the analysis
Press Run analysis. The Result Card opens on its Results tab.
What to choose in the form
| Columns to combine Variables required | One numeric column. Two or more continuous variables to decompose. |
|---|---|
| Standardize | Standardize each variable to mean 0, SD 1 before PCA (runs PCA on the correlation matrix). Default: on. |
| Number of components | How many components to extract; 0 keeps all. Default: 0. |
How to read the card
The Results tab starts with what to know first (rows left out, checks that did not pass), then the interpretation in words and the Key Results; charts and assumption checks follow further down. Learn More explains the method in plain words. Read a Result Card covers all four tabs.
What it assumes
- Linearity
If it does not hold: PCA finds only LINEAR combinations of the variables; a genuinely curved (nonlinear) structure in the data gets spread across many components instead of concentrated in the first few, understating how much low-dimensional structure the data actually has.
How to check: Not checked by KernelStats: no nonlinearity diagnostic is run; consider MDS with a non-Euclidean distance, or a nonlinear technique, if the components explain surprisingly little variance despite visibly related variables.
A worked example
PCA on four standardized penguin body measurements (bill length, bill depth, flipper length, body mass) across 342 penguins, keeping all components.
Result: PC1 (eigenvalue 2.75) explains 68.8% of variance, with correlation-scale loadings of 0.96 for flipper length, 0.91 for body mass, 0.76 for bill length and -0.66 for bill depth (a size axis on which deeper bills go with smaller birds in the pooled data); PC2 (eigenvalue 0.77) explains 19.3% and is almost purely a bill axis (bill depth 0.70, bill length 0.52, flipper and mass near 0); KMO = 0.69, Bartlett's chi-square(6) = 838.1, p < .001.
Two components capture 88% of the total variance across four measurements, with a size component and a secondary bill-dimension component (the card's Kaiser and elbow rules both recommend keeping only one; the 80% cumulative rule recommends two), a reasonable case for summarizing the four original measurements as two, keeping in mind PC2's meaning would need checking against species identity before being taken as a real biological axis.
From the Statistics Library.
The code tabs
Code gives this analysis as Python, R and MATLAB code (and SAS where the tab offers it), reading the data the way KernelStats did. Export sends the card to a report or to slides. See The Code tab.
Understand the statistics
Ask Oobi
Type one of these into Ask Oobi beside your data:
- Can the four penguin body measurements be summarized by one or two underlying size/shape components?
- Explain the principal Component Analysis (PCA) in plain words.
- What does r-squared mean?
Last reviewed November 16, 2026.
