06.03.2017 Views

Mathematics for Computer Science

e9ck2Ar

e9ck2Ar

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

“mcs” — 2017/3/3 — 11:21 — page 788 — #796<br />

788<br />

Chapter 18<br />

Conditional Probability<br />

(e) Suppose Dr. Meyer had enough vaccine to treat 2% of the population. If he<br />

randomly chose people to vaccinate, he could expect to vaccinate only 2% of the<br />

people who needed it. But by testing everyone and only vaccinating those diagnosed<br />

as future sufferers, he can expect to vaccinate a much larger fraction people<br />

who were going to suffer from Beaver Fever. Estimate this fraction.<br />

Problem 18.20.<br />

Suppose that Let’s Make a Deal is played according to slightly different rules and<br />

with a red goat and a blue goat. There are three doors, with a prize hidden behind<br />

one of them and the goats behind the others. No doors are opened until the contestant<br />

makes a final choice to stick or switch. The contestant is allowed to pick a<br />

door and ask a certain question that the host then answers honestly. The contestant<br />

may then stick with their chosen door, or switch to either of the other doors.<br />

(a) If the contestant asks “is there is a goat behind one of the unchosen doors?”<br />

and the host answers “yes,” is the contestant more likely to win the prize if they<br />

stick, switch, or does it not matter? Clearly identify the probability space of outcomes<br />

and their probabilities you use to model this situation. What is the contestant’s<br />

probability of winning if he uses the best strategy?<br />

(b) If the contestant asks “is the red goat behind one of the unchosen doors?” and<br />

the host answers “yes,” is the contestant more likely to win the prize if they stick,<br />

switch, or does it not matter? Clearly identify the probability space of outcomes<br />

and their probabilities you use to model this situation. What is the contestant’s<br />

probability of winning if he uses the best strategy?<br />

Problem 18.21.<br />

You are organizing a neighborhood census and instruct your census takers to knock<br />

on doors and note the sex of any child that answers the knock. Assume that there<br />

are two children in every household, that a random child is equally likely to be a<br />

girl or a boy, and that the two children in a household are equally likely to be the<br />

one that opens the door.<br />

A sample space <strong>for</strong> this experiment has outcomes that are triples whose first<br />

element is either B or G <strong>for</strong> the sex of the elder child, whose second element is<br />

either B or G <strong>for</strong> the sex of the younger child, and whose third element is E or Y<br />

indicating whether the elder child or younger child opened the door. For example,<br />

.B; G; Y/ is the outcome that the elder child is a boy, the younger child is a girl, and<br />

the girl opened the door.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!