Skip to content

compumetrika/method-of-simulated-quantiles

Repository files navigation

The Method of Simulated Quantiles

This is a simple repo to implement the Method of Simulated Quantiles by Dominicy and Veredas in Python.

I build agent-based simulation models in economics.

These models traditionally have a few methodological difficulties:

  1. agent behavior: rational expectations is often not possible, so behavior must come from somewhere, and
  2. estimation is not straightforward.

Much of my research is devoted to addressing the first question with tools from dynamic optimization, reinforcement learning, and approximate dynamic programming.

This repo, however, is devoted to addressing the second question: how to estimate agent-based models.

I am increasingly convinced that simulation-based structural estimation techniques are the most appropriate to apply to agent-based models. (See this excellent blog post by Francis Diebold for a succinct outline of why I increasingly hold this view.)

This repo will implement and test a baseline implementation of a promising MSM estimator, the "method of simulated quantiles." I think this estimator is particularly attractive for agent-based modeling because ABMs often produce distributions of a wide range of state and choice variables as a natural outcome of their execution. Because emergent properties, skew distributions, and complex distributions are often observed in ABMs, the quantiles-based approach is particularly attractive.

The rest of this repo contains notebooks and code files which implement one of the examples Dominicy and Veredas implement to illustrate their method.

Finally, references:

About

A simple repo to implement the Method of Simulated Quantiles by Dominicy and Veredas.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published