3.1 Joint Distribution Functions
Definition. The joint CDF of (X,Y) is FX,Y(x,y)=P(X≤x,Y≤y).
Definition. The joint PDF (for continuous random variables) is fX,Y(x,y)≥0 such that
FX,Y(x,y)=∫−∞x∫−∞yfX,Y(u,v)dudv
Definition. The marginal PDF of X is fX(x)=∫−∞∞fX,Y(x,y)dy.
3.2 Covariance and Correlation
Definition. The covariance of X and Y is
Cov(X,Y)=E[(X−E[X])(Y−E[Y])]=E[XY]−E[X]E[Y]
Proposition 2.6. Cov(X,Y)=Cov(Y,X) and Cov(aX+b,cY+d)=acCov(X,Y).
Definition. The correlation coefficient is
ρ(X,Y)=Var(X)Var(Y)Cov(X,Y)
Theorem 2.7 (Cauchy—Schwarz for Random Variables). ∣ρ(X,Y)∣≤1With equality if and only if Y=aX+b almost surely for some a,b.
3.3 Independence of Random Variables
Definition. X and Y are independent if FX,Y(x,y)=FX(x)FY(y) for all x,y.
For continuous random variables, this is equivalent to fX,Y(x,y)=fX(x)fY(y).
Proposition 2.8. If X and Y are independent, then Cov(X,Y)=0. The converse is false.
Worked Example: Uncorrelated but Dependent
Solution. Let X∼N(0,1) and Y=X2. Then Cov(X,Y)=E[X3]−E[X]E[X2]=0−0⋅1=0 (since the third moment of a standard normal is 0).
But Y is completely determined by XSo they are not independent. ■