Skip to content

Humphries-Lab/Foraging-variability

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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\

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages