An update of the abm_grid class is now available on GitHub: https://github.com/maartenteaches/abm_grid . The abm_grid class is intended to be used by people who want to create an Agent Based Model (ABM) on a square grid (like a chessboard) in Mata. An ABM is a simulation in which agents, that each follow simple rules, interact with one another and thus produce an often surprising outcome at the macro level. The purpose of an ABM is to explore mechanisms through which actions of the individual agents add up to a macro outcome by varying the rules that agents have to follow or varying the environment in which it lives.
Implementing a new ABM will always require programming, but a lot of the tasks will be similar across ABMs. For example, in many ABMs the agents live on a square grid, and can only interact with their neighbors. abm_grid contains a set of functions that will do tasks like finding neighbors, adding, moving, and removing agents, etc., and someone can import them into their own ABM. I presented various examples at the last German Stata Users' meeting: http://www.maartenbuis.nl/presentations/munich19.html
This update adds functions for finding cells on a straight line between two cells and the distance between two cells.
I hope some of you will find this useful.
Related Posts with update available of abm_grid: A Mata class for managing a square grid for agent based models
How do I implement a matched -staggered difference in differences approach on stata?Hi everyone, I am currently trying to analyse how the implementation of a policy impacts subjects a…
Post Estimation using xtlsdvc estimatorHi, I want to estimate dynamic panel model with large T (55) and small N (17) (I have balanced panel…
Opening file in .dat formatHi, I am currently using the 16th version of STATA on MacOS. I want to open a 4GB document that has…
Editing household IDsDear Users, I have the following household IDs: ID 0009f6b339824d57a39f5696c9c385a6 0011e7ca5a06…
Different results between etregress and FE/OLSDear Statalisters, Using panel data, I estimated treatment effect with different timings of introduc…
Subscribe to:
Post Comments (Atom)
0 Response to update available of abm_grid: A Mata class for managing a square grid for agent based models
Post a Comment