Related Experiment Video
Updated: May 12, 2026

A Method of Trigonometric Modelling of Seasonal Variation Demonstrated with Multiple Sclerosis Relapse Data
Published on: December 9, 2015
Modeling psychological time series with multilevel hidden Markov models: A tutorial
Emmeke Aarts1, Jonas Haslbeck2
1Department of Methodology and Statistics, Utrecht University.
None:
Time series (or intensive longitudinal) data are now widely used in psychological science. These data allow researchers to study the dynamics of human functioning at an unprecedented level of granularity. Capturing these dynamics requires appropriate statistical models. One powerful class of models for such data is the hidden Markov model (HMM), which captures processes that switch between a number of latent states over time, each associated with a different probability distribution. Unlike the currently predominant linear models, such as the vector autoregressive model, HMMs can capture more complex behaviors. They can characterize multiple equilibrium states (for instance, manic and depressed states as seen in bipolar disorder) and quantify how the system transitions between them. HMMs can also fit common empirical data patterns such as highly skewed or multimodal distributions. Despite their effectiveness in modeling within-person dynamics, HMMs are not widely used. We see three reasons: (1) limited familiarity among researchers, (2) only recent availability of software for multilevel HMMs, and (3) the relative complexity of estimating, analyzing, and reporting HMMs. Here, we address these issues by providing a gentle introduction to HMMs for researchers working with time series data in psychology, including a fully reproducible tutorial that walks the reader through each of the steps of analyzing psychological time series data using the R-package mHMMbayes. We hope our tutorial helps researchers working with time series data with adding (multilevel) HMMs into their methodological toolbox. (PsycInfo Database Record (c) 2026 APA, all rights reserved).
Related Concept Videos
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,...
Mechanistic Models: Compartment Models in Individual and Population Analysis
Mechanistic Models: Compartment Models in Algorithms for Numerical Problem Solving
In individual population analyses, different algorithms are employed, such as Cauchy's method, which uses a...
Model Approaches for Pharmacokinetic Data: Distributed Parameter Models
The distributed parameter models are specifically designed to account for variations and differences in some drug classes. This model is particularly useful for assessing regional concentrations of anticancer or...
Noncompartmental Analysis: Statistical Moment Theory
Modeling with Differential Equations
