Definition: Conditional correlation
Index:
The Book of Statistical Proofs ▷
General Theorems ▷
Probability theory ▷
Correlation ▷
Conditional correlation
Sources:
Metadata: ID: D226 | shortcut: corr-cond | author: JoramSoch | date: 2026-03-26, 10:03.
Definition: Let $X$, $Y$ and $Z$ be random variables with the joint probability distribution $p(X,Y,Z)$ and consider the conditional probability distribution $p(X,Y \vert Z)$ as well as the (marginal and) conditional probability distributions $p(X \vert Z)$ and $p(Y \vert Z)$. Then, the conditional correlation of $X$ and $Y$ given $Z$ is defined as
\[\label{eq:corr-cond} \mathrm{Corr}(X,Y|Z) = \frac{\mathrm{Cov}(X,Y|Z)}{\sqrt{\mathrm{Var}(X|Z)} \sqrt{\mathrm{Var}(Y|Z)}}\]where $\mathrm{Cov}(X,Y \vert Z)$ is the conditional covariance of $X$ and $Y$, i.e. the covariance of $p(X,Y \vert Z)$, and $\mathrm{Var}(X \vert Z)$ as well as $\mathrm{Var}(Y \vert Z)$ are the conditional variances of $X$ and $Y$, i.e. the variances of $p(X \vert Z)$ and $p(Y \vert Z)$.
- Ostwald D, Soch J (2025): "Partielle Korrelation"; in: Allgemeines Lineares Modell, Einheit (12), Folie 8; URL: https://www.ipsy.ovgu.de/ipsy_media/Methodenlehre+I/Sommersemester+2025/Allgemeines+Lineares+Modell/12_Partielle_Korrelation.pdf.
Metadata: ID: D226 | shortcut: corr-cond | author: JoramSoch | date: 2026-03-26, 10:03.