Our mission is to help computational modelers develop, document, and share their computational models in accordance with community standards and good open science and software engineering practices. Model authors can publish their model source code in the Computational Model Library with narrative documentation as well as metadata that supports open science and emerging norms that facilitate software citation, computational reproducibility / frictionless reuse, and interoperability. Model authors can also request private peer review of their computational models. Models that pass peer review receive a DOI once published.
All users of models published in the library must cite model authors when they use and benefit from their code.
Please check out our model publishing tutorial and feel free to contact us if you have any questions or concerns about publishing your model(s) in the Computational Model Library.
Displaying 10 of 81 results society clear search
This model is an agent-based simulation written in Python 2.7, which simulates the cost of social care in an ageing UK population. The simulation incorporates processes of population change which affect the demand for and supply of social care, including health status, partnership formation, fertility and mortality. Fertility and mortality rates are drawn from UK population data, then projected forward to 2050 using the methods developed by Lee and Carter 1992.
The model demonstrates that rising life expectancy combined with lower birthrates leads to growing social care costs across the population. More surprisingly, the model shows that the oft-proposed intervention of raising the retirement age has limited utility; some reductions in costs are attained initially, but these reductions taper off beyond age 70. Subsequent work has enhanced and extended this model by adding more detail to agent behaviours and familial relationships.
The version of the model provided here produces outputs in a format compatible with the GEM-SA uncertainty quantification software by Kennedy and O’Hagan. This allows sensitivity analyses to be performed using Gaussian Process Emulation.
Digital social networks facilitate the opinion dynamics and idea flow and also provide reliable data to understand these dynamics. Public opinion and cooperation behavior are the key factors to determine the capacity of a successful and effective public policy. In particular, during the crises, such as the Corona virus pandemic, it is necessary to understand the people’s opinion toward a policy and the performance of the governance institutions. The problem of the mathematical explanation of the human behaviors is to simplify and bypass some of the essential process. To tackle this problem, we adopted a data-driven strategy to extract opinion and behavioral patterns from social media content to reflect the dynamics of society’s average beliefs toward different topics. We extracted important subtopics from social media contents and analyze the sentiments of users at each subtopic. Subsequently, we structured a Bayesian belief network to demonstrate the macro patters of the beliefs, opinions, information and emotions which trigger the response toward a prospective policy. We aim to understand the factors and latent factors which influence the opinion formation in the society. Our goal is to enhance the reality of the simulations. To capture the dynamics of opinions at an artificial society we apply agent-based opinion dynamics modeling. We intended to investigate practical implementation scenarios of this framework for policy analysis during Corona Virus Pandemic Crisis. The implemented modular modeling approach could be used as a flexible data-driven policy making tools to investigate public opinion in social media. The core idea is to put the opinion dynamics in the wider contexts of the collective decision-making, data-driven policy-modeling and digital democracy. We intended to use data-driven agent-based modeling as a comprehensive analysis tools to understand the collective opinion dynamics and decision making process on the social networks and uses this knowledge to utilize network-enabled policy modeling and collective intelligence platforms.
We study cultural dissemination in the context of an Axelrod-like agent-based model describing the spread of cultural traits across a society, with an added element of social influence. This modification produces absorbing states exhibiting greater variation in number and size of distinct cultural regions compared to the original Axelrod model, and we identify the mechanism responsible for this amplification in heterogeneity. We develop several new metrics to quantitatively characterize the heterogeneity and geometric qualities of these absorbing states. Additionally, we examine the dynamical approach to absorbing states in both our Social Influence Model as well as the Axelrod Model, which not only yields interesting insights into the differences in behavior of the two models over time, but also provides a more comprehensive view into the behavior of Axelrod’s original model. The quantitative metrics introduced in this paper have broad potential applicability across a large variety of agent-based cultural dissemination models.
Existing studies on prejudice, which is important in multi-group dynamics in societies, focus on the social-psychological knowledge behind the processes involving prejudice and its propagation. We instead create a multi-agent framework that simulates the propagation of prejudice and measures its tangible impact on the prosperity of individuals as well as of larger social structures, including groups and factions within. Groups in society help us define prejudice, and factions represent smaller tight-knit circles of individuals with similar opinions. We model social interactions using the Continuous Prisoner’s Dilemma (CPD) and a type of agent called a prejudiced agent, whose cooperation is affected by a prejudice attribute, updated over time based both on the agent’s own experiences and those of others in its faction. This model generates various results that both provide new insights into intergroup prejudice and its effects, as well as highlight and reinforce certain existing notions of prejudice.
This model is based on the Narragansett Bay, RI recreational fishery. The two types of agents are piscivorous fish and fishers (shore and boat fishers are separate “breeds”). Each time step represents one week. Open season is weeks 1-26, assuming fishing occurs during half the year. At each weekly time step, fish agents grow, reproduce, and die. Fisher agents decide whether or not to fish based on their current satisfaction level, and those that do go fishing attempt to catch a fish. If they are successful, they decide whether to keep or release the fish. In our publication, this model was linked to an Ecopath with Ecosim food web model where the commercial harvest of forage fish affected the biomass of piscivorous fish - which then became the starting number of piscivorous fish for this ABM. The number of fish caught in a season of this ABM was converted to a fishing pressure and input back into the food web model.
Like many developing countries, Nigeria is faced with a number of tradeoffs that pit rapid economic development against environmental preservation. Environmentally sustainable, “green” economic development is slower, more costly, and more difficult than unrestricted, unregulated economic growth. The mathematical model that we develop in this code suggests that widespread public awareness of environmental issues is insufficient to prevent the tendency towards sacrificing the environment for the sake of growth. Even if people have an understanding of negative impacts and always choose to act in their own self-interest, they may still act collectively in such a way as to bring down the quality of life for the entire society. We conclude that additional actions must be taken besides raising public awareness of the environmental problem.
An agent-based model simulating West Nile Virus dynamics in a one host (American robin)-one vector (Culex spp. mosquito) system. ODD improved and code cleaned.
Schelling famously proposed an extremely simple but highly illustrative social mechanism to understand how strong ethnic segregation could arise in a world where individuals do not necessarily want it. Schelling’s simple computational model is the starting point for our extensions in which we build upon Wilensky’s original NetLogo implementation of this model. Our two NetLogo models can be best studied while reading our chapter “Agent-based Computational Models” (Flache and de Matos Fernandes, 2021). In the chapter, we propose 10 best practices to elucidate how agent-based models are a unique method for providing and analyzing formally precise, and empirically plausible mechanistic explanations of puzzling social phenomena, such as segregation, in the social world. Our chapter addresses in particular analytical sociologists who are new to ABMs.
In the first model (SegregationExtended), we build on Wilensky’s implementation of Schelling’s model which is available in NetLogo library (Wilensky, 1997). We considerably extend this model, allowing in particular to include larger neighborhoods and a population with four groups roughly resembling the ethnic composition of a contemporary large U.S. city. Further features added concern the possibility to include random noise, and the addition of a number of new outcome measures tuned to highlight macro-level implications of the segregation dynamics for different groups in the agent society.
In SegregationDiscreteChoice, we further modify the model incorporating in particular three new features: 1) heterogeneous preferences roughly based on empirical research categorizing agents into low, medium, and highly tolerant within each of the ethnic subgroups of the population, 2) we drop global thresholds (%-similar-wanted) and introduce instead a continuous individual-level single-peaked preference function for agents’ ideal neighborhood composition, and 3) we use a discrete choice model according to which agents probabilistically decide whether to move to a vacant spot or stay in the current spot by comparing the attractiveness of both locations based on the individual preference functions.
…
The SMASH model is an agent-based model of rural smallholder households. It models households’ evolving income and wealth, which they earn through crop sales. Wealth is carried in the form of livestock, which are grazed on an external rangeland (exogenous) and can be bought/sold as investment/coping mechanisms. The model includes a stylized representation of soil nutrient dynamics, modeling the inflows and outflows of organic and inorganic nitrogen from each household’s field.
The model has been applied to assess the resilience-enhancing effects of two different farm-level adaptation strategies: legume cover cropping and crop insurance. These two strategies interact with the model through different mechanims - legume cover cropping through ecological mechanisms and crop insurance through financial mechanisms. The model can be used to investigate the short- and long-term effects of these strategies, as well as how they may differently benefit different types of household.
The model explores food distribution patterns that emerge in a small-scale non-agricultural group when sharing individuals engage in intentional consumption leveling with a given probability.
Displaying 10 of 81 results society clear search