A tutorial on Bayesian multilevel latent time series models using stan with the mlts R package.
Kenneth Koslowski, Fabian Felix Münch, Tobias Koch, Jana Holtmann
Wilhelm Wundt Institute for Psychology, Faculty of Life Sciences, Leipzig University. · Institute of Psychology, Friedrich Schiller University Jena.
Key points
From the paper's conclusion- We provide a conceptual overview of dynamic structural equation modeling for intensive longitudinal data, highlighting how it combines time series analysis, multilevel modeling, and latent variable approaches.
Abstract
This tutorial introduces and illustrates the estimation of Bayesian multilevel latent time series models with the R package mlts. We provide a conceptual overview of dynamic structural equation modeling for intensive longitudinal data, highlighting how it combines time series analysis, multilevel modeling, and latent variable approaches. Step-by-step guidance is given on specifying, estimating, and interpreting two-level vector autoregressive models using mlts. We illustrate modeling extensions provided in mlts, including multiple-indicator measurement models, between-person covariates, latent interaction effects, the handling of censored variables, and multiple-group models. Practical considerations such as data preparation, model diagnostics, and handling of varying measurement intervals are discussed. Assessment of model fit is provided via posterior predictive checks. Using working examples with empirical data, we showcase how mlts enables flexible Bayesian dynamic structural equation modeling analyses while avoiding the complexities of custom Stan programming. This tutorial aims to make advanced dynamic modeling of intensive longitudinal data more accessible to applied researchers across the behavioral sciences. (PsycInfo Database Record (c) 2026 APA, all rights reserved).
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Dynamic latent class structural equation modeling: A hands-on tutorial for modeling intensive longitudinal data.Psychological Methods · 2026
- Modeling psychological time series with multilevel hidden Markov models: A tutorial.Psychological Methods · 2026
- Modeling Between-Group Differences in Dynamics of Psychological Constructs in the Presence of Measurement Non-Invariance: A Stepwise Approach.Multivariate behavioral research · 2026
- Piecewise modeling for longitudinal psychological research: a tutorial using R.Frontiers in psychology · 2026
- Uncovering disease progression trajectories across multiple timescales with hybrid ODE-mixture modelsbioRxiv · 2026
- Bayesian Multivariate Linear Mixed-Effects Models for Speech Research: A Tutorial Using brmsJournal of Speech Language and Hearing Research · 2026