  Interactive Course

# Longitudinal Analysis in R

Learn how to analyze and model longitudinal data.

• 4 hours
• 13 Videos
• 49 Exercises
• 1,659 Participants
• 3,950 XP

### Loved by learners at thousands of top companies:      ### Course Description

What is longitudinal data and how can you analyze it? Here you will learn all about this kind of data and the descriptive analyses that can be used to explore it! You will also learn to model continuous and binary outcome variables. Linear mixed effects models will be used as a modern approach to modeling this kind of data, taking into account the correlated nature of it. For binary outcomes, generalized estimating equations will be introduced as an alternative to the generalized linear mixed models. Visualizations are used throughout the course to interpret model results and strategies for model selection are also explored. Along the way, you will use data from a number of longitudinal studies, including the Madras and Calcium datasets.

1. 1

#### Introduction to Longitudinal Data

Free

This chapter introduces the user to longitudinal data. Exploration of what is and what isn't longitudinal data, exploration of the dependent data structure, and other numeric summaries of the data will be covered in this chapter.

2. #### Add fixed predictor variables

This chapter will further explore adding additional predictors to the longitudinal model. These predictors, referred to as fixed effects, allow different trajectories based on variable characteristics.

3. #### Modeling Continuous Longitudinal Outcomes

Chapter 2 will model continuous longitudinal outcomes with lme4. These observed score mixed models are common in the analysis of longitudinal data.

4. #### Modeling Longitudinal Dichotomous Outcomes

This chapter will shift from continuous to binary outcomes. Binary outcomes are ones in which the outcome are in two categories. Special considerations for this outcome are needed to appropriately model the data and receive valid statistical results.

1. 1

#### Introduction to Longitudinal Data

Free

This chapter introduces the user to longitudinal data. Exploration of what is and what isn't longitudinal data, exploration of the dependent data structure, and other numeric summaries of the data will be covered in this chapter.

2. #### Modeling Continuous Longitudinal Outcomes

Chapter 2 will model continuous longitudinal outcomes with lme4. These observed score mixed models are common in the analysis of longitudinal data.

3. #### Add fixed predictor variables

This chapter will further explore adding additional predictors to the longitudinal model. These predictors, referred to as fixed effects, allow different trajectories based on variable characteristics.

4. #### Modeling Longitudinal Dichotomous Outcomes

This chapter will shift from continuous to binary outcomes. Binary outcomes are ones in which the outcome are in two categories. Special considerations for this outcome are needed to appropriately model the data and receive valid statistical results.

### What do other learners have to say? “I've used other sites, but DataCamp's been the one that I've stuck with.”

Devon Edwards Joseph

Lloyd's Banking Group “DataCamp is the top resource I recommend for learning data science.”

Louis Maiden “DataCamp is by far my favorite website to learn from.”

Ronald Bowers

Decision Science Analytics @ USAA ##### DataCamp Content Creator

Course Instructor

This instructor prefers to remain anonymous.

See More
##### Collaborators
• Amy Peterson

• Richie Cotton