R

This is a collection of exercises involving the statistics software package R. These exercises are used as a part of the Seminar Methodology and Statistics taught by John Nerbonne at the University of Groningen in the Spring of 2008.

These exercises have been compiled by Erik Tjong Kim Sang. If you have questions about the exercises, you can send him a mail at erikt(at)xs4all.nl

In 2008, a book about R has been published by Harald Baayen. You can download a draft version of the book (pdf) or order the book via Amazon (it costs 20 euros).

If your computer can handle it, you can also look at the online R video tutorials by Decision Science News (video 1, video 2).

Time schedule (2011)

See also the web page by John Nerbonne

Exercises

  1. Starting R
  2. R as a calculator (section 1.1)
  3. Vectors in R (sections 1.2-1.4)
  4. Drawing graphs (sections 2.1-2.2)
  5. Tables in R (sections 1.2, 2.2 and 2.3)
  6. Working with a big dataset (sections 1.2, 1.4, 2.2, 2.3 and 2.4)
  7. Statistical tests in R (parts of chapter 4)
  8. Probability distributions (chapter 3)
  9. (Anova; Logistic regression)

Mixed-effects Regression Lab Session, March 31

Note: in the lab room, this lab can only be executed on the Windows machines.

This lab will be supervised by Martijn Wieling

Case study


Last update: March 30, 2011. erikt(at)xs4all.nl