Please do contact me for any missing references and other comments. Note that several things below are about to be updated, and there is at least one overlap in content (I have been unable to work at full capacity for quite a long period but am back).
Full Matlab code repository for Time-Consistent Saving and the Distribution of Wealth
Last updated: 18/7/2025
Repository (including compressed version for easy download)
Description: This repository contains Matlab code that computes Markov perfect policies and steady states in non-recursive models (models where discounting is not geometric/exponential). Both the State Space Recursion and modified CMA-ES algorithms in the paper are fully implemented.
The models included are:
Deterministic consumption-saving models [hyperbolic, quasi-hyperbolic - can be flexibly adjusted to accommodate any discount function]
Deterministic optimal growth models (social planner problems) [CMA-ES only; can alternatively be computed via SSR after finding steady states which will be faster in many cases and have better convergence guarantees]
Stochastic optimal growth models ("quasi-hyperbolic Brock-Mirman")
Bewley-Aiyagari models with i.i.d. labor productivities
Textbook near-RBC Bewley-Aiyagari model
Bewley-Aiyagari models with persistent labor productivity shocks (two-state only)
Steady states [in optimal growth models but easily modified to other setting]
Please cite paper (not repository) if using or adapting.
"Time-Consistent Saving and the Distribution of Wealth", July 2025, DOWNLOAD PDF
Matlab code repository can be found above.
"On the Strategic Benefits of Diversity in Teamwork and Other Aggregative Games", July 2025. DOWNLOAD PDF
"Equilibrium Analysis in Behavioral One-Sector Growth Models" (with Daron Acemoglu), Review of Economics Studies 91, 599-640, 2024. DOWNLOAD PDF (final working paper version including the full Online Appendix C).
Matlab code, Figure 5, Panel C (computes Markov equilibrium in quasi-hyperbolic model in the "unconventional case" where higher capital taxes increase income per capita). Note that this code is inferior to the 2025 code for computing Markov equilibrium; see 2025 repository which includes deterministic consumption-saving models also
"The Plague, The Skill Premium and the Road to Modern Economic Growth" (with Rui Luo), Macroeconomic Dynamics, 28(7), 2024:1561-1593. DOWNLOAD PDF. MATLAB FILES AND DATA (the main simulation is Calibration_final.m and the counterfactual is Calibration_counterfactual.m).
"Does Heterogeneity Stifle Competition? An Aggregative Games Analysis", DOWNLOAD PDF (currently being R&R'ed so if you are interested in the topic do check back for an improved version).
"Diversity and Incentivized Team Performance", March 2023/24. DOWNLOAD PDF. Computational files.
"The Ego Loss Approach to Dynamic Inconsistency", DOWNLOAD PDF (June 2021 version, this paper is superseded by "Saving Without Commitment" above)
"Evolutionary Games and Matching Rules" (with Alexandros Rigos), International Journal of Game Theory 47, 707-735, 2018. (open access, to download click journal link).
"Distributional Comparative Statics", The Review of Economic Studies 85, 581-610, 2018. DOWNLOAD PDF
Online Appendix "The Class of k-Convex Functions", DOWNLOAD PDF
"Aggregative Games", A survey of the aggregative games liturature pubslihed in Handbook of Game Theory and Industrial Organization (eds. L.C. Corchón and M. A. Marini), Edward Alger, 2018. DOWNLOAD PDF (please note that this is the final draft).
"Existence, Uniqueness, and Comparative Statics in Contests", in Equilibrium Theory for Cournot Oligopolies and Related Games: Essays in Honour of Koji Okuguchi (eds. P.v. Mouche and F. Quartieri), pages 233-241, Springer Series in Game Theory, Springer, May 2016. DOWNLOAD PDF.
"A Representation Theorem for Guilt Aversion" (with Maria Kozlovskaya), Journal of Economic Behavior and Organization 125, 148-161, 2016. DOWNLOAD PDF
"Robust Comparative Statics in Large Dynamic Economies" (with Daron Acemoglu), Journal of Political Economy 123, 587-640, 2015 The working paper version referred to in the paper can be downloaded either here (NBER) or here .
"Aggregate Comparative Statics" (with Daron Acemoglu), Games and Economic Behavior 81, 27-49, 2013 The working paper version referred to in the paper can be downloaded here. A nice summary of this paper's main conclusions (not written by us) can be found on the "A Fine Theorem" blog.
"Global Stability and the 'Turnpike' in Optimal Unbounded Growth Models", Journal of Economic Theory 147, 802-832, 2012.DOWNLOAD PDF
"Stability of Pure Strategy Nash Equilibrium and Best-Response Potential Games" (with Daisuke Oyama), (I previously had this paper posted but it needs a major overhaul and will be posted again a.s.a.p).
"Robust Comparative Statics in Large Static Games" (with Daron Acemoglu), IEEE Proceedings on Decision and Control 49, 2010. DOWNLOAD PDF
"Aggregative Games and Best-Reply Potentials", Economic Theory 43, 45-66, 2010. DOWNLOAD PDF
A couple of errors in the published manuscipt are corrected in this erratum: DOWNLOAD PDF. The working paper version of the paper can be downloaded HERE (the working paper is quite different from the ET version).
"Life-Cycle Savings, Bequest, and a Diminishing Impact from Scale on Growth" (with Carl-Johan Dalgaard), Journal of Economic Dynamics and Control 33, 1639-1647, 2009. DOWNLOAD PDF
"Monotone Comparative Statics in Ordered Vector Spaces", The B.E. Journal of Theoretical Economics: Vol. 7 : Iss. 1 (Topics), Article 35, 2007. DOWNLOAD PDF
"Unbounded Growth with Heterogenous Consumers", Journal of Mathematical Economics 42, 807-826, 2006. DOWNLOAD PDF
WORK IN PROGRESS :
"Large Dynamic Economies with Aggregate Uncertainty" (with Daron Acemoglu).
“Distributional Comparative Statics in the War of Attrition” (with David Myatt and Chris Wallace). Note that this is a working title only. For a background paper click here.
OTHER STUFF: Please ask if you would like any of the drafts
"Existence, Comparative Statics, and Stability in Games with Strategic Substitutes",
"Monotone Dynamic Programming"
(I am at some point going to rewrite this paper and submit it to a mathematics journal - don't know when I'll be done though!)
A version of this paper which includes the complete proof of theorem 1 can be downloaded here: