Assume that there are $N$ different bins and two different kinds of balls, $R$ red balls and $W$ white balls.

The red balls and the white balls are randomly distributed across the bins (that is, for each ball it is equally likely to end up in each bin). Denote by $R_i$ and $W_i$ the numbers of red and white balls in bin $i$, for $i=1,...,N$.

What is the probability distribution of $X=\sum_{i=1}^{N}{\min(R_i,W_i)}$?

An exact expression for the expectation (which will be simpler) would also be helpful.

  • $\begingroup$ I don't think there's a closed-form answer. The best I can see is that if you are willing to use normal approximations for R_i and W_i, perhaps because R and W are large, then there is a formula for the expectation using erf. $\endgroup$ – Matt F. Mar 7 at 16:11

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.