How to Calculate the Pearson Correlation coefficient between the bits of a 20 bit hash value?
224 次查看(过去 30 天)
显示 更早的评论
I am working on testing the uniformity of the hash functions.For that i need to find how uniformaly the bits were distributed in the 20 bit hash value.
There are examples to find the correlation coefficient between two values X and Y. I don't know how to calculate the correlation between the bits of a hash value.
The hash value will be like hash= 29600128950574211287.
Thanks,
Elakkiya
0 个评论
回答(1 个)
Saurav Chaudhary
2020-10-29
Go through the following documentation link to find about " corrcoef ", which can be used to calculate Pearson Correlation Coefficient.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Hypothesis Tests 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!