AP Statistics / Mr. Hansen |
Name: _________________________ |
Key to
HW Due
Binomial and Geometric Random Variables
Note: Required work is shown for each problem. Additional commentary is shown in [square brackets].
8.39(a) |
Although the SRS (sampling without replacement) violates independence slightly, the population is large relative to the sample. Thus the discrepancy is negligible. The other conditions of binomial distributions are satisfied: · X counts the # of successes in n trials · P(success) = p = .4, essentially unchanging from trial to trial · Only 2 poss. outcomes on each trial |
||||
(b) |
E(X) = np = 200(.4) = 80 |
||||
(c) |
[The book’s answer is wrong, because the word “between” means “strictly
between” unless the word “inclusive” is also present.] |
||||
(d) |
P(X ³
100) = 1 – P(X £
99) |
||||
8.41(a) |
P(no winner) = P(HHH È TTT) |
||||
(b) |
P(some winner) = 1 – P(no winner) |
||||
(c) |
X = # of flips needed to
determine a winner (note: “1 flip” means 3 people flipping once) · X counts # of indep. trials needed to obtain success, with n undetermined · P(success on a trial) = p = .75, a constant · only 2 poss. outcomes on each trial |
||||
(d) |
[Because I prefer to make my tables vertical, I will place the cdf (cumulative distribution function) in the third column, not the third row. Note that we cannot show the whole distribution, because the set of possible outcomes is infinite.] |
||||
|
xi |
P(X = xi) |
cum. probability |
||
|
1 |
p = .75 |
P(X £
1) = .75 |
||
|
2 |
qp =
(.25)(.75) = .1875 |
P(X £
2) = .9375 |
||
|
3 |
q2p = (.252)(.75) = .046875 |
P(X £
3) = .984375 |
||
|
4 |
q3p = (.253)(.75) = .01172 |
P(X £
4) = .99609375 |
||
|
5 |
q4p = (.253)(.75) = .00293 |
P(X £
5) = .9990234375 |
||
|
[etc.] |
. . . |
. . . |
||
(e) |
P(X £
2) = .9375 by table in part (d) [or by geometcdf,
though you can’t say that] |
||||
(f) |
P(X > 4) = 1 – P(X £ 4) |
||||
(g) |
E(X) = 1/p [by formula in
book, which you can certainly use] |
||||
(h) |
[Key in the following: |
||||
8.44(a) |
If at-bats are independent, then X
is geometric with parameter p = .325.
[There is good empirical evidence that at-bats are indeed independent, even
though sportswriters and fans tend to see “hot streaks” and “cold streaks” in
hitting. This is human nature, but the so-called streaks are generally
nothing more than random occurrences. In fact, it would be surprising if
streaks did not occur.] |
||||
(b) |
P(X £
3) = .692 by calc. [using geometcdf, though
you can’t say that] |
||||
(c) |
P(X > 4) = 1 – q4
[by the formula we proved in class] |
||||
(d) |
E(X) = mX = 1/p [by the book’s formula] |
||||
(e) |
L1 |
L2 |
L3 |
||
1 |
.325 |
.325 |
|||
(f) |
[Use the formulas shown to create lists L1, L2, and L3 as shown above.
(Don’t type the numbers in by hand! Ouch!) Then perform the following
keystrokes: |
||||