Computational Model Library

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 46 results for "Matthew Johnson" clear search

This model couples a two-asset heterogeneous-agent New Keynesian macroeconomy with a household layer that can be driven in two ways. One is a conventional calibration. The other is a set of large-language-model persona agents built from real survey households in Korea (NaSTaB), the United States (PSID) and Italy (SHIW). Each persona is given its balance sheet, income and prices, and reports consumption, saving and labour supply. A feasibility layer enforces the budget constraint. A conditional-mean surrogate then turns these decisions into a propensity surface. That surface reaches the macroeconomic block through a single channel, the intertemporal marginal propensity to consume matrix. Because of this, a calibrated “twin” can be aligned with the generative layer exactly, and the two can be compared policy by policy.

Both layers are then scored against the held-out consumption of the same households. The model’s role is to serve as a benchmark: it tests whether generative agents add information beyond the balance sheet, and whether that information matches real behaviour.

The deposit contains:

…

This model extends Schelling’s segregation model with mobility sharing. Agents of two groups occupy cells of a 32 × 32 grid and repeatedly choose activity destinations subject to a preference threshold, the minimum share of ingroup neighbours they accept. Trips are matched into shared rides between members of different groups, using one of four matching algorithms on a shareability network (maximal cross-group matching, maximum weight matching on contact time, maximum cardinality matching, or random greedy matching) with a maximum detour constraint. After each trip, an agent’s preference threshold changes with the time spent in contact with outgroup members.

Starting from complete segregation, the model examines under which conditions contact during shared trips leads to integration. Besides the main scenario, in which contact always lowers the threshold, it includes two extensions. In the first, a share of adversarial agents becomes less tolerant with contact, and this share grows or shrinks with the current level of segregation, governed by a branching dissimilarity index and a conversion rate. In the second, each contact raises or lowers the threshold with a probability that depends on the agent’s current attitude relative to a compatibility threshold.

Segregation is measured with the index of dissimilarity and the Gini coefficient. The model file includes BehaviorSpace experiments for each analysis in the associated article. The matching step uses the NetworkX library through the Python extension of NetLogo (requires Python 3 with numpy and networkx 3.x).

ABODE - Agent Based Model of Origin Destination Estimation

D Levinson | Published Monday, August 29, 2011 | Last modified Saturday, April 27, 2013

The agent based model matches origins and destinations using employment search methods at the individual level.

An agent-based model is used to simulate legislators’ behavior under secret voting rules, as influenced by the power of the accused politician, the composition of the voting body, and the publicity of the accusations.

Peer reviewed DogFoxCDVspillover

Aniruddha Belsare Matthew Gompper | Published Thursday, March 16, 2017 | Last modified Tuesday, April 04, 2017

The purpose of this model is to better understand the dynamics of a multihost pathogen in two host system comprising of high densities of domestic hosts and sympatric wildlife hosts susceptible to the pathogen.

A model of the emergence of intersectional life course inequalities through transitions in the workplace. It explores LGBTQ citizens’ career outcomes and trajectories in relation to several mediating factors: (i) workplace discrimination; (ii) social capital; (iii) policy interventions (i.e., workplace equality, diversity, and inclusion policies); (iv) and LGBTQ employees’ behaviours in response to discrimination (i.e., moving workplaces and/or different strategies for managing the visibility of their identity).

Market for Protection

Steven Doubleday | Published Monday, July 01, 2013 | Last modified Monday, August 19, 2013

Simulation to replicate and extend an analytical model (Konrad & Skaperdas, 2010) of the provision of security as a collective good. We simulate bandits preying upon peasants in an anarchy condition.

Agent-based model for centralized student admission process

Connie Wang Bin-Tzong Chi Shu-Heng Chen | Published Wednesday, November 04, 2015 | Last modified Wednesday, March 06, 2019

This model is to match students and schools using real-world student admission mechanisms. The mechanisms in this model are serial dictatorship, deferred acceptance, the Boston mechanism, Chinese Parallel, and the Taipei mechanism.

Peer reviewed Yards

Emily Minor Soraida Garcia srailsback Philip Johnson | Published Thursday, November 02, 2023

This is a model of plant communities in urban and suburban residential neighborhoods. These plant communities are of interest because they provide many benefits to human residents and also provide habitat for wildlife such as birds and pollinators. The model was designed to explore the social factors that create spatial patterns in biodiversity in yards and gardens. In particular, the model was originally developed to determine whether mimicry behaviors–-or neighbors copying each other’s yard design–-could produce observed spatial patterns in vegetation. Plant nurseries and socio-economic constraints were also added to the model as other potential sources of spatial patterns in plant communities.

The idea for the model was inspired by empirical patterns of spatial autocorrelation that have been observed in yard vegetation in Chicago, Illinois (USA), and other cities, where yards that are closer together are more similar than yards that are farther apart. The idea is further supported by literature that shows that people want their yards to fit into their neighborhood. Currently, the yard attribute of interest is the number of plant species, or species richness. Residents compare the richness of their yards to the richness of their neighbors’ yards. If a resident’s yard is too different from their neighbors, the resident will be unhappy and change their yard to make it more similar.

The model outputs information about the diversity and identity of plant species in each yard. This can be analyzed to look for spatial autocorrelation patterns in yard diversity and to explore relationships between mimicry behaviors, yard diversity, and larger scale diversity.

LUXE is a land-use change model featuring different levels of land market implementation. It integrates utility measures, budget constraints, competitive bidding, and market interactions to model land-use change in exurban environment.

Displaying 10 of 46 results for "Matthew Johnson" clear search

This website uses cookies and Google Analytics to help us track user engagement and improve our site. If you'd like to know more information about what data we collect and why, please see our data privacy policy. If you continue to use this site, you consent to our use of cookies.
Accept