Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

LaTeX Math Block
anchor1
alignmentleft
\rho_s(x,y)} = 1 - \frac{6}{n(n^2-1)} \sum_i \big( rg(x_i)-rg(y_i) \big)^2

where 

LaTeX Math Inline
bodyrg(x_i)
 and 
LaTeX Math Inline
bodyrg(x_i)
 is  are the rank ranks of element elements 
LaTeX Math Inline
bodyx_i
 and
LaTeX Math Inline
bodyy_i
,  i.e. index number in a low-to-high sorted array:  

LaTeX Math Block
anchorRang
alignmentleft
\{ x \} = \{ x_1, x_2, x_3 ... x_n \} \rightarrow \{ rg(x) \} =

 \{ x_{i_1}, x_{i_2}, x_{i_3} ... x_{i_n} \}, \, {\rm гдеwhere} \, x_{i_1} \leq x_{i_2} \leq x_{i_3} ...  \leq x_{i_n}


LaTeX Math Block
anchorM7TH8
alignmentleft
\{ y \} = \{ y_1, y_2, y_3 ... y_n \} \rightarrow \{ rg(y) \} =

 \{ y_{i_1}, y_{i_2}, x_{i_3} ... y_{i_n} \}, \, {\rm where} \, y_{i_1} \leq y_{i_2} \leq y_{i_3} ...  \leq y_{i_n}