Probability Distributions Cheat Sheet for Electrical Engineering 126: Spring 2018, Lecture notes of Electrical Engineering

A cheat sheet for various probability distributions, including bernoulli, binomial, geometric, poisson, uniform, exponential, normal, pascal, erlang, and n-dimensional gaussian distributions. It includes probability mass functions (pmf), moment generating functions (mgf), moments, and formulas for independence and sums.

Typology: Lecture notes

2021/2022

Uploaded on 08/05/2022

dirk88
dirk88 🇧🇪

4.4

(222)

3.1K documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Electrical Engineering 126: Probability & Random Processes
Final Cheat Sheet
Spring 2018
1 Distributions
XBernoulli(p), p[0,1].
PMF: pX(x) = px(1 p)1x,x {0,1}.
MGF: MX(s)=1p+pexp s.
Moments: E[X] = p, var X=p(1 p).
XBinomial(n, p), nZ+,p[0,1].
PMF: pX(x) = n
xpx(1 p)nx,x {0, . . . , n}.
MGF: MX(s) = (1 p+pexp s)n.
Moments: E[X] = np, var X=np(1 p).
XGeometric(p), p(0,1).
PMF: pX(x) = pqx1,xZ+,q= 1 p.
MGF: MX(s)=(pexp s)/(1 qexp s), s < ln(1/q).
Moments: E[X] = p1, var X=q/p2.
XPoisson(λ), λ > 0.
PMF: pX(x) = λxexp(λ)/x!, xN.
MGF: MX(s) = exp(λ(exp s1)).
Moments: E[X] = λ, var X=λ.
X, Y
independent,
XPoisson
(
λ
),
YPoisson
(
µ
) =
X+YPoisson(λ+µ).
XUniform[a, b], a<b.
PDF: fX(x) = (ba)1,x[a, b].
MGF: MX(s) = (exp(sb)exp(sa))/(s(ba)).
Moments: E[X] = (a+b)/2, var X= (ba)2/12.
XExponential(λ), λ > 0.
PDF: fX(x) = λexp(λx), x > 0.
CDF: FX(x) = (1 exp(λx))
1
{x0}.
MGF: MX(s) = λ/(λs), s < λ.
Moments: E[X] = λ1, var X=λ2.
X N(µ, σ2), µR,σ2>0.
PDF: fX(x)=(2πσ)1exp{−(xµ)2/(2σ2)}.
CDF: FX(x) = Φ(x).
MGF: MX(s) = exp(µs +σ2s2/2).
Moments: E[X] = µ, var X=σ2.
X, Y
independent,
X N
(
µ1, σ2
1
),
Y N
(
µ2, σ2
2
) =
X+Y N(µ1+µ2, σ2
1+σ2
2).
Continued:
XPascal(k, p), kZ+,p(0,1).
Sum of ki.i.d. Geometric(p).
PMF: pX(x) = x1
k1pk(1 p)xk,x=k, k + 1, k + 2, . . . .
XErlang(k, λ), kZ+,λ > 0.
Sum of ki.i.d. Exponential(λ).
PDF: fX(x) = λkxk1exp(λx)/(k1)!, x0.
X Nn(µ, Σ), nZ+(joint Gaussian).
PDF (assuming Σ invertible): For xRn,
fX(x) = [(2π)ndet Σ]1/2exp{−(xµ)TΣ1(xµ)/2}.
MGF: MX(s) = E[exp(sTX)] = exp(µTs+sTΣs/2).
Moments: E[X] = µ, cov X= Σ.
2 Definitions & Equations
Tail Sum: For X0, E[X] = R
0P(Xx) dx.
Variance
:
var X
=
E
[(
XE
[
X
])
2
] =
E
[
X2
]
E
[
X
]
2
.
Sum
:
var Pn
i=1 Xi=Pn
i=1 var Xi+Pi6=jcov(Xi,Xj).
Covariance
:
cov
(
X, Y
) =
E
[
XY
]
E
[
X
]
E
[
Y
].
Matrix
: If
X
=
(X1, . . . , Xn), (cov X)i,j = cov(Xi, Xj).
Correlation: ρ(X, Y ) = cov(X, Y )/p(var X)(var Y).
Entropy: H(X) = Px∈X p(x) log2p(x) = E[log2p(X)].
Order Statistics: fX(i)(x) = nn1
i1f(x)F(x)i1(1 F(x))ni.
MGF: MX(s) = E[exp(sX)].
Markov: For X0, x > 0, P(Xx)E[X]/x.
Chebyshev: For x > 0, P(|XE[X]| x)(var X)/x2.
LLSE: L[X|Y]E[X] = [cov(X, Y )/(var Y)](YE[Y]).
1
pf2

Partial preview of the text

Download Probability Distributions Cheat Sheet for Electrical Engineering 126: Spring 2018 and more Lecture notes Electrical Engineering in PDF only on Docsity!

Electrical Engineering 126: Probability & Random Processes

Final Cheat Sheet

Spring 2018

