06.03.2017 Views

Mathematics for Computer Science

e9ck2Ar

e9ck2Ar

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

“mcs” — 2017/3/3 — 11:21 — page 724 — #732<br />

724<br />

Chapter 17<br />

Events and Probability Spaces<br />

car location<br />

player’s<br />

intial<br />

guess<br />

door<br />

revealed<br />

B<br />

1=2<br />

outcome<br />

.A;A;B/<br />

switch<br />

wins<br />

probability<br />

1=18<br />

A<br />

B<br />

1=3<br />

1=3<br />

C<br />

C<br />

1=2<br />

1<br />

.A;A;C/<br />

.A;B;C/<br />

<br />

1=18<br />

1=9<br />

A 1=3<br />

C<br />

1=3<br />

B<br />

1<br />

.A;C;B/<br />

<br />

1=9<br />

A<br />

1=3<br />

C<br />

1<br />

.B;A;C/<br />

<br />

1=9<br />

B 1=3<br />

B<br />

1=3<br />

A<br />

1=2<br />

.B;B;A/<br />

1=18<br />

C<br />

1=2<br />

.B;B;C/<br />

1=18<br />

C<br />

1=3<br />

A<br />

1<br />

.B;C;A/<br />

<br />

1=9<br />

C 1=3<br />

A<br />

B<br />

C<br />

1=3<br />

1=3<br />

1=3<br />

B<br />

A<br />

A<br />

B<br />

1<br />

1<br />

1=2<br />

1=2<br />

.C;A;B/<br />

.C;B;A/<br />

.C;C;A/<br />

.C;C;B/<br />

<br />

<br />

1=9<br />

1=9<br />

1=18<br />

1=18<br />

Figure 17.5 The tree diagram <strong>for</strong> the Monty Hall Problem where edge weights<br />

denote the probability of that branch being taken given that we are at the parent of<br />

that branch. For example, if the car is behind door A, then there is a 1/3 chance that<br />

the player’s initial selection is door B. The rightmost column shows the outcome<br />

probabilities <strong>for</strong> the Monty Hall Problem. Each outcome probability is simply the<br />

product of the probabilities on the path from the root to the outcome leaf.

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

Saved successfully!

Ooh no, something went wrong!