Data and Replication Code

This page provides datasets containing key statistics as well as replication code for each of the papers released from Opportunity Insights (formally the Equality of Opportunity Project) before October 1, 2018. We have maintained our previous URL for researchers who use webuse or other tools to extract data from this website. We ask that researchers transition to using files from our new wesbite, https://opportunityinsights.org/. Data from new papers will not be published here. Documentation is provided in readme files or in the Excel version of each table. Please email info@opportunityinsights.org if you need technical assistance in using these data or programs.

Race and Economic Opportunity in the United States: An Intergenerational Perspective
Chetty, Hendren, Jones, and Porter (2018)
Income Statistics by Race/Ethnicity, Gender, Parent Income, and Commuting Zone

Click to view data
Data Download
Online Data Table 1
National Statistics by Parent Income Percentile, Gender, and Race
Stata Excel Readme
Online Data Table 2
Income Transition Matrices by Race and Gender
Stata Excel Readme
Online Data Table 3
Income Transition Matrices by Race and Gender, Children with Mothers Born in the U.S.
Stata Excel Readme
Online Data Table 4
CZ-Level Statistics by Race and Parent Income Percentile
Stata Excel Readme
Online Data Table 5
Crosswalk Between Income Percentiles and Dollars
Stata Excel Readme

Who Becomes an Inventor in America? The Importance of Exposure to Innovation
Bell, Chetty, Jaravel, Petkova, and Van Reenen (2017)
Patent Rates by CZ/State, Parent Income, Gender, Age, and College

Click to view data
Data Download
Online Data Table 1a
Origins of Inventors: Innovation Rates by Childhood Commuting Zone, Gender, and Parent Income
Stata Excel Readme
Online Data Table 1b
Origins of Inventors: Innovation Rates by Childhood State, Gender, and Parent Income
Stata Excel Readme
Online Data Table 2a
Careers of Inventors: Innovation Rates by Current Commuting Zone, Gender, Year of Birth, and Age
Stata Excel Readme
Online Data Table 2b
Careers of Inventors: Innovation Rates by Current State, Gender, Year of Birth, and Age
Stata Excel Readme
Online Data Table 3
Innovation Rates by College
Stata Excel Readme
Online Data Table 4a
Income Distributions of Inventors by Year and Age
Stata Excel Readme
Online Data Table 4b
Income Distributions of Highly-Cited Inventors by Age
Stata Excel Readme
All Datasets ZIP

Mobility Report Cards: The Role of Colleges in Intergenerational Mobility
Chetty, Friedman, Saez, Turner, and Yagan (2017)
Mobility Statistics and Student Outcomes by College and Birth Cohort

Click to view data
Data Description Download
Online Data Table 1
Preferred Estimates of Access and Mobility Rates by College
Stata Excel Readme
Online Data Table 2
Baseline Cross-Sectional Estimates by College
Stata Excel Readme
Online Data Table 3
Baseline Longitudinal Estimates by College and Child's Cohort
Stata Excel Readme
Online Data Table 4
Cross-Sectional Estimates by College: Heterogeneity by Gender and Alternative College and Income Definitions
Stata Excel Readme
Online Data Table 5
Longitudinal Estimates by College and Cohort: Heterogeneity by Gender and Alternative College and Income Definitions
Stata Excel Readme
Online Data Table 6
Cross-Sectional Statistics by College Tier and Parent Income Percentile
Stata Excel Readme
Online Data Table 7
Cross-Sectional Statistics on Children’s Income Distributions by College Tier
Stata Excel Readme
Online Data Table 8
Longitudinal Statistics by College Tier, Parent Income Ventile, and Cohort
Stata Excel Readme
Online Data Table 9
Percentile Cutoffs for Parent and Child Income by Birth Cohort
Stata Excel Readme
Online Data Table 10
College Level Characteristics
Stata Excel Readme
Online Data Table 11
Crosswalk from College-Level OPEIDs to Super-OPEID Groups
Stata Excel Readme
Replication Code and Datasets ZIP

The Fading American Dream: Trends in Absolute Income Mobility Since 1940
Chetty, Grusky, Hell, Hendren, Manduca, and Narang (2016)
Absolute Mobility Estimates and Counterfactuals by Cohort, Parent Income, and State

Click to view data
Data Description Download
Online Data Table 1
Baseline Estimates of Absolute Mobility by Parent Income Percentile and Child Birth Cohort
Stata Excel Readme
Online Data Table 2
Absolute Mobility by Child Birth Cohort and State
Stata Excel Readme
Online Data Table 3
Absolute Mobility by Child Birth Cohort, Parent Income Percentile, and Gender
Stata Excel Readme
Online Data Table 4
Alternative Estimates of Absolute Mobility by Birth Cohort
Stata Excel Readme
Online Data Table 5
Counterfactuals by Parent Income Percentile
Stata Excel Readme
Online Data Table 6
Levels of Child and Parent Income by Income Percentile and Child Birth Cohort
Stata Excel Readme
Online Data Table 7
Rank Required to Beat Parent by Child Birth Cohort and Parent Income Percentile
Stata Excel Readme
Online Data Table 8
Copula for 1980-82 Birth Cohorts
Stata Excel Readme
Replication Code and Datasets ZIP

The Effects of Neighborhoods on Intergenerational Mobility
Chetty and Hendren (2017)
Causal Effects, Mobility Estimates and Covariates by County, CZ, and Birth Cohort

