A gentle tutorial on accelerated parameter and confidence interval estimation for hidden Markov models using Template Model Builder

Bacri, Timothee and Berentsen, Geir D. and Bulla, Jan and Holleland, Sondre (2022) A gentle tutorial on accelerated parameter and confidence interval estimation for hidden Markov models using Template Model Builder. BIOMETRICAL JOURNAL, 64 (7). pp. 1260-1288. ISSN 0323-3847, 1521-4036

Full text not available from this repository. (Request a copy)

Abstract

A very common way to estimate the parameters of a hidden Markov model (HMM) is the relatively straightforward computation of maximum likelihood (ML) estimates. For this task, most users rely on user-friendly implementation of the estimation routines via an interpreted programming language such as the statistical software environment R. Such an approach can easily require time-consuming computations, in particular for longer sequences of observations. In addition, selecting a suitable approach for deriving confidence intervals for the estimated parameters is not entirely obvious, and often the computationally intensive bootstrap methods have to be applied. In this tutorial, we illustrate how to speed up the computation of ML estimates significantly via the R package TMB. Moreover, this approach permits simple retrieval of standard errors at the same time. We illustrate the performance of our routines using different data sets: first, two smaller samples from a mobile application for tinnitus patients and a well-known data set of fetal lamb movements with 87 and 240 data points, respectively. Second, we rely on larger data sets of simulated data of sizes 2000 and 5000 for further analysis. This tutorial is accompanied by a collection of scripts, which are all available in the Supporting Information. These scripts allow any user with moderate programming experience to benefit quickly from the computational advantages of TMB.

Item Type: Article
Uncontrolled Keywords: MAXIMUM-LIKELIHOOD; PROBABILISTIC FUNCTIONS; NUMBER; MAXIMIZATION; INFERENCE; confidence intervals; hidden Markov model; maximum likelihood estimation; TMB; tutorial
Subjects: 600 Technology > 610 Medical sciences Medicine
Divisions: Medicine > Lehrstuhl für Psychiatrie und Psychotherapie
Depositing User: Dr. Gernot Deinzer
Date Deposited: 27 Feb 2024 10:10
Last Modified: 27 Feb 2024 10:10
URI: https://pred.uni-regensburg.de/id/eprint/57918

Actions (login required)

View Item View Item