Semi-Partial Correlation Calculator


Instructions: This tool will show you step-by-step calculations of the semi-partial correlations for three variables \(X_1\), \(X_2\) and \(X_3\). Please type your samples, using either a comma or space separated format (For example: "2, 3, 4, 5", or "3 4 5 6 7").

\(X_1\) data (comma separated)
\(X_2\) data (comma separated)
\(X_3\) data (comma separated)

Open this calculator in the Dashboard →

Part Correlation Calculator

The part correlation coefficient, also known as semi-partial correlation coefficient, assesses the degree of association between two variables \(X_1\) and \(X_2\), when controlling (keeping constant) a third variable \(X_3\), but only one variable.

Unlike the full partial correlation, which removes the effect of \(X_3\) from both variables, the semi-partial correlation removes the influence of \(X_3\) from only one of the two variables being correlated. This distinction makes it especially useful in multiple regression analysis, where it reflects the unique contribution of a predictor.

Semi-Partial Correlation Formulas

Mathematically, the partial correlation between \(X_1\) and \(X_2\), when controlling for \(X_3\) for \(X_2\) only is written as \(r_{1(2.3)}\), and it is computed using the following formula:

Semi Partial Correlation Calculator
\[r_{1(2.3)} =\frac{r_{12} - r_{13}r_{23} }{\sqrt{1 - r_{23}^2 }}\]

Also, the partial correlation between \(X_1\) and \(X_2\), when controlling for \(X_3\) for \(X_1\) only is written as \(r_{1(2.3)}\), and it is computed using the following formula:

\[r_{2(1.3)} =\frac{r_{12} - r_{13}r_{23} }{\sqrt{1 - r_{13}^2 }}\]

Notice that the key difference between these two formulas is which pairwise correlation appears in the denominator. In the first case the denominator adjusts for \(r_{23}\), while in the second case it adjusts for \(r_{13}\).

Other Correlation Tools

If you want to compute the partial correlation between \(X_1\) and \(X_2\), controlling \(X_3\) for both \(X_1\) and \(X_2\), then you can use our partial correlation coefficient calculator instead. Or, if you want to compute the correlation between \(X_1\) and \(X_2\) without controlling for any other variable, you can use this Pearson's correlation coefficient calculator instead.

log in to your account

Don't have a membership account?
REGISTER

reset password

Back to
log in

sign up

Back to
log in