Tuesday, October 4, 2016

combinatorics - Probability to choose two disjoint subsets, of fixed length, from a set with specific properties



I came through the following combinatoric problem.
Say we have the set [n]={0,1,...,n} and we choose two subsets I1,I2 randomly from [n] such that I1I2=. Also |I1|=|I2|=b<(n+1)/2. Further, we fix a subset P of [n] with |P|=h1+h2<b.
I want to compute
Pr=Pr(I1,I2R[n]:|I1P|=h1,|I2P|=h2,I1I2=)

By inspection this is equal to
Pr=(bh1)(bh2)(n+1h1+h2).
Also we can see that |{Ii[n]:|IiP|=hi}|=(n+1hibhi) (i=1,2).



Any hint how to prove the formula for Pr?


Answer



Assuming you meant unbiasedly selecting b and b elements from [n] into I1,I2 without replacement (so I1I2= is given).



Let Q=[n]P




You seek the probability that the b elements of I1 are a selection of h1 from the elements in P and bh1 from the elements in Q, and that the b elements in I2 are a selection of the remaining h2 elements in P and bh2 from the remaining elements in Q.



That is, the probability of partitioning a subset of size h1+h2 (ie P) into parts of size h1 and h2, and a subset of size n+1h1h2 (ie Q) into parts of size bh1,bh2, and n+12b, when partitioning the whole set of size n+1 into parts of size b,b, and n+12b.



\require{cancel}\begin{align}\mathbb P\big(\lvert I_1\cap P\rvert = h_1, \lvert I_2\cap P\rvert=h_2\big) ~&=~ \dfrac{\dbinom{h_1+h_2}{h_1, h_2} \dbinom{n+1-h_1-h_2}{b-h_1,b-h_2,n+1-2b}}{\dbinom{n+1}{b,b,n+1-2b}} \\[2ex] &=~\dfrac{\dfrac{(h_1+h_2)!~(n+1-h_1-h_2)!}{h_1!~h_2!~(b-h_1)!~(b-h_2)!~\cancel{(n+1-2b)!}}}{\dfrac{(n+1)!}{b!~b!~\cancel{(n+1-2b)!}}}\\[2ex] &=~ \dfrac{\dfrac{b!~b!}{h_1!~(b-h_1)!~h_2!~(b-h_2)! }}{\dfrac{(n+1)!}{(h_1+h_2)!~(n+1-h_1-h_2)!}} \\[2ex] &=~ \dfrac{\dbinom{b}{h_1, b-h_1 }\dbinom{b}{h_2, b-h_2 }}{\dbinom{n+1}{h_1+h_2,n+1-h_1-h_2}} \\[2ex] &=~\dfrac{\dbinom{b}{h_1}\dbinom{b}{h_2}}{\dbinom{n+1}{h_1+h_2}}\end{align}






Remark: This is also the probability for a selection of h_1 from the b elements in a fixed I_1 and h_2 from the b elements in I_2, when selecting, without bias or replacement, h_1+h_2 elements for P from the n+1 elements in [n].   An equivalent task.


No comments:

Post a Comment

analysis - Injection, making bijection

I have injection f \colon A \rightarrow B and I want to get bijection. Can I just resting codomain to f(A)? I know that every function i...