Академический Документы
Профессиональный Документы
Культура Документы
Geometric Distribution
Consider a sequence of independent Bernoulli
trials with a success denoted by S and failure
denoted by F with
P (S) = p and P (F ) = 1 p.
Let X = the number of trials until (and including) the first success.
Then, X follows a Geometric Distribution.
Comparison with binomial:
For a random variable with a binomial distribution, we know how many trials we will have, we
have n trials.
For a random variable with a geometric distribution, we do not know how many trials we will
have. It keeps going until we get a success.
2
NOTATION:
If X follows a geometric distribution with parameter p (for probability of success), we can
write
X Geo(p) for X = 1, 2, 3, . . .
Example: Let X be a geometric random variable with p = 0.25. What is the probability
that X = 4 (that the first success occurs on the
4th trial)?
ANS:
For X to be equal to 4, we had 3 failures, and
then a success.
P (X = 4) =
Geometric Distribution
In a series of Bernoulli trials (independent
trials with constant probability p of success), let the random variable X denote
the number of trials until the first success.
Then, X is a geometric random variable
with parameter p such that 0 < p < 1
and the probability mass function of X is
f (x) = (1p)x1p
for x = 1, 2, 3, . . .
0.8
1.0
f(x)
0.6
p=0.8
p=0.5
p=0.2
0.0
0.2
0.4
10
?
x1
2
(1p)
p = p+(1p)p+(1p) p+ = 1
x=1
X
x=0
ax =
1
1a
Let X be the number of tests up to and including the first test that results in a beam
fracture.
1. Find P (X 3)
{i.e. that the first beam fracture happens on the
third trial or later.}
ANS:
Either a weld fracture or a beam fracture
will occur on each Bernoulli trial. Well
call a success a beam fracture. X is a geometric random variable with p = 0.20.
P (X 3) = 1P (X < 3) {complement}
= 1[P (X = 1)+P (X = 2)]
= 1 [0.20 + (0.80)(0.20)]
= 0.64
7
V (X) = 20 4.47
5
probability=
(0.2)2(0.8)3 (0.2)
2
5
=
(0.8)3(0.2)3
2
=10 (0.8)3(0.2)3
=0.04096
10
x = r, r + 1, r + 2, . . .
11
12
13
0.06
0.05
0.04
f(x)
0.03
0.00
0.01
0.02
10
20
30
40
1. Find P (X = 4).
ANS:
2. Find the expected value of X and the variance of X.
ANS:
3 =15
E(X) = 0.2
3(0.8)
= 60 7.746
14
Hypergeometric Distribution
The hypergeometric distribution has many applications in finite population sampling.
Drawing from a relatively small population
without replacement
Removing one object affects the next probability (in contrast, sequential probabilities for
the binomial which had independent draws
remained constant, this is different)
Sequential draws are not independent, they
depend on what occurred in earlier draws
15
Hypergeometric Distribution
(Sampling without replacement in
a small finite population)
f (x) =
K
x
N K
nx
!
N
n
18
Let X be the number of defectives (or successes) found in a sample of size n=10.
X is a hypergeometric random variable.
Need to calculate P (X = 0).
Use the probability mass function for X
(shown below) to calculate this probability:
!
!
6
19
x
10 x
!
P (X = x) = f (x) =
25
10
for x {0, 1, 2, 3, 4, 5, 6}
19
6
19
0
10
P (X = 0) = f (0) =
= 0.0283
25
10
0.20
0.00
0.10
f(x)
0.30
You can use the PMF to generate the probability for any x...
!
!
6
19
x
10 x
!
P (X = x) = f (x) =
25
10
n
2 = V (X) = np (1 p) N
N 1
where p = K/N .
23
ANS:
n = 10, N = 25, K = 6,
p = K/N = 6/25 = 0.24
2 = V (X)
= 10 (6/25) (19/25) (15/24)
= 1.14
24
25