Being locked up at home due to the COVID-19 crisis, I developed an interest in models for the spread of a disease. The way I like to learn these things is to play with them. So, I created a little Agent Based Model in Stata (a lot of it in Mata). The first (very crude) version is done, and it is available here:

https://github.com/maartenteaches/covid-sandbox

The way I work with Agent Based Models is I get a very basic version running, then I can experiment with it and gradually make it more complex. This is at the "got the basic model running" stage. To emphasize the obvious, this model is for playing and learning, not for making life or death decisions.

Still I got some interesting results from this very basic model. Or at least I found them interesting, I suspect most professionals will find them self-evident. I made a video on those results, which is available here: https://youtu.be/cV6xKMjiwFE and a video explaining the code behind the simulation: https://youtu.be/i6-U0sl78-Q

Anyone who whishes to join me in playing and learning is welcome to fork the model. If you found some interesting experiments and/or created some interesting changes, then I would love to hear about them by a pull request to this repository.