Related Experiment Video
Updated: Sep 30, 2026

Development of an Individual-Tree Basal Area Increment Model using a Linear Mixed-Effects Approach
Published on: July 3, 2020
A tutorial on Bayesian multilevel latent time series models using stan with the mlts R package
Kenneth Koslowski1, Fabian Felix Münch2, Tobias Koch2
1Wilhelm Wundt Institute for Psychology, Faculty of Life Sciences, Leipzig University.
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).
Related Concept Videos
Introduction To Survival Analysis
The primary goal of survival analysis is to estimate survival time—the time until a...
Multicompartment Models: Overview
These models offer a more comprehensive representation of drug behavior in the body than one-compartment models. They accommodate the complexity of drug distribution,...
Statistical Analysis: Overview
One of the most commonly used statistical quantifiers is the mean, which is the ratio between the sum of the numerical values of all results and the...
Introduction to R
Biostatistics: Overview
Discrete variables are...
Parametric Survival Analysis: Weibull and Exponential Methods
Weibull Distribution
The Weibull distribution is a flexible model used in parametric survival analysis. It can handle both increasing and decreasing hazard rates, depending on its shape parameter...

