Replication package 144 · dataverse · 2023 · open the deposit

How the code gets from data to results

Replication Data for "Joining Forces: The Spillover Effects of EPA Enforcement Actions and the Role of Socially Responsible Investors"

Code for: Joining Forces: The Spillover Effects of EPA Enforcement Actions and the Role of Socially Responsible Investors Review of Financial Studies 2023

5
scripts
48
input files
0
file hand-offs
132
merges
19
sample steps
78
estimations

1 · Data in — files the code reads and no script of the package writes

Datasets this package uses (item detector / README): Compustat, CRSP/Compustat Merged (CCM), CRSP US Stock Database
  • epadata.ccmlinktable SAS · read by 3 scripts
    sample_construction1.sas:68
    sample_construction1.sas, line 68 from enforce_plants3 as a, epadata.ccmlinktable as b where a.gvkey = b.gvkey and b.LINKTYPE in ("LU","LC","LD","LF","LN","LO","LS","LX") and (b.LINKDT<=a.ACTIVITY_STATUS_DATE) and (a.ACTIVITY_STATUS_DATE<=b.LINKENDDT or b.LINKENDDT=.E) …
  • epadata.Crsp_fundno_wficn SAS · read by 3 scripts
    sample_construction1.sas:169
    sample_construction1.sas, line 169 from epadata.Contact_info as a, epadata.Crsp_fundno_wficn as b where a.CRSP_FUNDNO=b.CRSP_FUNDNO; quit;
  • epadata.msf SAS · read by 3 scripts
    sample_construction1.sas:243
    sample_construction1.sas, line 243 set epadata.msf;
Other input files 45 files
  • epadata.ccmfunda8918 SAS · read by 3 scripts
    sample_construction1.sas:410
    sample_construction1.sas, line 410 from epadata.ccmfunda8918 as a, epadata.invt8918 as b where a.gvkey=b.gvkey and a.lpermno=b.lpermno and a.fyear=b.fyear and a.datadate=b.datadate; quit;
  • epadata.Contact_info SAS · read by 3 scripts
    sample_construction1.sas:169
    sample_construction1.sas, line 169 from epadata.Contact_info as a, epadata.Crsp_fundno_wficn as b where a.CRSP_FUNDNO=b.CRSP_FUNDNO; quit;
  • epadata.Enforcement_facility SAS · read by 3 scripts
    sample_construction1.sas:32
    sample_construction1.sas, line 32 from epadata.Enforcement_facility as a, epadata.Enforcements as b where a.ACTIVITY_ID=b.ACTIVITY_ID and a.CASE_NUMBER=b.CASE_NUMBER; quit;
  • epadata.Enforcements SAS · read by 3 scripts
    sample_construction1.sas:32
    sample_construction1.sas, line 32 from epadata.Enforcement_facility as a, epadata.Enforcements as b where a.ACTIVITY_ID=b.ACTIVITY_ID and a.CASE_NUMBER=b.CASE_NUMBER; quit;
  • epadata.Epanets_caseid SAS · read by 3 scripts
    sample_construction1.sas:39
    sample_construction1.sas, line 39 from enforce_plants as a, epadata.Epanets_caseid as b where a.ACTIVITY_ID=b.ACTIVITY_ID and a.CASE_NUMBER=b.CASE_NUMBER and a.FACILITY_UIN=b.REGISTRY_ID; quit;
  • epadata.Escore_funds_msci_2groups SAS · read by 3 scripts
    sample_construction1.sas:197
    sample_construction1.sas, line 197 from mfholding as a, epadata.Escore_funds_msci_2groups as b where a.wficn=b.wficn and year(a.rdate)=b.year; quit;
  • epadata.Holdings_equityfund SAS · read by 3 scripts
    sample_construction1.sas:190
    sample_construction1.sas, line 190 from epadata.Holdings_equityfund as a, fundcontact2 as b where a.wficn=b.wficn and a.fdate>=b.CHGDT and a.fdate<=b.CHGENDDT; quit;
  • epadata.invt8918 SAS · read by 3 scripts
    sample_construction1.sas:410
    sample_construction1.sas, line 410 from epadata.ccmfunda8918 as a, epadata.invt8918 as b where a.gvkey=b.gvkey and a.lpermno=b.lpermno and a.fyear=b.fyear and a.datadate=b.datadate; quit;
