Spatiotemporal modelling of marine movement data using Template Model Builder (TMB)

Tracking of marine animals has increased exponentially in the past decade, and the resulting data could lead to an in-depth understanding of the causes and consequences of movement in the ocean. However, most common marine tracking systems are associated with large measurement errors. Accounting for these errors requires the use of hierarchical models, which are often difficult to fit to data. Using 3 case studies, we demonstrate that Template Model Builder (TMB), a new R package, is an accurate, efficient and flexible framework for modelling movement data. First, to demonstrate that TMB is as accurate but 30 times faster than bsam, a popular R package used to apply state-space models to Argos data, we modelled polar bear Ursus maritimus Argos data and compared the locations estimated by the models to GPS locations of these same bears. Second, to demonstrate how TMB’s gain in efficiency and frequentist framework facilitate model comparison, we developed models with different error structures and compared them to find the most effective model for light-based geolocations of rhinoceros auklets Cerorhinca monocerata. Finally, to maximize efficiency through TMB’s use of the Laplace approximation of the marginal likelihood, we modelled behavioural changes with continuous rather than discrete states. This new model directly accounts for the irregular sampling intervals characteristic of Fastloc-GPS data of grey seals Halichoerus grypus. Using real and simulated data, we show that TMB is a fast and powerful tool for modelling marine movement data. We discuss how TMB’s potential reaches beyond marine movement studies.

[1]  A. Gallagher,et al.  A review of shark satellite tagging studies , 2011 .

[2]  Brett T. McClintock,et al.  Modelling animal movement using the Argos satellite telemetry location error ellipse , 2015 .

[3]  Ian D. Jonsen,et al.  Foraging movements of Leach's storm-petrels Oceanodroma leucorhoa during incubation , 2014 .

[4]  Kim Whoriskey,et al.  A hidden Markov movement model for rapidly identifying behavioral states from animal tracks , 2016, Ecology and evolution.

[5]  Hans J. Skaug,et al.  Automatic approximation of the marginal likelihood in non-Gaussian hierarchical models , 2006, Comput. Stat. Data Anal..

[6]  Anders Nielsen,et al.  Incorporating sea-surface temperature to the light-based geolocation model TrackIt , 2010 .

[7]  I. Jonsen,et al.  Assessing Performance of Bayesian State-Space Models Fit to Argos Satellite Telemetry Locations Processed with Kalman Filtering , 2014, PloS one.

[8]  Anders Nielsen,et al.  Fast fitting of non-Gaussian state-space models to animal movement data via Template Model Builder. , 2015, Ecology.

[9]  Scott A. Shaffer,et al.  Pelagic marine protected areas protect foraging habitat for multiple breeding seabirds in the central Pacific , 2015 .

[10]  P. Ekstrom,et al.  Error measures for template-fit geolocation based on light , 2007 .

[11]  Stanley M Tomkiewicz,et al.  Global positioning system and associated technologies in animal behaviour and ecological research , 2010, Philosophical Transactions of the Royal Society B: Biological Sciences.

[12]  Andrew D. Lowther,et al.  The Argos-CLS Kalman Filter: Error Structures and State-Space Modelling Relative to Fastloc GPS Data , 2015, PloS one.

[13]  K. M. Schaefer,et al.  Tracking apex marine predator movements in a dynamic ocean , 2011, Nature.

[14]  Vsevolod Afanasyev,et al.  Accuracy of geolocation estimates for flying seabirds , 2004 .

[15]  Michele Thums,et al.  A Comparison of the Seasonal Movements of Tiger Sharks and Green Turtles Provides Insight into Their Predator-Prey Relationship , 2012, PloS one.

[16]  Ian D. Jonsen,et al.  State-space methods for more completely capturing behavioral dynamics from animal tracks , 2012 .

[17]  Jeffrey F. Kelly,et al.  Advances in tracking small migratory birds: a technical review of light-level geolocation , 2013 .

[18]  David R. Anderson,et al.  Model selection and multimodel inference : a practical information-theoretic approach , 2003 .

[19]  R. Kays,et al.  Terrestrial animal tracking as an eye on life and planet , 2015, Science.

[20]  Martin Wæver Pedersen,et al.  State-space models for bio-loggers: A methodological road map , 2013 .

[21]  Sara J. Iverson,et al.  Sex differences in the diving behaviour of a size-dimorphic capital breeder: the grey seal , 2003, Animal Behaviour.

[22]  Henri Weimerskirch,et al.  Foraging zones of the two sibling species of giant petrels in the Indian Ocean throughout the annual cycle: implication for their conservation , 2014 .

[23]  M. Hindell,et al.  Using GPS data to evaluate the accuracy of state-space methods for correction of Argos satellite telemetry error. , 2010, Ecology.

