O'Reilly logo

Data Analysis with R - Second Edition by Tony Fischetti

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exercises

Try out the following exercises to revise the concepts learned so far:

  • Look at the documentation on cor with help("cor"). You can see, in addition to "pearson" and "spearman", there is an option for "kendall". Learn about Kendall's tau. Why, and under what conditions, is it considered better than Spearman's rho?
  • For each species of iris, find the correlation coefficient between the sepal length and width. Are there any differences? How did we just combine two different types of the broad categories of bivariate analyses to perform a complex multivariate analysis?
  • Download a dataset from the web, or find another built-into-R dataset that suits your fancy (using library(help = "datasets")). Explore relationships between the variables ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required