A common expected value. Here is a common setting that we simulated in Chapter 19: there are
Question:
A common expected value. Here is a common setting that we simulated in Chapter 19: there are a fixed number of independent trials with the same two outcomes and the same probabilities on each trial. Tossing a coin, shooting basketball free throws, and observing the sex of newborn babies are all examples of this setting. Call the outcomes “hit” and “miss.”We can see what the expected number of hits should be. If LeBron James shoots 12 free throws and has probability 0.7 of hitting each one, the expected number of hits is 70%
of 12, or 8.4. By the same reasoning, if we have n trials with probability p of a hit on each trial, the expected number of hits is np. This fact can be proved mathematically. Can we verify it by simulation?
Simulate 10 tosses of a fair coin 100 times. (To do this quickly, use the first 10 digits and the last 10 digits in each of the 50 rows of Table A, with odd digits meaning a head and even digits a tail.) What is the expected number of heads by the np formula? What is the mean number of heads in your 100 repetitions?
Step by Step Answer:
Statistics Concepts And Controversies
ISBN: 9781429277761
7th Edition
Authors: David S Moore, William I Notz