Question

In: Math

A bag contains 12 balls of the same shape and size. Of these, 9 balls are...

A bag contains 12 balls of the same shape and size.

Of these, 9 balls are blue, and the remaining 3 balls are red.

Suppose that you do the following iterative random experiment: In each iteration, 5 balls are removed randomly (without replacement) from the bag, in such a way that any 5 balls in the bag are equally likely to be the 5 balls that are removed. After doing this, you check whether among the 5 removed balls there are exactly 2 red balls. If so, then you STOP. Otherwise, you replace the 5 balls back into the bag, shake the bag up (to make sure it is randomly mixed again), and repeat the same experiment: random sample 5 balls from the bag, and check whether you have taken out exactly 2 red balls.

You repeat this until the process STOPs (i.e., when the 5 removed balls in some iteration contain exactly 2 red balls among them).

What is the expected number of times that you will sample 5 balls from this bag, in the above random experiment?

Solutions

Expert Solution

Number of ways to select 5 balls from the bag = 12C5 = 12! / (12-5)! * 5! = (12 * 11 * 10 * 9 * 8) / (5 * 4 * 3 * 2 * 1)

= 792

Number of ways to select 2 red balls from the 3 balls in the bag = 3C2 = 3! / (3-2)! * 2! = 3

Number of ways to select 3 blue balls from the 9 balls in the bag = 9C3 = 9! / (9-3)! * 3! = (9 * 8 * 7) / (3 * 2 * 1) = 84

Probability to get 3 blue balls and 2 red balls on any given iteration = (Number of ways to select 2 red balls from the 3 balls in the bag * Number of ways to select 3 blue balls from the 9 balls in the bag ) / Number of ways to select 5 balls from the bag

= (3 * 84) / 792

= 0.3182

We are carrying the process until we get 3 blue balls and 2 red balls on any given iteration with probability = 0.3182

Thus, the number of times that you will sample 5 balls from this bag will follow Geometric distribution with the parameter p = 0.3182.

Expected number of times that you will sample 5 balls from this bag = 1/p = 1/0.3182 = 3.14


Related Solutions

There are 100 balls of the same shape and same weight in one bag. The balls'...
There are 100 balls of the same shape and same weight in one bag. The balls' colors are different: 15 red balls, 25 yellow balls, 40 blue balls and 20 white balls. You are blindfolded and asked to draw three balls from the bag without replacement. Calculate the probability that there is exactly one white ball among the three balls.
Bag 1 contains 3 red balls and 7 green balls. Bag 2 contains 8 red balls...
Bag 1 contains 3 red balls and 7 green balls. Bag 2 contains 8 red balls and 4 green balls. Bag 3 contains 5 red balls and 11 green balls. Bag 1 is chosen twice as often as either Bag 2 or Bag 3 (which have the same probability of being chosen). After a bag is chosen, a ball is chosen at random from that bag. Calculate the probability that: a) a red ball is chosen b) a red ball...
A bag contains 5 ​batteries, all of which are the same size and are equally likely...
A bag contains 5 ​batteries, all of which are the same size and are equally likely to be selected. Each battery is a different brand. If you select 2 batteries at​ random, use the counting principle to determine how many points will be in the sample space if the batteries are selected ​a) with replacement. ​b) without replacement. ​a) With replacement
A bag contains two orange and six black balls. You take two balls from the bag,...
A bag contains two orange and six black balls. You take two balls from the bag, one by one, with replacement. How many orange balls do you expect to get?
A bag contains 4 red and 6 black balls. A ball is drawn at random from the bag, its colour is observed and this ball along with two additional balls of the same colour are returned to the bag
A bag contains 4 red and 6 black balls. A ball is drawn at random from the bag, its colour is observed and this ball along with two additional balls of the same colour are returned to the bag. If now a ball is drawn at random from the bag, then the probability that this drawn ball is red
A bag contains 4 red balls and 8 green balls. (a). (5’) Three balls are selected...
A bag contains 4 red balls and 8 green balls. (a). (5’) Three balls are selected from the bag randomly. What is the probability that 1 red ball and 2 green balls are selected? (b). (10’) Three balls are selected from the bag sequentially without replacement, and the first ball is discarded without observing the color. If the third ball is green, what is the probability that the second ball is red? (c). (10’) Two balls are selected from the...
A bag of gumballs contains 3 grape balls, 4 cherry balls, and 5 lemon balls. 1....
A bag of gumballs contains 3 grape balls, 4 cherry balls, and 5 lemon balls. 1. How many ways can 2 grape balls, 2 cherry balls, and 3 lemon balls be selected? 2. Determine the probability of selecting 2 grape balls, 2 cherry balls, and 3 lemon balls? *Please show all work and clear answers, and if possible, a link to resource used to solve this problem. I've searched every resource available and I can't figure it out! Thank you...
We have a bag that contains n red balls and n blue balls. At each of...
We have a bag that contains n red balls and n blue balls. At each of 2n rounds we remove one of the balls from the bag randomly, and place it in one of available n bins. At each round, each one of the balls that remain in the bag is equally likely to be picked, as is each of the bins, independent of the results of previous rounds. Let Nk be the number of balls in the k-th bin...
A bag contains four balls labelled 0,1,2 and 3. Two balls are chosen at random, one...
A bag contains four balls labelled 0,1,2 and 3. Two balls are chosen at random, one after the other and without replacement. Let X be the label on the first one and Y be the label on the second ball. 1. Find joint probability mass function of X and Y? 2. Calculate E(x), E(Y) , E(XY), and Cov (XY)? Please explain answer.
If the size and shape of two objects A & B are the same, but object...
If the size and shape of two objects A & B are the same, but object B has a smaller mass: (a) for which object would the beta factor be larger? Justify your answer. (b) Which object would have a larger terminal velocity? Justify your answer. (c) Using a-b: if you dropped styrofoam ball and a steel ball of the same size/shape off a tall building, which would land land first, discounting air resistance? How about including air resistance? beta=...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT