This repository contains the materials produced for and presented at the Ecological Forecasting Initiative Conference 2025. The materials contain a workshop tutorial that introduces concepts of ecological forecast evaluation and synthesis.
These materials were developed by Freya Olsson, Caleb Robbins, and Quinn Thomas.
R version 4.2 is required to run the code in this workshop. You should also check that your Rtools is up to date and compatible with R 4.2, see (https://cran.r-project.org/bin/windows/Rtools/rtools42/rtools.html). Although instructions assume users have Rstudio installed, this is not a strict requirement.
The following packages need to be installed using the following code.
install.packages('tidyverse') # collection of R packages for data manipulation, analysis, and visualisation
install.packages('lubridate') # working with dates and times
install.packages('arrow') # accessing remote filesystems and reading/writing parquet files
install.packages(`kableExtra`) # help render tables nicely
There are 3 options for getting the code locally so that you can run it, depending on your experience with Github/Git you can do one of the following:
- Fork (recommended) the repository to your Github and then clone the repository from your Github repository to a local RStudio project. This will allow you to modify the scripts and push it back to your Github.
- Find the fork button in the top right of the webpage --> Create Fork. This will generate a copy of this repository in your Github.
- Then use the <> Code button to copy the HTTPS link (from your Github!).
- In RStudio, go to New Project --> Version Control --> Git.
- Paste the HTTPS link in the Repository URL space, and choose a suitable location for your local repository --> Create Project.
- Open the .Rmd file
- Clone the workshop repository to a local RStudio project. Your local workspace will be set up and you can commit changes locally but they won't be pushed back to the Github repository.
- Use the <> Code button to copy the HTTPS link.
- In RStudio go to New Project --> Version Control --> Git.
- Paste the HTTPS link in the Repository URL space, and choose a suitable location for your local repository --> Create Project.
- Open the .Rmd file
- Download the zip file of the repository code. You can save changes (without version control) locally.
- Find the <> Code button --> Download ZIP.
- Unzip this to a location on your PC and open the
Forecast-evaluation-EFI25.Rprojfile in RStudio.
More information on forking and cloning in R can be found at happygitwithr, a great resource to get you started using version control with RStudio.
For the workshop you can follow along via the rmarkdown document (tutorial/forecast_evaluation.Rmd) or the md (tutorial/forecast_evaluation.md), both of which can be downloaded here or you can fork the whole repository.
- Introduction to scoring and evaluation: We include the presentation given during the in-person workshop that provides a lot of the background and rationale for the evaluation of ecological forecasts and the use of large forecast catalogs for forecast synthesis.
- Accessing NEON catalog: this section is a quick introduction to the EFI-NEON Forecast Challenge catalog, which will be used to demonstrate forecast evaluation themes. A more in-depth look at the NEON forecasts from the Challenge can be found in the Get_scores_tutorial as part of the NEON Forecast Challenge Workshop.
- Calculating and plotting evaluation metrics: A demonstration in R showing the plotting of forecast scores for single and multi-model comparisons.
- Further considerations: An open discussion on the practical considerations for conducting large-scale synthesis efforts using forecast catalogs (e.g. unequal forecasts, metadata, co-authorship).
- References and further reading: Key references and places to get a more in-depth understanding of forecast scoring and evaluation relevant to this workshop.