Skip to content
Infinitesimal Dynamics home
Notebook: 0 XP

Probability Theory / Continuous and dependent models

Joint Distributions, Covariance and Correlation

Two random variables at once: how they vary together and what independence really requires.

3 min read · 1 sections · 1 checks

Contents 2 sections
  1. §1Varying together
  2. ?Check yourself

By the end you can

  • Compute marginals from a joint distribution
  • Compute covariance and correlation
  • Distinguish uncorrelated from independent

Helps to know: Random Variables, Expectation and Variance

§1Varying together

Cov⁡(X,Y)=E[XY]−E[X]E[Y]ρ=Cov⁡(X,Y)σXσY\operatorname{Cov}(X, Y) = E[XY] - E[X]E[Y] \qquad \rho = \frac{\operatorname{Cov}(X, Y)}{\sigma_X \sigma_Y}

Correlation ρ\rho lies between −1-1 and 11 and measures linear association. In general Var⁡(X+Y)=Var⁡(X)+Var⁡(Y)+2Cov⁡(X,Y)\operatorname{Var}(X + Y) = \operatorname{Var}(X) + \operatorname{Var}(Y) + 2\operatorname{Cov}(X, Y).

Check yourself

  1. Q1
    If XX and YY are independent, Cov⁡(X,Y)=\operatorname{Cov}(X, Y) =