This folder contains the following files for the analysis of Carson, Lamoreaux, Simnett, Thuerheimer & Vanstraelen "Establishment of National Public Audit Oversight Boards: Descriptive Evidence and Implications for Audit Quality" in the Journal of Accounting Research. 

1) Hazard and correlation analyses (Section III.)
- Do files: 
	Prep Hazard analysis.do. This file contains the code to clean the World Federation of Exchange data to obtain country-level market capitalization. 
	Hazard analysis.do. This file contains the code to generate the dataset for the hazard and correlation analyses and contains the code for the 	analysis itself.
- Log files (Stata SMCL files):
	PrepHazardAnalysis.smcl Contains the log file for the corresponding do file (Prep Hazard analysis.do)
	HazardAnalysis.smcl Contains the log file for the corresponding do file (Hazard analysis.do)
- Input files:
	Contains the input files for the hand collected data (Inspection Characteristics - Table 2), as well as a report which shows how the World 	Federation of Exchange data were downloaded. This file is not shared since user registration is required. Other data (e.g., country characteristics) 	are downloaded or coded directly in stata. News data were hand-collected from Nexis Uni based on the methodology disclosed in the accompanying Data 	and Code Sharing file (see Procedures for the Descriptive and Hazard Model Analyses, Step 1.1).

2) Audit quality analyses (Research Design in Section IV. and Results in Section V.)
- Do file: Audit quality analyses.do
- Log file (Stata SMCL files): AQAnalysis.smcl Contains the log file for the corresponding do file (Audit quality analysis.do)
- Input file: Contains the input file for the hand collected data (Inspection Characteristics - Table 2). Other data are proprietary (Compustat), or hand-collected and can be obtained from the stated sources (e.g., PCAOB access, PCAOB joint inspection, IFRS adoption). 
- List of gvkey-years in full sample: (.xlsx and .dta version) This file contains a list of all gvkey-years in our full sample. 

	