Discrete Distributions
Discrete Distributions
Thierry Savin
Lent 2024
the royal flush, the best possible hand in poker, has a probability 0.000154%
Introduction
Course’s contents
1. Probability Fundamentals
1/19
Introduction
This lecture’s contents
Introduction
2/19
Introduction
Discrete Probability Distributions
3/19
The Bernoulli Distribution
Definition [DB p.27]
k
0 1
1
named after the Swiss mathematician Jacob Bernoulli (1655-1705)
4/19
The Bernoulli Distribution
Properties of X ∼ Ber(p)
ImmediateX
from: 1
H[X] = H2 (p)
H[X] = − PX (k) log2 PX (k) 0.8
k∈X
0.6
H2 (p) is known as the binary entropy 0.4
function. 0.2
The max of H2 at p = 12 , where our 0
0 1 1 3 1
uncertainty is complete. 4 2 4
p
5/19
The Bernoulli Distribution
Examples
p(1 − p)k−1
if k ∈ {1, 2, . . . },
X ∼ Geo(p) ⇔ PX (k) =
0 otherwise.
The support of X, X = {1, 2, . . . }, is discrete infinite.
PX (k)
3
4 p = 14
1 p = 12
2
p = 34
1
4
k
0 2 4 6 8 10
∞
X X a
Verify that PX (k) = 1 using the geometric series ak = [DB p.4]
k∈X k=1
1−a
8/19
The Geometric Distribution
Properties of X ∼ Geo(p)
H2 (p)
X
H[X] = − pq k−1 log2 (pq k−1 ) = 8
p
k=1
H[X] =
∞ ∞
p q X X
4
log2 × q k − log2 q× kpq k−1
q p
k=1 k=1
0
0 1 1 3 1
Diverges at p = 0, where success is 4 2 4
highly unexpected. . . p
9/19
The Geometric Distribution
Examples
10/19
The Binomial Distribution
Definition
0.2 n = 20, p = 12
n = 20, p = 34
0.1 n = 40, p = 12
k
0 5 10 15 20 25 30
X Xn
Verify that PX (k) = 1 using the binomial expansion (a + b)n = n
Ck ak b n−k [DB p.4]
k∈X k=0
12/19
The Binomial Distribution
Properties of X ∼ B(n, p)
H[X](p)
n≫1 p 3
H[X] ≈ log2 2πenp(1 − p) using
Stirling’s approximation 2
n≫1 √
n! ≈ 2πn(n/e)n . 1
1
The max of H[X] at p = 2
increases
0 1 1 3 1
with n. 4 2 4
p 13/19
The Binomial Distribution
Example
0.1
k
0 5 10 15 20
∞
X X xk
Verify that PX (k) = 1 using the power series e x = [DB p.5]
k∈X k=0
k!
2
named after the French mathematician Siméon Denis Poisson (1781-1840)
16/19
The Poisson Distribution
Properties of X ∼ Pois(λ)
H[X](λ)
λ≫1 3
H[X] ≈ log2 2πeλ
H[X] increases with λ. 2
1
0 5 10 15 20
λ
17/19
The Poisson Distribution
Examples