1 Distributions

  • X ∼ Bernoulli(p), p ∈ [0, 1]. PMF: pX (x) = px(1 − p)^1 −x, x ∈ { 0 , 1 }. MGF: MX (s) = 1 − p + p exp s. Moments: E[X] = p, var X = p(1 − p).
  • X ∼ Binomial(n, p), n ∈ Z+, p ∈ [0, 1]. PMF: pX (x) = (n x

px(1 − p)n−x, x ∈ { 0 ,... , n}. MGF: MX (s) = (1 − p + p exp s)n. Moments: E[X] = np, var X = np(1 − p).

  • X ∼ Geometric(p), p ∈ (0, 1). PMF: pX (x) = pqx−^1 , x ∈ Z+, q = 1 − p. MGF: MX (s) = (p exp s)/(1 − q exp s), s < ln(1/q). Moments: E[X] = p−^1 , var X = q/p^2.
  • X ∼ Poisson(λ), λ > 0. PMF: pX (x) = λx^ exp(−λ)/x!, x ∈ N. MGF: MX (s) = exp(λ(exp s − 1)). Moments: E[X] = λ, var X = λ. X, Y independent, X ∼ Poisson (λ), Y ∼ Poisson (μ) =⇒ X + Y ∼ Poisson(λ + μ).
  • X ∼ Uniform[a, b], a < b. PDF: fX (x) = (b − a)−^1 , x ∈ [a, b]. MGF: MX (s) = (exp(sb) − exp(sa))/(s(b − a)). Moments: E[X] = (a + b)/2, var X = (b − a)^2 /12.
  • X ∼ Exponential(λ), λ > 0. PDF: fX (x) = λ exp(−λx), x > 0. CDF: FX (x) = (1 − exp(−λx)) (^1) {x≥ 0 }. MGF: MX (s) = λ/(λ − s), s < λ. Moments: E[X] = λ−^1 , var X = λ−^2.
  • X ∼ N (μ, σ^2 ), μ ∈ R, σ^2 > 0. PDF: fX (x) = (

2 πσ)−^1 exp{−(x − μ)^2 /(2σ^2 )}. CDF: FX (x) = Φ(x). MGF: MX (s) = exp(μs + σ^2 s^2 /2). Moments: E[X] = μ, var X = σ^2. X, Y independent, X ∼ N (μ 1 , σ 12 ), Y ∼ N (μ 2 , σ^22 ) =⇒ X + Y ∼ N (μ 1 + μ 2 , σ^21 + σ 22 ).

Continued:

  • X ∼ Pascal(k, p), k ∈ Z+, p ∈ (0, 1). Sum of k i.i.d. Geometric(p). PMF: pX (x) = (x− 1 k− 1

pk(1 − p)x−k, x = k, k + 1, k + 2,....

  • X ∼ Erlang(k, λ), k ∈ Z+, λ > 0. Sum of k i.i.d. Exponential(λ). PDF: fX (x) = λkxk−^1 exp(−λx)/(k − 1)!, x ≥ 0.
  • X ∼ Nn(μ, Σ), n ∈ Z+ (joint Gaussian). PDF (assuming Σ invertible): For x ∈ Rn, fX (x) = [(2π)n^ det Σ]−^1 /^2 exp{−(x − μ)TΣ−^1 (x − μ)/ 2 }. MGF: MX (s) = E[exp(sTX)] = exp(μTs + sTΣs/2). Moments: E[X] = μ, cov X = Σ.

2 Definitions & Equations

Tail Sum: For X ≥ 0, E[X] =

0 P(X^ ≥^ x) dx. Variance: var X = E[(X − E[X])^2 ] = E[X^2 ] − E[X]^2. Sum: var ∑n i=1 Xi^ =^

∑n i=1 var^ Xi^ +^

i 6 =j cov(Xi, Xj^ ). Covariance: cov (X, Y ) = E[XY ] − E[X] E[Y ]. Matrix: If X = (X 1 ,... , Xn), (cov X)i,j = cov(Xi, Xj ). Correlation: ρ(X, Y ) = cov(X, Y )/

(var X)(var Y ). Entropy: H(X) = − ∑ x∈X p(x) log 2 p(x) = − E[log 2 p(X)]. Order Statistics: fX(i) (x) = n (n− 1 i− 1

f (x)F (x)i−^1 (1 − F (x))n−i. MGF: MX (s) = E[exp(sX)]. Markov: For X ≥ 0, x > 0, P(X ≥ x) ≤ E[X]/x. Chebyshev: For x > 0, P(|X − E[X]| ≥ x) ≤ (var X)/x^2. LLSE: L[X | Y ] − E[X] = [cov(X, Y )/(var Y )](Y − E[Y ]).

Kalman Dynamics: For n ∈ N,

Xn+1 = AXn + Vn, Yn = CXn + Wn,

where X 0 , (Vn, n ∈ N), (Wn, n ∈ N) are zero mean, orthogonal, with cov Vn = ΣV , cov Wn = ΣW for all n ∈ N.

Kalman Filter: Assume ΣW is invertible.

Xˆn|n := L[Xn | Y 0 , Y 1 ,... , Yn] = Xˆn|n− 1 + Kn Y˜n, X^ ˆn|n− 1 := L[Xn | Y 0 , Y 1 ,... , Yn− 1 ] = A Xˆn− 1 |n− 1 , Y^ ˜n := Yn − L[Yn | Y 0 , Y 1 ,... , Yn− 1 ] = Yn − C Xˆn|n− 1 , Kn = Σn|n− 1 CT(CΣn|n− 1 CT^ + ΣW )−^1 , Σn|n− 1 := cov(Xn − Xˆn|n− 1 ) = AΣn− 1 |n− 1 AT^ + ΣV , Σn|n := cov(Xn − Xˆn|n) = (I − KnC)Σn|n− 1.