Semipartial correlation calculator
Measure the unique relationship between X and Y after removing the effect of Z from X only.
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. | |
How to use this page
- Paste predictor X, outcome Y and control Z.
- Read sr and the unique contribution sr².
- 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
Semipartial correlation removes the linear effect of Z from predictor X only, then correlates the remaining part of X with the full Y variable. Squared sr gives the unique increment in Y variance associated with X beyond Z.
This measure is often used to interpret multiple regression. Direction matters: removing Z from Y instead of X answers a different question.
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
A/B test calculator
Compare two proportions in an A/B test. Calculate conversion rates, difference, uplift, z score, p value and c
A/B test planning — sample size, MDE and duration
Plan a two-proportion experiment, estimate detectable effect and traffic duration.
ACF and PACF autocorrelation calculator
Calculate ACF and PACF across time-series lags. Review the chart, reference bounds and coefficient table.