Analysis · 5 steps

Principal components and clustering

Reduce many numeric variables to a few components, or group similar rows into clusters.

Step by step

Before you start: Load the Iris sample: Data › Sample data › Iris. Getting started shows how.

  1. Choose Principal Component Analysis

    Click Multivariate & ML in the menu bar; under Dimension Reduction choose Principal Component Analysis.

  2. Fill in the form

    In Columns to combine, choose sepal length (cm), sepal width (cm), petal length (cm) and petal width (cm). Leave the options at their defaults unless you need otherwise.

  3. Run the analysis

    Press Run analysis. The Result Card opens on the Results tab: what to know first, then the interpretation in words and the Key Results.

  4. Find the chart

    Scroll down the Results tab to the chart.

  5. Read Learn More

    Open Learn More for the idea in plain words, the assumptions and the formula. Code gives the same analysis as Python, R and MATLAB code (and SAS where the tab offers it), and Export sends the card to a report or slides: see Read a Result Card.

More in this family

k-Means Clustering

Load the Iris sample: Data › Sample data › Iris. Getting started shows how.

Click Multivariate & ML in the menu bar; under Clustering choose k-Means Clustering. In Columns to group rows by, choose sepal length (cm), sepal width (cm), petal length (cm) and petal width (cm). Then press Run analysis.

What you should see

A Principal Component Analysis card on the Results tab: what to know first, the interpretation in words, the Key Results and, further down, the chart.

Common problems

Variables are on very different scales.

Read the card’s settings: components depend on whether variables were standardized.

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?
  • Do penguins fall into distinct groups based on their body measurements?

Last reviewed November 16, 2026.

Report an unclear step