What is the difference between partial and semi-partial correlation?

Quick Overview

Asks you to distinguish partial correlation from semi-partial (part) correlation: how each controls for a third variable and what question each one answers. Tests understanding of residualization, how the two compare in size, and how they connect to the change in R-squared in regression.

What is the difference between partial and semi-partial correlation?

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Other

What is the difference between partial and semi-partial correlation? Take two variables $X$ and $Y$ and a control variable $Z$. ```hint Think in residuals Both measures can be built by regressing out $Z$ and correlating what is left. Ask which variables get residualized in each case. ``` ```hint Compare the scaling Look at which variance of $Y$ each measure divides by. That tells you how their sizes compare and what each one is a proportion of. ``` ### What a Strong Answer Covers - How each measure is computed, in terms of which variables have $Z$ removed. - The question each measure answers. - How their magnitudes compare, and why. - How the squared semi-partial correlation connects to the change in R-squared in a regression. ### Follow-up Questions - Write the partial correlation of $X$ and $Y$ given $Z$ in terms of the three pairwise correlations. - If $X$ and $Y$ are uncorrelated, can their partial correlation given $Z$ be nonzero? Give an example. - Why do the squared semi-partial correlations of correlated predictors not add up to the model's R-squared?

Overview: Asks you to distinguish partial correlation from semi-partial (part) correlation: how each controls for a third variable and what question each one answers. Tests understanding of residualization, how the two compare in size, and how they connect to the change in R-squared in regression.

PracHub logo
General
Nov 24, 2026
mediumData ScientistOtherStatistics & Math
0
0

What is the difference between partial and semi-partial correlation?

Take two variables XX and YY and a control variable ZZ.

What a Strong Answer Covers Guidance

  • How each measure is computed, in terms of which variables have ZZ removed.
  • The question each measure answers.
  • How their magnitudes compare, and why.
  • How the squared semi-partial correlation connects to the change in R-squared in a regression.

Follow-up Questions Guidance

  • Write the partial correlation of XX and YY given ZZ in terms of the three pairwise correlations.
  • If XX and YY are uncorrelated, can their partial correlation given ZZ be nonzero? Give an example.
  • Why do the squared semi-partial correlations of correlated predictors not add up to the model's R-squared?