Optimizing Outcomes: The Role of Probability in Choosing Boxes

  • Context: Undergrad 
  • Thread starter Thread starter KarateMan
  • Start date Start date
  • Tags Tags
    Choice Probability
Click For Summary
SUMMARY

The discussion centers on the Monty Hall problem, a probability puzzle that illustrates the advantages of changing choices in a game scenario. The user developed a computer algorithm to analyze the outcomes of switching versus sticking with the original choice when presented with three boxes, one containing $10. The algorithm concluded that switching choices yields a better expected outcome, confirming the mathematical principles behind the Monty Hall problem. Participants affirmed the algorithm's correctness, emphasizing that switching increases the probability of winning.

PREREQUISITES
  • Understanding of the Monty Hall problem
  • Basic knowledge of probability theory
  • Familiarity with algorithm development
  • Experience with statistical simulations
NEXT STEPS
  • Research the Monty Hall problem in depth
  • Learn about probability theory and its applications in decision-making
  • Explore algorithm design for probability-based games
  • Investigate statistical simulation techniques to validate outcomes
USEFUL FOR

This discussion is beneficial for mathematicians, computer scientists, game theorists, and anyone interested in probability and decision-making strategies.

KarateMan
Messages
13
Reaction score
0
hi, I am writing a computer algorithm which descibes the change of choice.

1.your friend puts $10 in a box among three (there are three boxes) but you don't know which.
2.you choose one of them but do not open it.
3.your friend opens (eliminates) one of empty boxes
i.e. if you choose the lucky box, he eliminate either one of two empty boxes at equal probability
and if you choose an unlucky one, he eliminates the empty remainder.
4.then you decide, whether or not you change your choice between two remainings.
5.repeat 1~4 many times and expect the maximum result(in $).

Question: you'd better change your choice? or should not change? for the maximum outcome.

I expected that the change of choice should not matter: the equal probabilities.

but my computer algorithm tells that "if you change the choice, better"

Can someone tell me whether I am wrong or my algorithm is wrong?
 
Physics news on Phys.org
The algorithm is right. Search for Monty Hall problem (here or on the search engine of your choice). It's a popular topic. In short: picking the remaining box is really as good as picking both remaining boxes, and there's a better chance it's in one of the two remaining boxes than in your original 1.
 
Thank you for such a quick reply!
I will check it out. but your explanation helped a lot, CRGreathouse!
 

Similar threads

  • · Replies 29 ·
Replies
29
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 57 ·
2
Replies
57
Views
6K