Statistical Methods Atlas
Atlas › Test Association › Partial Correlation

Partial Correlation

The correlation between two variables after statistically removing the influence of one or more control variables — e.g., autonomy and satisfaction controlling for tenure.

Test AssociationMultivariate also known as: First-order correlation, Controlled correlation

✓ When to use

  • You suspect a third variable inflates or masks a bivariate correlation.
  • Testing whether an association survives controls (a first step toward ruling out confounding).
  • Sensitivity checks: does X–Y hold controlling for social desirability, tenure, firm size?

✗ When NOT to use

  • The control variable is a mediator on the causal path X → M → Y — partialling it removes the effect you care about.
  • The control is a collider (caused by both X and Y) — controlling it creates spurious association.
  • Many predictors with a directional question — multiple regression is the natural framework.
  • Poorly measured controls — measurement error leaves 'residual confounding' behind.

Data requirements

Dependent / outcome variableTwo focal continuous variables plus one or more continuous (or dichotomous) control variables.
Independent / grouping variable—
DesignOne sample, all variables measured per case.
Sample size guidanceAs for Pearson plus a few cases per control; df = n − 2 − k controls.

Assumptions

Hypotheses

H₀ — The partial correlation in the population is zero (ρxy·z = 0).
H₁ — The partial correlation differs from zero.

The concept

Regress X on the controls and take the residuals; regress Y on the controls and take the residuals; the partial correlation is the Pearson correlation between those two residual sets — the X–Y association left after the controls have explained what they can of each.

Comparing the zero-order r to the partial r is diagnostic: a large drop suggests the association routed through the control; an increase reveals suppression. The related semi-partial (part) correlation removes the control from only one variable and connects directly to regression's unique-variance logic.

Worked example

Autonomy and satisfaction correlate r = .42 (n = 156). Because senior employees have both more autonomy and higher satisfaction, tenure is controlled.

Result: partial r(153) = .35, p < .001 — the association weakens somewhat but clearly survives; it is not merely a tenure artifact.

How to run it

library(ppcor)
pcor.test(df$autonomy, df$satisfaction, df$tenure)      # one control

# several controls:
pcor.test(df$autonomy, df$satisfaction, df[, c("tenure", "age")])

Interpreting the output

APA-style reporting

The positive association between autonomy and job satisfaction remained significant after controlling for organizational tenure, partial r(153) = .35, p < .001 (zero-order r = .42).

Common mistakes

Related methods

Pearson CorrelationNo controlsMultiple Linear RegressionGeneral framework for controlsMediation AnalysisWhen the third variable transmits the effect
← Kendall's TauPoint-Biserial Correlation →