Professional Documents
Culture Documents
Dung Nguyen
Examples:
The # of defective items among 20 independent items with the
defective rate 5%.
The # of winning tickets among 11 independent lottery tickets
with the winning rate 1%.
The # of patients reporting symptomatic relief with a specific
medication with the effective rate 80%.
Dung Nguyen Probability and Statistics 4/1
Discrete Distributions The Binomial Distributions B(n, p)
0.2 0.1
0.1 0.05
0 0
0 2 4 6 8 0 5 10 15 20 25 30
Figure: Pmf of B(n, p)
Proposition
Let X ∼ B(n, p). Then
1 X takes values in Ω = {0, 1, . . . , n} such that
f(k) = P(X = k) = Ckn pk q n−k .
k = 0: q q q ··· q =⇒ P(X = 0) = q n .
k = n: p p p ··· p =⇒ P(X = n) = pn .
k = 1: p q q ··· q =⇒ P(X = 1) = C1n pq n−1 .
k = 2: p p q ··· q =⇒ P(X = 2) = C2n p2 q n−2 .
2 X is a sum of n independent Bernoulli random variables.
X = Z1 + Z2 + · · · + Zn ,
(
1, if the i-th trial is successful
where Zi = .
0, otherwise
3 E(X) = np and V(X) = npq.
Example
1 Each sample of water has a 10% chance of containing a
particular organic pollutant. Assume that the samples are
independent with regard to the presence of the pollutant.
Example
1 Each sample of water has a 10% chance of containing a
particular organic pollutant. Assume that the samples are
independent with regard to the presence of the pollutant.
a Find the probability that, in the next 18 samples, exactly 2
contain the pollutant.
Example
1 Each sample of water has a 10% chance of containing a
particular organic pollutant. Assume that the samples are
independent with regard to the presence of the pollutant.
a Find the probability that, in the next 18 samples, exactly 2
contain the pollutant.
b Determine the probability that at least 4 samples contain the
pollutant.
Example
1 Each sample of water has a 10% chance of containing a
particular organic pollutant. Assume that the samples are
independent with regard to the presence of the pollutant.
a Find the probability that, in the next 18 samples, exactly 2
contain the pollutant.
b Determine the probability that at least 4 samples contain the
pollutant.
c Now determine the probability that 3 ≤ X < 7.
Example
1 Each sample of water has a 10% chance of containing a
particular organic pollutant. Assume that the samples are
independent with regard to the presence of the pollutant.
a Find the probability that, in the next 18 samples, exactly 2
contain the pollutant.
b Determine the probability that at least 4 samples contain the
pollutant.
c Now determine the probability that 3 ≤ X < 7.
Example
3 A certain binary communication system has a bit-error rate of
0.1; i.e., in transmitting a single bit, the probability of
receiving the bit in error is 0.1. If 6 bits are transmitted,
then how many bits, on average, will be received in error?
Determine the corresponding variance.
Example
3 A certain binary communication system has a bit-error rate of
0.1; i.e., in transmitting a single bit, the probability of
receiving the bit in error is 0.1. If 6 bits are transmitted,
then how many bits, on average, will be received in error?
Determine the corresponding variance.
Example 5 -
Generalization
P(Ri ) = p
With replacement
m
P(R1 ) =
N
m
P(R2 |R1 ) = P(R2 |B1 ) =
N
m
P(R2 ) = .
N
Without replacement
m
P(R1 ) =
N
m−1
P(R2 |R1 ) =
N −1
m
P(R2 |B1 ) =
N −1
P(R2 ) = P(R2 |R1 )P(R1 ) + P(R2 |B1 )P(B1 )
m−1 m m N −m m
= + = .
N −1N N −1 N N
Proposition
Let X ∼ B(n, p). Then
f(k) =
Ckm Cn−k
N −m
X has the pmf:
CnN .
1
0.3
m = 12 m = 25
0.3
0.2
0.2
0.1
0.1
0 0
0 2 4 6 8 10 12 0 2 4 6 8 10 12
Figure: Pmf of H(40, m, 10)
Example
6 A batch of parts contains 100 from a local supplier of tubing
and 200 from a supplier of tubing in the next state.
Example
6 A batch of parts contains 100 from a local supplier of tubing
and 200 from a supplier of tubing in the next state.
a If four parts are selected randomly and without replacement, what
is the probability they are all from the local supplier?
Example
6 A batch of parts contains 100 from a local supplier of tubing
and 200 from a supplier of tubing in the next state.
a If four parts are selected randomly and without replacement, what
is the probability they are all from the local supplier?
b What is the probability that two or more parts are from the local
supplier?
Example
6 A batch of parts contains 100 from a local supplier of tubing
and 200 from a supplier of tubing in the next state.
a If four parts are selected randomly and without replacement, what
is the probability they are all from the local supplier?
b What is the probability that two or more parts are from the local
supplier?
c What is the probability that at least one part in the sample is
from the local supplier?
Example
6 A batch of parts contains 100 from a local supplier of tubing
and 200 from a supplier of tubing in the next state.
a If four parts are selected randomly and without replacement, what
is the probability they are all from the local supplier?
b What is the probability that two or more parts are from the local
supplier?
c What is the probability that at least one part in the sample is
from the local supplier?
Approximation property
If m, N − m, n are large enough then H(N , m, n) ≈ B(n, p).
H(30, 12, 10) B(10, 0.4) H(1000, 400, 10)
0.3
0.2 0.2
0.2
0.1 0.1
0.1
0 0 0
0 2 4 6 8 10 0 2 4 6 8 10 0 2 4 6 8 10
Figure: B(n, p) vs. H(N , m, n) with p = m/N
Dung Nguyen Probability and Statistics 15/1
Discrete Distributions The Hypergeometric Distributions H(N , m, n)
Example
8 A list of customer accounts at a large company contains 1,000
customers. Of these, 700 have purchased at least one of the
company’s products in the last 3 months. To evaluate a new
product, 50 customers are sampled at random from the list.
What is the probability that more than 45 of the sampled
customers have purchased from the company in the last 3 months?
Poisson distribution:
λk
Ω = {0, 1, 2, . . .} and f(k) = P(X = k) = e−λ · , x ∈ Ω.
k!
The mean and variance of the Poisson model are the same.
·10−2
0.4 6
0.1
4
0.2
0.05
2
0 0 0
0 2 4 6 8 0 5 10 15 0 10 20 30 40
Figure: Pmf of Poisson(λ)
Example
9 Consider an experiment that consists of counting the number of
α particles given off in a 1-second interval by 1 gram of
radioactive material. If we know from past experience that, on
average, 3.2 such α particles are given off, what is a good
approximation to the probability that no more than 2 α
particles will appear?
Example
9 Consider an experiment that consists of counting the number of
α particles given off in a 1-second interval by 1 gram of
radioactive material. If we know from past experience that, on
average, 3.2 such α particles are given off, what is a good
approximation to the probability that no more than 2 α
particles will appear?
Example
9 Consider an experiment that consists of counting the number of
α particles given off in a 1-second interval by 1 gram of
radioactive material. If we know from past experience that, on
average, 3.2 such α particles are given off, what is a good
approximation to the probability that no more than 2 α
particles will appear?
Example
9 Consider an experiment that consists of counting the number of
α particles given off in a 1-second interval by 1 gram of
radioactive material. If we know from past experience that, on
average, 3.2 such α particles are given off, what is a good
approximation to the probability that no more than 2 α
particles will appear?
Example
9 Consider an experiment that consists of counting the number of
α particles given off in a 1-second interval by 1 gram of
radioactive material. If we know from past experience that, on
average, 3.2 such α particles are given off, what is a good
approximation to the probability that no more than 2 α
particles will appear?
Approximation property
Let Y ∼ Poisson(λ) and Xn ∼ B(n, pn ) with pn = λ/n. Then
P(Y = k)
lim = 1, ∀k = 0, 1, . . .
n→∞ P(Xn = k)
0 0 0
0 5 10 15 0 5 10 15 0 5 10 15
Example
11 Suppose that 1 in 5000 light bulbs are defective. What is the
probability that there are at least 3 defective light bulbs in
a group of size 10000?
0.4
0
−2 0 2 4 6 8 10
Figure: Pdf of U(a, b)
Proposition (Properties)
a+b (b − a)2
1 E(X) = 2 Var(X) =
2 12
Dung Nguyen Probability and Statistics 26/1
Continuous Distributions The Continuous Uniform Distributions U(a, b)
Example
12 If X is uniformly distributed over (0, 10), calculate the
probability that
Example
12 If X is uniformly distributed over (0, 10), calculate the
probability that
a X <3
Example
12 If X is uniformly distributed over (0, 10), calculate the
probability that
a X <3
b X >6
Example
12 If X is uniformly distributed over (0, 10), calculate the
probability that
a X <3
b X >6
c 3<X <8
Example
12 If X is uniformly distributed over (0, 10), calculate the
probability that
a X <3
b X >6
c 3<X <8
Example
12 If X is uniformly distributed over (0, 10), calculate the
probability that
a X <3
b X >6
c 3<X <8
Example
12 If X is uniformly distributed over (0, 10), calculate the
probability that
a X <3
b X >6
c 3<X <8
µ = 0, σ 2 = 5
µ = 0, σ 2 = 9
0.15 µ = 0, σ 2 = 20
µ = 0, σ 2 = 25
µ = −10, σ 2 = 9
0.1
5 · 10−2
0
−20 −10 0 10
Figure: Pdf of N(µ, σ 2 )
this area = α
x
zα
Example
14 Let X be a N(10, 16) random variable. Find the numerical values
of the following probabilities
Example
14 Let X be a N(10, 16) random variable. Find the numerical values
of the following probabilities
a P(X ≥ 15).
Example
14 Let X be a N(10, 16) random variable. Find the numerical values
of the following probabilities
a P(X ≥ 15).
b P(X ≤ 5).
Example
14 Let X be a N(10, 16) random variable. Find the numerical values
of the following probabilities
a P(X ≥ 15).
b P(X ≤ 5).
c P(X = 2).
Example
14 Let X be a N(10, 16) random variable. Find the numerical values
of the following probabilities
a P(X ≥ 15).
b P(X ≤ 5).
c P(X = 2).
Example
14 Let X be a N(10, 16) random variable. Find the numerical values
of the following probabilities
a P(X ≥ 15).
b P(X ≤ 5).
c P(X = 2).
Example
14 Let X be a N(10, 16) random variable. Find the numerical values
of the following probabilities
a P(X ≥ 15).
b P(X ≤ 5).
c P(X = 2).
Properties
Proposition (Basic properties)
1 E(X) = m and Var(X) = σ 2
2 If X ∼ N (m, σ 2 ) and Y = aX + b, a 6= 0 then
Y ∼ N(am + b, a2 σ 2 ).
3 If Xi ∼ N (mi , σi2 ) then
n n n
!
X X X
Xi ∼ N mi , σi2 .
i=1 i=1 i=1