Читать книгу 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(x2)) ## [1] 0

The Big R-Book

Подняться наверх