Читать книгу The Big R-Book - Philippe J. S. De Brouwer - Страница 283
Warning – Correlation is more specific than relation
ОглавлениеNot even the Spearman correlation will discover all types of dependencies. Consider the example above with x2.
x <- c(-10:10) cor(rank(x), rank(x∧2)) ## [1] 0