Given set $S$, where $|S| = N$, and drawn randomly $k$ subsets of $S$: $a_1, a_2, a_3, ..., a_k$ with cardinalities: $n_1, n_2, n_3, ..., n_k$. What is the probability that the intersection of $a_1, a_2, a_3, ..., a_k$ will have the cardinality equal (or equal and greater) to p (which is parameter).
The problem I encountered is that when I try to count all possible subsets of given cardinality, for the denominator of probability I get:
$$\prod_{i=1}^k\binom{N}{n_i}$$
which I believe is correct. But when i try to count such examples that has cardinality of intersection at least $p$ (to put in in numerator) then I can come up only with this: $\binom{N}{p}$ which is number of possibilities to draw the intersection, and then $\prod_{i=1}^k\binom{N-p}{n_i-p}$ representing number of possibilities of drawing rest of the subsets. Unfortunately this is not correct approach because resultig formula:
$$\frac{\binom{N}{p}\prod_{i=1}^k\binom{N-p}{n_i-p}}{\prod_{i=1}^k\binom{N}{n_i}}$$
is sometimes bigger than 1.0 for some $p=0, 1, 2, 3, ..., N$. I think the reason is that when i first draw intersection (eg. {1,2,3}), and then draw rest of the set (eg. {4,5}) I get a result ({1,2,3,4,5}) which I count multiple times (eg. when I draw intersection {3,4,5} and rest {1,2}). How to correct the numerator of formula to count every case only once?
If your question is clear and focused on your specific difficulty and you show your effort in solving the problem, it's more likely to get good and helping answers.
– Ertxiem - reinstate Monica Sep 25 '19 at 15:41