2026 CSSI Workshop on Longitudinal Data Analysis

1 Overview

This is the website for the 2026 Center for Social Science Innovation (CSSI) Workshop on Longitudinal Data Analysis led by Isaac T. Petersen. Isaac Petersen is an Associate Professor in the Department of Psychological and Brain Sciences at the University of Iowa.

This workshop provides an applied overview of principles and methods for longitudinal data analysis, with hands-on examples in R. Topics include types of longitudinal data, data manipulation and visualization, statistical methods for longitudinal analysis (including mixed-effects models and structural equation models), longitudinal measurement invariance, handling missing data, and separating within-person and between-person effects. Participants are encouraged to bring a laptop with R and RStudio installed for interactive exercises. The workshop is intended for participants with experience using R and RStudio. Prior experience with longitudinal data analysis, though helpful, is not required.

2 Getting Started

Steps:

  1. Install R

  2. Install RStudio

  3. Open RStudio and run the following code to install the necessary R packages:

    install.packages(c(
      "petersenlab","tidyverse","ggforce","psych","lme4","lmerTest","mgcv","MASS",
      "easystats","parallelly","MuMIn","lavaan","lavaan.mi","semTools","lcsm",
      "lavaanPlot","lavaangui","mice","miceadds","micemd","broom.mixed","furrr"))
  4. Download the GitHub repository for the workshop—either by cloning the repository or by downloading the .zip file of the repository.

    • If you have GitHub Desktop, you can clone the repository by going to the repository, clicking the green “Code” button, and then “Open With GitHub Desktop”; then follow the steps in GitHub Desktop to clone the repository.
    • If you do not have GitHub Desktop, you can download the files in the repository by going to the repository, clicking the green “Code” button, and then “Download ZIP”; once the .zip file finishes downloading, unzip the downloaded .zip file onto your computer.
  5. Open the following repository files in RStudio:

    • data-manipulation.qmd
    • data-visualization.qmd
    • mixed-effects-models.qmd
    • structural-equation-models.qmd
    • missing-data.qmd



Developmental Psychopathology Lab