Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
Review
. 2020 Dec;23(12):1878-1903.
doi: 10.1111/ele.13610. Epub 2020 Oct 19.

Uncovering ecological state dynamics with hidden Markov models

Affiliations
Review

Uncovering ecological state dynamics with hidden Markov models

Brett T McClintock et al. Ecol Lett. 2020 Dec.

Erratum in

  • Corrigendum.
    [No authors listed] [No authors listed] Ecol Lett. 2021 May;24(5):1117. doi: 10.1111/ele.13709. Epub 2021 Mar 16. Ecol Lett. 2021. PMID: 33724634 Free PMC article. No abstract available.

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.

Keywords: Behavioural ecology; community ecology; ecosystem ecology; hierarchical model; movement ecology; observation error; population ecology; state-space model; time series.

PubMed Disclaimer

Figures

Figure 1
Figure 1
System 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.
Figure 2
Figure 2
Dependence structure of a basic hidden Markov model, with an observed sequence X1,,XT arising from an unobserved sequence of underlying states S1,,ST.
Figure 3
Figure 3
Estimated 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 T=53 consecutive dives. Here the most likely state sequence identifies periods of ‘low’ (state 1; blue) and ‘high’ (state 2; black) feeding activity.
Figure 4
Figure 4
Graphical models associated with different extensions of the basic HMM formulation: (a) state sequence with memory order 2; (b) influence of covariate vectors z1,,zT on state dynamics; (c) observations depending on both states and previous observations; (d) bivariate observation sequence, conditionally independent given the states.
Figure 5
Figure 5
Illustration 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).
Figure 6
Figure 6
Number 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.

Similar articles

Cited by

References

    1. Abercrombie, S.P. & Friedl, M.A. (2015). Improving the consistency of multitemporal land cover maps using a hidden Markov model. IEEE Trans. Geosci. Remote Sens., 54, 703–713.
    1. Adam, T. , Griffiths, C.A. , Leos‐Barajas, V. , Meese, E.N. , Lowe, C.G. , Blackwell, P.G. et al (2019a). Joint modelling of multi‐scale animal movement data using hierarchical hidden Markov models. Methods Ecol. Evol., 10, 1536–1550.
    1. Adam, T. , Langrock, R. & Weiß, C.H. (2019b). Penalized estimation of flexible hidden Markov models for time series of counts. METRON, 77, 87–104.
    1. Altman, R.M. (2007). Mixed hidden Markov models: an extension of the hidden Markov model to the longitudinal data setting. Journal of the American Statistical Association, 102, 201–210.
    1. Amoros, R. , King, R. , Toyoda, H. , Kumada, T. , Johnson, P.J. & Bird, T.G. (2019). A continuous‐time hidden Markov model for cancer surveillance using serum biomarkers with application to hepatocellular carcinoma. METRON, 77, 67–86. - PMC - PubMed

LinkOut - more resources