I am new to statistics. I am checking the uniformity of the hash functions. There are examples to find the correlation between two values. I don't know how to find the correlation between the bits of a single hash value. Please help me in finding the Pearson correlation coefficient between the bits of a single hash value.