https://github.com/bancaditalia/abcredit.jl

A fast and simple to use Julia implementation of the macroeconomic model described in [Assenza, Delli Gatti, Grazzini (2015)]

https://github.com/bancaditalia/abcredit.jl

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: sciencedirect.com
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.5%) to scientific vocabulary

Keywords

agent-based-modeling agent-based-simulation macroeconomics
Last synced: 5 months ago · JSON representation

Repository

A fast and simple to use Julia implementation of the macroeconomic model described in [Assenza, Delli Gatti, Grazzini (2015)]

Basic Info
Statistics
  • Stars: 16
  • Watchers: 5
  • Forks: 3
  • Open Issues: 2
  • Releases: 4
Topics
agent-based-modeling agent-based-simulation macroeconomics
Created over 1 year ago · Last pushed 8 months ago
Metadata Files
Readme Contributing License

README.md

Logo adapts to light and dark modes *

The ABC of macroeconomic agent-based modelling

A fast and easy to use Julia implementation of the model described in Emergent dynamics of a macroeconomic agent based model with capital and credit. The package can be used to simulate the original model or as a base for extensions. If you are not familiar with Julia and the way in which multiple dispatch allows for powerful extensions, don't hesitate to get in touch!

Installation

julia using Pkg Pkg.add("ABCredit")

Quick example

```julia using ABCredit

W = 1000 # number of workers F = 100 # number of consumption firms N = 20 # number of capital firms

model = ABCredit.initialise_model(W, F, N)

T = 1000 # number of epochs

d = ABCredit.runonesim!(model, T) ```

To plot the results of the simulation, install the Plots package via Pkg.add("Plots") and then run

```julia using Plots

plot(d.Y_real) ```

Citing ABCredit

If you found this package useful for your research, please cite (one of) the following publication(s): the research works that made it possible to develop and release ABCredit.jl.

In this work, we extend ABCredit.jl with reinforcement learning agents: bib @inproceedings{brusatin2024simulating, title={Simulating the economic impact of rationality through reinforcement learning and agent-based modelling}, author={Brusatin, Simone and Padoan, Tommaso and Coletta, Andrea and Delli Gatti, Domenico and Glielmo, Aldo}, booktitle={Proceedings of the 5th ACM International Conference on AI in Finance}, pages={159--167}, year={2024} }

In this work, we calibrate ABCredit.jl efficiently using reinforcement learning to select search methods (the calibration code is here): bib @inproceedings{glielmo2023reinforcement, title={Reinforcement Learning for Combining Search Methods in the Calibration of Economic ABMs}, author={Aldo Glielmo and Marco Favorito and Debmallya Chanda and Domenico Delli Gatti}, booktitle={Proceedings of the Fourth ACM International Conference on AI in Finance}, pages={305--313}, year={2023} }

Disclaimer

This package is an outcome of a research project. All errors are those of the authors. All views expressed are personal views, not those of Bank of Italy.

* Credits to Sara Corbo for the logo, echoing the logo of BeforeIT but with warmer colors.

Owner

  • Name: Banca d'Italia
  • Login: bancaditalia
  • Kind: organization
  • Location: Rome

GitHub Events

Total
  • Issues event: 1
  • Watch event: 7
  • Issue comment event: 1
  • Push event: 9
  • Fork event: 2
Last Year
  • Issues event: 1
  • Watch event: 7
  • Issue comment event: 1
  • Push event: 9
  • Fork event: 2

Issues and Pull Requests

Last synced: 6 months ago

Packages

  • Total packages: 1
  • Total downloads:
    • julia 1 total
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 4
juliahub.com: ABCredit

A fast and simple to use Julia implementation of the macroeconomic model described in [Assenza, Delli Gatti, Grazzini (2015)]

  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 1 Total
Rankings
Downloads: 3.0%
Dependent repos count: 3.2%
Average: 7.5%
Dependent packages count: 16.3%
Last synced: 6 months ago

Dependencies

.github/workflows/test.yml actions
  • actions/checkout v2 composite
  • julia-actions/julia-buildpkg v1 composite
  • julia-actions/julia-runtest v1 composite
  • julia-actions/setup-julia v1 composite