Читать книгу The Big R-Book - Philippe J. S. De Brouwer - Страница 282
Question #10
ОглавлениеConsider the vectors
1 x = c(1, 2, 33, 44) and y = c(22, 23, 100, 200),
2 x = c(1 : 10) and y = 2 * x,
3 x = c(1 : 10) and y = exp(x),
Plot y in function of x. What is their Pearson correlation? What is their Spearman correlation? How do you understand that?