revision_concepts
revision_concepts
2 Random variables
1. A random variable (rv) is a map from Ω → R.
2. The cumulative distribution function (cdf) of any rv, X, is FX (x) =
P (X ≤ x); x can be any real number.
3. Discrete random variables can take at most a countably infinite number
of values. The probability mass function (pmf) of a discrete rv is pX (x) =
P (X = x).
4. Continuous random values can take a continuum of values. The prob-
ability density function
Rx (pdf) of a continuous rv is fX (x) = x FX (x).
Conversely, FX (x) = −∞ fX (t)t.
5. The quantile function of a continuous rv, X, evaluated at some p ∈ (0, 1]
is the smallest value x such that FX (x) = p.
6. For some real-valuedRfunction, g, the expectation, E [g(X)] is ∞
P
i=−∞ pX (i)g(i)
∞
if X is discrete and −∞ fX (t)g(t)t if X is continuous.
7. Expectation is linear: E [ag(X) + bh(X)] = a E [h(X)] + b E [g(X)].
2 2 2
p − E [X]) ] = E [X ] − E [X] .
8. The variance of any rv, X, is Var [X] = E [(X
The standard deviation is StdDev [X] = Var [X].
9. Var [aX + b] = a2 Var [X].
1
3 Summary of probability distributions
Name Abbrev. Disc/Cts Values
Discrete uniform Unif(0, m) D 0, 1, . . . , m
Bernoulli Bern(θ) D 0, 1
Binomial Bin(n, θ) D 0, 1, . . . , n
Geometric Geom(θ) D 0, 1, 2, 3, . . .
Poisson Poisson(λ) D 0, 1, 2, 3, . . .
Uniform Unif(a, b) C [a, b]
Exponential Exp(β) C [0, ∞)
Gamma Gam(α, β) C [0, ∞)
Beta Beta(α1 , α2 ) C [0, 1]
Weibull Weib(α, β) C [0, ∞)
Normal N(µ, σ 2 ) C (−∞, ∞)
Cauchy Cauchy C (−∞, ∞)
4 Univariate Transformations
Let X be a rv and let Y = g(X) where g is a real-valued function.
P
1. If X is discrete then so is Y , and pY (y) = x:g(x)=y pX (x).
5 Bivariate Distributions
Let (X, Y ) be a bivariate rv.
1. The joint cdf is FX,Y (x, y) = P (X ≤ x, Y ≤ y). FX (x) = FX,Y (x, ∞).
2
2. For a discrete rv, the joint pmf is pX,Y (x, y) = P (X = x, Y = y).
∂2
3. For a continuous rv, the joint pdf is fX,Y (x, y) = F (x, y).
∂x∂y X,Y
6 Bivariate Expectations
Let (X, Y ) be a bivariate rv and X = (X1 , . . . , Xn )t and Y = (Y1 , . . . , Ym ) be
vector rvs.
1. Bivariate expectation:
P∞ P∞
For a discrete rv E [g(X, Y )] = i=−∞ j=−∞ pX,Y (i, j)g(i, j).
R∞ R∞
For a continuous rv E [g(X, Y )] = −∞ −∞ fX,Y (s, t)g(s, t)st.
4. P
The conditional expectation of X given Y = y is E [g(X)|Y R ∞ = y] =
∞
i=−∞ pX|Y (i|y)g(i) if X is a discrete rv, and E [g(X)|Y = y] = −∞ fX|Y (t|y)g(t)t
if X is continuous.
3
5. The conditional variance of X given Y = y is Var [X|Y = y] = E [X 2 |Y = y]−
E [X|Y = y]2 .
7 Linear Transformations
Let (X, Y ) be a bivariate rv and X = (X1 , . . . , Xn )t and Y = (Y1 , . . . , Ym ) be
vector rvs.
1. The covariance of X and Y is Cov [X, Y ] = E [(X − E [X])(Y − E [Y ])] =
E [XY ] − E [X] E [Y ]. Var [X] = Cov [X, X].
4. Vector/matrix forms: E [X] = (E [X1 ] , . . . , E [Xn ])t . Var [X] is the matrix
with (i, j)-th element Cov [Xi , Xj ].
8 Bivariate Transformations
Let (X, Y ) be a continuous bivariate rv that is mapped by a 1-1 transformation
to another continuous rv, (S, T ).
1. fS,T (s, t) = fX,Y (x, y)| det(J)|, where J = ∂(x, y)/∂(s, t). Relabelling and
re-arranging fS,T (s, t) = fX,Y (x, y)| det(J)|−1 , where J = ∂(s, t)/∂(x, y).
4
9 Limit Theorems
Let Y be an rv with Var [Y ] < ∞, and let X1 , X2 , . . . be a sequence of independent
and identically
Pn distributed rvs with E [Xi ] = µ and Var [Xi ] = σ 2 < ∞. Let
Sn = i=1 Xi and X n = Sn /n.
n → ∞.
√
n(X n −µ)
4. Central Limit Theorem (CLT): P σ
< a → Φ(a) as n → ∞.
1. The density is
1 1 t −1
f (x) = exp − (x − µ) Σ (x − µ) .
(2π)n/2 | det(Σ)|1/2 2