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

Is Your Model Susceptible to Floating-Point Errors?

Author

Abstract

This paper provides a framework that highlights the features of computer models that make them especially vulnerable to floating-point errors, and suggests ways in which the impact of such errors can be mitigated. We focus on small floating-point errors because these are most likely to occur, whilst still potentially having a major influence on the outcome of the model. The significance of small floating-point errors in computer models can often be reduced by applying a range of different techniques to different parts of the code. Which technique is most appropriate depends on the specifics of the particular numerical situation under investigation. We illustrate the framework by applying it to six example agent-based models in the literature.

Suggested Citation

  • Luis R. Izquierdo & J. Gareth Polhill, 2006. "Is Your Model Susceptible to Floating-Point Errors?," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 9(4), pages 1-4.
  • Handle: RePEc:jas:jasssj:2006-10-2
    as

    Download full text from publisher

    File URL: https://www.jasss.org/9/4/4/4.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Axelrod, Robert, 1986. "An Evolutionary Approach to Norms," American Political Science Review, Cambridge University Press, vol. 80(4), pages 1095-1111, December.
    2. J. Gareth Polhill & Luis R. Izquierdo, 2005. "Lessons Learned from Converting the Artificial Stock Market to Interval Arithmetic," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 8(2), pages 1-2.
    3. 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.
    4. LeBaron, Blake & Arthur, W. Brian & Palmer, Richard, 1999. "Time series properties of an artificial stock market," Journal of Economic Dynamics and Control, Elsevier, vol. 23(9-10), pages 1487-1516, September.
    5. Andreas Flache & Michael W. Macy, 2002. "Stochastic Collusion and the Power Law of Learning," Journal of Conflict Resolution, Peace Science Society (International), vol. 46(5), pages 629-653, October.
    6. Luis R. Izquierdo & Nicholas M. Gotts & J. Gareth Polhill, 2004. "Case-Based Reasoning, Social Dilemmas, and a New Equilibrium Concept," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 7(3), pages 1-1.
    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. Uri Wilensky & William Rand, 2007. "Making Models Match: Replicating an Agent-Based Model," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 10(4), pages 1-2.
    2. 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.
    3. 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.

    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. Uri Wilensky & William Rand, 2007. "Making Models Match: Replicating an Agent-Based Model," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 10(4), pages 1-2.
    3. 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.
    4. J. Gareth Polhill & Dawn C. Parker & Daniel Brown & Volker Grimm, 2008. "Using the ODD Protocol for Describing Three Agent-Based Social Simulation Models of Land-Use Change," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 11(2), pages 1-3.
    5. 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.
    6. 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.
    7. Fujio Toriumi & Hitoshi Yamamoto & Isamu Okada, 2020. "A belief in rewards accelerates cooperation on consumer-generated media," Journal of Computational Social Science, Springer, vol. 3(1), pages 19-31, April.
    8. 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.
    9. Yamamoto, Hitoshi & Okada, Isamu, 2016. "How to keep punishment to maintain cooperation: Introducing social vaccine," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 443(C), pages 526-536.
    10. Peter Revay & Claudio Cioffi-Revilla, 2018. "Survey of evolutionary computation methods in social agent-based modeling studies," Journal of Computational Social Science, Springer, vol. 1(1), pages 115-146, January.
    11. Martin Neumann, 2008. "Homo Socionicus: a Case Study of Simulation Models of Norms," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 11(4), pages 1-6.
    12. Hitoshi Yamamoto & Takahisa Suzuki, 2018. "Effects of beliefs about sanctions on promoting cooperation in a public goods game," Palgrave Communications, Palgrave Macmillan, vol. 4(1), pages 1-6, December.
    13. Bruce Edmonds, 2010. "Bootstrapping Knowledge About Social Phenomena Using Simulation Models," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 13(1), pages 1-8.
    14. Kamaladdin Fataliyev & Aneesh Chivukula & Mukesh Prasad & Wei Liu, 2021. "Stock Market Analysis with Text Data: A Review," Papers 2106.12985, arXiv.org, revised Jul 2021.
    15. Runolfsson Solvason Birgir T., 1992. "Ordered Anarchy: Evolution Of The Decentralized Legal Order In The Icelandic Commonwealth," Journal des Economistes et des Etudes Humaines, De Gruyter, vol. 3(2-3), pages 1-20, June.
    16. Siddiqi, Hammad, 2007. "Rational Interacting Agents and Volatility Clustering: A New Approach," MPRA Paper 2984, University Library of Munich, Germany.
    17. Bohm, Volker & Wenzelburger, Jan, 2005. "On the performance of efficient portfolios," Journal of Economic Dynamics and Control, Elsevier, vol. 29(4), pages 721-740, April.
    18. Hommes, Cars & Huang, Hai & Wang, Duo, 2005. "A robust rational route to randomness in a simple asset pricing model," Journal of Economic Dynamics and Control, Elsevier, vol. 29(6), pages 1043-1072, June.
    19. Brock, William A. & Hommes, Cars H. & Wagener, Florian O. O., 2005. "Evolutionary dynamics in markets with many trader types," Journal of Mathematical Economics, Elsevier, vol. 41(1-2), pages 7-42, February.
    20. Olav Schram Stokke, 1990. "The Northern Environment: Is Cooperation Coming?," The ANNALS of the American Academy of Political and Social Science, , vol. 512(1), pages 58-68, November.

    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:2006-10-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.