2
$\begingroup$

Imagine a bag has some balls, some blue some red. Lets say there are 50 balls. 5 are red and 45 are blue. I have 4 bins, and am going to randomly pick balls out of the bag and put them into the bins until i have filled each bin with 5 balls. I want to know the probability that exactly 3 out of the 4 bins have at least one red ball, and the other bin has all blue balls. How can I find this probability?

I thought about using a binomial distribution, where the probability of success is the probability of a bin having at least one red. However, this probability will not be constant over the different trials as there is no ball replacement. Once a ball is taken out of the bag to fill a bin, it is not put back.

$\endgroup$
6
  • $\begingroup$ Are you interested in the example you state, or in a general formula? For the example I recommend you are drawing a decision tree. The first bin can have either 0, 1, 2, or 3 red ball. ... $\endgroup$
    – Semoi
    May 2, 2018 at 21:09
  • 1
    $\begingroup$ I'm interested in a general formula where the number of balls in the bag could change, the number of red balls could change, the total number of bins could change (4), the number of bins with red balls could change (3), etc. What will stay constant is that im always interested in at least one red ball. It will never be at least 2 or at least 3 etc. $\endgroup$ May 2, 2018 at 21:13
  • 3
    $\begingroup$ Hypergeometric distribution is related, yet you seem to be asking about something tailor-made en.wikipedia.org/wiki/Hypergeometric_distribution $\endgroup$
    – Tim
    May 3, 2018 at 10:46
  • $\begingroup$ Your process is not completely defined. When you have drawn a ball, how do you decide into which bin to put it? First 5 into bin 1, ... or some other way? $\endgroup$ May 3, 2018 at 12:46
  • $\begingroup$ Yes. First 5 into bin 1, next 5 into bin 2, etc $\endgroup$ May 3, 2018 at 15:23

1 Answer 1

1
$\begingroup$

I hope this is not home work, so I won't do a calculation. I'll just outline the way to solve this question.

In principle it is (as so many times) a combinatorics question. So address it with patience.

You start with a set of 50 balls, mixed with different amounts of coulours. Then you draw a series of 20 balls out of it, with two additional constraints: the general order of the 20 balls is important, BUT in blocks of five the order is not important.

Or differently: you draw 5 balls of random order from the set (random means only the contents of the subset is important, not its order). Then you draw from the reduced initial set again 5 balls of random order, and so on.

Since you already have defined what kind of event you want, you only need to count the number of possibilities that are in favour. For the probability you then need to calculate the total number of possibilities.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.