Published September 17, 2023 | Version v1
Software Open

Data from: Minority-group incubators and majority-group reservoirs for the diffusion of climate change adaptations

  • 1. Stanford University

Description

These data are part of a data portal that accompanies the special issue 'Climate change adaptation needs a science of culture,' published in Philosophical Transactions of the Royal Society B in 2023. To access the data portal, please visit 10.5061/dryad.bnzs7h4h4.

This repository contains code and supporting documentation for the agent-based model analyzed in our paper, "Minority-group incubators and majority-group reservoirs for climate change adaptation". We performed and analyzed a suite of agent-based models that simulated the spread of an adaptation, i.e., a beneficial behavior, in a population with a minority and majority group, defined by group size and tendency to interact with others from one's own group versus another group (homophily). We ran 1000 trials per parameter setting, where parameters were systematically varied to test different homophily levels in each group, and the effect of whether the minority group, majority group, or both groups start with one member knowing the adaptation. The adaptation either spread from one agent in one or both groups to the rest of the members of both groups in the case of adaptation success, or the adaptation disappeared from the entire population (adaptation failure). We then calculated the success rate across all 1000 trials. We also measured the mean time to either adaptive success or failure.

Notes

All required software is free and open-source. The simulations were run using the Agents.jl library in the Julia programming language. Model output analysis was performed with the ggplot2 library in the R programming language.

Files

MinMaj-Adaptation-Diffusion.zip

Files (2.5 MB)

Name Size Download all
md5:1f4a4c27572dfd48c9514795561f14cc
2.5 MB Preview Download

Additional details

Related works

Is cited by
10.31235/osf.io/28eaj (DOI)
Is source of
10.5061/dryad.2bvq83bwm (DOI)