IDEAS home Printed from https://ideas.repec.org/a/jas/jasssj/2008-19-2.html
   My bibliography  Save this article

Techniques to Understand Computer Simulations: Markov Chain Analysis

Author

Abstract

The aim of this paper is to assist researchers in understanding the dynamics of simulation models that have been implemented and can be run in a computer, i.e. computer models. To do that, we start by explaining (a) that computer models are just input-output functions, (b) that every computer model can be re-implemented in many different formalisms (in particular in most programming languages), leading to alternative representations of the same input-output relation, and (c) that many computer models in the social simulation literature can be usefully represented as time-homogeneous Markov chains. Then we argue that analysing a computer model as a Markov chain can make apparent many features of the model that were not so evident before conducting such analysis. To prove this point, we present the main concepts needed to conduct a formal analysis of any time-homogeneous Markov chain, and we illustrate the usefulness of these concepts by analysing 10 well-known models in the social simulation literature as Markov chains. These models are: • Schelling's (1971) model of spatial segregation • Epstein and Axtell's (1996) Sugarscape • Miller and Page's (2004) standing ovation model • Arthur's (1989) model of competing technologies • Axelrod's (1986) metanorms models • Takahashi's (2000) model of generalized exchange • Axelrod's (1997) model of dissemination of culture • Kinnaird's (1946) truels • Axelrod and Bennett's (1993) model of competing bimodal coalitions • Joyce et al.'s (2006) model of conditional association In particular, we explain how to characterise the transient and the asymptotic dynamics of these computer models and, where appropriate, how to assess the stochastic stability of their absorbing states. In all cases, the analysis conducted using the theory of Markov chains has yielded useful insights about the dynamics of the computer model under study.

