Douglas Hanley CV | Twitter | GitHub

Hi! I'm an economist at the University of Pittsburgh studying knowledge, innovation, and economic growth. These days, I'm quite interested in Wikipedia and other such open platforms. I'm also working on a number of open-source software projects.

Publications (click for abstract)
Assessing the Rate of Replication in Economics, American Economic Review: Papers & Proceedings, 2017 (with James Berry, Lucas Coffman, Rania Gihleb, and Alistair Wilson) [DOI: 10.1257/aer.p20171119] [PDF]
Transition to Clean Technology, Journal of Political Economy, 2016 (with Daron Acemoglu, Ufuk Akcigit, and William Kerr) [DOI: 10.1086/684511] [PDF]
Working Papers (click for abstract)
Patents to Products: Innovation, Product Creation, and Firm Growth (with David Argente, Salomé Baslandze, and Sara Moreira) [PDF]
Science is Shaped by Wikipedia: Evidence from a Randomized Control Trial (with Neil Thompson) [PDF] [SSRN], Press: Nature, The Next Web, Metro US
Optimal Taxation and R&D Policies (with Ufuk Akcigit and Stefanie Stantcheva), Revise and Resubmit, Econometrica [PDF] [NBER]
Back to Basics: Basic Research Spillovers, Innovation Policy and Growth (with Ufuk Akcigit and Nicolas Serrano-Velarde), Revise and Resubmit, Review of Economic Studies [PDF] [CEPR], Cited: Economic Report of the President 2016
Innovation and Patent Policy with Interdependent Technology [PDF]
Work in Progress
International Competition in the Race to Clean Technology (with Chengying Luo)
Spatial Clustering of Firms: A Machine Learning Approach (with Chengying Luo and Mingqin Wu)
Theory and Evidence on the Relationship Between Corruption and Innovation (with Mingqin Wu)
Yellow Fever and the Growth of American Cities (with Sean McCoy and Werner Troesken)

First off, check out my GitHub page! There you can find code relating to the above papers, the below listed projects, and other side projects.

Elltwo (ℓ2) [GitHub] [Demo]

Stuck in LaTeX/PDF hell? There may be a way out. Nowadays, academics are relying less and less on the printed page. At the same time, there have been major advances in the speed and functionality of web technology, particularly in the mobile space. Check out the live demo above!

I aim to produce a framework that can supplant LaTeX as the major tool for the promulgation of academic research. The benefits of such a framework will come both in the form of ease of use (for both the producer and consumer) and in an increased ability to integrate with existing web technologies.

Fuzzy [GitHub] [Demo]

Due to a preternaturally poor memory, I am an avid note taker. There are many, many note-taking apps out there, but not all focus on the other side of the equation: note-getting. Fuzzy is optimized for rapidly inputting and searching through notes, which comprise a title, a body of text, and a list of tags. The interface is web-based, but can be operated using only a keyboard.


Below is a service that allows you to look at the cumulative relative editing activity for a large number of tokens (about 1.1M) appearing in Wikipedia. You can type in your own (single) words into the box below, separated by commas, and see the results by pressing enter. You can also download the results in CSV form by clicking the button.


If you'd like to download the full dataset of tokens, just send me an email and I can arrange it. Even finer data is available at the article editing level.

Console [GitHub]

In this project, I'm attempting to develop a framework for easy-to-use, real-time web plotting. The primary use case is for dashboards that display information on running calculations, but others are of course possible. The backend uses WebSockets and Tornado to interface with MATLAB/Matplotlib-style plotting commands. The frontend uses d3.js.

Competetive Conway's Game of Life [TGZ]

This project is quite old. The goal was to investigate the evolution of cellular automata entities in a competitive setting. Below is the progress of a randomly generated trial run:


Below are lectures notes for some of the classes that I've taught over the years, both at the graduate and undergraduate level.

Graudate Macroeconomics

External website:

Computational Economics

External website:

Economic Growth + Computational Methods

1 — Neoclassical Growth [HTML] [PDF]

2 — Endogenous Growth [HTML] [PDF]

3 — Schumpeterian Framework [HTML] [PDF]

4 — Firm Dynamics [HTML] [PDF]

5 — Directed Technical Change [HTML] [PDF]

Intermediate Microeconomics [LaTeX]

1 — Preferences and Utility [PDF]

2 — The Walrasian Model and Consumer Choice [PDF]

3 — Consumer Demand [PDF]

4 — Equilibrium and Effiency [PDF]

5 — Equilibrium with Production [PDF]

6 — Firms and Production [PDF]

7 — Monopoly and Oligopoly [PDF]

8 — Intertemporal Choice and Uncertainty [PDF]

9 — Risk Sharing and Public Goods [PDF]

GPU Computing [PDF]

Advances in computing are critical for expanding the set of models that we can feasibly investigate quantitatively. GPU's are highly parallelized processing units, originally designed for use in video games, but increasingly finding their way into high performance computing. I gave a lecture in 2011 at Penn detailing how economists might use these in their research. The field is of course evolving rapidly on both the hardware and software fronts, so this may not incorporate all recent changes.

Edgeworth Box

This was on my old website and I felt bad about abandoning it.