Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site pucc-h Path: utzoo!linus!philabs!cmcl2!floyd!clyde!ihnp4!inuxc!pur-ee!CSvax:Pucc-H:ags From: CSvax:Pucc-H:ags@pur-ee.UUCP Newsgroups: net.math Subject: Re: Simple Monty Hall Message-ID: <345@pucc-h> Date: Mon, 17-Oct-83 15:24:53 EDT Article-I.D.: pucc-h.345 Posted: Mon Oct 17 15:24:53 1983 Date-Received: Wed, 19-Oct-83 22:20:57 EDT References: <592@qubix.UUCP> Organization: Purdue University Computing Center Lines: 61 Let's make this simple by enumeration. Possibilities: (> == I pick; M == what MH shows) > B M B G -> Gain by switching M B > B G -> Gain by switching M B B > G -> Lose by switching B M B > G -> Lose by switching What is being overlooked (cabinet/drawer/coin problem again) is that I can choose from TWO bad doors, which are not identical!!! This move the odds from 2/1 (p = 2/3) to 2/2 (p = 1/2). Can I make it any simpler? Larry Bickford, {ihnp4,ucbvax,decvax}!decwrl!qubix!lab No, you can't make it any simpler. It is already perfectly obvious where you went wrong. You should have learned from the coins-in-cabinets problem that simple enumeration gives wrong answers if you insist on always assigning equal probabilities to different events. Your third and fourth events are each half as likely as the other two. I suggest you go back and read the previous discussion, since many correct answers have already been given. If you are still not convinced, then I would very much like to play you the following game for money: (1) We each contribute $10 to the pot. An impartial referee (call him Monty) puts the $20 in one of three boxes. (2) You choose one of the three boxes. (3) Monty displays an empty box. (4) I take the one remaining box. (5) We each keep the contents of whichever box we chose. You will choose the right box 1/3 of the time. Whenever you don't get the $20, I will. Therefore I win 2/3 of the time. I simulated this in LISP and won 673 times out of 1000. Here is the program: (defun makedeal (n) (do ((trials 1 (add1 trials)) (hits 0)) ((equal trials n) (list trials hits (quotient (float hits) trials))) (and (hitp (random 3) (random 3)) (setq hits (add1 hits))))) (defun hitp (goodprize firstchoice) (eq goodprize (lastchoice firstchoice (badprize goodprize firstchoice)))) (defun badprize (goodprize firstchoice) (cond ((eq goodprize firstchoice) (random-other firstchoice)) (t (lastchoice goodprize firstchoice)))) (defun random-other (n) (mod (add n (random 2) 1) 3)) (defun lastchoice (a b) (difference 3 a b)) Dave Seaman ..!pur-ee!pucc-h:ags