Applied statistics (CPH: BD)

Frontpage Lecture plan Vidcasts Datasets R install help

Data collection and data wrangling

Literature

We use some of [A] chapter 1-3 again.

Also read Chapter 5 (Data transformation) of the free online book R for Data Science.

Lecture material

This lecture as: slideshow (html), Rmarkdown (Rmd), notes (pdf).

Exercises

  1. Go to https://asta.math.aau.dk/datasets and download the two datasets
    • Allerødruten_postkort_besvarelser_2014.xlsx
    • Frederikssundruten_postkort_besvarelser_2014.xlsx
  2. Download and run cykeldata-eksempel.Rmd on your own computer and see that everything works and that you understand the commands.

  3. Download cykeldata-opgave.Rmd and make your own report as described in the file.

  4. Work on unfinished exercises from previos lecture.

  5. Solve the following exercises with the flights dataset in Chapter 5 of R for Data Science: