DyPy: A Python Library for Simulating Matrix-Form Games

Anjalika Nande, Andrew Ferdowsian, Eric Lubin, Erez Yoeli, Martin Nowak
7/27/2020
q-bio.PEq-bio.QM

Official code: anjalika-nande/dynamics_sim (12 stars, Jupyter Notebook, LGPL-3.0, last commit 2023-05-30).

Abstract

Evolutionary Game Theory (EGT) simulations are used to model populations undergoing biological and cultural evolution in a range of fields, from biology to economics to linguistics. In this paper we present DyPy, an open source Python package that can perform evolutionary simulations for any matrix form game for three common evolutionary dynamics: Moran, Wright-Fisher and Replicator.

Show full abstract

We discuss the basic components of this package and illustrate how it can be used to run a variety of simulations. Our package allows a user to run such simulations fairly easily without much prior Python knowledge. We hope that this will be a great asset to researchers in a number of different fields.

View on arXivView PDF

Code Implementations(1)

LGPL-3.0

A generic evolutionary game theory simulation library

1212Jupyter Notebook, PythonMar 3, 20183 years agoLGPL-3.0

Similar Papers

Cite this paper

@article{nande2020dypy,
  title  = {DyPy: A Python Library for Simulating Matrix-Form Games},
  author = {Anjalika Nande and Andrew Ferdowsian and Eric Lubin and Erez Yoeli and Martin Nowak},
  year   = {2020},
  eprint = {2007.13815},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2007.13815}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2007.13815.svg)](https://codeofpaper.com/paper/2007.13815)

Discussion