The University of Sheffield
Browse

R code for Transects and Telemetry

Download (17.92 kB)
Version 2 2025-03-12, 22:12
Version 1 2023-07-19, 10:57
software
posted on 2025-03-12, 22:12 authored by Paul BlackwellPaul Blackwell

A zip file containing all the R code necessary to replicate the simulation experiments in the manuscript `Joint inference for telemetry and transect data'.

Data integration, the joint statistical analysis of data from different observation platforms, is pivotal for data-hungry disciplines such as spatial ecology. Pooled data types obtained from the same underlying process, analyzed jointly, can improve both precision and accuracy in models of species distributions and species–habitat associations. However, the integration of telemetry and spatial survey data has proved elusive because of the fundamentally different analytical approaches required by these two data types. Here, “spatial survey” denotes a survey that records spatial locations and has no temporal structure, for example, line or point transects but not capture–recapture or telemetry. Step selection functions (SSFs—the canonical framework for telemetry) and habitat selection functions (HSFs—the default approach to spatial surveys) differ in not only their specifications but also their results. By imposing the constraint that microscopic mechanisms (animal movement) must correctly scale up to macroscopic emergence (population distributions), a relationship can be written between SSFs and HSFs, leading to a joint likelihood using both datasets. We implement this approach using maximum likelihood, explore its estimation precision by systematic simulation, and seek to derive broad guidelines for effort allocation in the field. We find that complementarities in spatial coverage and resolution between telemetry and survey data often lead to marked inferential improvements in joint analyses over those using either data type alone. The optimal allocation of effort between the two methods (or the choice between them, if only one can be selected) depends on the overall effort expended and the pattern of environmental heterogeneity. Examining inferential performance over a broad range of scenarios for the relative cost between the two methods, we find that integrated analysis usually offers higher precision. Our methodological work shows how to integrate the analysis of telemetry and spatial survey data under a novel joint likelihood function, using traditional computational methods. Our simulation experiments suggest that even when the relative costs of the two methods favor the deployment of one field approach over another, their joint use is broadly preferable. Therefore, joint analysis of the two key methods used in spatial ecology is not only possible but also computationally efficient and statistically more powerful.

Funding

RF-2020-241, the Leverhulme Trust

History

Ethics

  • There is no personal data or any that requires ethical approval

Policy

  • The data complies with the institution and funders' policies on access and sharing

Sharing and access restrictions

  • The uploaded data can be shared openly

Data description

  • The file formats are open or commonly used

Methodology, headings and units

  • There is a file including methodology, headings and units, such as a readme.txt

Responsibility

  • The depositor is responsible for the content and sharing of the attached files

Usage metrics

    School of Mathematics and Statistics

    Licence

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC