| Literature DB >> 33073921 |
Brett T McClintock1, Roland Langrock2, Olivier Gimenez3, Emmanuelle Cam4, David L Borchers5, Richard Glennie5, Toby A Patterson6.
Abstract
Ecological systems can often be characterised by changes among a finite set of underlying states pertaining to individuals, populations, communities or entire ecosystems through time. Owing to the inherent difficulty of empirical field studies, ecological state dynamics operating at any level of this hierarchy can often be unobservable or 'hidden'. Ecologists must therefore often contend with incomplete or indirect observations that are somehow related to these underlying processes. By formally disentangling state and observation processes based on simple yet powerful mathematical properties that can be used to describe many ecological phenomena, hidden Markov models (HMMs) can facilitate inferences about complex system state dynamics that might otherwise be intractable. However, HMMs have only recently begun to gain traction within the broader ecological community. We provide a gentle introduction to HMMs, establish some common terminology, review the immense scope of HMMs for applied ecological research and provide a tutorial on implementation and interpretation. By illustrating how practitioners can use a simple conceptual template to customise HMMs for their specific systems of interest, revealing methodological links between existing applications, and highlighting some practical considerations and limitations of these approaches, our goal is to help establish HMMs as a fundamental inferential tool for ecologists. Published 2020. This article is a U.S. Government work and is in the public domain in the USA. Ecology Letters published by John Wiley & Sons Ltd.Entities:
Keywords: Behavioural ecology; community ecology; ecosystem ecology; hierarchical model; movement ecology; observation error; population ecology; state-space model; time series
Mesh:
Year: 2020 PMID: 33073921 PMCID: PMC7702077 DOI: 10.1111/ele.13610
Source DB: PubMed Journal: Ecol Lett ISSN: 1461-023X Impact factor: 9.492
Figure 1System state processes that can be difficult to observe directly, but can be uncovered from common ecological observation processes using hidden Markov models. The state process (blue) can pertain to any level within the ecological hierarchy (‘Individual’, ‘Population’, ‘Community’ or ‘Ecosystem’) and for convenience is categorised as primarily ‘Existential’, ‘Developmental’ or ‘Spatial’ in nature. The observation process (green) can provide information about state processes at different levels of the hierarchy (green lines) and includes capture–recapture, DNA sampling, animal‐borne telemetry, count surveys, presence–absence surveys and/or abiotic measurements. Observation and state processes from lower levels can be integrated for inferences at higher levels. For example, community‐level biodiversity data could be combined with environmental data to describe ecosystem‐level processes.
Glossary
| Term | Definition | Synonyms |
|---|---|---|
| Conditional independence property | Assumption made for the state‐dependent process: conditional on the state at time | |
| Forward algorithm | Recursive scheme for updating the likelihood and state probabilities of an HMM through time | Filtering |
| Forward–backward algorithm | Recursive scheme for calculating state probabilities for any point in time: | Local state decoding; smoothing |
| Hidden Markov model (HMM) | A special class of state‐space model with a finite number of hidden states that typically assumes some form of the Markov property and the conditional independence property | Dependent mixture model; latent Markov model; Markov‐switching model; regime‐switching model; state‐switching model; multi‐state model |
| Initial distribution | The probability of being in any of the | Initial probabilities; prior probabilities |
| Markov property | Assumption made for the state process: | Memoryless property |
| Sojourn time | The amount of time spent in a state before switching to another state | Dwell time; occupancy time |
| State process | Unobserved, serially correlated sequence of states describing how the system evolves over time: | Hidden/latent process; system process |
| State transition probability | The probability of switching from state | |
| State‐dependent distribution | Probability distribution of an observation | Emission distribution; measurement model; observation distribution; output distribution; response distribution |
| State‐dependent process | The observed process within an HMM, which is assumed to be driven by the underlying unobserved state process | Observation process |
| State‐space model | A conditionally specified hierarchical model consisting of two linked stochastic processes, a latent system process model and an observation process model | |
| Viterbi algorithm | Recursive scheme for finding the sequence of states which is most likely to have given rise to the observed sequence | Global state decoding |
Figure 2Dependence structure of a basic hidden Markov model, with an observed sequence arising from an unobserved sequence of underlying states .
Figure 3Estimated state‐dependent distributions (top row) and Viterbi‐decoded states from a two‐state HMM fitted to counts of feeding lunges performed by a blue whale during a sequence of consecutive dives. Here the most likely state sequence identifies periods of ‘low’ (state 1; blue) and ‘high’ (state 2; black) feeding activity.
Figure 4Graphical models associated with different extensions of the basic HMM formulation: (a) state sequence with memory order 2; (b) influence of covariate vectors on state dynamics; (c) observations depending on both states and previous observations; (d) bivariate observation sequence, conditionally independent given the states.
Figure 5Illustration of a possible workflow when using an HMM to infer behavioural modes from the vector of dynamic body acceleration data of a striated caracara (Phalcoboenus australis) over a period of 60 min (see Fahlbusch & Harrington, 2019, for data details). Four behavioural modes were identified and biologically interpreted to be associated with resting (yellow), minimal activity (orange), moderate activity (blue) and flying (green).
Features of HMM packages available in the R environment for statistical computing, including capabilities for multiple observation sequences (‘Multiple sequences’), multivariate HMMs (‘Multivariate’), mixed HMMs (‘Mixed’), hierarchical HMMs (‘Hierarchical’), hidden semi‐Markov models (‘Semi‐Markov’), parameter covariate modelling (‘Covariates’), parameter constraints (‘Constraints’), missing observations (‘Missing data’) and state‐dependent probability distributions
| Package | Multiple sequences | Multivariate | Mixed | Hierarchical | Semi‐Markov | Covariates | Constraints | Missing data | Reference |
|---|---|---|---|---|---|---|---|---|---|
| aphid | ✓ | Wilkinson ( | |||||||
| depmixS4 | ✓ | ✓ |
|
| ✓ | Visser and Speenkenbrink ( | |||
| HiddenMarkov |
| Harte ( | |||||||
| HMM | Himmelmann ( | ||||||||
| hsmm | ✓ | Bulla and Bulla ( | |||||||
| LMest | ✓ | ✓ | ✓ |
| ✓ | Bartolucci | |||
| mhsmm | ✓ | ✓ | ✓ | O'Connell and Hojsgaard ( | |||||
| momentuHMM | ✓ | ✓ | ✓ | ✓ |
|
| ✓ | McClintock and Michelot ( | |
| msm | ✓ | ✓ |
|
| ✓ | Jackson ( | |||
| RcppHMM | Cardenas‐Ovando | ||||||||
| seqHMM | ✓ | ✓ | ✓ |
|
| ✓ | Helske and Helske ( |
‘Covariates’ and ‘Constraints’ can pertain to initial distribution , state‐dependent probability distribution , state transition probability and/or mixture probability parameters. Several packages facilitate extensions for user‐specified state‐dependent probability distributions that require no modifications to the package source code (‘custom’).
Covariates are only permitted on state‐dependent distribution location parameters for the binomial, gamma, normal and Poisson distributions.
Covariates are only permitted on state‐dependent categorical distribution parameters.
Covariates are only permitted on state‐dependent distribution location parameters.
[Corrections added on 10 November 2020, after first online publication: Table 2 has been updated.]
Figure 6Number of publications (left axis) and total number of times these publications were cited (right axis) per year based on a Web of Science search for ‘hidden Markov’ conducted within the categories of ‘Biology’, ‘Ecology’, ‘Marine Freshwater Biology’ and ‘Zoology’ on 7 July 2020.
|
State space | ||
|---|---|---|
|
Continuous |
Discrete | |
|
Temporal dependence |
State‐space model |
Hidden Markov model |
|
Temporal independence |
Continuous mixture model |
Finite mixture model |