Probability of drawing 2 marbles

Click For Summary
SUMMARY

The discussion focuses on calculating the probability of an individual drawing at least 2 colored marbles from m buckets, each containing K marbles. The probability is derived using the formula: Prob(at least 2 colored marbles) = 1 - [prob(no colored marbles) + prob(exactly 1 colored marble)]. The participant explores the use of both binomial and hypergeometric distributions to address the dependencies in drawing marbles without replacement. The complexity of calculating the probability of exactly 1 colored marble is highlighted, emphasizing the need to consider multiple combinations of outcomes.

PREREQUISITES
  • Understanding of probability theory, specifically binomial and hypergeometric distributions.
  • Familiarity with combinatorial mathematics and product calculations.
  • Knowledge of basic statistics, including expectation and variance.
  • Ability to interpret and manipulate mathematical equations related to probability.
NEXT STEPS
  • Study the hypergeometric distribution and its applications in sampling without replacement.
  • Learn about combinatorial methods for calculating probabilities in complex scenarios.
  • Explore the concept of symmetry in probability problems and its implications for independent events.
  • Investigate statistical tests, such as the Fisher Exact Test, and their appropriate applications in probability assessments.
USEFUL FOR

Students and professionals in statistics, data science, and mathematics who are interested in probability theory and its applications in real-world scenarios involving sampling and outcomes.

aaaeee123
Messages
2
Reaction score
0

Homework Statement


There are m different buckets of marbles where each bucket has a different number of colored marbles (m). The total number of marbles is the same in each bucket and is K.

There are K individuals who walk past each bucket and pick 1 marble out of each one (so all marbles are given out).

What is the probability for an individual to have at least 2 colored marbles?

Homework Equations





The Attempt at a Solution


I have been trying to think of this as:

Prob(at least 2 colored marbles) = 1 - [prob(no colored marbles) + prob(exactly 1 colored marble)].

And where
prob(no colored marbles) = ((K-m[1])/K) * ((K-m[2])/K) * ... * ((K-m)/K)
prob(no colored marbles) = (1-(m[1]/K)) * ... * (1-(m/K))

I am having trouble figuring out the prob(exactly 1 colored marble). Is it from the binomial distribution with binomial parameter (sum_i(m))?

Also, from a larger standpoint, I am not sure this approach is correct due to the fact that the marbles are not replaced. The buckets are independent but clearly what the first person draws affects the second person, etc. So, should I be using a hypergeometric distribution?

Thanks in advance!
 
Physics news on Phys.org
Well, by symmetry of the problem, no, it does not matter that there are k people (because the distribution of draws for any person is the same, so just imagine the first person.)

As for the probability of exactly 1 marble, it is a rather ugly beast. There are m ways it can happen, and the probability of each of those ways is different - and each way of it happening is calculated by the product of m terms. That is, it would look like

(m[1]/K)*(1-m[2]/k)*... * (1-m[n]/K) +
(1-m[1]/K)*(m[2]/k)*... * (1-m[n]/K) + ... etc.
 
Thanks a lot. This makes a lot of sense (one of those feelings of man, why didn't I think of that). Basically it is the probability of getting exactly the first marble (and none of the others) plus the probability of getting exactly the second marble (and none of the others), plus the probability of getting exactly the third marble (and none of the others) etc, etc. Is that the right way to think about it?

Can you explain a bit more what you mean by the symmetry of the problem? I understand that the distribution of draws is the same for any person but it still seems to me that what the first person draws affects the other draws. If I come up with, for instance, the probability of the first person getting 2 or more colored marbles is 0.25. Can I say that I then expect 4 out of 10 people (on average) to get 2 or more colored marbles? If I wanted to test for this would a fisher exact test be inappropriate?

Thanks again for your reply!


JeSuisConf said:
Well, by symmetry of the problem, no, it does not matter that there are k people (because the distribution of draws for any person is the same, so just imagine the first person.)

As for the probability of exactly 1 marble, it is a rather ugly beast. There are m ways it can happen, and the probability of each of those ways is different - and each way of it happening is calculated by the product of m terms. That is, it would look like

(m[1]/K)*(1-m[2]/k)*... * (1-m[n]/K) +
(1-m[1]/K)*(m[2]/k)*... * (1-m[n]/K) + ... etc.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
Replies
8
Views
8K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 10 ·
Replies
10
Views
6K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
6K