Work

QuantEcon.py: A community based Python library for quantitative economics

Year: 2024
Type: article
Abstract: Economics traditionally relied on tractable mathematical models, diagrams, and simple regression methods to analyze and understand economic phenomena. However, in recent decades, economists have increasingly shifted towards more computationally challenging problems, involving large numbers of heterogeneous agents and complex nonlinear interactions.QuantEcon.py is an open-source Python library that helps to support this shift towards more computational intensive research in the field of economics. First released in 2014, QuantEcon.pyhas been under continuous development for around 9 years. The library includes a wide range of functions for economic analysis, including numerical methods, data visualization, estimation, and dynamic programming, implementing a number of fundamental algorithms used in high performance computational economics. In this article we review the key features of the library. Statement of NeedEconomists use a variety of economic, statistical and mathematical models as building blocks for constructing larger and more fully-featured models. Some of these are relatively unique to economics and finance. For example, many macroeconomic and financial models include a stochastic volatility component, since asset markets often exhibit bursts of volatility. Other building blocks involve optimization routines, such as firms that maximize present value given estimated time paths for profits and interest rates. Firms modeled in this way are then plugged into larger models that contain households, banks and other economic agents.QuantEcon.pyfocuses on supplying building blocks for constructing economic models that are fast, efficient and simple to modify. This encourages code re-use across the economics community, without enforcing particular model structure through a top-down development process.
Language: English
Subfield: Software
Open Access status: diamond
OpenAlex ID: W4390636059
FWCI: 0.222
Cites: 12
Cited by: 1
Related to: 10