Econometrics, Quantitative Economics, Data Science

Author Archive

Seattle 2022

Lecture series

Gross substitutes, optimal transport and matching models

Optimal Transport Summer School, the University of Washington, Seattle, June 19-July 1, 2022

Content

Gross substitutes is a fundamental property in mathematics, economics and computation, almost as important as convexity. It is at the heart of optimal transport theory — although this is often underrecognized — and understanding the connection key to understanding the extension of optimal transport to other models of matching.

Schedule

TBD

Course material

The lecture slides are available before each lecture from the following github repository.

References

These lectures will be loosely based on my math+econ+code lectures:
A. Galichon, ‘math+econ+code’ masterclass on equilibrium transport and matching models in economics. June 2021. Available here.

Outline

Lecture 1. Introduction to gross substitutes
M-matrices and M-maps, nonlinear Perron-Froebenius theory, convergence of Jacobi algorithm. A toy hedonic model.

Lecture 2. Models of matching with transfers
Problem formulation, regularized and unregularized case. IPFP and its convergence. Existence and uniqueness of an equilibrium. Lattice structure.
Lecture 3. Models of matching without transfers
Gale and Shapley’s stable matchings. Adachi’s formulation. Kelso-Craford. Hatfield-Milgrom.

kindey-transplant-hackaton

Kidney transplant hackaton

a math+econ+code event

When? TBA

Who? participation to this math+econ+code event is open to the public upon request.

What? Kidney transplant problems provide a very interesting real-life examples of dynamic matching problems. A large academic literature exists on the topic, both in economics and in operations research. Because the problem is a difficult problem computationally speaking, a number of algorithms exist out there to try to approximate the best solution. This hackaton will put you in the shoes of the transplant agency: at each period, you will receive the state of your population, which is made of your existing population of patients, plus new patients and minus deceased ones (simulated by our platform). Your role will be write the algorithm that matches donors and receivers, given the constraints on the way transplants can be done (state of the patient, compatibility between donor and receiver, length of transplant chains, etc.)

Each player plays in parallel and is evaluated by a score, which will reflect the state of their population of patients. The game is played over a very large number of periods. The player with the highest final score has come up with the best algorithm and wins the hackaton.

What is required? In order to participate, you need to be familiar with Python programming. Your only input is the matching function that assigns donors to receivers — a function whose length can be less than a hundred lines but can be more depending on your design. All the interfacing is done by the platform.

Interested? contact us at math.econ.code@gmail.com.

equiprice_papers

EQUIPRICE papers

The following papers benefited from the support of the ERC-sponsored project EQUIPRICE.

Working papers

Stable and extremely unequal. With Octavia Ghelfi and Marc Henry. Manuscript available on arxiv.

Published or forthcoming papers

Yogurts choose consumers? Identification of Random Utility Models via Two-Sided Matching. With Odran Bonnet, Yu-Wei Hsieh, Keith O’Hara, and Matt Shum. Forthcoming, Review of Economic Studies. Available here.
A note on the estimation of job amenities and labor productivity. With Arnaud Dupuy. Forthcoming Quantitative Economics. Available here.
Cupid’s Invisible Hand: Social Surplus and Identification in Matching Models. With Bernard Salanié. Forthcoming, Review of Economic Studies. Available here.
SISTA: learning optimal transport costs under sparsity constraints. With Guillaume Carlier, Arnaud Dupuy and Yifei Sun. Accepted for publication, Communications on Pure and Applied Mathematics. Available here.
On the representation of the nested logit model. Accepted for publication, Econometric Theory. Available here.
Single market nonparametric identification of multi-attribute hedonic equilibrium models. With Victor Chernozhukov, Marc Henry, and Brendan Pass. Accepted for publication, Journal of Political Economy. Available here.
Fritz John’s equation in mechanism design (2021). Economic Theory Bulletin 9, pp. 1–5. Available here.
Taxation in matching markets. With Arnaud Dupuy, Sonia Jaffe, and Scott Kominers. Forthcoming, International Economic Review. Available here.

EQUIPRICE logo

EQUIPRICE: Equilibrium methods for Resource Allocation and Dynamic Pricing. European Research Council consolidator grant (ERC-CoG) No. 866274, 2020-2025.

equiprice_code

EQUIPRICE code

TraMEPy Project