37 more
  • epadata.Public_history_plants SAS · read by 3 scripts
    sample_construction1.sas:24
    sample_construction1.sas, line 24 set epadata.Public_history_plants;
  • epadata.RSEI_Score SAS · read by 3 scripts
    sample_construction1.sas:136
    sample_construction1.sas, line 136 from nets_tri0 as a left join epadata.RSEI_Score as b on a.TRIFD=b.TRI_Facility_ID and a.year=b.Submission_Year; quit;
  • epadata.state_fips SAS · read by 3 scripts
    sample_construction1.sas:184
    sample_construction1.sas, line 184 from fundcontact1 as a, epadata.state_fips as b where a.state=b.state; quit;
  • epadata.tnic2 SAS · read by 3 scripts
    sample_construction1.sas:91
    sample_construction1.sas, line 91 from epadata.tnic2 as a left join epadata.tnic3 as b on a.gvkey1 = b.gvkey1 and a.gvkey2=b.gvkey2 and a.year=b.year;
  • epadata.tnic3 SAS · read by 3 scripts
    sample_construction1.sas:91
    sample_construction1.sas, line 91 from epadata.tnic2 as a left join epadata.tnic3 as b on a.gvkey1 = b.gvkey1 and a.gvkey2=b.gvkey2 and a.year=b.year;
  • epadata.Tri_chemical_plants_prod_ratio SAS · read by 3 scripts
    sample_construction1.sas:140
    sample_construction1.sas, line 140 set epadata.Tri_chemical_plants_prod_ratio;
  • epadata.Tri_harmful SAS · read by 3 scripts
    sample_construction1.sas:131
    sample_construction1.sas, line 131 set epadata.Tri_harmful;
  • epadata.zip_city SAS · read by 3 scripts
    sample_construction1.sas:179
    sample_construction1.sas, line 179 from fundcontact as a, epadata.zip_city as b where a.zip1=b.zip; quit;
  • epadata.Pollution_control_treated SAS · read by 2 scripts
    sample_construction1.sas:766
    sample_construction1.sas, line 766 set epadata.Pollution_control_treated;
  • distpeertrimf.dta Stata
    EPA_SRMF_regressions_for_tables.do:102
    EPA_SRMF_regressions_for_tables.do, line 102 use "distpeertrimf.dta", clear
  • distpeertrimf_lt.dta Stata
    EPA_SRMF_regressions_for_tables.do:108
    EPA_SRMF_regressions_for_tables.do, line 108 use "distpeertrimf_lt.dta", clear
  • epadata.inspections SAS
    sample_construction1.sas:735
    sample_construction1.sas, line 735 set epadata.inspections;
  • epadata.nyc_zip SAS
    sample_construction1.sas:859
    sample_construction1.sas, line 859 set epadata.nyc_zip;
  • epadata.Nyctaxi_nsrmf_all1 SAS
    sample_construction1.sas:904
    sample_construction1.sas, line 904 set epadata.Nyctaxi_nsrmf_all1;
  • epadata.Nyctaximf_all1 SAS
    sample_construction1.sas:892
    sample_construction1.sas, line 892 set epadata.Nyctaximf_all1;
  • epadata.Nyplant_mf_all1 SAS
    sample_construction1.sas:875
    sample_construction1.sas, line 875 set epadata.Nyplant_mf_all1;
  • epadata.Nyplant_nsrmf_all1 SAS
    sample_construction1.sas:880
    sample_construction1.sas, line 880 set epadata.Nyplant_nsrmf_all1;
  • mfshare1.dta Stata
    EPA_SRMF_regressions_for_tables.do:74
    EPA_SRMF_regressions_for_tables.do, line 74 use "mfshare1.dta", clear
  • peertri.dta Stata
    EPA_SRMF_regressions_for_tables.do:7
    EPA_SRMF_regressions_for_tables.do, line 7 use "peertri.dta", clear
  • peertrimf.dta Stata
    EPA_SRMF_regressions_for_tables.do:27
    EPA_SRMF_regressions_for_tables.do, line 27 use "peertrimf.dta", clear
  • peertrimf_firm0.dta Stata
    EPA_SRMF_regressions_for_tables.do:137
    EPA_SRMF_regressions_for_tables.do, line 137 use "peertrimf_firm0.dta", clear
  • peertrimf_firm.dta Stata
    EPA_SRMF_regressions_for_tables.do:142
    EPA_SRMF_regressions_for_tables.do, line 142 use "peertrimf_firm.dta", clear
  • peertrimf_inspect.dta Stata
    EPA_SRMF_regressions_for_tables.do:51
    EPA_SRMF_regressions_for_tables.do, line 51 use "peertrimf_inspect.dta", clear
  • peertrimf_lt.dta Stata
    EPA_SRMF_regressions_for_tables.do:115
    EPA_SRMF_regressions_for_tables.do, line 115 use "peertrimf_lt.dta", clear
  • peertrimf_process.dta Stata
    EPA_SRMF_regressions_for_tables.do:95
    EPA_SRMF_regressions_for_tables.do, line 95 use "peertrimf_process.dta", clear
  • plantmf_level.dta Stata
    EPA_SRMF_regressions_for_tables.do:63
    EPA_SRMF_regressions_for_tables.do, line 63 use "plantmf_level.dta", clear
  • pseudosample1.dta Stata
    Pseudo_sample_EPA_SRMF_regressions.do:15
    Pseudo_sample_EPA_SRMF_regressions.do, line 15 use "pseudosample1.dta", clear
  • pseudosample2.dta Stata
    Pseudo_sample_EPA_SRMF_regressions.do:35
    Pseudo_sample_EPA_SRMF_regressions.do, line 35 use "pseudosample2.dta", clear
  • pseudosample3.dta Stata
    Pseudo_sample_EPA_SRMF_regressions.do:47
    Pseudo_sample_EPA_SRMF_regressions.do, line 47 use "pseudosample3.dta", clear
  • pseudosample4.dta Stata
    Pseudo_sample_EPA_SRMF_regressions.do:55
    Pseudo_sample_EPA_SRMF_regressions.do, line 55 use "pseudosample4.dta", clear
  • pseudosample5.dta Stata
    Pseudo_sample_EPA_SRMF_regressions.do:63
    Pseudo_sample_EPA_SRMF_regressions.do, line 63 use "pseudosample5.dta", clear
  • pseudosample6.dta Stata
    Pseudo_sample_EPA_SRMF_regressions.do:71
    Pseudo_sample_EPA_SRMF_regressions.do, line 71 use "pseudosample6.dta", clear
  • pseudosample7.dta Stata
    Pseudo_sample_EPA_SRMF_regressions.do:76
    Pseudo_sample_EPA_SRMF_regressions.do, line 76 use "pseudosample7.dta", clear
  • pseudosample8.dta Stata
    Pseudo_sample_EPA_SRMF_regressions.do:84
    Pseudo_sample_EPA_SRMF_regressions.do, line 84 use "pseudosample8.dta", clear
  • pseudosample9.dta Stata
    Pseudo_sample_EPA_SRMF_regressions.do:92
    Pseudo_sample_EPA_SRMF_regressions.do, line 92 use "pseudosample9.dta", clear
  • pseudosample10.dta Stata
    Pseudo_sample_EPA_SRMF_regressions.do:97
    Pseudo_sample_EPA_SRMF_regressions.do, line 97 use "pseudosample10.dta", clear
  • pseudosample11.dta Stata
    Pseudo_sample_EPA_SRMF_regressions.do:102
    Pseudo_sample_EPA_SRMF_regressions.do, line 102 use "pseudosample11.dta", clear

