Jump to content

Discrete Random Variables

From UBC Wiki
This article is part of the EconHelp Tutoring Wiki


A discrete random variable maps outcomes to values of a countable set (e.g., the integers), with each value in the range having probability greater than or equal to zero.

Discrete Probability

P(x)[0,1]xP(x)=1F(a)=xaP(x)=P(Xa)F(a)[0,1]F(a)F(b) a<bP(X>a)=1P(Xa)=1F(a)

Mean and Variance

Expected Value

E(X)=xxP(x)=μx

Variance

Var(X)=E[(Xμx)2]=x(xμx)2P(x)=E(X2)μx2

Binomial Distribution

XB(p), where p is the probability of successes in n independent trials.

μXB=E(XB)=pVar(XB)=p(1p)P(x)=px(1p)nxCxn

Jointly distributed variables

PX,Y(x,y)=P(X=x,Y=y)

XYPX,Y(x,y)=1

PX(x)=YPX,Y(x,y)PY(y)=XPX,Y(x,y)

Conditional Probabilities

E(Y|X=x)=yyPY|X(y|x)=μY|XVar(Y|X=y(yμY|X)2PY|X(y|x)=E(Y2|X=x)μ(2Y|X)

Covariance and Correlation

Cov(X,Y)=E[(XμX)(YμY)]=xy(xμx)(yμy)PX,Y(x,y)=E(XY)μXμY

ρ=Cov(X,Y)σXσY, 1ρa

Other useful results

Var(X+Y)=Var(X)+Var(Y)+2Cov(X,Y)Var(XY)=Var(X)+Var(Y)2Cov(X,Y)Var(aX+bY)=a2Var(X)+b2Var(Y)+2abCov(X,Y)