Identifying Correlation in Stream of Samples
Data Structures and Algorithms
2022-11-21 v1
Abstract
Identifying independence between two random variables or correlated given their samples has been a fundamental problem in Statistics. However, how to do so in a space-efficient way if the number of states is large is not quite well-studied. We propose a new, simple counter matrix algorithm, which utilize hash functions and a compressed counter matrix to give an unbiased estimate of the independence metric. With (very loose bound) space, we can guarantee multiplicative error with probability at least . We also provide a comparison of our algorithm with the state-of-the-art sketching of sketches algorithm and show that our algorithm is effective, and actually faster and at least 2 times more space-efficient.
Cite
@article{arxiv.2211.10137,
title = {Identifying Correlation in Stream of Samples},
author = {Zhenhao Gu and Hao Zhang},
journal= {arXiv preprint arXiv:2211.10137},
year = {2022}
}