Professional Documents
Culture Documents
Name:
Instructor:
Course:
Date:
place. The concept began in the mid-seventeenth century by a man known as Pascal (Shodor).
probability is the likelihood of the occurrence of an event based on the outcome of the previous
event. The Monthly Hall simulation involves the user applying conditional probability to
determine the winning door (Shodor). The simulation’s condition is the event of opening a non-
winning door based on the first picked door. Based on this condition, the chances of the user
Purpose statement
This experiment aims to analyze the Monthly Hall simulation and determine whether a
user is more likely to get better results by sticking to the original door or by changing the original
door. The likelihood of better results is indicated by a higher probability to win which is
Hypothesis
a. Null hypothesis (H0): Stick to the original door gives a higher probability to win.
Last name: 2
b. Alternative hypothesis (Ha): Stick to the original door does not give a higher probability
to win.
Procedure
To test the hypothesis, the Monthly Hall simulation was run for 10 rounds. Each round
had a total of 60 tries where 30 tries involved sticking to the original door and 30 tries involved
changing the door. After each round, the results obtained were recorded in a Table. The results
were then subjected to t-Test analysis to determine if their difference was statistically significant.
Results
Table 1 indicates the results of the probability to win (%) obtained after running the
Monthly Hall simulation for 10 rounds. Screenshots for each round are in the Appendix.
Significance test
Analysis
Last name: 4
The average probability of win for stick to original door is 32.00% whereas the average
probability of win for change original door is 64.998%. The minimum and maximum probability
of win for stick to original door are 16.67% and 43.33%. On the other hand, the minimum and
maximum probability of win for change original door are 53.33% and 76.67%. From the t-Test
results, P(T<=t) two-tail is less than 0.05 (p-value<0.05). This means that the difference in the
probability of win between stick to original door and change original door are statistically
significant. We, therefore, reject the null hypothesis and confidently conclude that change
Conclusion
The initial hypothesis was correct (the null hypothesis was rejected). Change original
door gives the user a higher probability of win compared to stick to original door. This means
that the best strategy to win the grand prize is to change original door rather than to stick to the
original door chosen. I have used evidence-based reasoning through data analysis.
Works Cited
Last name: 5
Shodor. "Interactivate: Simple Monty hall." Shodor: A National Resource for Computational
Appendix
Last name: 6
Round 1 Round 2
Round 3 Round 4
Round 5
Last name: 7
Round 6
Round 7 Round 8
Round 9
Last name: 8
Round 10