Partial correlation calculator
Measure the linear relationship between X and Y after statistically removing the effect of one control variable Z.
X and Y residuals after controlling Z
Each point shows what remains of X and Y after their linear relationship with Z is removed.
Coefficient comparison
| Coefficient | Value |
|---|---|
| Fill in the fields above — the result is computed on this page. | |
How do I use this page?
- Paste X, Y and Z in matching observation order.
- Compare raw and partial correlations.
- Inspect the residual plot and possible outliers.
What this page does not do: All series must have equal length and variation. The model controls one variable and describes linear relationships only.
Further reading
Theory — what is partial correlation?
Partial correlation answers how strongly X and Y are linearly related once the influence of a third control variable Z has been statistically removed. The calculator first regresses X on Z and Y on Z, then computes an ordinary Pearson correlation between the resulting residuals. Unlike ordinary correlation, which uses raw X and Y values, partial correlation strips the linear effect of Z out of both variables before comparing them. This reveals a relationship not driven simply by both variables sharing a link to Z.
Frequently asked questions
How does partial correlation differ from ordinary correlation?
Does a high partial correlation prove causation?
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.