The TraME software (Transportation Methods for Econometrics, http://www.trame-project.com/) is a collection of libraries for solving problems of equilibrium computation and estimation in consumer demand and matching frameworks via the Mass Transportation Approach. It will be completely revamped to accommodate for the equilibrium flow problem in its full generality (beyond bipartite networks), novel equilibrium algorithms added, enhanced HPC capabilities, and a new Python implementation.

EQUIPRICE logo

EQUIPRICE: Equilibrium methods for Resource Allocation and Dynamic Pricing. European Research Council consolidator grant (ERC-CoG) No. 866274, 2020-2025.

equiprice_agenda

EQUIPRICE scientific agenda

The EQUIPRICE project seeks to build an innovative economic toolbox (ranging from modelling, computation, inference, and empirical applications) for the study of equilibrium models with gross substitutes, with applications to models of matching with or without transfers, trade flows on networks, multinomial choice models, as well as hedonic and dynamic pricing models. While under-emphasized in general equilibrium theory, equilibrium models with gross substitutes are very relevant to these problems as each of these problems can be recast as such.
Thus far, almost any tractable empirical model of these problems typically required making the strong assumption of quasi-linear utilities, leading to a predominance of models with transferable utility in applied work. The current project seeks to develop a new paradigm to move beyond the transferable utility framework to the imperfectly transferable utility one, where the agent’s utilities are no longer quasi-linear.
The mathematical structure of gross substitutes will replace the structure of convexity underlying in models with transferable utility.
To investigate this class of models, one builds a general framework embedding all the models described above, the “equilibrium flow problem.” The gross substitute property is properly generalized and properties (existence of an equilibrium, uniqueness, lattice structure) are derived. Computational algorithms that rely on gross substitutability are designed and implemented. The econometrics of the problem is addressed (estimation, inference, model selection). Applications to various fields such as labor economics, family economics, international trade, urban economics, industrial organization, etc. are investigated.
The project touches upon other disciplines. It will propose new ideas in applied mathematics, offer new algorithms of interest in computer science and machine learning, and provide new methods in other social sciences (like sociology, demography and geography).

Seven scientific challenges

Challenge 1. How to build a single framework to be able to reformulate matching models with or without (or with imperfect) transfers, hedonic models, models of multinomial choice, and models of international trade as problems of competitive equilibrium with gross substitutes?

Challenge 2. How to extend the framework investigated in challenge 1 to handle dynamic, Markov versions of these problems (both in the finite-horizon and stationary case)?

Challenge 3. How to extend the notion of gross substitutes to allow for the possibility of indifference between preferred alternatives, i.e. consider the case of set-valued excess demand / supply?

Challenge 4. Build and analyze a set of algorithms for the equilibrium problem with gross substitutes to handle the problems described in the previous Challenges.

Challenge 5. Implement these algorithms into a compiled, parallelized software library.

Challenge 6. Develop a novel inferential theory based on minimax regret estimation for the estimation of equilibrium models with Gross Substitutes, to handle inference in the previous problems.

Challenge 7. In the minimax regret estimation framework of challenge 6, extend the estimation and inference theory to handle sparsity constraints.

EQUIPRICE logo

EQUIPRICE: Equilibrium methods for Resource Allocation and Dynamic Pricing. European Research Council consolidator grant (ERC-CoG) No. 866274, 2020-2025.

equiprice_positions

EQUIPRICE positions

Open positions

Post-doctoral researcher (TBA)

The post-doctoral researcher will be expected to contribute to the intellectual advancement of the project, interact with the PhD students, and participate in the organization of the seasonal events described below. The post-doctoral position is envisioned for four years; however, depending on individual circumstances, it may also be two consecutive two-year positions.

Two doctoral fellows

One doctoral fellow will have a focus on computational economics. The other doctoral fellow will focus on empirical economics.

Research assistants

March 14, 2021: Equiprice is looking for an intern in the field of data science and economics.

EQUIPRICE logo

EQUIPRICE: Equilibrium methods for Resource Allocation and Dynamic Pricing. European Research Council consolidator grant (ERC-CoG) No. 866274, 2020-2025.

equiprice_workshops

EQUIPRICE workshops

Upcoming workshops

Fall 2021: Workshop on optimal transport with applications to economics and statistics, blended, Sciences Po, Paris.

EQUIPRICE logo

EQUIPRICE: Equilibrium methods for Resource Allocation and Dynamic Pricing. European Research Council consolidator grant (ERC-CoG) No. 866274, 2020-2025.

equiprice_lectures

EQUIPRICE lectures

Upcoming lectures

February 26 2021, 2pm-4pm (Paris time): estimation of dynamic discrete choice problems

Speaker: Alfred Galichon

• Theory: Rust’s model; estimation; normalization issues
• Coding: maintenance choice.

March 12 2021, 2pm-4pm (Paris time): matrix games

Speaker: Alfred Galichon

• Theory: Nash equilibria; correlated equilibria; zero-sum games and LP formulation
• Coding: soccer data on penalty.

April 9 2021, 2pm-4pm (Paris time): kidney exchange problems

Speaker: Jules Baudet.

• Theory: Roth et al.
• Coding: an interactive multi-player simulator

Special lecture 5 (April 30, 2pm-4pm Paris time): traffic congestion

Speaker: Alfred Galichon

• Theory: Wardrop equilibria; price of anarchy
• Coding: traffic data.

Past lectures

February 5 2021, 2pm-4pm (Paris time): cloud computing

Speakers: Flavien Léger (Equiprice) and James Nesbit (NYU).

EQUIPRICE logo

EQUIPRICE: Equilibrium methods for Resource Allocation and Dynamic Pricing. European Research Council consolidator grant (ERC-CoG) No. 866274, 2020-2025.

equiprice_team

EQUIPRICE: Equilibrium methods for Resource Allocation and Dynamic Pricing

European Research Council consolidator grant (ERC-CoG) No. 866274, 2020-2025

CORE Equiprice team

Principal investigator:

Postdoctoral researchers:

Research assistants:

Jules Baudet (Masters student at ENS).
Projects: math+econ+code, equiprice lunches, replication, data analytics
Gabriele Buontempo (Masters student at Sciences Po). Projects: data analytics, dissemination
Nour Cherif (College student at Sciences Po). Projects: math+econ+code, dissemination
Akshaya Jose Devasia (Masters student at Sciences Po). Projects: math+econ+code, dissemination
Bastien Patras (Masters student at Sciences Po, Centrale-Supélec and ENS Paris-Saclay). Projects: replication, data analytics

mec_equil_archive_2020-06

‘math+econ+code’ masterclass on equilibrium transport and matching models in economics

June 8-12, 2020

Online course

 

MEC logo
An event part of the ‘math+econ+code’ series.


 

Description

This very intensive course, part of the ‘math+econ+code’ series, is focused on the computation of competitive equilibrium, which is at the core of surge pricing engines and allocation mechanisms. It will investigate diverse applications such as network congestion, surge pricing, and matching platforms. It provides a bridge between theory, empirics and computation and will introduce tools from economics, mathematical and computer science. Mathematical concepts (such as lattice programming, supermodularity, discrete convexity, Galois connections, etc.) will be taught on a needs basis while studying various economic models. The same is true of computational methods (such as tatonnement algorithms, asynchronous parallel computation, mathematical programming under equilibrium constraints, etc.). Hence there are no prerequisite other than the equivalent of a first-year graduate sequence in econ, applied mathematics or other quantitative disciplines.
The teaching format is somewhat unusual: the course will be taught over five consecutive days, with lectures in the morning and individual assignments in the afternoon. This course is very demanding from students, but the learning rewards are high. The morning lectures will alternate between 1 hour of theory followed by 1 hour of coding. Students are expected to write their own code, and the teaching staff will ensure that it is operational. This course is therefore closer to cooking lessons than to traditional lectures.

Aim of the course

• Provide the conceptual basis of competitive equilibrium with gross substitutes, along with various computational techniques (optimization problems, equilibrium problems). Show how asynchronous parallel computation is adapted for the computation of equilibrium. Applications to hedonic equilibrium, multinomial choice with peer effects, and congested traffic equilibrium on networks.
• Describe analytical methods to analyze demand systems with gross substitutes (Galois connections, lattice programming, monotone comparative statics) and use them to study properties of competitive equilibrium with gross substitutes. Describe the Kelso-Crawford-Hatfield-Milgrom algorithm. Application to stable matchings, and equilibrium models of taxation.
• Derive models of bundled demand and analyze them using notions of discrete convexity and polymatroids. Application to combinatorial auctions and bundled choice.

Instructors

A. Galichon (NYU Econ+Math)

Course material

Course material (lecture slides, datasets, code) will made available before the lectures in this Github repository.

Practical information

• Schedule: June 8-12, 2020. Classes meet 2pm-6pm Paris time / 8am-noon New York time. In addition, supplementary material (approximately 2 hours in length) is made available each day to complement the main lectures.

Outline

• Monday 5/21: competitive equilibrium with gross substitutes
• Tuesday 5/22: demand beyond quasi-linearity
• Wednesday 5/23: bundled demand
• Thursday 5/24: empirical models of demand and matching
• Friday 5/25: network congestion

Synopsis

Part I: Tools
Day 1: Competitive equilibrium with gross substitutes (Monday, 4 hours)
Walrasian equilibrium and gross substitutes. Gradient descent, Newton method; coordinate update method. Isotone convergence and Tarski’s theorem. Parallel computation (synchronous and asynchronous). Fisher-Eisenberg-Gale markets. Hedonic models beyond the quasilinear case.
References:
• Ortega and Rheinboldt (1970). Iterative Solution of Nonlinear Equations in Several Variables. SIAM.
• Heckman, Matzkin, and Nesheim (2010). “Nonparametric identification and estimation of nonadditive hedonic models,” Econometrica.
• Gul and Stacchetti (1999). “Walrasian equilibrium with gross substitutes”. Journal of Economic Theory.
• Jain and Vazirani (2010). “Eisenberg–Gale markets: Algorithms and game-theoretic properties”. Games and Economic Behaviour.
• Cheung and Cole (2016). “A Unified Approach to Analyzing Asynchronous Coordinate Descent and Tatonnement”. Arxiv.

Day 2: Demand beyond quasi-linearity (Tuesday, 4 hours)
Lattices and supermodularity. Veinott’s strong set ordering and Topkis’ theorem; Milgrom-Shannon theorem. Z-maps, P-maps and M-maps. Galois connections and generalized convexity. Equilibrium transport. Models of matching models with imperfectly transferable utility. Stable matchings and Gale and Shapley’s algorithm.
References:
• Veinott (1989). Lattice programming. Unpublished lecture notes, Johns Hopkins University.
• Topkis (1998). Supermodularity and complementarity. Princeton.
• Milgrom and Shannon (1994). “Monotone comparative statics.” Econometrica.
• Rheinboldt (1974). Methods for solving systems of nonlinear equations. SIAM.
• Noeldeke and Samuelson (2018). The implementation duality. Econometrica.
• Kelso and Crawford (1981). Job Matching, Coalition Formation, and Gross Substitutes. Econometrica.
• Roth and Sotomayor (1992). Two-Sided Matching. A Study in Game-Theoretic Modeling and Analysis. Cambdidge.

Day 3: Bundled demand (Wednesday, 4 hours)
Discrete convexity. Lovasz extension; Polymatroids. Hatfield-Milgrom’s algorithm. Combinatorial auctions.
References:
• Fujishige (1991). Submodular functions and optimization. Elsevier.
• Vohra (2011). Mechanism design. A linear programming approach. Cambridge.
• Bikhchandani, Ostroy (2002). The Package Assignment Model”. JET.
• Hatfield and Milgrom (2005). Matching with contracts. AER.
• Danilov, Koshevoy, and Murota (2001). Discrete convexity and equilibria in economies with indivisible goods and money. Mathematical Social Sciences.

Part II: Models
Day 4: Empirical models of demand (Thursday, 4 hours)
Nonadditive random utility models. Strategic complements; supermodular games. Brock-Durlauf’s model of demand with peer effect. Mathematical programming with equilibrium constraints (MPEC).
References:
• Vives, X. (1990). “Nash Equilibrium with Strategic Complementarities,” JME.
• Milgrom and Roberts (1994). “Comparing Equilibria,” AER.
• Berry, Gandhi, Haile (2013). “Connected Substitutes and Invertibility of Demand,” Econometrica.
• Brock, Durlauf (2001). Discrete choice with social interactions. JPE.
• Dubé, Fox and Su (2012), “Improving the Numerical Performance of BLP Static and Dynamic Discrete Choice Random Coefficients Demand Estimation,” Econometrica.
• Bonnet, Galichon, O’Hara and Shum (2018). Yoghurts choose customers? Identification of random utility models via two-sided matching.

Day 5: Empirical models of matching (Friday, 4 hours)
Distance-to-frontier function, matching function equilibrium. Matching models with taxes. Matching with public consumption. Surge pricing.
References:
• Menzel (2015). Large Matching Markets as Two-Sided Demand Systems. Econometrica.
• Legros, Newman (2007). Beauty is a Beast, Frog is a Prince. Assortative Matching with Nontransferabilities. Econometrica.
• Galichon, Kominers, and Weber (2018). Costly Concessions: An Empirical Framework for Matching with Imperfectly Transferable Utility.

Day 6: Equilibrium on networks (Saturday, 4 hours)
Equilibrium on networks. Traffic congestion; Wardrop equilibrium. Braess’ paradox. Price of anarchy.
References:
• Roughgarden, Tardos (2002). How bad is selfish routing? Journal of the ACM.
• Roughgarden (2005). Selfish Routing and the Price of Anarchy. MIT.
• Bourlès, Bramoullé, and Perez‐Richet (2017). Altruism in networks. Econometrica.
• Wardrop (1952). “Some theoretical aspects of road traffic research”. Proc. Inst. Civ. Eng.
• Dafermos (1980). “Traffic Equilibrium and Variational Inequalities.” Transportation Science.
• Nagurney (1993). Network Economics: A Variational Inequality Approach. Kluwer.

Sponsored by:

  • The National Science Foundation, grant DMS-1716489, “Optimal and equilibrium transport: theory and applications to economics and data science.”
  • The European Research Council, grant ERC CoG-866274 EQUIPRICE,“Equilibrium methods for resource allocation and dynamic pricing.”