Slides and exercises
Session | Date | Topic | Slides | Exercise code |
---|---|---|---|---|
1 | Mar 15, 2023 | General introduction | Slides | |
2 | Mar 16, 2023 | Basics of R and R-Studio | Slides | Basics |
3 | Mar 23, 2023 | Basic objects | Slides | ObjectTypes1 |
4 | Mar 29, 2023 | Advanced objects | Slides | ObjectTypes2 |
5 | Mar 30, 2023 | Recap & practice | ||
6 | Apr 06, 2023 | Visualization | Slides | Visualization1 |
7 | Apr 20, 2022 | Project management and data import | Slides | ProjectOrga |
8 & 9 | Apr 26 & Apr 27, 2023 | Data wrangling | Slides | Wrangling1 , Wrangling2 |
10 | May 5, 2023 | Exploratory data analysis (recap) | Slides | |
11 | May 10, 2023 | Quarto/R Markdown | Slides | Quarto |
12 | May 11, 2023 | Recap & practice | NA | |
13 | May 25, 2023 | Introduction to data analysis | Slides | |
14 | Jun 01, 2023 | Sampling | Slides | Sampling |
15 | Jun 07 & 08, 2023 | Simple linear Regression | Slides | LinearRegression1 |
16 | Jun 15, 2023 | Multiple linear Regression | Slides | LinearRegression2 |
To start the respective exercises execute the following code, substituting
ExCode
with the code given in the column ‘Exercise code’ in the table above:
learnr::run_tutorial(
name = "ExCode",
package = "DataScienceExercises",
shiny_args=list("launch.browser"=TRUE))
Note that a recent version of the DataScienceExercises
-package
must be installed.
For more information on how to install and use the exercises, see the respective
tutorial on exercises.
Readings, tutorials, and further material
Session 1: Introduction and installation
Mandatory readings
- Tutorial: installing basic software
- Tutorial: installing the required R packages
- Tutorial: doing exercises
Session 2: Basics of R and R-Studio
Mandatory readings
Further readings
Session 3: Basic object types
Mandatory readings
Session 4: Advanced object types
Mandatory readings
Session 6: Visualization
Mandatory readings
Further readings
Session 7: Project management and data import
Mandatory readings
Sessions 8 and 9: Data wrangling
- Lecture videos
- Code for the videos and recap exercise solutions
- Data for video lecture and recaps
- Lecture notes
- Data for lecture notes
- Exercise data
Note: The exercise Wrangling2
is an optional extension with new data sets
on which you can practice your data wrangling skills.
Mandatory readings
Further readings
Session 10: Exploratory data analysis
- Solutions to the in-class exercises
- Intermediate results: tidy data
- Script used during the in-person lecture
Session 11: Quarto/R Markdown
Mandatory readings
- The CommonMark markdown tutorial
- Quarto tutorial I: the basics
- Quarto tutorial II: computations
- Quarto tutorial III: authoring quarto documents
Further reading
- Blog introducing Quarto
- Quarto and R Markdown
- The comprehensive Quarto documentation
- Markdown basics
- The R Markdown Cookbook
The practical exercise for this topic can be found here.
Session 12: Recap and questions
Session 13: Introduction to data analysis
Mandatory reading
- James et al. (2021): Introduction and Section 2.1.
Session 14: Sampling
Mandatory reading
- Tutorial on iteration and Monte Carlo Simulations
- Statistical Inference via Data Science, Chapter 7: Sampling
Sessions 15 - 18: Linear regression
Mandatory readings
- Statistical Inference via Data Science, Chapter 5: Basic regression
- Statistical Inference via Data Science, Chapter 6: Multiple regression
Further readings
- James et al. (2021): Chapter 3