2 · The file pipeline — which script writes which file that a later script reads

5 scripts, in the order the README lists them (ReadMe_EPA_SRMF.txt); 0 hand-offs through 0 intermediate files.

  1. 1.sample_construction1.sas named in ReadMe_EPA_SRMF.txt reads 26 input files · 46 merges ·
  2. 2.sample_construction2.sas named in ReadMe_EPA_SRMF.txt reads 20 input files · 54 merges ·
  3. 3.sample_construction3.sas named in ReadMe_EPA_SRMF.txt reads 19 input files · 40 merges ·
  4. 4.EPA_SRMF_regressions_for_tables.do named in ReadMe_EPA_SRMF.txt reads 11 input files · 48 estimations
  5. 5.Pseudo_sample_EPA_SRMF_regressions.do named in ReadMe_EPA_SRMF.txt reads 11 input files · 30 estimations

3 · Merges — 132 joins, 0 followed by a check of the merge result; 8 appends

JoinsHowOn keysCheck that followsWhere
epadata.Enforcement_facility ← epadata.Enforcements join (inner) ACTIVITY_ID CASE_NUMBER none
sample_construction1.sas:32
sample_construction1.sas, line 32 from epadata.Enforcement_facility as a, epadata.Enforcements as b where a.ACTIVITY_ID=b.ACTIVITY_ID and a.CASE_NUMBER=b.CASE_NUMBER; quit;
enforce_plants ← epadata.Epanets_caseid join (inner) ACTIVITY_ID CASE_NUMBER FACILITY_UIN=REGISTRY_ID none
sample_construction1.sas:39
sample_construction1.sas, line 39 from enforce_plants as a, epadata.Epanets_caseid as b where a.ACTIVITY_ID=b.ACTIVITY_ID and a.CASE_NUMBER=b.CASE_NUMBER and a.FACILITY_UIN=b.REGISTRY_ID; quit;
plants ← enforce_plants2 join (inner) DunsNumber year none
sample_construction1.sas:52
sample_construction1.sas, line 52 from plants as a join enforce_plants2 as b on a.DunsNumber=b.DunsNumber and a.year=b.year; quit;
enforce_plants3 ← epadata.ccmlinktable join (inner) gvkey none
sample_construction1.sas:68
sample_construction1.sas, line 68 from enforce_plants3 as a, epadata.ccmlinktable as b where a.gvkey = b.gvkey and b.LINKTYPE in ("LU","LC","LD","LF","LN","LO","LS","LX") and (b.LINKDT<=a.ACTIVITY_STATUS_DATE) and (a.ACTIVITY_STATUS_DATE<=b.LINKENDDT or b.LINKENDDT=.E) …
epadata.tnic2 ← epadata.tnic3 join (left) gvkey1 gvkey2 year none
sample_construction1.sas:91
sample_construction1.sas, line 91 from epadata.tnic2 as a left join epadata.tnic3 as b on a.gvkey1 = b.gvkey1 and a.gvkey2=b.gvkey2 and a.year=b.year;
tnic3 ← enforce_plants4 join (inner) gvkey1 year none
sample_construction1.sas:105
sample_construction1.sas, line 105 from tnic3 as a, enforce_plants4 as b where a.gvkey1=b.gvkey1 and a.year=b.year;
peer2 ← plants join (inner) gvkey2=gvkey1 year none
sample_construction1.sas:121
sample_construction1.sas, line 121 from peer2 as a, plants as b where a.gvkey2=b.gvkey1 and a.year=b.year; quit;
nets_tri0 ← epadata.RSEI_Score join (left) TRIFD=TRI_Facility_ID year=Submission_Year none
sample_construction1.sas:136
sample_construction1.sas, line 136 from nets_tri0 as a left join epadata.RSEI_Score as b on a.TRIFD=b.TRI_Facility_ID and a.year=b.Submission_Year; quit;
nets_tri1 ← tri_prod1 join (left) gvkey DunsNumber year none
sample_construction1.sas:150
sample_construction1.sas, line 150 from nets_tri1 as a left join tri_prod1 as b on a.gvkey=b.gvkey and a.DunsNumber=b.DunsNumber and a.year=b.year; quit;
peer3 ← nets_tri join (inner) gvkey2 DunsNumber2=DunsNumber year none
sample_construction1.sas:155
sample_construction1.sas, line 155 from peer3 as a, nets_tri as b where a.gvkey2=b.gvkey2 and a.DunsNumber2=b.DunsNumber and a.year=b.year; quit;
epadata.Contact_info ← epadata.Crsp_fundno_wficn join (inner) CRSP_FUNDNO none
sample_construction1.sas:169
sample_construction1.sas, line 169 from epadata.Contact_info as a, epadata.Crsp_fundno_wficn as b where a.CRSP_FUNDNO=b.CRSP_FUNDNO; quit;
fundcontact ← epadata.zip_city join (inner) zip1=zip none
sample_construction1.sas:179
sample_construction1.sas, line 179 from fundcontact as a, epadata.zip_city as b where a.zip1=b.zip; quit;

