Published May 13, 2024 | Version v1
Software Open

Accompanying code for "The influence of observation sequence features on the performance of the Bayesian hidden Markov model: a Monte Carlo simulation study"

  • 1. ROR icon Utrecht University
  • 2. ROR icon Erasmus University Rotterdam

Description

The hidden Markov model (HMM) is a popular modeling strategy for describing and explaining latent process dynamics. There is a lack of information on the estimation performance of the Bayesian HMM. We conducted a simulation study to assess the effect of the 1) number of observations (250 - 8.000), 2) number of levels in the categorical outcome variable (3 - 7), and 3) state distinctiveness and state separation in the emission distribution (low, medium, high) on the performance of the Bayesian HMM. Performance is quantified in terms of convergence, accuracy, precision, and coverage. Convergence is generally achieved throughout. Accuracy, precision, and coverage increase with a higher number of observations and an increased level of state distinctiveness, and to a lesser extent with an increased level of state separation. The number of categorical levels only marginally influences performance. A minimum of 1.000 observations is recommended to ensure adequate model performance.

Files

Metrics & Convergence Replication Package.zip

Files (238.8 kB)

Name Size Download all
md5:874aef128e35fdee0e5615b5dfefcdd5
238.8 kB Preview Download