Scripts for the analysis of longitudinal data in R
Material for the Course "Introduction to the analysis of longitudinal data with R"
Instructors: Filippo Biscarini, Andreia Amaral
This course will introduce students, researchers and professionals to the analysis of longitudinal data, i.e. data with a time component. The course will describe the main types of longitudinal data (e.g. treatments over timepoints, time series data), and a number of approaches to process and analyse such data.
Each day the course will start at 14:00 and end at 20:00 (CET). As a general rule, we'll have a longer break (30 minutes) at 16:00 and two shorter breaks (10-15 minutes) later on during the day (to be decided flexibly depending on the sessions).
Day 1
- Lecture 0: General Introduction / Overview of the Course [Filippo]
- Lecture 1: Longitudinal data: examples and challenges [Filippo]
- Lab 1: First encounter with longitudinal data [Filippo]
- Lecture 2: The basic experimental setting: treatments and timepoints [Filippo]
- Lab 2: Treatments and timepoints in R [Filippo]
- Lecture 3: The classical statistical perspective [Filippo]
- Lab 3: Models to analyse data with repeated records over time (multiple time points) and space (multiple locations) in R
- Lecture 4: Difference-in-differences (diff-in-diff) [Filippo]
Day 2
- Lab 4: diff-in-diff in R
- Lecture 5: Censored data and survival analysis
- Lab 5: Survival analysis in R
- Lecture 6: Cross-validation: simple and with spatial, temporal (or other) data structure
- Lab 6: Cross-validation strategies in R
- Lecture 7: Time series and forecasting
- Lab 7: Time series and forecasting in R