4 · The sample — 5 keep/drop steps, 14 variables winsorized or trimmed

Filters, by kind
missing values ×5
  • drop if sdonsite==.
    EPA_SRMF_regressions_for_tables.do:8
    EPA_SRMF_regressions_for_tables.do, line 8 drop if sdonsite==.
  • drop if sdonsite==.
    EPA_SRMF_regressions_for_tables.do:28
    EPA_SRMF_regressions_for_tables.do, line 28 drop if sdonsite==.
  • drop if sdonsite==.
    EPA_SRMF_regressions_for_tables.do:38
    EPA_SRMF_regressions_for_tables.do, line 38 drop if sdonsite==.
  • drop if lweight==.
    EPA_SRMF_regressions_for_tables.do:75
    EPA_SRMF_regressions_for_tables.do, line 75 drop if lweight==.
  • drop if sdonsite==.
    EPA_SRMF_regressions_for_tables.do:116
    EPA_SRMF_regressions_for_tables.do, line 116 drop if sdonsite==.
Outliers
winsorize at 1/99 · 14 variables
avg_rsei ln_onsite ln_offsite ln_totaltri size bm roa lev lnsale RSEI_Score RSEI_Score_Cancer RSEI_Score_Noncancer +2
sample_construction3.sas:501
sample_construction3.sas, line 501 %winsor(dsetin=tri91d, dsetout=peertri, byvar=none, vars= avg_rsei ln_onsite ln_offsite ln_totaltri size bm roa lev lnsale, pctl=1 99);
sample_construction2.sas:523
sample_construction2.sas, line 523 %winsor(dsetin=tri8, dsetout=peertri1, byvar=none, vars= RSEI_Score RSEI_Score_Cancer RSEI_Score_Noncancer ln_onsite ln_offsite ln_totaltri size bm roa lev TobinQ atn lnsale, pctl=1 99);
sample_construction2.sas:881
sample_construction2.sas, line 881 %winsor(dsetin=tri8, dsetout=peertri1, byvar=none, vars= RSEI_Score RSEI_Score_Cancer RSEI_Score_Noncancer ln_onsite ln_offsite ln_totaltri size bm roa lev TobinQ atn lnsale, pctl=1 99);
sample_construction1.sas:476
sample_construction1.sas, line 476 %winsor(dsetin=tri8, dsetout=peertri1, byvar=none, vars= RSEI_Score RSEI_Score_Cancer RSEI_Score_Noncancer ln_onsite ln_offsite ln_totaltri size bm roa lev TobinQ atn lnsale, pctl=1 99);
Missing values
dropped ×5
  • EPA_SRMF_regressions_for_tables.do:8
    EPA_SRMF_regressions_for_tables.do, line 8 drop if sdonsite==.
  • EPA_SRMF_regressions_for_tables.do:28
    EPA_SRMF_regressions_for_tables.do, line 28 drop if sdonsite==.
  • EPA_SRMF_regressions_for_tables.do:38
    EPA_SRMF_regressions_for_tables.do, line 38 drop if sdonsite==.
  • EPA_SRMF_regressions_for_tables.do:75
    EPA_SRMF_regressions_for_tables.do, line 75 drop if lweight==.
  • EPA_SRMF_regressions_for_tables.do:116
    EPA_SRMF_regressions_for_tables.do, line 116 drop if sdonsite==.
