Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »


(1) \rho_{[x, y]} = \frac{1}{n} \sum_{i=1}^n {\rm sgn}(x_i - \bar x) \cdot {\rm sgn}(y_i - \bar y) = \frac{C - H}{ C + H}

where  C + H = n and

C = {\sum}_{i \neq j} \{ {\rm sgn(x_i - \bar x)} = {\rm sgn(y_i - \bar y)} \} — number of pairs with the same sign of deviation from the mean value 

H = {\sum}_{i \neq j} \{ {\rm sgn(x_i - \bar x)} \neq {\rm sgn(y_i - \bar y)} \}  — number of pairs with the opposite sign of deviation from the mean value  


  • No labels