paint-brush
Answering The Famous Monty Hall Puzzle with the Monte Carlo Techniqueby@samzer
670 reads
670 reads

Answering The Famous Monty Hall Puzzle with the Monte Carlo Technique

by Samir Madhavan6mAugust 26th, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

In this post, I'll explain how to solve the Monty Hall problem using the Monte Carlo method. The implementation is in python, a programming language whose name is in itself a tribute to the British Comedy Group - Monty Python. The full code can be found below and how to run it in the header comments. In the movie Avengers: Infinity War, Doctor Strange performs nearly 14 million simulations of the future to determine how many of the outcomes, do the avengers win? Essentially, he is applying the principles of Monte Carlo experiments.

People Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Answering The Famous Monty Hall Puzzle with the Monte Carlo Technique
Samir Madhavan HackerNoon profile picture
Samir Madhavan

Samir Madhavan

@samzer

Founder at Modelchimp. 9 years in data science.

About @samzer
LEARN MORE ABOUT @SAMZER'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Samir Madhavan HackerNoon profile picture
Samir Madhavan@samzer
Founder at Modelchimp. 9 years in data science.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here
Raddle
Famousaz
Onion