Kenneth Koslowski, Fabian Felix Münch, Tobias Koch, Jana Holtmann
{"title":"A tutorial on Bayesian multilevel latent time series models using stan with the mlts R package.","authors":"Kenneth Koslowski, Fabian Felix Münch, Tobias Koch, Jana Holtmann","doi":"10.1037/met0000866","DOIUrl":null,"url":null,"abstract":"<p><p>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).</p>","PeriodicalId":20782,"journal":{"name":"Psychological methods","volume":" ","pages":""},"PeriodicalIF":7.5000,"publicationDate":"2026-09-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Psychological methods","FirstCategoryId":"102","ListUrlMain":"https://doi.org/10.1037/met0000866","RegionNum":1,"RegionCategory":"心理学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"PSYCHOLOGY, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0
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).
期刊介绍:
Psychological Methods is devoted to the development and dissemination of methods for collecting, analyzing, understanding, and interpreting psychological data. Its purpose is the dissemination of innovations in research design, measurement, methodology, and quantitative and qualitative analysis to the psychological community; its further purpose is to promote effective communication about related substantive and methodological issues. The audience is expected to be diverse and to include those who develop new procedures, those who are responsible for undergraduate and graduate training in design, measurement, and statistics, as well as those who employ those procedures in research.