Unformatted text preview:

The Four-Door DealEarliest DoorThe 3 doors version revisitedCarol picks the smallest doorCarol picks the smallest door with probability pOptimal strategery6.042/18.062J Mathematics for Computer Science November 10, 2010 Tom Leighton and Marten van Dijk Problems for Recitation 17 The Four-Step Method This is a good approach to questions of the form, “What is the probability that ——?” Intuition will mislead you, but this formal approach gives the right answer every time. 1. Find the sample space. (Use a tree diagram.) 2. Define events of interest. (Mark leaves corresponding to these events.) 3. Determine outcome probabilities: (a) Assign edge probabilities. (b) Compute outcome probabilities. (Multiply along root-to-leaf paths.) 4. Compute event probabilities. (Sum the probabilities of all outcomes in the event.)Recitation 17 2 1 The Four-Door Deal Suppose that Let’s Make a Deal is played according to different rules. Now there are four doors, with a prize hidden behind one of them. The contestant is allowed to pick a door. The host must then reveal a different door that has no prize behind it. The contestant is allowed to stay with his or her original door or to pick one of the other two that are still closed. If the contestant chooses the door concealing the prize in this second stage, then he or she wins. 1. Contestant Stu, a sanitation engineer from Trenton, New Jersey, stays with his original door. What is the probability that he wins the prize? The tree diagram is awkwardly large. This often happens; in fact, sometimes you’ll encounter infinite tree diagrams! Try to draw enough of the diagram so that you understand the structure of the remainder.3 Recitation 17 2. Contestant Zelda, an alien abduction researcher from Helena, Montana, switches to one of the remaining two doors with equal probability. What is the probability that she wins the prize?Recitation 17 4 2 Earliest Door Let’s consider another variation of the four-doors problem. Say the doors are labeled A, B, C, and D. Suppose that Carol always opens the earliest door possible (the door whose label is earliest in the alphabet) with the restriction that she can neither reveal the prize nor open the door that the player picked. This gives contestant Mergatroid— an engineering student from Cambridge, MA— just a little more information about the location of the prize. Suppose that Mergatroid always switches to the earliest door, excluding his initial pick and the one Carol opened. What is the probability that he wins the prize?Recitation 17 5 3 The 3 doors version revisited 3.1 Carol picks the smallest door Suppose we are in the original game show with 3 doors. In our original analysis we assumed Carol picked the door randomly. In this case suppose Carol picks the smallest door, while still making sure of both i) it contains a goat and ii) it is not the contestants first choice. The contestant follows the switching strategy. What is the probability the contestant wins? 3.2 Carol picks the smallest door with probability p This time, when Carol has a choice she chooses the smallest possible door with probability p and the other remaining door with probability 1 − p. The contestant still follows the switching strategy. What is the probability the contestant wins, in terms of p?Recitation 17 6 3.3 Optimal strategery So far we assumed the contestant always switches. We also know from lecture another strat-egy: the contestant always sticks to her original choice. We determined that the probability of winning with the “always stay” strategy is simple to calculate from the probability of winning with the “always switch” strategy, and that switching was better. What if the contestant decides whether to switch or not on a case by case basis? That is, suppose the contestant makes a decision of whether to switch or to stay based on 1) Her original choice, and 2) Carol’s choice of door. Suppose the doors are labelled A, B and C. Show “always switching” is optimal. (Hint: a strategy can be seen as a mapping that assigns a pair (D1, D2) of observations to a decision: switch to D3 or stay in D1. The strategy needs to be defined for all pairs (A, B), (A, C) You can optimize the reaction · · · . for each observation individually.)MIT OpenCourseWarehttp://ocw.mit.edu 6.042J / 18.062J Mathematics for Computer Science Fall 2010 For information about citing these materials or our Terms of Use, visit:


View Full Document

MIT 6 042J - The Four-Step Method

Documents in this Course
Counting

Counting

55 pages

Graphs

Graphs

19 pages

Proofs

Proofs

14 pages

Proofs

Proofs

18 pages

Proofs

Proofs

18 pages

Quiz 1

Quiz 1

9 pages

Quiz 2

Quiz 2

11 pages

Load more
Download The Four-Step Method
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view The Four-Step Method and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view The Four-Step Method 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?