Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 1006 Bytes

File metadata and controls

27 lines (17 loc) · 1006 Bytes

Foraging Variability

This folder contains the scripts to run analysis for Stochastic choice drives variability in patch foraging decisions across species.

Datasets

  • Le Heron et al. (2020): field-human data
  • Contreras-Huerta et al. (2022): berry-human data
  • Kane et al. (2019): rat data

Folder Structure

  • data/: All data required to run the models and generate the figures from the paper
  • figs/: All scripts to generate the figures and run relevant statistics
  • models/: All scripts to calculate expected leaving times and variability, and model fitting and simulation scripts
  • stats/: R script to run linear mixed effects models (Figure 1 and 5), and JASP HTML output for Bayes factors (paired comparisons)

Software

  • MATLAB (2023b): Model code and figure generation
  • R: Linear mixed models (session info in stats/ folder)
  • JASP: Bayes factors for paired comparisons

For questions, contact: exs165@bham.ac.uk\