Contains python3 code used to replicate the culture model from the JASSS submission: “Modeling Cultural Dissemination and Divergence between Rural and Urban Regions.”
Required Packages: numpy, pandas, and time.
The code is formatted to be run in a Jupiter Notebook.
Cell 1: Import required packages
Cell 2: Define model and helper functions
Cell 3: Set model parameters
Cell 4: Run the model