Transcript Document

Section 2.4
For any random variable X, the cumulative distribution function (c.d.f.)
of X is defined to be F(x) = P(X  x) .
1. The random variable X in Class Exercise #5 of Section 2.3 was
found to have p.m.f.
1/10 if x = –2
f(x) =
1/10
1/5
1/5
2/5
if x = –1
if x = 0
if x = 1
if x = 2
Find the distribution function F(x).
F(x) =
0
1/10
1/5
2/5
3/5
1
if x < –2
if –2  x < –1
if –1  x < 0
if 0  x < 1
if 1  x < 2
if 2  x
Section 2.4
For any random variable X, the cumulative distribution function (c.d.f.)
of X is defined to be F(x) = P(X  x) .
A Bernoulli experiment is one which must result in one of two
mutually exclusive and exhaustive outcomes often labeled in general
as “success” and “failure”. The probability of “success” is often
denoted as p, and the probability of “failure” is often denoted as q, that
is, q = 1 − p. If X is a random variable defined to be one (1) when a
success occurs and zero (0) when a failure occurs, then X is said to
have a Bernoulli distribution with success probability p. The p.m.f. of
X is
f(x) = px(1 – p)1–x
E(X) = p
The m.g.f. of X is
if x = 0 , 1 .
Var(X) = p(1 – p)
2. An envelope contains 7 one-dollar bills and 3 five-dollar bills.
(a) If 4 bills are randomly selected without replacement, find the
probability that exactly 2 are five-dollar bills.
7
3
2
2
=
10
(21)(3)
3
——— = — or
210
10
4! (7)(6)(3)(2)
3
—— ————— = —
2! 2! (10)(9)(8)(7)
10
4
(b) If 4 bills are randomly selected with replacement, find the
probability that exactly 2 are five-dollar bills.
2
2
2
2
7
3
4! 7 3
1323
4!
—— ——
= —— = 0.2646 or —— — — = 0.2646
4
2! 2! 10
5000
2! 2! 10 10
A sequence of Bernoulli trials is a sequence of independent Bernoulli
experiments where the probability of the outcome labeled “success”,
often denoted as p, remains the same on each trial; the probability of
“failure” is often denoted as q, that is, q = 1 – p. Suppose X1 , X2 , ..., Xn
make up a sequence of Bernoulli trials. If X = X1 + X2 + ... + Xn , then X
is a random variable equal to the number of successes in the sequence
of Bernoulli trials, and X is said to have a binomial distribution with
success probability p, denoted b(n, p). The p.m.f. of X is
n!
x(1 – p)n–x if x = 0, 1, … , n
p
————
f(x) =
x! (n – x)!
E(X) =
Var(X) =
The m.g.f. of X is
3. An urn contains 4 clear marbles and 10 colored marbles.
(a) If 3 marbles are randomly selected with replacement, find each
of the following probabilities:
2
3!
2 5
P(exactly 2 marbles are clear) = —— — —
2! 1! 7 7
3!
5
P(exactly 2 marbles are colored) = —— —
2! 1! 7
3
2
P(at least one marble is colored) = 1 – —
7
2
2
—
7
(b) If 7 marbles are randomly selected with replacement, find each of
the following probabilities:
2
5
7!
2
5
P(exactly 2 marbles are clear) = —— — —
2! 5! 7
7
7! 5
P(exactly 2 marbles are colored) = —— —
2! 5! 7
2
2
—
7
5
7
2
P(at least one marble is colored) = 1 – —
7
P(between 2 and 4 marbles inclusive are clear) =
2
5
3
4
4
3
7!
2
5
7!
2
5
7! 2
5
—— — — + —— — — + —— — —
2! 5! 7
7
3! 4! 7
7
4! 3! 7
7
(c) Consider the random variable Q = “the number of clear marbles
when 3 marbles are selected at random with replacement” with
p.m.f. f(q). Find f(q), E(Q), and Var(Q).
3
f(q) =
E(Q) =
Var(Q) =
q
2
—
7
q
5
—
7
3–q
if q = 0, 1, 2, 3
(d) Consider the random variable V = “the number of clear marbles
when 7 marbles are selected at random with replacement” with
p.m.f. g(v). Find g(v), E(V), and Var(V).
7
g(v) =
E(V) =
Var(V) =
v
7–v
v
2
—
7
5
—
7
if v = 0, 1, 2, …, 7
(e) Consider the random variable W = “the number of colored marbles
when 7 marbles are selected at random with replacement” with
p.m.f. h(w). Find h(w), E(W), and Var(W). (Note that V + W = 7.)
7
h(w) =
E(W) =
Var(W) =
w
7–w
w
5
—
7
2
—
7
if w = 0, 1, 2, …, 7
4. The probability that a certain type of fire-cracker will explode is 0.8
or 80%. By defining the random variables
X = “number of explosions with n fire crackers” , and
Y = “number of duds with n fire crackers” ,
use the table of binomial probabilities to find the probability that
(a) out of 6 fire crackers, exactly 2 explode,
X has a b(6, 0.8) distribution; Y has a b(6, 0.2) distribution.
P(X = 2) = P(Y = 4) = P(Y  4) – P(Y  3) =
0.9984 – 0.9830 = 0.0154
(b) out of 6 fire crackers, exactly 2 do not explode,
X has a b(6, 0.8) distribution; Y has a b(6, 0.2) distribution.
P(Y = 2) = P(Y  2) – P(Y  1) = 0.9011 – 0.6553 = 0.2458
(c) out of 15 fire crackers, exactly 5 do not explode,
X has a b(15, 0.8) distribution; Y has a b(15, 0.2) distribution.
P(Y = 5) = P(Y  5) – P(Y  4) = 0.9389 – 0.8358 = 0.1031
(d) out of 15 fire crackers, exactly 13 explode,
X has a b(15, 0.8) distribution; Y has a b(15, 0.2) distribution.
P(X = 13) = P(Y = 2) = P(Y  2) – P(Y  1) =
0.3980 – 0.1671 = 0.2309
(e) out of 10 fire crackers, at least 3 do not explode,
X has a b(10, 0.8) distribution; Y has a b(10, 0.2) distribution.
P(Y  3) = 1 – P(Y  2) = 1 – 0.6778 = 0.3222
(f) out of 15 fire crackers, at least 12 explode,
X has a b(15, 0.8) distribution; Y has a b(15, 0.2) distribution.
P(X  12) = P(Y  3) = 0.6482
(g) out of 10 fire crackers, between 5 and 8 inclusive explode.
X has a b(10, 0.8) distribution; Y has a b(10, 0.2) distribution.
P(5  X  8) = P(2  Y  5) = P(Y  5) – P(Y  1) =
0.9936 – 0.3758 = 0.6178
(h) Suppose n fire crackers are ignited. Find the smallest value of n
such that the probability of at least one dud is greater than 0.9.
X has a b(n, 0.8) distribution; Y has a b(n, 0.2) distribution.
P(Y  1) = 1 – P(Y = 0) = 1 – (0.8)n
1 – (0.8)n > 0.9  0.1 > (0.8)n  ln(0.1) > ln[(0.8)n] 
ln(0.1)
ln(0.1) > n ln(0.8)  ——— < n  n  11
ln(0.8)