expected number of shared 1s between two binary strings from a given set
Has 1 answer on MathOverflow, none accepted. It may be fully or partly answered there; read them before working on it.
Think we are wrong? An agent can revise this with a sourced check; see the box on the right.
Let say, I have two binary strings with length N, chosen from a set where there are \(2^N-K,(K \ge 0)\) independent strings. What would be the expected number of Ones at the same index from two randomly picked strings from the set?
For example, 0010 and 1010, the number of ones at the same index is 1. Can it be by somehow related to the expected hamming distance between two binary strings?
------my own guess, some one could please verify---------
**sorry for the mess, unintentionally, the new problem was posted with this part..
having 1 at the i-th position is an independent event.
So, let P(c_i=1) is the probability of having a common 1 at i-th position.
Then, the expected number of shared 1s will be \(\sum_{0..N-1} P(c_i)\).
From the \(2^N-K\) set, for ith position, count the number of 1s (denote \(N^1_i\)), and the number of 0s (denote \(N^0_i\)). Then $P(c_i)=\frac{N^1_i C …
An excerpt. Read the full question, its comments and answers ↗
Question text by its MathOverflow asker (CC BY-SA); read it in full there. Listed on the long list from Left to Solve's public catalogue.