Suggested Citation

  • Luis R. Izquierdo & Segismundo S. Izquierdo & José Manuel Galán & José Ignacio Santos, 2009. "Techniques to Understand Computer Simulations: Markov Chain Analysis," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 12(1), pages 1-6.
  • Handle: RePEc:jas:jasssj:2008-19-2
    as

    Download full text from publisher

    File URL: https://www.jasss.org/12/1/6/6.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. N. Emrah Aydinonat, 2007. "Models, conjectures and exploration: an analysis of Schelling's checkerboard model of residential segregation," Journal of Economic Methodology, Taylor & Francis Journals, vol. 14(4), pages 429-454.
    2. Glenn Ellison, 2000. "Basins of Attraction, Long-Run Stochastic Stability, and the Speed of Step-by-Step Evolution," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 67(1), pages 17-45.
    3. Felix Flentge & Daniel Polani & Thomas Uthmann, 2001. "Modelling the Emergence of Possession Norms Using Memes," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 4(4), pages 1-3.
    4. Loet Leydesdorff, 2001. "Technology and Culture: the Dissemination and the Potential 'Lock-In' of New Technologies," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 4(3), pages 1-5.
    5. Matteo Richiardi & Roberto Leombruni & Nicole J. Saam & Michele Sonnessa, 2006. "A Common Protocol for Agent-Based Social Simulation," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 9(1), pages 1-15.
    6. Leombruni, Roberto & Richiardi, Matteo, 2005. "Why are economists sceptical about agent-based simulations?," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 355(1), pages 103-109.
    7. Axelrod, Robert, 1986. "An Evolutionary Approach to Norms," American Political Science Review, Cambridge University Press, vol. 80(4), pages 1095-1111, December.
    8. Axelrod, Robert & Bennett, D. Scott, 1993. "A Landscape Theory of Aggregation," British Journal of Political Science, Cambridge University Press, vol. 23(2), pages 211-233, April.
    9. Arthur, W Brian, 1989. "Competing Technologies, Increasing Returns, and Lock-In by Historical Events," Economic Journal, Royal Economic Society, vol. 99(394), pages 116-131, March.
    10. Young, H Peyton, 1993. "The Evolution of Conventions," Econometrica, Econometric Society, vol. 61(1), pages 57-84, January.
    11. John H. Miller & Scott E. Page, 2007. "Social Science in Between, from Complex Adaptive Systems: An Introduction to Computational Models of Social Life," Introductory Chapters, in: Complex Adaptive Systems: An Introduction to Computational Models of Social Life, Princeton University Press.
    12. David Joyce & John Kennison & Owen Densmore & Stephen Guerin & Shawn Barr & Eric Charles & Nicholas S. Thompson, 2006. "My Way or the Highway: a More Naturalistic Model of Altruism Tested in an Iterative Prisoners' Dilemma," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 9(2), pages 1-4.
    13. Robert Axelrod & Will Mitchell & Robert E. Thomas & D. Scott Bennett & Erhard Bruderer, 1995. "Coalition Formation in Standard-Setting Alliances," Management Science, INFORMS, vol. 41(9), pages 1493-1508, September.
    14. Juan Carlos González-Avella & Mario G. Cosenza & Konstantin Klemm & Víctor M. Eguíluz & Maxi San Miguel, 2007. "Information Feedback and Mass Media Effects in Cultural Dynamics," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 10(3), pages 1-9.
    15. Galam, Serge, 1996. "Fragmentation versus stability in bimodal coalitions," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 230(1), pages 174-188.
    16. Christoph Hauert & Michael Doebeli, 2004. "Spatial structure often inhibits the evolution of cooperation in the snowdrift game," Nature, Nature, vol. 428(6983), pages 643-646, April.
    17. José Manuel Galán & Luis R. Izquierdo, 2005. "Appearances Can Be Deceiving: Lessons Learned Re-Implementing Axelrod's 'Evolutionary Approach to Norms'," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 8(3), pages 1-2.
    18. Ravi Bhavnani, 2003. "Adaptive Agents, Political Institutions and Civic Traditions in Modern Italy," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 6(4), pages 1-1.
    19. Wolfgang Balzer & Karl R. Brendel & Solveig Hofmann, 2001. "Bad Arguments in the Comparison of Game Theory and Simulation in Social Studies," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 4(2), pages 1-1.
    20. Vega-Redondo,Fernando, 2003. "Economics and the Theory of Games," Cambridge Books, Cambridge University Press, number 9780521775908.
    21. Wai-Ki Ching & Michael K. Ng, 2006. "Markov Chains: Models, Algorithms and Applications," International Series in Operations Research and Management Science, Springer, number 978-0-387-29337-0, September.
    22. Klemm, Konstantin & Eguiluz, Victor M. & Toral, Raul & Miguel, Maxi San, 2005. "Globalization, polarization and cultural drift," Journal of Economic Dynamics and Control, Elsevier, vol. 29(1-2), pages 321-334, January.
    23. Michael D. Cohen & Rick L. Riolo & Robert Axelrod, 1999. "The Emergence of Social Organization in the Prisoner's Dilemma: How Context-Preservation and Other Factors Promote Cooperation," Working Papers 99-01-002, Santa Fe Institute.
    24. Andreas Flache & Rainer Hegselmann, 2001. "Do Irregular Grids Make a Difference? Relaxing the Spatial Regularity Assumption in Cellular Models of Social Dynamics," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 4(4), pages 1-6.
    25. Martin A. Nowak & Karl Sigmund, 1998. "Evolution of indirect reciprocity by image scoring," Nature, Nature, vol. 393(6685), pages 573-577, June.
    26. Andreas Flache & Rainer Hegselmann, 1998. "Understanding Complex Social Dynamics: a Plea for Cellular Automata Based Modelling," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 1(3), pages 1-1.
    27. Segismundo S. Izquierdo & Luis R. Izquierdo & Nicholas M. Gotts, 2008. "Reinforcement Learning Dynamics in Social Dilemmas," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 11(2), pages 1-1.
    28. Schelling, Thomas C, 1969. "Models of Segregation," American Economic Review, American Economic Association, vol. 59(2), pages 488-493, May.
    29. M.A. Nowak & K. Sigmund, 1998. "Evolution of Indirect Reciprocity by Image Scoring/ The Dynamics of Indirect Reciprocity," Working Papers ir98040, International Institute for Applied Systems Analysis.
    30. John H. Miller & Scott E. Page, 2007. "Complexity in Social Worlds, from Complex Adaptive Systems: An Introduction to Computational Models of Social Life," Introductory Chapters, in: Complex Adaptive Systems: An Introduction to Computational Models of Social Life, Princeton University Press.
    31. Epstein, Joshua M., 2006. "Remarks on the Foundations of Agent-Based Generative Social Science," Handbook of Computational Economics, in: Leigh Tesfatsion & Kenneth L. Judd (ed.), Handbook of Computational Economics, edition 1, volume 2, chapter 34, pages 1585-1604, Elsevier.
    32. Joshua M. Epstein & Robert L. Axtell, 1996. "Growing Artificial Societies: Social Science from the Bottom Up," MIT Press Books, The MIT Press, edition 1, volume 1, number 0262550253, December.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Sven Banischa & Ricardo Lima & Tanya Araújo, 2012. "Agent based models and opinion dynamics as markov chains," Working Papers Department of Economics 2012/10, ISEG - Lisbon School of Economics and Management, Department of Economics, Universidade de Lisboa.
    2. Catalano, Michele & Di Guilmi, Corrado, 2019. "Uncertainty, rationality and complexity in a multi-sectoral dynamic model: The dynamic stochastic generalized aggregation approach," Journal of Economic Behavior & Organization, Elsevier, vol. 157(C), pages 117-144.
    3. Akihisa Okada & Daisuke Inoue & Shihori Koyama & Tadayoshi Matsumori & Hiroaki Yoshida, 2022. "Dynamical cooperation model for mitigating the segregation phase in Schelling’s model," The European Physical Journal B: Condensed Matter and Complex Systems, Springer;EDP Sciences, vol. 95(10), pages 1-10, October.
    4. Declan Mungovan & Enda Howley & Jim Duggan, 2011. "The influence of random interactions and decision heuristics on norm evolution in social networks," Computational and Mathematical Organization Theory, Springer, vol. 17(2), pages 152-178, May.
    5. Wyburn, John & Hayward, John, 2019. "An application of an analogue of the partition function to the evolution of diglossia," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 516(C), pages 447-463.
    6. José Manuel Galán & Luis R. Izquierdo & Segismundo S. Izquierdo & José Ignacio Santos & Ricardo del Olmo & Adolfo López-Paredes & Bruce Edmonds, 2009. "Errors and Artefacts in Agent-Based Modelling," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 12(1), pages 1-1.
    7. Andrew W. Bausch, 2014. "Evolving intergroup cooperation," Computational and Mathematical Organization Theory, Springer, vol. 20(4), pages 369-393, December.
    8. Edoardo Gaffeo & Mauro Gallegati & Umberto Gostoli, 2015. "An agent-based “proof of principle” for Walrasian macroeconomic theory," Computational and Mathematical Organization Theory, Springer, vol. 21(2), pages 150-183, June.
    9. Grazzini, Jakob & Richiardi, Matteo, 2015. "Estimation of ergodic agent-based models by simulated minimum distance," Journal of Economic Dynamics and Control, Elsevier, vol. 51(C), pages 148-165.
    10. José M Galán & Maciej M Łatek & Seyed M Mussavi Rizi, 2011. "Axelrod's Metanorm Games on Networks," PLOS ONE, Public Library of Science, vol. 6(5), pages 1-11, May.
    11. Di Guilmi, Corrado & Carvalho, Laura, 2017. "The dynamics of leverage in a demand-driven model with heterogeneous firms," Journal of Economic Behavior & Organization, Elsevier, vol. 140(C), pages 70-90.
    12. Severin Reissl, 2022. "Fiscal multipliers, expectations and learning in a macroeconomic agent‐based model," Economic Inquiry, Western Economic Association International, vol. 60(4), pages 1704-1729, October.
    13. Pfau, Jens & Kirley, Michael & Kashima, Yoshihisa, 2013. "The co-evolution of cultures, social network communities, and agent locations in an extension of Axelrod’s model of cultural dissemination," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 392(2), pages 381-391.
    14. Jakob Grazzini & Matteo G. Richiardi, 2013. "Consistent Estimation of Agent-Based Models by Simulated Minimum Distance," LABORatorio R. Revelli Working Papers Series 130, LABORatorio R. Revelli, Centre for Employment Studies.
    15. Delli Gatti,Domenico & Fagiolo,Giorgio & Gallegati,Mauro & Richiardi,Matteo & Russo,Alberto (ed.), 2018. "Agent-Based Models in Economics," Cambridge Books, Cambridge University Press, number 9781108400046.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. José Manuel Galán & Luis R. Izquierdo & Segismundo S. Izquierdo & José Ignacio Santos & Ricardo del Olmo & Adolfo López-Paredes & Bruce Edmonds, 2009. "Errors and Artefacts in Agent-Based Modelling," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 12(1), pages 1-1.
    2. Andrew W. Bausch, 2014. "Evolving intergroup cooperation," Computational and Mathematical Organization Theory, Springer, vol. 20(4), pages 369-393, December.
    3. Dirk Helbing & Anders Johansson, 2010. "Cooperation, Norms, and Revolutions: A Unified Game-Theoretical Approach," PLOS ONE, Public Library of Science, vol. 5(10), pages 1-15, October.
    4. Held, Fabian P. & Wilkinson, Ian F. & Marks, Robert E. & Young, Louise, 2014. "Agent-based Modelling, a new kind of research," Australasian marketing journal, Elsevier, vol. 22(1), pages 4-14.
    5. Kazuya Yamamoto, 2015. "Mobilization, Flexibility of Identity, and Ethnic Cleavage," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 18(2), pages 1-8.
    6. Joshua M. Epstein, 2007. "Agent-Based Computational Models and Generative Social Science," Introductory Chapters, in: Generative Social Science Studies in Agent-Based Computational Modeling, Princeton University Press.
    7. Le Breton, Michel & Weber, Shlomo, 2009. "Existence of Pure Strategies Nash Equilibria in Social Interaction Games with Dyadic Externalities," CEPR Discussion Papers 7279, C.E.P.R. Discussion Papers.
    8. Flaminio Squazzoni, 2010. "The impact of agent-based models in the social sciences after 15 years of incursions," History of Economic Ideas, Fabrizio Serra Editore, Pisa - Roma, vol. 18(2), pages 197-234.
    9. Bithell, M. & Macmillan, W.D., 2007. "Escape from the cell: Spatially explicit modelling with and without grids," Ecological Modelling, Elsevier, vol. 200(1), pages 59-78.
    10. Wolfram Elsner, 2019. "Policy and state in complexity economics," Chapters, in: Nikolaos Karagiannis & John E. King (ed.), A Modern Guide to State Intervention, chapter 1, pages 13-48, Edward Elgar Publishing.
    11. Lim, Wooyoung & Neary, Philip R., 2016. "An experimental investigation of stochastic adjustment dynamics," Games and Economic Behavior, Elsevier, vol. 100(C), pages 208-219.
    12. Mary Burke & Gary Fournier, 2005. "The Emergence of Local Norms in Networks," Computing in Economics and Finance 2005 299, Society for Computational Economics.
    13. Yaofeng Zhang & Renbin Xiao, 2015. "Modeling and Simulation of Polarization in Internet Group Opinions Based on Cellular Automata," Discrete Dynamics in Nature and Society, Hindawi, vol. 2015, pages 1-15, August.
    14. Heller, Yuval & Mohlin, Erik, 2018. "Social learning and the shadow of the past," Journal of Economic Theory, Elsevier, vol. 177(C), pages 426-460.
    15. Heller, Yuval & Mohlin, Erik, 2017. "When Is Social Learning Path-Dependent?," MPRA Paper 78962, University Library of Munich, Germany.
    16. Bandyopadhyay, Abhirup & Kar, Samarjit, 2018. "Coevolution of cooperation and network structure in social dilemmas in evolutionary dynamic complex network," Applied Mathematics and Computation, Elsevier, vol. 320(C), pages 710-730.
    17. Swami Iyer & Timothy Killingback, 2020. "Evolution of Cooperation in Social Dilemmas with Assortative Interactions," Games, MDPI, vol. 11(4), pages 1-31, September.
    18. Te Wu & Long Wang & Feng Fu, 2017. "Coevolutionary dynamics of phenotypic diversity and contingent cooperation," PLOS Computational Biology, Public Library of Science, vol. 13(1), pages 1-16, January.
    19. H Peyton Young, 2014. "The Evolution of Social Norms," Economics Series Working Papers 726, University of Oxford, Department of Economics.
    20. Lv, Shaojie & Wang, Xianjia, 2020. "The impact of heterogeneous investments on the evolution of cooperation in public goods game with exclusion," Applied Mathematics and Computation, Elsevier, vol. 372(C).

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jas:jasssj:2008-19-2. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Francesco Renzini (email available below). General contact details of provider: .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.