set to zero ×2
  • nxtyr_weight → 0
    EPA_SRMF_regressions_for_tables.do:77
    EPA_SRMF_regressions_for_tables.do, line 77 replace nxtyr_weight=0 if nxtyr_weight==.
  • nxt2yr_weight → 0
    EPA_SRMF_regressions_for_tables.do:80
    EPA_SRMF_regressions_for_tables.do, line 80 replace nxt2yr_weight=0 if nxt2yr_weight==.

5 · Key variables — what enters the models, and where the code builds it

Standard measures computed here: Advertising Intensity (ADS
sample_construction1.sas:435
sample_construction1.sas, line 435 ADS=XAD/Sale;
), Book Leverage (BLEV
sample_construction1.sas:424
sample_construction1.sas, line 424 BLEV=(DLTT+DLC)/AT;
), Book-to-Market (BM
sample_construction1.sas:429
sample_construction1.sas, line 429 BM=CEQ/(abs(PRCC_F)*CSHO);
), Cash Flow (Earnings + Depreciation) (CF
sample_construction1.sas:439
sample_construction1.sas, line 439 CF=(IB+DP)/AT_1;
), Cash Holdings (Cash
sample_construction1.sas:438
sample_construction1.sas, line 438 Cash=CHE/AT_1;
), Log Market Cap (SIZE
sample_construction1.sas:428
sample_construction1.sas, line 428 SIZE=log(abs(PRCC_F)*CSHO);
), Market Leverage (MLEV
sample_construction1.sas:425
sample_construction1.sas, line 425 MLEV=(DLTT+DLC)/(DLTT+DLC+CSHO*abs(PRCC_F));
), R&D Intensity (RDS
sample_construction1.sas:434
sample_construction1.sas, line 434 RDS=XRD/Sale;
), Return on Assets (ROA) (ROA
sample_construction1.sas:430
sample_construction1.sas, line 430 ROA=OIBDP/AT;
), Sales / Revenue (lnSale
sample_construction1.sas:431
sample_construction1.sas, line 431 lnSale=log(sale);
), Sales Growth (sale_growth
sample_construction1.sas:427
sample_construction1.sas, line 427 sale_growth=(sale-sale_1)/sale_1;
), Tangibility (PPE/Assets) (ATN
sample_construction1.sas:437
sample_construction1.sas, line 437 ATN=PPENT/AT;
), Tobin's Q / Market-to-Book (MB
sample_construction1.sas:432
sample_construction1.sas, line 432 MB=(abs(PRCC_F)*CSHO)/CEQ;
)
VariableUsed in models asBuilt by
lnrsei_score outcome in 20
lnrsei_score = log(rsei_score+1) (assign)
sample_construction1.sas:611
sample_construction1.sas, line 611 lnrsei_score=log(rsei_score+1);
lnrsei_score = log(rsei_score+1) (assign)
sample_construction1.sas:727
sample_construction1.sas, line 727 lnrsei_score=log(rsei_score+1);
lnrsei_score = log(rsei_score+1) (assign)
sample_construction2.sas:642
sample_construction2.sas, line 642 lnrsei_score=log(rsei_score+1);
+3 more statements set it
sdonsite outcome in 20
sdonsite = (onsite1-avgonsite1)/sdonsite1 (assign)
sample_construction1.sas:501
sample_construction1.sas, line 501 sdonsite = (onsite1-avgonsite1)/sdonsite1;
sdonsite = (onsite1-avgonsite1)/sdonsite1 (assign)
sample_construction2.sas:548
sample_construction2.sas, line 548 sdonsite = (onsite1-avgonsite1)/sdonsite1;
sdonsite = (onsite1-avgonsite1)/sdonsite1 (assign)
sample_construction2.sas:906
sample_construction2.sas, line 906 sdonsite = (onsite1-avgonsite1)/sdonsite1;
+2 more statements set it
roa outcome in 8, regressor in 6 no statement builds it — a column of an input file, or made by a reshape/merge we do not trace
practice outcome in 6
practice = 0 (assign)
sample_construction1.sas:783
sample_construction1.sas, line 783 practice=0;
practice = 1 (assign)
sample_construction1.sas:784
sample_construction1.sas, line 784 if reduce_type<=14 then practice=1;
practice = 0 (assign)
sample_construction1.sas:818
sample_construction1.sas, line 818 if practice=. then practice=0;
+9 more statements set it
process outcome in 6 no statement builds it — a column of an input file, or made by a reshape/merge we do not trace
dweight outcome in 4
dweight = nxtyr_weight-lweight (gen)
EPA_SRMF_regressions_for_tables.do:81
EPA_SRMF_regressions_for_tables.do, line 81 g dweight=nxtyr_weight-lweight
inspect outcome in 4
inspect = 0 (assign)
sample_construction1.sas:754
sample_construction1.sas, line 754 inspect=0;
inspect = 1 (assign)
sample_construction1.sas:755
sample_construction1.sas, line 755 if num_inspection>0 and num_inspection^=. then inspect=1;
lnnum_inspection outcome in 4
lnnum_inspection = ln(1+num_inspection) (gen)
EPA_SRMF_regressions_for_tables.do:52
EPA_SRMF_regressions_for_tables.do, line 52 g lnnum_inspection=ln(1+num_inspection)
d2weight outcome in 2
d2weight = nxt2yr_weight-lweight (gen)
EPA_SRMF_regressions_for_tables.do:82
EPA_SRMF_regressions_for_tables.do, line 82 g d2weight=nxt2yr_weight-lweight
lnnum_mftrip outcome in 2
lnnum_mftrip = ln(1+num_mftrip) (gen)
EPA_SRMF_regressions_for_tables.do:67
EPA_SRMF_regressions_for_tables.do, line 67 g lnnum_mftrip=ln(1+num_mftrip)
mfvisit outcome in 2
mfvisit = 0 (assign)
sample_construction1.sas:942
sample_construction1.sas, line 942 mfvisit=0;
mfvisit = 1 (assign)
sample_construction1.sas:943
sample_construction1.sas, line 943 if num_mftrip>0 and num_mftrip^=. then mfvisit=1;
treat_post1 regressor in 68
treat_post1 = treat1*post1 (assign)
sample_construction1.sas:610
sample_construction1.sas, line 610 treat_post1=treat1*post1;
treat_post1 = treat1*post1 (assign)
sample_construction1.sas:726
sample_construction1.sas, line 726 treat_post1=treat1*post1;
treat_post1 = treat1*post1 (assign)
sample_construction2.sas:641
sample_construction2.sas, line 641 treat_post1=treat1*post1;
+3 more statements set it
treat_close_post_closemf regressor in 34
treat_close_post_closemf = treatment*close*post*closemf (assign)
sample_construction1.sas:375
sample_construction1.sas, line 375 treat_close_post_closemf=treatment*close*post*closemf;
treat_close_post_closemf = treatment*close*post*closemf (assign)
sample_construction2.sas:438
sample_construction2.sas, line 438 treat_close_post_closemf=treatment*close*post*closemf;
treat_close_post_closemf = treatment*close*post*closemf (assign)
sample_construction2.sas:834
sample_construction2.sas, line 834 treat_close_post_closemf=treatment*close*post*closemf;
+6 more statements set it
bm regressor in 14 no statement builds it — a column of an input file, or made by a reshape/merge we do not trace
lev regressor in 14 no statement builds it — a column of an input file, or made by a reshape/merge we do not trace

