StatLabStudent EditionUser guideGalleryFeaturesAbout

Partial correlation

Measures the linear relationship between two numeric variables after removing the influence of one or more control variables from both.

Menu: Analyze → Correlate → Partial…

When should I use it?

What are the assumptions?

How do I run it in StatLab?

  1. Move the variables to correlate to Variables.
  2. Move the control variable(s) to Controlling for.
  3. Tick Zero-order correlations to compare with the uncontrolled correlations.

How do I read the output?

OutputMeaning
CorrelationPartial r between each pair.
Significancep-value (two- or one-tailed).
dfN − 2 − number of control variables.

Worked example

On the practice survey dataset (File → Sample dataset), this command — which the dialog's Paste button also produces — runs the procedure:

PROC glmPartialCorr /vars=(pre post) /controls=(age) /tails=2 /zero=NO.

Output tables: Correlations.

How would I report it in APA style?

Partial correlations controlling for Age (years) (N = 150): Pre-test score and Post-test score: r(147) = .883, p < .001.

Computed by StatLab's validated procedure code when this page was built. The example only illustrates the steps; choose variables that fit your own research question.

What are common mistakes?

Open StatLab   All guide topics