# Question

In Example 16 and in the previous exercise, we used random numbers to estimate the probability of winning at least $20 in the game. Recall that to do so, for each repetition we simply recorded a Yes or No, pending whether or not we won at least $20 on the given repetition. At the end of the series of repetitions, we essentially determined the proportion of Yes answers in our sequence of repetitions. Simulation can actually be used to answer many more questions than just those about probability. For example, suppose that rather than estimating the probability of winning at least $20, we wanted to estimate the expected winnings from playing the game. We need to make two minor adjustments to the approach used in the example. Instead of recording Yes or No for each repetition, record the actual dollar amount won. At the end of the series of repetitions, simply calculate the average winnings across all repetitions. This provides an estimate for the amount we can expect to win by playing the game.

a. Beginning at line 5 of the table of random digits, carry out 20 repetitions and report the average winnings.

b. How does the estimated average winnings compare with the price to play the game?

a. Beginning at line 5 of the table of random digits, carry out 20 repetitions and report the average winnings.

b. How does the estimated average winnings compare with the price to play the game?

## Answer to relevant Questions

As of the end of the 2010 NFL season, Indianapolis Colts quarterback Peyton Manning, throughout his 13-year career, completed 65% of all of his pass attempts. Suppose the probability each pass attempted in the next season ...In arguing against the death penalty, Amnesty International has pointed out supposed inequities, such as the many times a black person has been given the death penalty by an all-white jury. If jurors are selected randomly ...A board game requires players to roll a pair of balanced dice for each player’s turn. Denote the outcomes by (die 1, die 2), such as (5, 3) for a 5 on die 1 and a 3 on die 2. a. List the sample space of the 36 possible ...Biochemical markers are used by emergency room physicians to aid in diagnosing patients who have suffered acute myocardial infarction (AMI), or what’s commonly referred to as a heart attack. One type of biochemical marker ...Short-term aberrations do not affect the long run. To illustrate, suppose that you flip a coin 10 times and you get 10 heads. Find the cumulative proportion of heads, including these first 10 flips, if (a) In the 100 flips ...Post your question

0