This note describes which program produces what results in Jin and Leslie AEJPolicy (2019):
"New Evidence on Information Disclosure Through Restaurant Hygiene Grading: Reply"

Data: 
------------------------------

(1) disease-code-for-AEJ-share.csv (included)

This file was from our medical expert in 2001. It indicates which ICD-9 diagnosis code corresponds to
A: hospitalization that is food-related in over 90% of cases
B: hospitalization that is food-related in 50-90% of cases 
C: hospitalization that is food-related in 10-50% of cases
N: hospitalization that is food-related in less than 10% of cases

(2) ca-reg-zip3.dta (included)

This file is organized by year-month-zip3. East observation describes the extent to which the LA 
restaurant hygiene grade cards apply to that year-month-zip3 in mandatory and voluntary disclosure
(card_yes and card_vol).

All cities in LA county except long beach, vernon and pasadena are sub to LA county regulation.

We incorporate the exact starting date of mandatory grade card disclosure by city (within LA county).
If a city is unincorporated, it follows the LA county policy.

LA county is defined by fips code 6037.

Sounthern CA excluding LA cty includes county Imperial(6025), Kern (6029), Orange (6059), San Bernardino (6071), S$
San Luis Obispo (6079), Santa Barbara (6083), Riverside (6065), Ventura (6111);

Because a zip3 may include several cities who may or may not fall in LA county and
may adopt the LA regulation at different time, we calculate the average card_yes and card_vol 
by year month and zip3 weighted by population in each zip5 and city within that zip3;

(3) disch95.dta, disch96.dta, disch97.dta, disch98.dta, disch99.dta (not included)

These are individual-level hospital discharge data for digestive disorders 
from California's Office of Statewide Health Planning and Development (OSHPD).

It contains year, month, patient's residential zip3, county, diagnosis code, length of stay, etc. 
Note that patient's residential zip3 may fall out of California because the patient was visiting CA 
at the time of hospitalization. 

Interested readers should request raw data from OSHPD directly, we do not have the permission
to share them with the public.

Programs
--------------------------
(1) AEJ-main-program-to-share-poisonA.do (included)

This program combines all the above data, produces summary statistics that 
generate Figures 2 and 3 in a separate excel file, and 
runs all regressions that define only type A diagnosis codes
as foodborne hospitalization. 

Regression results are reported in Table 2, Table 3, Table 4, and the first two columns of Table 5. 
See comments in the file for which commands generate which results. 

(2) AEJ-main-program-to-share-poisonAB.do (included)

This program replicates AEJ-main-program-to-share-poisonA.do, except that
it defines type A and type B diagnosis codes as foodborne hospitalization. 

It produces Columns 3-4 of Table 5.

(3) AEJ-main-program-to-share-poisonABC.do (included)

This program replicates	AEJ-main-program-to-share-poisonA.do, except that 
it defines type-A,B,C diagnosis codes as foodborne hospitalization. 

It produces Columns 5-6 of Table 5.

(4) AEJ-main-program-to-share-Campylobacter.do (included)

This program replicates AEJ-main-program-to-share-poisonA.do, except that
it defines Campylobacter as foodborne hospitalization and treat all 
other diagnosis codes that do not fall in poisonA as control diseases. 

It produces Columns 7-8 of Table 5.

(5) Tables-for-graphs-to-share-in-AEJ (included)

This file has two tabs: the first tab uses the original Table V in Jin and Leslie QJE (2003) to 
generate Figure 1 in Jin and Leslie AEJPolicy (2019). The second tab takes the summary statistics
from AEJ-main-program-to-share-poisonA.do and generate Figures 2 and 3 in n Jin and Leslie AEJPolicy (2019).




