(1) | {\rm cov}(x,y) = \frac{1}{n} \sum_{i=1}^n (x_i - \bar x) (y_i - \bar y) |
where x, y are discrete variables and \bar x, \bar y are their means
(1) | {\rm cov}(x,y) = \frac{1}{n} \sum_{i=1}^n (x_i - \bar x) (y_i - \bar y) |
where x, y are discrete variables and \bar x, \bar y are their means