Skip to content

Advertisement

Canonical correlation calculator

Find linear combinations of two X variables and two Y variables that have the strongest possible correlation.

First canonical correlation ρ₁: —

Fill in the fields above — the result is computed on this page.

Observations
—
ρ₁²
—
Second correlation ρ₂
—
ρ₂²
—
X1 weight in first function
—
X2 weight in first function
—
Y1 weight in first function
—
Y2 weight in first function
—

First pair of canonical variates

Points show the U₁ and V₁ linear-combination scores for each observation.

Canonical roots

Function Correlation ρ ρ²
Fill in the fields above — the result is computed on this page.
What these numbers mean
  • ρ₁ describes the strongest linear relationship between the two variable sets.
  • ρ² gives the shared variance for the corresponding pair of canonical variates.

This version accepts exactly two variables in each set. It does not calculate Wilks' significance test and rejects singular correlation matrices.

How to use this page
  1. Paste four series in matching observation order.
  2. Read ρ₁ and ρ₂ and their squared values.
  3. Inspect the weights and first-pair plot while considering multicollinearity.

What this page does not do: This version accepts exactly two variables in each set. It does not calculate Wilks' significance test and rejects singular correlation matrices.

Further reading

Canonical correlation analysis compares whole variable sets. It creates U from X1 and X2 and V from Y1 and Y2 so that the correlation between U and V is maximized. A second pair describes the remaining independent linear dimension of association.

Weights depend on scale and relationships within each set, so the calculator standardizes all variables first. Strong multicollinearity can make weights unstable even when the canonical correlation is high.

Frequently asked questions

How is canonical correlation different from Pearson correlation?

Pearson compares two variables; canonical correlation compares two linear combinations built from sets of variables.

Does a high ρ₁ mean every component is strongly related?

No. A specific combination of weights can produce a high result even when some individual pairs are weakly correlated.

See also

← All calculators

Advertisement
Offline app and draw notifications

My saved selections

Selections saved only in this browser. Numbers are shown exactly as saved; this is not a lottery ticket.

Open the My saved selections hub
Restore with preview

Restore in the hub: review the file and confirm first. Both old backups and the complete selections + journal backup are supported. Nothing is uploaded.