Supplemental materials
This page includes code and supplemental materiald for the Longitudinal Data Analysis Using R book.

Code from book
| Chapter | R code | Mplus | Stata |
| 2. Introduction to R | Link | ||
| 3. Preparing Longitudinal Data | Link | ||
| 4. Describing Longitudinal Data | Link | ||
| 5. Introduction to Regression Models | Link | Link | Coming soon |
| 6. Introduction to Path Analysis | Link | Link | Coming soon |
| 7. Fixed and Random Effects | Link | Link | Coming soon |
| 8. The Cross-Lagged Models | Link | Link | Coming soon |
| 9. The Multilevel Model for Change | Link | Coming soon | Coming soon |
| 10. The Latent Growth Model | Link | Coming soon | Coming soon |
| 11. Measurement Error and Longitudinal Data | Link | Coming soon | Coming soon |
| 12. Dealing with Missing Data | Link | Coming soon | Coming soon |
| 13. Workflows and Presenting Results | Link |
Accessing the data
The primary dataset used throughout this book is Understanding Society. This is a large yearly panel based in the UK. The data can be accessed for free from the UK Data Archive.