GithubHelp home page GithubHelp logo

cmsette / solvesimplex Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.63 MB

Evolutionary game theory solver for R. Classifies internal and face equilibria of 1-population games with continuous replication, 2-5 competitors. User-defined payoff matrix.

R 100.00%
gametheory game-theory game-theory-model evolutionary-game-theory

solvesimplex's Introduction

solveSimplex

solveSimplex is an evolutionary game theory solver for R.

This program describes the equilibrium dynamics of single-population evolutionary game theory games of 2-5 strategies. All strategies are assumed to exist in admixture, and engage in continuous time replicator dynamics. Analysis of face and edge games allows for better understanding of equilibrium dynamics in the system and invasion pathways for individual strategies.

This code:

  1. Solves for all internal and edge equilibria present (rows in Equilibria solutions table).
  2. Assesses stability of equilibrium (Eq) (Source, Saddle, or Sink) using the eigenvalue technique (Friedman and Sinervo, 2016). (Saddle# indicates the number of positive eigenvalues.)
  3. Identifies games and faces with strict-sense intransitivity (Int).
  4. Identifies strategies with strict-sense apostasis (Apo), negative frequency-dependence, and anti-apostasis (A_Apo), positive frequency-dependence.
  5. Allows for analysis of face games as independent games in order to assess possibility of hysteresis in the system.

Download the R workspace: https://github.com/cmsette/solveSimplex/blob/master/solveSimplex.Rproj

Or the code: https://github.com/cmsette/solveSimplex/tree/master/R

solvesimplex's People

Contributors

cmsette avatar

Watchers

 avatar

solvesimplex's Issues

Classify discrete time games

Implement classification for discrete time replicator games using modification of Lyapunov method w/ difference equations.

Name game types

Implement classification of 2-strategy games and faces based on CO (SD), HD, LF framework
Implement classification of 3-strategy games and faces based on RPS 1-4 & ESS/NE framework

Revisit output style

Change the output style to expand output list. Return eigenvalues from solving step.
Output list:
$W-matrix
$Game classification
$Full game table
$eigenvalues
$Wi (face games)
$eigenvalues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.