Question about determining probability

  • Thread starter Thread starter Mr.V.
  • Start date Start date
  • Tags Tags
    Probability
AI Thread Summary
The discussion revolves around calculating the probability of selecting overlapping elements from two non-mutually exclusive subsets of a larger data set. A user presents a scenario with 5,000 unique elements, where each of the two subsets contains 100 elements, and 10 elements overlap between them. They explore the probability of this overlap using combinations and factorial calculations, ultimately questioning if their derived formula is correct. Another user provides a similar example with 1,000 objects and explains how to compute the probability of selecting a specific number of overlapping elements using combinations. The conversation emphasizes the importance of understanding combinatorial probability in such scenarios.
Mr.V.
Messages
9
Reaction score
1
Hi!
I have a data set of ~5000 unique elements.
From that set I have 2 subsets that are not mutually exclusive. For example if the elements are letters from A-Z, the first set could be A, B, C, D, E, F, and G the second set could be E, F, G, H, I, and J.
Here's the question...
The first subset has 100 elements randomly chosen from the 5000. The second subset has 100 elements randomly chosen from the 5000. Of interest is that 10 of the elements from subset1 are also in subset 2.
What is the probability of that happening?
Here's my logic so far, though I'm not sure I'm right.
If we use subset 1 as the reference:
If subset 1 had 1 element, the probability of getting any 1 element in subset 2 is:
\frac{100}{5000} or \frac{1}{50}. The probability of getting 2 elements in a set of 2 is: \frac{100}{5000} * \frac{99}{4999} ... the probability of getting 10 if subset 1 were only 10 elements would be \frac{100!}{90!}*\frac{4990!}{5000!} which is roughly (\frac{1}{50})^{10} = 1.024*10^{-17}
However since I have a set of 100, I need to include the chance of getting that set of 10 in many different ways...I think I should use combinations correct? So since I had a set of 100, and I want a subset of 10, there are \frac{100!}{10!*90!} different ways of ordering that set...
So is the correct answer...
(\frac{1}{50})^{10} * \frac{100!}{10!*90!} = 0.00018
?
Thanks for your help!
 
Last edited:
Physics news on Phys.org
Hmm.

Lets say we have 1000 objects, and 20 are in a particular subset - call it set A, and we want to know what the odds are of picking a subset B of 20 elements at random so that exactly 2 of these elements is in A.

Clearly, there are 1000 choose 20 ways to choose B.
Now, if B is to have two elements from A, then there are 20 choose 2 ways to pick those two elements, and, since B will also have 18 elements from the remaining 1980 objects, there are 1980 chose 18 ways to pick those.

Thus, the probablity of getting exactly 2 elements would be:
\frac{20 \rm{C}2 \times 1980 \rm{C}18}{2000 \rm{C} 20}
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Back
Top