← All documentation

Principal component analysis

Reduce the dimensionality of numeric variables and explore major directions of variation.

Data requirements

Select 2–30 numeric features with variation. Rows missing selected features or the optional group are excluded.

Upload UTF-8 CSV or TSV with unique column names in the first row. Blank, NA, N/A, NaN and NULL entries are treated as missing. Files support up to 2 MiB, 10,000 rows, 60 columns and 200,000 cells; module-specific limits also apply.

Parameters

Names match the analysis form. Starting values describe a newly loaded form; column selections depend on your uploaded data. Matching example column names may be preselected. Review every selection before running.

“Optional / conditional” fields may be required by a particular mode or method. The explanation states when each field takes effect. Hold Ctrl / Command to select multiple columns.

Variables to summarize

Multiple columns

Numeric features entering PCA. Constant features must be removed.

Input
Required
Starting value
Depends on the uploaded columns; review the selection.

Label

Column

Optional identifier in the scores table. Blank uses source row numbers; missing labels appear as Missing.

Input
Optional / conditional
Starting value
Depends on the uploaded columns; review the selection.

Standardize

Checkbox

Checked scales features to unit population SD before PCA; unchecked retains original scales. Features are centered in both cases.

Input
Optional / conditional
Starting value
Checked

Components

Integer

Number of components from 2 to 10, no larger than the number of complete observations or features.

Input
Required
Starting value
2
Allowed range
≥ 2; ≤ 10

Grouping variable

Column

Optional color grouping with at most 12 levels. It does not enter the feature matrix, but rows missing the group are excluded.

Input
Optional / conditional
Starting value
Depends on the uploaded columns; review the selection.

Example settings

Load the bundled example in the analysis workspace, or upload the example CSV linked above, then use these settings. These are illustrative choices for the synthetic data.

Principal component analysis — bundled example settings
Parameter Setting
Variables to summarize x, z, y
Label id
Standardize Checked
Components 2
Grouping variable group

Results

Scores give observation coordinates; loadings are component eigenvectors; the variance table reports eigenvalues and explained/cumulative proportions. Plots show PC1 versus PC2 and explained variance. Additional downloadable analysis-summary and diagnostics tables describe the analysis scope and method checks. Selected-variable missingness is reported where applicable. Diagnostics do not establish external validity or verify untested assumptions.

Review the reported method, observation count and notes alongside the estimates. Result tables can be downloaded as CSV and the figure as PNG.

Notes & limitations

  • Component signs can reverse without changing the solution. Loadings here are eigenvectors, rather than variable–component correlations.