6 · Models, by the table or figure they feed — 78 estimations, 0 traced into 0 exhibits

Estimations not traced to a table or figure · 78
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
reghdfe
panel fe
sdonsite treat_post1 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:9
EPA_SRMF_regressions_for_tables.do, line 9 reghdfe sdonsite treat_post1 , absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year )
reghdfe
panel fe
lnrsei_score treat_post1 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:11
EPA_SRMF_regressions_for_tables.do, line 11 reghdfe lnrsei_score treat_post1 , absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year )
reghdfe
panel fe
sdonsite treat_post1 size bm roa lnsale lev dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:13
EPA_SRMF_regressions_for_tables.do, line 13 reghdfe sdonsite treat_post1 size bm roa lnsale lev , absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year )
reghdfe
panel fe
lnrsei_score treat_post1 size bm roa lnsale lev dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:15
EPA_SRMF_regressions_for_tables.do, line 15 reghdfe lnrsei_score treat_post1 size bm roa lnsale lev, absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year )
reghdfe
panel fe
sdonsite treat_post1 treat_close_pre1 treat_close_pre2 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:17
EPA_SRMF_regressions_for_tables.do, line 17 reghdfe sdonsite treat_post1 treat_close_pre1 treat_close_pre2, absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year )
reghdfe
panel fe
lnrsei_score treat_post1 treat_close_pre1 treat_close_pre2 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:19
EPA_SRMF_regressions_for_tables.do, line 19 reghdfe lnrsei_score treat_post1 treat_close_pre1 treat_close_pre2, absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year )
reghdfe
panel fe
sdonsite treat_post1 treat_close_pre1 treat_close_pre2 size bm roa lnsale lev dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:21
EPA_SRMF_regressions_for_tables.do, line 21 reghdfe sdonsite treat_post1 treat_close_pre1 treat_close_pre2 size bm roa lnsale lev , absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year )
reghdfe
panel fe
lnrsei_score treat_post1 treat_close_pre1 treat_close_pre2 size bm roa lnsale lev dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:23
EPA_SRMF_regressions_for_tables.do, line 23 reghdfe lnrsei_score treat_post1 treat_close_pre1 treat_close_pre2 size bm roa lnsale lev, absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year )
reghdfe
panel fe
sdonsite treat_close_post_closemf treat_post1 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:29
EPA_SRMF_regressions_for_tables.do, line 29 reghdfe sdonsite treat_close_post_closemf treat_post1 , absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year)
reghdfe
panel fe
lnrsei_score treat_close_post_closemf treat_post1 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:31
EPA_SRMF_regressions_for_tables.do, line 31 reghdfe lnrsei_score treat_close_post_closemf treat_post1 , absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year)
reghdfe
panel fe
sdonsite treat_close_post_closemf treat_post1 treat_close_post_closemf1 treat_close_post_closemf3 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:33
EPA_SRMF_regressions_for_tables.do, line 33 reghdfe sdonsite treat_close_post_closemf treat_post1 treat_close_post_closemf1 treat_close_post_closemf3, absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year)
reghdfe
panel fe
lnrsei_score treat_close_post_closemf treat_post1 treat_close_post_closemf1 treat_close_post_closemf3 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:35
EPA_SRMF_regressions_for_tables.do, line 35 reghdfe lnrsei_score treat_close_post_closemf treat_post1 treat_close_post_closemf1 treat_close_post_closemf3 , absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year )
reghdfe
panel fe
sdonsite treat_close_post_closemf treat_post1 treat_pre1_closemf treat_pre2_closemf treat_close_pre1 treat_close_pre2 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:39
EPA_SRMF_regressions_for_tables.do, line 39 reghdfe sdonsite treat_close_post_closemf treat_post1 treat_pre1_closemf treat_pre2_closemf treat_close_pre1 treat_close_pre2 , absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year )
reghdfe
panel fe
lnrsei_score treat_close_post_closemf treat_post1 treat_pre1_closemf treat_pre2_closemf treat_close_pre1 treat_close_pre2 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:41
EPA_SRMF_regressions_for_tables.do, line 41 reghdfe lnrsei_score treat_close_post_closemf treat_post1 treat_pre1_closemf treat_pre2_closemf treat_close_pre1 treat_close_pre2 , absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year )
reghdfe
panel fe
sdonsite treat_close_post_closemf treat_post1 treat_close_post_closemf1 treat_close_post_closemf3 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:45
EPA_SRMF_regressions_for_tables.do, line 45 reghdfe sdonsite treat_close_post_closemf treat_post1 treat_close_post_closemf1 treat_close_post_closemf3, absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year)
reghdfe
panel fe
lnrsei_score treat_close_post_closemf treat_post1 treat_close_post_closemf1 treat_close_post_closemf3 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:47
EPA_SRMF_regressions_for_tables.do, line 47 reghdfe lnrsei_score treat_close_post_closemf treat_post1 treat_close_post_closemf1 treat_close_post_closemf3 , absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year )
reghdfe
panel fe
lnnum_inspection treat_post1 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:53
EPA_SRMF_regressions_for_tables.do, line 53 reghdfe lnnum_inspection treat_post1 , absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year)
reghdfe
panel fe
inspect treat_post1 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:55
EPA_SRMF_regressions_for_tables.do, line 55 reghdfe inspect treat_post1 , absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year )
reghdfe
panel fe
lnnum_inspection treat_close_post_closemf treat_post1 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:57
EPA_SRMF_regressions_for_tables.do, line 57 reghdfe lnnum_inspection treat_close_post_closemf treat_post1 , absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year)
reghdfe
panel fe
inspect treat_close_post_closemf treat_post1 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:59
EPA_SRMF_regressions_for_tables.do, line 59 reghdfe inspect treat_close_post_closemf treat_post1 , absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year )
reghdfe
panel fe
mfvisit treat_post_srmf treat_post srmf_post treat_srmf dunsnumber#cohort, wficn2#cohort, year#cohort cluster: wficn2, dunsnumber
EPA_SRMF_regressions_for_tables.do:68
EPA_SRMF_regressions_for_tables.do, line 68 reghdfe mfvisit treat_post_srmf treat_post srmf_post treat_srmf, absorb( dunsnumber#cohort wficn2#cohort year#cohort) vce(cluster wficn2 dunsnumber)
reghdfe
panel fe
lnnum_mftrip treat_post_srmf treat_post srmf_post treat_srmf dunsnumber#cohort, wficn2#cohort, year#cohort cluster: wficn2, dunsnumber
EPA_SRMF_regressions_for_tables.do:70
EPA_SRMF_regressions_for_tables.do, line 70 reghdfe lnnum_mftrip treat_post_srmf treat_post srmf_post treat_srmf, absorb( dunsnumber#cohort wficn2#cohort year#cohort) vce(cluster wficn2 dunsnumber)
reghdfe
panel fe
dweight treatfirmpost_closemf_nrespond treatfirmpost_closemf treatfirmpost_nrespond treatfirm_post ln_fsize exp_ratio turn_ratio rret fund_flows wficn, gvkey1, year cluster: wficn, vkey1
EPA_SRMF_regressions_for_tables.do:85
EPA_SRMF_regressions_for_tables.do, line 85 reghdfe dweight treatfirmpost_closemf_nrespond treatfirmpost_closemf treatfirmpost_nrespond treatfirm_post ln_fsize exp_ratio turn_ratio rret fund_flows, absorb( wficn gvkey1 year ) vce(cluster wficn vkey1)
reghdfe
panel fe
dweight treatfirmpost_closemf_nrespond treatfirmpost_closemf treatfirmpost_nrespond treatfirm_post ln_fsize exp_ratio turn_ratio rret fund_flows wficn, sic2, year cluster: wficn, sic2
EPA_SRMF_regressions_for_tables.do:87
EPA_SRMF_regressions_for_tables.do, line 87 reghdfe dweight treatfirmpost_closemf_nrespond treatfirmpost_closemf treatfirmpost_nrespond treatfirm_post ln_fsize exp_ratio turn_ratio rret fund_flows, absorb( wficn sic2 year ) vce(cluster wficn sic2 )
reghdfe
panel fe
d2weight treatfirmpost_closemf_nrespond treatfirmpost_closemf treatfirmpost_nrespond treatfirm_post ln_fsize exp_ratio turn_ratio rret fund_flows wficn, gvkey1, year cluster: wficn, vkey1
EPA_SRMF_regressions_for_tables.do:89
EPA_SRMF_regressions_for_tables.do, line 89 reghdfe d2weight treatfirmpost_closemf_nrespond treatfirmpost_closemf treatfirmpost_nrespond treatfirm_post ln_fsize exp_ratio turn_ratio rret fund_flows, absorb( wficn gvkey1 year ) vce(cluster wficn vkey1)
reghdfe
panel fe
d2weight treatfirmpost_closemf_nrespond treatfirmpost_closemf treatfirmpost_nrespond treatfirm_post ln_fsize exp_ratio turn_ratio rret fund_flows wficn, sic2, year cluster: wficn, sic2
EPA_SRMF_regressions_for_tables.do:91
EPA_SRMF_regressions_for_tables.do, line 91 reghdfe d2weight treatfirmpost_closemf_nrespond treatfirmpost_closemf treatfirmpost_nrespond treatfirm_post ln_fsize exp_ratio turn_ratio rret fund_flows, absorb( wficn sic2 year ) vce(cluster wficn sic2 )
reghdfe
panel fe
process treat_close_post_closemf treat_post1 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:96
EPA_SRMF_regressions_for_tables.do, line 96 reghdfe process treat_close_post_closemf treat_post1 , absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year )
reghdfe
panel fe
practice treat_close_post_closemf treat_post1 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:98
EPA_SRMF_regressions_for_tables.do, line 98 reghdfe practice treat_close_post_closemf treat_post1 , absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year)
reghdfe
panel fe
process treatfirm_closemf_post treat_post1 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:103
EPA_SRMF_regressions_for_tables.do, line 103 reghdfe process treatfirm_closemf_post treat_post1 , absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year )
reghdfe
panel fe
practice treatfirm_closemf_post treat_post1 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:105
EPA_SRMF_regressions_for_tables.do, line 105 reghdfe practice treatfirm_closemf_post treat_post1 , absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year)
reghdfe
panel fe
process treatfirm_closemf_post treat_post1 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:109
EPA_SRMF_regressions_for_tables.do, line 109 reghdfe process treatfirm_closemf_post treat_post1 , absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year )
reghdfe
panel fe
practice treatfirm_closemf_post treat_post1 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:111
EPA_SRMF_regressions_for_tables.do, line 111 reghdfe practice treatfirm_closemf_post treat_post1 , absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year )
reghdfe
panel fe
sdonsite treat_post1 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:117
EPA_SRMF_regressions_for_tables.do, line 117 reghdfe sdonsite treat_post1, absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year)
reghdfe
panel fe
lnrsei_score treat_post1 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:119
EPA_SRMF_regressions_for_tables.do, line 119 reghdfe lnrsei_score treat_post1, absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year)
reghdfe
panel fe
sdonsite treat_close_post_closemf treat_post1 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:121
EPA_SRMF_regressions_for_tables.do, line 121 reghdfe sdonsite treat_close_post_closemf treat_post1, absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year)
reghdfe
panel fe
lnrsei_score treat_close_post_closemf treat_post1 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:123
EPA_SRMF_regressions_for_tables.do, line 123 reghdfe lnrsei_score treat_close_post_closemf treat_post1, absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year)
reghdfe
panel fe
sdonsite treat_close_post_nres treat_post1 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:127
EPA_SRMF_regressions_for_tables.do, line 127 reghdfe sdonsite treat_close_post_nres treat_post1 , absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year)
reghdfe
panel fe
lnrsei_score treat_close_post_nres treat_post1 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:129
EPA_SRMF_regressions_for_tables.do, line 129 reghdfe lnrsei_score treat_close_post_nres treat_post1 , absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year)
reghdfe
panel fe
sdonsite treat_close_post_nres_mf treat_close_post_nres treat_post1 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:131
EPA_SRMF_regressions_for_tables.do, line 131 reghdfe sdonsite treat_close_post_nres_mf treat_close_post_nres treat_post1 , absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year)
reghdfe
panel fe
lnrsei_score treat_close_post_nres_mf treat_close_post_nres treat_post1 dunsnumber#cohort, year#cohort cluster: dunsnumber, year
EPA_SRMF_regressions_for_tables.do:133
EPA_SRMF_regressions_for_tables.do, line 133 reghdfe lnrsei_score treat_close_post_nres_mf treat_close_post_nres treat_post1 , absorb( dunsnumber#cohort year#cohort ) vce(cluster dunsnumber year)