Question: You have a box containing 10 ping pong balls. 5 are green and 5 are blue. The green balls are numbered 1-5. The blue balls

You have a box containing 10 ping pong balls. 5 are green and 5 are blue. The green balls are numbered 1-5. The blue balls are also numbered 1-5.You play a game where you choose one ball at random.

  • If the ball chosen is green, you win $5.
  • If the ball chosen is a 3, you win $50.
  • If the ball chosen is both green and a 3, you win $10,000

Inthis file, you will see the codes for bootstrapping to simulate the probability of winning under all three scenarios (i.e., winning $5, $50 or $10,000). You can also find the codes for generating bar charts of the simulated outcomes, which help you interpret the results of the bootstrapping model.

Vary the number of simulations in the given codes.(Hint: Try numbers smaller and larger than the default value of 10,000.).

Indicate clearly what your changes do to the codes. Include screenshots to illustrate your explanations.

Interpret the result based on the number of simulations that you chose. Indicate the number of winners and the probability of winning for each scenario.

Are your results more reasonable using a smaller number or a larger number of simulations? Explain.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!