Hidden Markov models (HMM) describe the evolution of a sequence of random variables, (i.e. behavioural states), which are not directly observable, but can be inferred from another sequence of random variables, , that are observable (i.e. locations). The two main characteristics of HMMs are (1) each observation is assumed to be generated by one of distributions, and (2) the hidden state sequence that determines which of the distributions is chosen at time is modelled as a Markov chain, where the probability of being in each state at time depends only on the state value at the previous time step.
The state process of a -state HMM for time steps is characterised by its state transition probability matrix , where and . The probability of transitioning to state from state is
The process equation for the true locations of the animal at regular time intervals , , assumes that the animal’s location at time is not only dependent on the previous location, , but also on the animal’s previous displacement in each coordinate, :
where
The state-depended parameter,
,
can take values between 0 and 1 (i.e.,
),
and controls the degree of correlation between steps. By default,
movetrack
estimates track-specific
values, but it is also possible to use the same
for all tracks by setting i_lambda = FALSE
.
The observed locations of an animal, , often have irregular time intervals , with representing the total number of observed locations. Therefore, the true location of the animal is linearly interpolated to the time of the observation, with representing the proportion of the regular time interval between and when the observation was made:
where denotes a bivariate Student’s -distribution with measurement error .
Auger-Méthé, M., Newman, K., Cole, D., Empacher, F., Gryba, R., King, A. A., … & Thomas, L. (2021). A guide to state–space modeling of ecological time series. Ecological Monographs, 91(4), e01470. doi: 10.1002/ecm.1470