Bivariate Normal Distribution

Two jointly normal quantities form an elliptical cloud, with a simple normal distribution after one is observed.

Draft — not yet reviewed by the site owner.

Prerequisites: Normal Distribution, Joint and Marginal Distributions, Covariance, Conditional Distributions.

A bivariate normal distribution describes two random quantities whose values form an elliptical cloud. It tells us both how each quantity varies and how they vary together. Its useful special feature is that, after we learn one value, the other still has a normal distribution with an easy-to-calculate mean and variance.

Read the ellipse

Let XX and YY have means μX,μY\mu_X,\mu_Y, positive standard deviations σX,σY\sigma_X,\sigma_Y, and correlation ρ\rho. Their individual distributions are normal. In a bivariate normal model, equal-density contours are ellipses centered at (μX,μY)(\mu_X,\mu_Y).

The spreads set the ellipse’s horizontal and vertical scales. Correlation describes the tilt, not the size of either variable’s spread. A normal distribution for XX and a normal distribution for YY separately do not guarantee that their pair is bivariate normal.

Elliptical density contours tilt upward. At a fixed x value above its mean, a vertical slice is centered above the overall mean of Y and is narrower than the original spread of Y.
Model, not data. A bivariate normal pair with both means 0, both standard deviations 1, and correlation 0.6. The dashed line is E[Y | X = x] = 0.6x. The marked slice at x = 1 has conditional mean 0.6 and conditional variance 1 − 0.6² = 0.64.

What changes when we know X?

For a nondegenerate bivariate normal pair (∣ρ∣<1|\rho|<1), the conditional distribution of YY given X=xX=x is normal with

E[Y∣X=x]=μY+ρσYσX(x−μX)E[Y\mid X=x]=\mu_Y+\rho\frac{\sigma_Y}{\sigma_X}(x-\mu_X)

and

Var⁡(Y∣X=x)=σY2(1−ρ2).\operatorname{Var}(Y\mid X=x)=\sigma_Y^2(1-\rho^2).

The first formula starts at the usual mean μY\mu_Y and adjusts it according to how far xx lies from μX\mu_X. The adjustment is in the direction set by the correlation. The second says that knowing XX reduces the remaining variance by a fraction ρ2\rho^2. In this model, the conditional variance does not depend on the observed value xx.

For example, let μX=μY=0\mu_X=\mu_Y=0, σX=1\sigma_X=1, σY=2\sigma_Y=2, and ρ=0.5\rho=0.5. Before seeing XX, YY has mean 0 and variance 4. After observing X=1X=1, its mean is 0+0.5(2/1)(1)=10+0.5(2/1)(1)=1 and its variance is 4(1−0.52)=34(1-0.5^2)=3. Write this as Y∣X=1∼N(1,3)Y\mid X=1\sim\mathcal N(1,3), where the second parameter is the variance, not the standard deviation.

Linear combinations stay normal

Suppose a random vector ZZ is jointly normal, with mean vector μ\boldsymbol\mu and covariance matrix Σ\Sigma. A linear combination A=c⊤ZA=c^\top Z is normal, with

E[A]=c⊤μ,Var⁡(A)=c⊤Σc.E[A]=c^\top\boldsymbol\mu, \qquad \operatorname{Var}(A)=c^\top\Sigma c.

For two combinations A=c⊤ZA=c^\top Z and B=d⊤ZB=d^\top Z, their covariance is c⊤Σdc^\top\Sigma d. That gives their means, variances, and covariance without writing a large joint density. The two-variable conditional formula above can then be used with AA and BB. This is especially handy when an exercise asks for one weighted total given another.

Common misunderstandings

Zero covariance is not always independence. It implies independence for a jointly normal pair, but not for arbitrary variables. For instance, if XX is symmetric around zero and Y=X2Y=X^2, then their covariance may be zero even though YY is completely determined by XX.

Normal marginals are not enough. The pair must be jointly normal for the conditional formula and the zero-correlation independence result to hold.

Further reading