I am working with some correlated binary files. I want to know, what is your opinion for calculating the correlation between binary vectors? for example, if I have two binary vectors X1 and X2 generating by a uniform distribution, as follows: X1=(1 0 0 1 1 1 0 ) X2=(1 0 1 1 1 0 1 ) Since they have the same bits in the exact 4 position of this 7 bits, can we say the correlation between these two vectors is 4/7?
Thanks