Cody T. Ross , Thomas Fikes , Hillary Lenfesty , Richard McElreath
{"title":"IPDToolkit: An R package for simulation and Bayesian analysis of iterated prisoner’s dilemma game-play under third-party arbitration","authors":"Cody T. Ross , Thomas Fikes , Hillary Lenfesty , Richard McElreath","doi":"10.1016/j.ssaho.2024.101204","DOIUrl":null,"url":null,"abstract":"<div><div>Recently, researchers have begun studying the role that third-party arbitration may play in the evolution of cooperation. Using the iterated prisoner’s dilemma (IPD), they show that arbitration can mitigate the negative effects of perception errors on the stability of cooperative strategies. Open questions, both theoretical and empirical, however, remain. To promote research on the role of third-party arbitration, we introduce an R package, <span>IPDToolkit</span>, which facilitates both simulation of synthetic data and Bayesian analysis of empirical data. To address theoretical questions, <span>IPDToolkit</span> provides a Monte Carlo simulation engine that can be used to generate play between arbitrary strategies in the IPD with arbitration and assess expected pay-offs. To address empirical questions, <span>IPDToolkit</span> provides customizable, Bayesian finite-mixture models that can be used to identify the strategies responsible for generating empirical game-play data. We present a complete workflow using <span>IPDToolkit</span> to teach end-users its functionality.</div></div>","PeriodicalId":74826,"journal":{"name":"Social sciences & humanities open","volume":"11 ","pages":"Article 101204"},"PeriodicalIF":0.0000,"publicationDate":"2024-11-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Social sciences & humanities open","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2590291124004017","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Recently, researchers have begun studying the role that third-party arbitration may play in the evolution of cooperation. Using the iterated prisoner’s dilemma (IPD), they show that arbitration can mitigate the negative effects of perception errors on the stability of cooperative strategies. Open questions, both theoretical and empirical, however, remain. To promote research on the role of third-party arbitration, we introduce an R package, IPDToolkit, which facilitates both simulation of synthetic data and Bayesian analysis of empirical data. To address theoretical questions, IPDToolkit provides a Monte Carlo simulation engine that can be used to generate play between arbitrary strategies in the IPD with arbitration and assess expected pay-offs. To address empirical questions, IPDToolkit provides customizable, Bayesian finite-mixture models that can be used to identify the strategies responsible for generating empirical game-play data. We present a complete workflow using IPDToolkit to teach end-users its functionality.