Powered by OpenAIRE graph
Found an issue? Give us feedback
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/ ZENODOarrow_drop_down
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/
ZENODO
Software . 2024
License: CC BY
Data sources: ZENODO
ZENODO
Software . 2024
License: CC BY
Data sources: Datacite
versions View all 1 versions
addClaim

Data and code associated with: Towards causal predictions of site-level treatment effects for applied ecology

Authors: Jackson, Eleanor E.; Snäll, Tord; Gardner, Emma; Bullock, James M.; Spake, Rebecca;

Data and code associated with: Towards causal predictions of site-level treatment effects for applied ecology

Abstract

This repository contains the code and data for our preprint: E. E. Jackson, T. Snäll, E. Gardner, J. M. Bullock & R. Spake (2025). Towards causal predictions of site-level treatment effects for applied ecology. EcoEvoRxiv. DOI: 10.32942/X2KK95 Article abstract: With limited land and resources available to implement conservation actions, efforts must be effectively targeted to individual places. This demands predictions of how individual sites respond to alternative interventions. Meta-learner algorithms for predicting individual level treatment effects (ITEs) have been pioneered in marketing and medicine, but they have not been tested in ecology. We present a first application of meta-learner algorithms to ecology by comparing the performance of algorithms popular in other disciplines (S-, T-, and X-Learners) across a broad set of sampling and modelling conditions that are common to ecological observational studies. We conducted 4,050 virtual studies that measure the effect of forest management on soil carbon. These varied in sampling approach and meta-learner algorithm. The X-Learner algorithm that adjusts for selection bias yields the most accurate predictions of ITEs. Our findings pave the way for ecologists to leverage machine learning techniques for more effective and targeted management of ecosystems in the future. Contents: code/ The code/ directory contains these subdirectories: scripts/ contains action scripts, i.e. all the code for cleaning, combining, and analysing the data. All paths in the scripts are relative to the root directory (where the .Rproj file lives). Each .R script has a summary at the top of what it does. The scripts are numbered in the order in which they would typically be run. functions/ contains R functions which are called by scripts in the code/scripts/ directory. Note that functions were designed to be used only within this project. notebooks/ contains .Rmd files that were used for exploratory analysis and note-taking. Notebooks are not intended to be reproducible but the .md files can be viewed as rendered html (with output) on GitHub. data/ The original data is stored in the data/raw/ subdirectory. Any data that is produced using code is stored in data/derived/. output/ The output/ directory contains the subdirectory figures/, which contains the figures used in the paper. docs/ The docs/ directory contains the data dictionary / metadata. Usage To reproduce results and figures from this project in the RStudio IDE, first open the .Rproj file and call renv::restore() to restore the project's R package library. Then, run the .R scripts in code/scripts/ in the order in which they are labelled, starting from 02_identify-test-plots.R. Note that the first two scripts which clean and filter the data are for reference only, since we will be providing the cleaned data in this repository.

  • BIP!
    Impact byBIP!
    selected citations
    These citations are derived from selected sources.
    This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    0
    popularity
    This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
    Average
    influence
    This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    Average
    impulse
    This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
    Average
Powered by OpenAIRE graph
Found an issue? Give us feedback
selected citations
These citations are derived from selected sources.
This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Citations provided by BIP!
popularity
This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
BIP!Popularity provided by BIP!
influence
This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Influence provided by BIP!
impulse
This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
BIP!Impulse provided by BIP!
0
Average
Average
Average