Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 09:47 18 Sep 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : MMBasic 25th anniversary Monty Hall prob

Author Message
twofingers

Guru

Joined: 02/06/2014
Location: Germany
Posts: 1629
Posted: 02:22am 15 Sep 2015
Copy link to clipboard 
Print this post

It became famous as a question from a reader's letter quoted in Marilyn vos Savant's "Ask Marilyn" column in Parade magazine in 1990 (vos Savant 1990a) (Wikipedia)

'***************************************************
'**************************************************
'* MMBasic 4.5 for Maximite/Duinomite
'* and MicroMites
'* twofingers @ TBS 09-2015
'* No warranty, provided at your own risk.
'*
'* Monty Hall problem (interactive)
'*
'* a code example/simulation
'* ---------------------------------------------------
'* Description:
'* Suppose you're on a game show,
'* and you're given the choice of three doors:
'* Behind one door is a car;
'* behind the others, goats.
'* You pick a door, say No. 1,
'* and the host, who knows what's behind
'* the doors, opens another door, say No. 3,
'* which has a goat. He then says to you,
'* "Do you want to pick door No. 2?"
'* Is it to your advantage to switch your choice?
'*
'* https://en.wikipedia.org/wiki/Monty_Hall_problem
'**************************************************
'***************************************************


In german: Das Ziegenproblem.
Download: (2 files: interactive/automatic)
2015-09-15_121419_Monty_Hall_Problem.zip

Michael

causality ≠ correlation ≠ coincidence
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025