/*****************************************************************************/
/**********   		Overview of replication files	  	  ************/
/*****************************************************************************/

The replication files are organized into two major parts: build and analysis 
code. The build code constructs the data and the analysis code uses that data 
to produce the figures and tables in the paper. 

/*****************************************************************************/
/**********   			I. BUILD CODE			  ************/
/*****************************************************************************/

There are two main parts of the build files: 

1. /build/stata has the code that we use to make firm-level data with 
patent, profit, and wage outcomes. The main file is make_kpwz.do It describes all 
the inputs, outputs, and code used in the stata-portion of the build. It shows 
how the other do files are related and makes the main analysis .dta file.

2. /build/sas contains code that constructs firm-level outcomes of various wage 
measures from a worker-firm-level dataset.


/*****************************************************************************/
/**********   		     II. ANALYSIS CODE			  ************/
/*****************************************************************************/

Then with our main patent and tax data built, we use the following analysis 
files to produce the figures and tables in the text.

1. /analysis/1_run_kpwz/run_kpwz.do calls all of the main analysis files that 
produce the figures and graphs in the paper. the /ado folder contains the packages 
that we use when executing these files.

2. /analysis/2_process_output/ uses the output from run_kpwz to make the final 
tables and figures.



