Question

In: Statistics and Probability

Question 6: Winston, a dog, loves to play fetch. He catches each ball mid-air independently with...

Question 6: Winston, a dog, loves to play fetch. He catches each ball mid-air independently with probability 0.4. Write a simulation in R in which you throw Winston five balls and compute how many of the five balls he catches mid-air. Repeat this simulation N=5,000 times.

a) Plot a histogram of the number of catches Winston has made in each series of five catches.

b) What proportion of the time does Winston catch exactly two balls mid-air?

c) What proportion of the times does Winston catch exactly three balls mid-air?

d) Can you derive a formula to describe the probability of catching X=0,1,2,3,4,5 balls mid-air? How well does this formula match the proportions in your histogram? Hint: You will need to use the Combination Rule for (d).

Solutions

Expert Solution

value obtained through probability model are on an average close to values obtained from histogram


Related Solutions

Problem 5 (6 pts). A and B play a series of games. Each game is independently...
Problem 5 (6 pts). A and B play a series of games. Each game is independently won by A with probability p and by B with probability 1 − p. They stop when the total number of wins of one of the players is two greater than that of the other player. The player with the grater number of total wins is declared the winner of the series. Find the probability that a total of 4 games are played.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT