Ch4 1 DiscreteProbabilityDistribution
Ch4 1 DiscreteProbabilityDistribution
Distributions
Dr. Bülent Yılmaz
Introduction
• Random experiments model a lot of real life
phenomenon, these special distributions are
used frequently in different applications.
• Rather than trying to memorize the PMF,
you should understand the random
experiment behind each of them.
Special distributions
• Bernoulli distribution
• Binomial distribution
• Multinomial distribution
• Hypergeometric distribution
• Pascal distribution
• Geometric distribution
• Poisson distribution
Bernoulli distribution
• A Bernoulli random variable is a random
variable that can only take two possible
values, usually 0 and 1.
• This random variable models random
experiments that have two possible outcomes,
sometimes referred to as "success" and
"failure."
Examples
• You take a pass-fail exam. You either pass
(resulting in X=1) or fail (resulting in X=0).
• You toss a coin. The outcome is either heads
or tails.
• A child is born. The gender is either male or
female.
Definition
• A random variable X is said to be a Bernoulli
random variable with parameter p, shown as X
∼ Bernoulli(p), if its PMF is given by
n = 10, p = 0.3
PMF of Binomial distribution
n = 20, p = 0.6
Multinomial Distribution
If a given trial can result in the k outcomes E1,
E2, E3, …, Ek with probabilities p1, p2, p3, …, pk,
then the probability distribution of the random
variables X1, X2, …, Xk, representing the number
of occurrences for E1, E2, E3, …, Ek in n
independent trials, is
f(x1, x2, …, xk; p1, p2, p3, …, pk) =
(n!/(x1!x2!...xk!)) p1x1p2x2p3x3pkxk
Exercise f(x1, x2, …, xk; p1, p2, p3, …, pk) =
(n!/(x1!x2!...xk!)) p1x1p2x2p3x3pkxk
p = 0.3
0.7*0.3
0.7*0.7*0.3
0.7*0.7*0.7*0.3
EX for Geometric distribution
I toss the coin until I observe the first heads.
λ=5
λ=10
EX for Poisson distribution
Exercise
• The number of emails that I get in a weekday
can be modeled by a Poisson distribution with
an average of 0.2 emails per minute.
• What is the probability that I get no emails in
an interval of length 5 minutes?
λ=5(0.2)=1
P(X=0) = PX(0) = e−λλ0 / 0! = e−1⋅1 / 1 = 1 / e ≈ 0.3679
Exercise & Solution
• What is the probability that I get more than 3 emails
in an interval of length 10 minutes?
λ = 10 (0.2) = 2
P(Y>3) = 1 − P(Y≤3)
1−(PY(0)+PY(1)+PY(2)+PY(3))