exact bayesian inference for animal movement in
play

Exact Bayesian Inference for Animal Movement in Continuous Time - PowerPoint PPT Presentation

Exact Bayesian Inference for Animal Movement in Continuous Time Paul Blackwell University of Sheffield December 2015 1 Outline Animal movement in continuous time Switching diffusion models Introduction to applied examples Exact


  1. Exact Bayesian Inference for Animal Movement in Continuous Time Paul Blackwell University of Sheffield December 2015 1

  2. Outline ◮ Animal movement in continuous time ◮ Switching diffusion models ◮ Introduction to applied examples ◮ Exact simulation from continuous time models ◮ Exact Bayesian inference using MCMC ◮ Revisit examples ◮ Extension to multiple animals Mostly joint work with Mu Niu, now at University of Glasgow; was at Sheffield, funded via National Centre for Statistical Ecology. 2

  3. Animal movement Interested in understanding movement behaviour of individuals. Increasing amount of data from radio-tracking, GPS tagging, etc. Typically data consist of ‘fixes’ at regular times—interval varies within and between studies, even on the same species. View movement as a continuous-time process observed discretely. 3

  4. Diffusion models Movement models could be defined through stochastic differential equations, but here build from simple tractable cases: ◮ Brownian motion (perhaps with constant drift α ); x ( s + t ) | x ( s ) ∼ MVN ( x ( s ) + t α , t Σ) ◮ Ornstein-Uhlenbeck (OU) process—essentially Brownian motion with attraction towards a centre µ (stationary). x ( s + t ) | x ( s ) ∼ MVN ( µ + e Bt ( x ( s ) − µ ) , V − e Bt Ve B ′ t ) 4

  5. Multi-state/switching diffusion models For realism we need behavioural switching: animals switch between behavioural states with different movement characteristics. For example, wild boar seem to spend most of the night foraging, then head back to a nest, then spend the day sleeping. Want to allow rate of switching to depend on spatial covariates, and perhaps also time of day (seasonality) or time since switching (semi-Markov case). 5

  6. Let x ( t ), s ( t ) represent position and behavioural state at time t . Let λ ij ( t , x ) represent switching rate from behaviour i to behaviour j at time t , location x , so Pr ( s ( t + δ t )= j | s ( t )= i ) = λ ij ( t , x ) δ t + o ( δ t ) , i � = j . If λ ij ( t , x ) ≡ λ ij , the behaviour just follows a continuous time Markov chain. Realistically, we want to let λ ij ( t , x ) depend on t , x . 6

  7. Example: fishers Data on a fisher, Martes pennanti . Picture by Scott LaPoint. 7

  8. Data on a fisher, Martes pennanti , in urban USA, from Scott LaPoint, Max Planck Institute for Ornithology. Locations recorded every 10 minutes using a GPS collar. US National Land Cover Database gives discrete set of known habitat types, 30m grid: ‘developed open space’ (central band, orange); ‘deciduous forest’ (mostly bottom left, green); ‘woody wetlands’ (mostly top right, blue). 8

  9. 20m ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● 9

  10. Simple movement model: finite set of known different habitats; individual switches to an appropriate mode of movement in each. n habitats, n behaviours; time homogeneous. λ ij ( t , x ) = λ ijk when x ∈ A k , k = 1 , . . . , n . λ ijk = 0 when j � = k . n OU processes with common µ , separate B i = b i I , V i = v i I . 10

  11. Example: wild boar Data on a female wild boar, Sus scrofa . Picture by Michael G¨ abler. 11

  12. Data on a female wild boar, Sus scrofa , from Mark Lambert, Animal and Plant Health Agency. Nocturnal population in the UK. GPS collars, with fixes every 15 or 30 minutes (night/day). More frequent observations correspond roughly to period of activity. 12

  13. ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●● ● ● ● ● ● ● ● ●● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● 200m ● 13

  14. An individual uses n nest sites; use model with 3 types of state, 3 n actual states. Resting, states 1 to n at nests 1 to n ; foraging, states n + 1 to 2 n ; returning to nest, states 2 n + 1 to 3 n . Movement in each state is represented by a different OU process; n different centres of attraction, 3 different dynamics. 14

  15. Transition rates for wild boar Transition, resting to foraging: similar—not identical—time each day. h α ( t ) = h ( t mod 1; t α , α ) , i = 1 , . . . , n where h ( · ; t α , α ) is the hazard function of a logistic distribution. Transition, foraging to returning: same form, different parameters. Transition, returning to resting: occurs rapidly once close enough to nest. 15

  16. Generator Λ( t , x ) = ( λ ij ( t , x )).  − h α ( t ) h α ( t ) / n · · · h α ( t ) / n  . . ... . .  . .      − h α ( t ) h α ( t ) / n · · · h α ( t ) / n     − h β ( t ) h β ( t )     ... ...       − h β ( t ) h β ( t )     γ I { x ∈ B i } − γ I { x ∈ B i }     ... ...     γ I { x ∈ B i } − γ I { x ∈ B i } 16

  17. Simulation Let λ j ( t , x ) = � i � = j λ ij ( t , x ) represent rate of switching away from behaviour j given t , x . But if λ j ( t , x ) really depends on x , then we don’t know the time of the switch unless we know x ( t ), at least up until the switch occurs. Obvious approach is to approximate by a discrete-time representation—short time-steps. (How short? How approximate?) 17

  18. Exact solution Provided rates bounded, simulation can be done exactly i.e. no time discretisation. Let κ = max j , t , x { λ j ( t , x ) } . Start at s (0) = j , x (0) = x . Let T ∼ Exponential( κ ); this is the first potential switch. Simulate X ( T ) forward from x with movement model j . There is an actual switch at T with probability λ j ( T , x ( T )) . κ Can continue as a dynamic thinning of a Poisson( κ ) process. 18

  19. (a) 19

  20. (b) ● ● 20

  21. (c) ● ● ● ● 21

  22. (d) ● ● ● ● ● ● ● ● ● 22

  23. Statistical inference Usual statistical approach is to treat time as discrete or, at best, approximate the continuous-time model at times of observations. We can use the previous algorithm to simulate path and behaviour conditional on discrete observations, for exact Bayesian inference. Simple Markov chain Monte Carlo algorithm: just simulate as before, and accept with probability that depends on f ( x ( t ) | x ( T M ) , s ( T M )) i.e. on how likely data point is, given forward simulation to previous potential switch. Reject if behaviour is wrong! 23

  24. Smarter proposals MCMC proposals don’t have to come from ‘forward simulation’. Instead, can propose behaviour over time from a simpler spatially homogeneous ‘proxy process’. Formally, the full model needs to be absolutely continuous w.r.t. proxy process times Brownian motion. If proxy process is spatially homogeneous, don’t need to generate locations as we go along. Suggests a Markov chain on states, with its transitions—our ‘potential switches’—spread over time using a Poisson process. Formally, a Markov chain subordinated to the Poisson process. 24

  25. Generate behaviour from proxy process; generate locations given behaviour and observed locations using the conditioned movement model e.g. (time-inhomogeneous) Brownian/OU bridge. Compare proxy process with true behaviour model, along with probability of observed locations, to get acceptance probability. Pragmatically: ◮ faster to generate; ◮ conditions more efficiently on observed locations; ◮ easier to condition on observed behaviour; ◮ still exact. 25

Recommend


More recommend