PRST 05 DiscreteProbabilityDistributions
PRST 05 DiscreteProbabilityDistributions
PRST 05 DiscreteProbabilityDistributions
• Hypergeometric Distribution
• Poisson Distribution
k
k ∑i=1 xi
∑
•
μ = E[X] = xi f(xi) =
i=1
k
k
k ∑i=1 (xi − μ)2
2 2
∑
•
σ = Var(X) = (xi − μ) f(xi) =
i=1
k
• X = die #1 result
1
{0
for x = 1,2,...,6
Uniform PDF: f(x) = 6
•
otherwise
k
∑i=1 xi 1 + 2 + . . . + 6 21
•μ= = = = 3.5
k 6 6
k
∑i=1 (xi − μ)2 (1 − 3.5)2 (6 − 3.5)2
2
• σ = = + ... + = 2.9167
k 6 6
• n trials
• Probability of success: p
• Probability of a failure: 1 − p
• RV X: # of successes
• X = 0,1,2,3,4
f(x; n, p) = b(x; n, p)
(x)
Binomial PDF: n
• = p x(1 − p)n−x x = 0,1,2,...,n
∑(t)
x
Binomial CDF: n t n−t
• = p (1 − p)
t=0
∑(t)
1
n
F(1) = p t(1 − p)n−t
Example: t=0
(0) (1)
• n 0 n n
= p (1 − p) + p 1(1 − p)n−1
• # of trials: 1 (i.e. n = 1)
• Since ( x ) is 1 for x = 0 or 1
1
(y)
n y n−y
∑ i
•
Y = X has a Binomial PDF of f(y; n, p) = p (1 − p)
i=1
• σ 2 = Var(X) = np(1 − p)
n n
n!
p x(1 − p)n−x
∑ ∑ x!(n − x)!
E(X ) = xf(x) =
x=0 x=0
n
(n − 1)! x−1
p (1 − p)n−x
∑ x!(n − x)!
= np x
x=0
n
(n − 1)! x−1
p (1 − p)n−x
∑ x!(n − x)!
Proof: = np x
x=1
n
(n − 1)!
p x−1(1 − p)n−x
∑ (x − 1)!(n − x)!
= np
• x=1
n−1
(n − 1)!
p y(1 − p)n−y−1 = np ⋅ 1 = np
∑ y!(n − y − 1)!
= np
y=0
• n = 4, p = 0.6
x f(x) x∗f(x)
0 0.0256 0
2 0.3456 0.6912
• μ = 4 * 0.6 = 2.4 3 0.3456 1.0368
4 0.1296 0.5184
2
• σ = 4 × 0.6 × (1 − 0.6) = 0.96
4
∑
What would μ be if we just used the formula of μ = xf(x)?
•
x=0
4
∑
•
μ= xf(x) = 0 + 0.1536 + 0.6912 + 1.0368 + 0.5184 = 2.4
x=0
• Suppose
• Hypergeometric PDF
(x) ( n − x )
k N−k
f(x; N, n, k) = h(x; N, n, k) =
(n)
• N
• N = 10, k = 4, n = 3 and x = 2
(x) ( n − x)
k N−k
f(2) =
( n)
N
(2) ( 3 − 2)
4 10 − 4
=
( 3)
10
•
6*6 3
= =
120 10
[N − 1]
• N−n
= npq
k N−k
• where, p = , q=
N N
• Proof: similar to the proof for the binomial PDF
• Tea taster claimed that, when drinking tea, she could distinguish
whether milk of tea was added to the cup rst
(x) ( n − x ) (4) (0 − 4)
k N−k 4 8−4
1
f(4) = = = = 0.0143
(n) ( 4)
• N 8 70
x f(x)
• What are the probabilities of observing
0 0.0143
the other possible values of X?
1 0.2286
2 0.5143
3 0.2286
4 0.0143
e −λt(λt)x
• f(x; λt) = p(x; λt) = for x = 0,1,2,...
x!
e −5(5)0 −5
• P(X = 0) = f(0) = = e = 0.0067
0!
e −5/3(5/3)0 −5/3
• P(X = 0) = f(0) = = e = 0.1889
0!
• σ 2 = Var(X) = λt
∞ ∞
e −λt(λt)x
∑ ∑
E(X ) = xf(x) = x
x=0 x=0
x!
∞ x
(λt)
= e −λt
∑ x!
x
x=1
∞ x ∞
−λt (λt) −λt (λt)x−1
∑ (x − 1)! ∑ (x − 1)!
Proof: =e = e (λt)
x=1 x=1
∞ y
(λt)
= e −λt(λt)
• ∑ (y)!
y=0
a ∞
b
= e −λt(λt) ⋅ e λt since e b =
∑ a!
= λt
a=0
• μ = E[X] = 5, σ 2 = Var(X) = 5
• For the 1/3 unit of time (1 minute),