Skip to content

Advertisement
Advertisement unavailable offline
The page content remains available.

Semipartial correlation calculator

Measure the unique relationship between X and Y after removing the effect of Z from X only.

Semipartial correlation sr(Y,X·Z): —

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

Observations
—
Raw X–Y correlation
—
Partial correlation
—
Unique contribution sr²
—

Y and X residuals after controlling Z

The X axis shows the part of X not explained by Z; Y remains the full outcome variable.

Calculation components

Measure Value
Fill in the fields above — the result is computed on this page.
What do these numbers mean?
  • sr² can be read as X's unique contribution to the total variance of Y beyond Z.
  • The absolute semipartial correlation is usually smaller than the corresponding partial correlation.

The tool removes one control variable Z from X only. It requires complete equal-length series and assumes linear relationships.

How do I use this page?
  1. Paste predictor X, outcome Y and control Z.
  2. Read sr and the unique contribution sr².
  3. Compare the result with raw and partial correlations.

What this page does not do: The tool removes one control variable Z from X only. It requires complete equal-length series and assumes linear relationships.

Further reading

Theory — what is semipartial correlation?

Semipartial correlation removes the linear effect of Z from predictor X only, then correlates the remaining part of X with the full variable Y. The squared coefficient, sr², shows the unique increase in explained variance of Y that comes from X beyond what Z already explains. This means the measure reflects only the distinct contribution of X, not the full variance explained by the model. sr² never equals the total variance explained by X and Z together.

Frequently asked questions

What does sr² mean?
It is the share of total Y variance uniquely explained by X after accounting for Z.
Does the order of X and Y matter?
Yes. This calculator removes the effect of Z from X while Y is left unresidualized.

See also

← All calculators

Advertisement
Advertisement unavailable offline
The page content remains available.
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.