[24]  John C. Nash,et al.  Strategies for fitting nonlinear ecological models in R, AD Model Builder, and BUGS , 2013 .

[25]  L. Tierney,et al.  The validity of posterior expansions based on Laplace''s method , 1990 .

[26]  Ian D. Jonsen,et al.  ROBUST STATE-SPACE MODELING OF ANIMAL MOVEMENT DATA , 2005 .

[27]  Devin S Johnson,et al.  Continuous-time correlated random walk model for animal telemetry data. , 2008, Ecology.

[28]  Anders Nielsen,et al.  Improving light-based geolocation by including sea surface temperature , 2006 .

[29]  M. Collins,et al.  Post-Fledging Dispersal of King Penguins (Aptenodytes patagonicus) from Two Breeding Sites in the South Atlantic , 2014, PloS one.

[30]  Mark A. Lewis,et al.  State-space models’ dirty little secrets: even simple linear Gaussian models can have estimation problems , 2015, Scientific Reports.

[31]  Daniel P. Costa,et al.  Accuracy of ARGOS Locations of Pinnipeds at-Sea Estimated Using Fastloc GPS , 2010, PloS one.

[32]  Anders Nielsen,et al.  TMB: Automatic Differentiation and Laplace Approximation , 2015, 1509.00660.

[33]  Barbara A. Block,et al.  Advances in conservation oceanography: new tagging and tracking technologies and their potential for transforming the science underlying fisheries management , 2009 .

[34]  Scott A. Shaffer,et al.  State‐space framework for estimating measurement error from double‐tagging telemetry experiments , 2012 .

[35]  Patrick W. Robinson,et al.  Electronic tracking tag programming is critical to data collection for behavioral time‐series analysis , 2011 .

[36]  Greg A Breed,et al.  Sex-specific, seasonal foraging tactics of adult grey seals (Halichoerus grypus) revealed by state-space analysis. , 2009, Ecology.

[37]  Michelle Cronin,et al.  Transatlantic migration by post-breeding puffins: a strategy to exploit a temporarily abundant food resource? , 2013 .

[38]  Marie Auger-Méthé,et al.  Home ranges in moving habitats: polar bears and sea ice , 2016 .

[39]  John P. Croxall,et al.  EFFECTS OF SATELLITE TRANSMITTERS ON ALBATROSSES AND PETRELS , 2003 .

[40]  J. Kocik,et al.  Aquatic animal telemetry: A panoramic window into the underwater world , 2015, Science.

[41]  Mark Keith,et al.  Movement and diving of killer whales (Orcinus orca) at a Southern Ocean archipelago , 2015 .

[42]  Vsevolod Afanasyev,et al.  Post-breeding movement and activities of two Streaked Shearwaters in the north-western Pacific , 2008 .

[43]  Carey E. Kuhn,et al.  Advances in the tracking of marine species: using GPS locations to evaluate satellite track data and a continuous-time movement model , 2009 .

[44]  Philip A. Ekstrom,et al.  An advance in geolocation by light , 2004 .

[45]  Graeme C. Hays,et al.  The accuracy of Fastloc‐GPS locations and implications for animal tracking , 2014 .

[46]  Paul A. Smith,et al.  Movements and wintering areas of breeding age Thick-billed Murre Uria lomvia from two colonies in Nunavut, Canada , 2011 .

[47]  M. Hindell,et al.  Enhancing the Use of Argos Satellite Data for Home Range and Long Distance Migration Studies of Marine Animals , 2012, PloS one.

[48]  Akinori Takahashi,et al.  Migratory movements of rhinoceros auklets in the northwestern Pacific: connecting seasonal productivities , 2015 .

[49]  Ian D. Jonsen,et al.  Predator-borne acoustic transceivers and GPS tracking reveal spatiotemporal patterns of encounters with acoustically tagged fish in the open ocean , 2014 .

[50]  C. Bost,et al.  Where do penguins go during the inter-breeding period? Using geolocation to track the winter dispersion of the macaroni penguin , 2009, Biology Letters.

[51]  John Sibert,et al.  AD Model Builder: using automatic differentiation for statistical inference of highly parameterized complex nonlinear models , 2012, Optim. Methods Softw..

[52]  David Pinaud,et al.  Quantitative method to estimate species habitat use from light-based geolocation data , 2010 .

[53]  Brenda K. Rone,et al.  Individual variation in movements of satellite-tracked humpback whales Megaptera novaeangliae in the eastern Aleutian Islands and Bering Sea , 2014 .

[54]  Bernie J. McConnell,et al.  ASSESSMENT OF ARGOS LOCATION ACCURACY FROM SATELLITE TAGS DEPLOYED ON CAPTIVE GRAY SEALS , 2002 .

[55]  David W. Welch,et al.  Ability of Archival Tags to Provide Estimates of Geographical Position Based on Light Intensity , 2001 .