This file reproduces tables and figures from the paper "Where is the Land of Opportunity? The Geography of Intergenerational Mobility in the United States".

To run the replication program just run replicate.do in Stata. More details on the contents of replication.zip are below.

In particular it produces the following tables:

Table IV
Table V (rows 1-5, 13, 15, 18, 20-21)
Table VI
Table VII
Table VIII (cols 1-5)
Table IX

Figure VIa and VIb
Figure VIIIa and VIIIb
Figure IXa and IXb
Figure X
Figure XIa, XIb, and XIc
Appendix Figure IV
Appendix Figure Va and Vb
Appendix Figure VIa and VIb
Appendix Figure VIIa and VIIb

The replication ZIP file contains the following files:

1. online_data_tables.xls - the Excel workbook with the online data tables that are referenced in the paper (this data is used for replication).

2. replicate.do - a Stata do-file that replicates the tables and figures listed above.

3. usmaptile_v064.ado - a Stata ado program that produces maps of the United States for various geographies; we will only use CZ-level maps.

4. cz_coords_clean.dta, cz_database_clean.dta, state_coords_new.dta - Stata datasets used to construct maps.