Click to view data
Data Description Download
Online Data Table 1
Preferred Estimates of Causal Place Effects by Commuting Zone
Stata Excel Readme
Online Data Table 2
Preferred Estimates of Causal Place Effects by County
Stata Excel Readme
Online Data Table 3
Complete CZ-Level Dataset: Causal Effects and Covariates
Stata Excel Readme
Online Data Table 4
Complete County-Level Dataset: Causal Effects and Covariates
Stata Excel Readme
Online Data Table 5
Pairwise Place Effects by Origin-Destination Pairs of Commuting Zones
Stata Excel Readme
Online Data Table 6
Parent Income Distribution by Child's Birth Cohort
Stata Excel Readme
Replication Code and Datasets ZIP

Note: Legacy replication code and data for the 2016 working papers can be downloaded here (ZIP).

Childhood Environment and Gender Gaps in Adulthood
Chetty, Hendren, Lin, Majerovitz, and Scuderi (2016)
Employment Rates and Earnings by Gender, Parent Income, and Area

Click to view data
Data Description Download
Online Data Table 1
CZ-level Employment Rates by Gender and Parent Income Quintile and other CZ Covariates
Stata Excel Readme
Online Data Table 2
County-level Employment Rates by Gender and Parent Income Quintile and other County Covariates
Stata Excel Readme
Online Data Table 3
National Employment Rates, Earnings, and Other Outcomes by Parent Percentile and Gender
Stata Excel Readme

The Association Between Income and Life Expectancy in the United States, 2001-2014
Chetty, Stepner, Abraham, Lin, Scuderi, Turner, Bergeron, and Cutler (2016)
Health Statistics by State, County, and Commuting Zone

Click to view data
Table # Geography Contents Aggregation Download
1 National Life expectancy estimates Gender-income percentile Stata CSV Readme
2 National Life expectancy estimates Year-gender-income percentile Stata CSV Readme
3 State Life expectancy estimates State-gender-income percentile Stata CSV Readme
4 National Life expectancy estimates State-gender-income quartile Stata CSV Readme
5 State Life expectancy estimates State-year-gender-income quartile Stata CSV Readme
6 CZ Life expectancy estimates CZ-gender-income quartile Stata CSV Readme
7 CZ Life expectancy estimates CZ-gender-income ventile Stata CSV Readme
8 CZ Life expectancy trends estimates CZ-gender-income quartile Stata CSV Readme
9 CZ Life expectancy estimates CZ-year-gender-income quartile Stata CSV Readme
10 CZ Characteristics (described in eTable 9) CZ Stata CSV Readme
11 County Life expectancy esitmates County-gender-income quartile Stata CSV Readme
12 County Characteristics (described in eTable 9) County Stata CSV Readme
13 International Mean life expectancy at age 40 Country-gender Stata CSV Readme
14 National Population and death counts in tax data and NCHS data Gender-age-year Stata CSV Readme
15 National Mortality rates Gender-age-year-income percentile Stata CSV Readme
16 National Mortality rates Gender-age-year-individual income percentile Stata CSV Readme
Complete Set of Formatted Data Tables with Codebook Excel
Complete Set of Unformatted Data Tables Excel
Life Expectancy Rankings for 100 Most Populated Local Areas Excel
Commuting Zone Boundaries (1990 Definition) Shapefile 1990 County Crosswalk
Data for Figures, Tables, and Numbers in Text of JAMA Manuscript ZIP
Replication Code and Data Code and Instructions
Data Only (ZIP, 1GB)
Data and Results (ZIP, 3GB)

Measuring the Impacts of Teachers I and II: Evaluating Bias in Teacher Value-Added Estimates and Teacher Value-Added and Student Outcomes in Adulthood
Chetty, Friedman, and Rockoff (2014)
Replication Code

Click to view data
Data Description Download
Replication Code ZIP

Is the United States Still a Land of Opportunity? Recent Trends in Intergenerational Mobility
Chetty, Hendren, Kline, Saez, and Turner (2014)
Trends in Intergenerational Mobility by Commuting Zone

Click to view data

Where is the Land of Opportunity? The Geography of Intergenerational Mobility in the United States
Chetty, Hendren, Kline and Saez (2014)
Descriptive Statistics by County and Commuting Zone

Click to view data
Data Description Download
Preferred Mobility Measures By Commuting Zone Stata Excel
Online Data Table 1
National 100 by 100 Transition Matrix
Stata Excel
Online Data Table 2
Marginal Income Distributions by Centile
Stata Excel
Online Data Table 3
Intergenerational Mobility Statistics and Selected Covariates by County
Stata Excel
Online Data Table 4
Intergenerational Mobility Statistics by Metropolitan Statistical Area
Stata Excel
Online Data Table 5
Intergenerational Mobility Statistics by Commuting Zone
Stata Excel
Online Data Table 6
Quintile-Quintile Transition Matrices by Commuting Zone
Stata Excel
Online Data Table 7
Income Distributions by Commuting Zone
Stata Excel
Online Data Table 8
Commuting Zone Characteristics
Stata Excel
Online Data Table 9
Commuting Zone Characteristics - Definitions and Data Sources
Excel
Online Data Table 10
National Statistics by Parent or Child Income Percentile
Excel
Replication Code and Datasets ZIP
High-Resolution Map of Upward Mobility Rates by CZ JPG

Note: Documentation is provided in the Excel version of each dataset.