Partial and Semipartial Correlation
Two ways of asking 'how much does X really relate to Y once we remove the influence of other variables' that differ in a subtle but important way — one purges the other variables from both X and Y, the other purges them from only one side.
Prerequisites: Correlation, The Fisher z-Transformation and Correlation Inference
A raw signal has a 0.35 correlation with next-quarter returns, but it's also correlated with market cap, and small-cap stocks happen to have both higher average returns and higher average signal values. Is the signal actually predictive, or is it just a disguised size effect? You want to know the correlation between the signal and returns after removing what market cap explains — but there are two different, both-reasonable ways to do that removal, and they answer subtly different questions. Partial correlation removes the confound's influence from both variables; semipartial correlation removes it from only one.
An analogy: adjusting for a noisy microphone
Imagine two singers recorded in a room with a hum from a nearby generator that bleeds into both microphones. You want to know how well the two singers are actually harmonizing, independent of the shared hum. One approach: filter the hum out of both recordings before comparing them — this is like partial correlation, cleaning both sides. A different approach: filter the hum out of only one recording (say, keep the hum in singer A's raw track but remove it from singer B's) and then compare — this is like semipartial correlation, cleaning only one side. Both give you a "hum-adjusted" sense of the harmony, but they're not the same number, because the first comparison is entirely on cleaned ground while the second still has the raw hum affecting one side of the comparison.
The mechanics, one piece at a time
The partial correlation between and , controlling for , is the correlation between the residuals of after regressing out , and the residuals of after regressing out :
In plain English: it's the leftover relationship between and once you've stripped 's influence out of both of them — the answer to "how related are and among observations that are otherwise similar on ?"
The semipartial (or "part") correlation instead strips out of only (or only ), leaving the other variable in its raw form:
In plain English: it asks "how much of 's total, unadjusted variance can the -purified part of still explain?" — a slightly different, usually smaller-magnitude question, because the denominator only removes 's effect from one side, leaving more total variance in play than the fully-adjusted partial correlation's denominator does.
Worked example 1: signal vs. returns, controlling for size
Suppose (signal vs. return), (signal vs. market cap), (return vs. market cap). Partial correlation: . So roughly half of the raw 0.35 correlation was attributable to the shared size relationship — a meaningful, but far smaller, genuine relationship remains once size is controlled for on both sides.
Worked example 2: the semipartial version of the same numbers
Using the same , , : semipartial correlation of with the -purified is . Close to the partial correlation (0.189) in this example, but not identical — the semipartial's denominator is larger (it doesn't shrink for 's effect on ), so semipartial correlations are always equal to or smaller in magnitude than the corresponding partial correlation. This semipartial number has a direct, practical interpretation: its square, , is exactly the additional variance in raw, unadjusted returns explained by the signal once market cap is already in a regression — the number a stepwise regression's incremental reports.
Drag the correlation strength below to build intuition for what "0.19" versus "0.35" actually looks like scattered on a page — this is the strength of the leftover relationship after Z has been stripped out.
What this means in practice
Partial correlation is the right tool when you want a symmetric, apples-to-apples measure of relationship strength after controlling for a confound on both sides — useful for factor research, comparing signal-return relationships across a controlled universe. Semipartial correlation is the right tool when you specifically care about how much unexplained variance in the raw outcome a new variable adds on top of what's already known, which is exactly the quantity reported as incremental when adding a variable to a regression one step at a time.
Partial correlation removes a confounding variable's influence from both variables before correlating the leftovers; semipartial correlation removes it from only one variable — they answer related but distinct questions, and semipartial correlation is the one whose square equals the incremental from adding a variable to a regression.
It's easy to compute one of these and casually describe it as "the correlation controlling for Z," without specifying which kind — and because partial and semipartial correlations are numerically different (semipartial is always smaller or equal in magnitude), swapping one for the other in a report or a comparison across studies can misstate how much of an effect survives after controlling for a confound. Always state explicitly which one you're reporting, and match the choice to the question: symmetric comparison (partial) versus incremental explanatory power (semipartial).
Related concepts
Practice in interviews
Further reading
- Cohen, Cohen, West, Aiken, Applied Multiple Regression/Correlation Analysis, ch. 3