Journal of Accounting Research · 2024 · 10.1111/1475-679x.12573
Sexism, Culture, and Firm Value: Evidence from the Harvey Weinstein Scandal and the #MeToo Movement
KARL V. LINS; LUKAS ROTH; HENRI SERVAES; ANE TAMAYO
Review history
Received 14 Nov 2021 → accepted 28.8 months later.
Received: 14 Nov 2021Accepted: 8 Apr 2024
Received → accepted. Journal of Accounting Research, papers printed 2023–2026: median 23.1 months (middle half 16.8–33.1), 182 papers measured. This paper: 28.8 months, longer than the median.
Dates as printed on the paper's first page; read from the paper's text, not from publisher metadata. Journal medians leave out: under 14 days, out of order, special issue / invited, implausible year — the same papers /review-times leaves out.
The research recipe, read from the replication code
journal · package
· stata
2016–2019
sample period in the code
89
keep/drop statements
6
winsorizations
10
missing-data rules
33
de-duplications
14
distinct estimations
Sample period in the code: the window the code writes most often —
LRST-create-sample.do:1103 and 2 other statements; other windows in the code: 2015–2015, 2016–2017, 2016–2018, 2016–2020, 2017–2017.
These tiles count distinct estimations (one per command, method, inference, fixed effects and file) and keep/drop statements.
"How the code gets from data to results" below counts every estimating statement (53)
and keep/drop statements plus winsorized variables (93).
1 · Data and structure
Panel declared as:
permno × date (daily); year × permno; firmid × yq (quarterly)2 · How the sample is built
- drop missing data ×31
- keep time period ×24
- drop time period ×12
- drop value range ×7
- keep value range ×6
- keep category value ×3
- keep prior model sample ×2
- drop category value ×2
Reshaping:
drop duplicate rows ×29; collapse to a coarser unit ×8; expand (duplicate) rows ×1
3 · Design and validation
Identification: —
Outcome transforms: log plus one
Standard measures:
Advertising Intensity, Book Leverage, Capital Expenditure, Cash Holdings, Cumulative Abnormal Return (CAR) (4 variables), Earnings Surprise, Log Market Cap (2 variables), Log Total Assets, Operating Margin, R&D Intensity (2 variables), Return on Assets (ROA) (2 variables), Sales Growth, Tangibility (PPE/Assets), Tobin's Q / Market-to-Book (2 variables)
4 · What it estimates (first 13 of 14 distinct estimations)
| Command | Method | Fixed effects absorbed | Inference | File |
|---|---|---|---|---|
|
ols | default | LRST-create-sample.do | |
|
panel fe | permno, date | cluster by permno | LRST-create-sample.do |
|
ols | robust | LRST-empirical-tests.do | |
|
panel fe | permno, date | cluster by permno, date | LRST-empirical-tests.do |
|
ols | default | LRST-empirical-tests.do | |
|
panel fe | permno, rquarter | cluster by permno, rquarter | LRST-empirical-tests.do |
|
panel fe | permno, rquarter##indstid | cluster by permno, FACTSET_INST_ID, rquarter | LRST-empirical-tests.do |
|
panel fe | FACTSET_INST_ID, yq | cluster by FACTSET_INST_ID, yq | LRST-empirical-tests.do |
|
panel fe | permno, year | cluster by permno, year | LRST-empirical-tests.do |
|
panel fe | permno, year | cluster by permno | LRST-empirical-tests.do |
|
panel fe | const | cluster by permno, year | LRST-empirical-tests.do |
|
panel fe | gvkey, mon_yr | cluster by gvkey, mon_yr | LRST-empirical-tests.do |
|
panel fe | firmid, yq##sic2 | cluster by firmid, yq | LRST-empirical-tests.do |
5 · What it tests beyond the coefficient (1 post-estimation tests:
test 1)
- coefficients are jointly zero
test 1.post#1.has_female_exec 1.post#0.has_female_exe
6 · What it produces
17 table files and 0 figure files
(csv 17).
output\table10.csvoutput\table11.csvoutput\table12.csvoutput\table2-panelA.csvoutput\table2-panelB.csvoutput\table3.csvoutput\table4-panelA.csvoutput\table4-panelB.csvoutput\table5.csvoutput\table6.csvoutput\table7a.csvoutput\table7b.csvHow the code gets from data to results own page
2
scripts
38
input files
1
file hand-offs
56
merges
93
sample steps
53
estimations
1 · Data in — files the code reads and no script of the package writes
Datasets this package uses (item detector / README):
Compustat, Compustat North America Fundamentals Quarterly, Compustat North America (database), CRSP/Compustat Merged (CCM), CRSP US Stock Database, ExecuComp, I/B/E/S
raw\compustat-2010-2017StataLRST-create-sample.do:24
Code/LRST-create-sample.do, line 24 use "raw\compustat-2010-2017", clear // Compustat, downloaded 2018-10-19raw\compustat-2010-2018StataLRST-create-sample.do:360
Code/LRST-create-sample.do, line 360 use "raw\compustat-2010-2018", clear // Compustat, downloaded 2019-03-10raw\compustatQ-2021-08-02StataLRST-create-sample.do:1395
Code/LRST-create-sample.do, line 1395 joinby gvkey using "raw\compustatQ-2021-08-02" // Compustat, downloaded 2021-08-02raw\compustatY-2021-08-02StataLRST-create-sample.do:1384
Code/LRST-create-sample.do, line 1384 use "raw\compustatY-2021-08-02", clear // Compustat, downloaded 2021-08-02
CRSP US Stock Database
4 files
raw\crsp-2015-2018StataLRST-create-sample.do:375
Code/LRST-create-sample.do, line 375 use "raw\crsp-2015-2018", clear // CRSP, downloaded 2019-03-10raw\crsp-aug-2017-jan-2018StataLRST-create-sample.do:979
Code/LRST-create-sample.do, line 979 joinby permno using "raw\crsp-aug-2017-jan-2018" // CRSP daily return, downloaded 2019-03-08raw\crsp-jun-2014-jun-2018StataLRST-create-sample.do:231
Code/LRST-create-sample.do, line 231 joinby permno using "raw\crsp-jun-2014-jun-2018" // CRSP, downloaded 2018-09-07raw\crsp-monthly-2015-2022StataLRST-create-sample.do:1221
Code/LRST-create-sample.do, line 1221 use "raw\crsp-monthly-2015-2022", clear // CRSP, downloaded 2023-09-06
I/B/E/S
3 files
links\firm-female-ibesStataLRST-create-sample.do:1449
Code/LRST-create-sample.do, line 1449 joinby IBES_ticker using "links\firm-female-ibes" // Links IBES to gvkeyraw\IBES price, adj, 2021-08-02StataLRST-create-sample.do:1487
Code/LRST-create-sample.do, line 1487 use "raw\IBES price, adj, 2021-08-02", clear // IBES, downloaded 2021-08-02raw\IBES summary, adj, 2021-08-02StataLRST-create-sample.do:1442
Code/LRST-create-sample.do, line 1442 use "raw\IBES summary, adj, 2021-08-02", clear // IBES, downloaded 2021-08-02
ExecuComp
3 files
raw\execucompStataLRST-create-sample.do:54
Code/LRST-create-sample.do, line 54 use "raw\execucomp", clear // Execucomp, downloaded 2018-09-15raw\execucomp-2010-2019StataLRST-create-sample.do:389
Code/LRST-create-sample.do, line 389 use "raw\execucomp-2010-2019", clear // Execucomp, downloaded 2019-03-10raw\execucomp-2010-2022StataLRST-create-sample.do:38
Code/LRST-create-sample.do, line 38 use "raw\execucomp-2010-2022", clear // Execucomp, downloaded 2024-01-17
raw\factset\13F holdings, allStataLRST-create-sample.do:945
Code/LRST-create-sample.do, line 945 use "raw\factset\13F holdings, all", clear // Factset, downloaded 2023-07-04raw\factset\factset-13F holdingsStataLRST-create-sample.do:611
Code/LRST-create-sample.do, line 611 use "raw\factset\factset-13F holdings", clear // Factset, downloaded 2022-04-27
BoardEx
1 file
raw\boardex-summary-02-07-19StataLRST-create-sample.do:281
Code/LRST-create-sample.do, line 281 use "raw\boardex-summary-02-07-19", clear // BoardEx, downloaded 2019-02-07
Other input files
21 files
links\CompanyID_gvkeyStataLRST-create-sample.do:282
Code/LRST-create-sample.do, line 282 joinby CompanyID using "links\CompanyID_gvkey" // Links BoardEx CompanyID to gvkeylinks\gvkey-factset-2017-2022-04-27StataLRST-create-sample.do:604
Code/LRST-create-sample.do, line 604 use "links\gvkey-factset-2017-2022-04-27", clear // Links Factset to gvkeylinks\gvkey-permno-linkStataLRST-create-sample.do:349
Code/LRST-create-sample.do, line 349 joinby gvkey using "links\gvkey-permno-link" // from Compustatlinks\refinitiv-ESG-header-2021-10-08StataLRST-create-sample.do:692
Code/LRST-create-sample.do, line 692 use "links\refinitiv-ESG-header-2021-10-08", clear // Refinitiv ESG headerlinks\sic-permnoStataLRST-create-sample.do:1548
Code/LRST-create-sample.do, line 1548 joinby permno using "links\sic-permno", unma(ma) // Links permno to SIC (CRSP)raw\data_for_analysis_pre_esgStataLRST-create-sample.do:1324
Code/LRST-create-sample.do, line 1324 joinby gvkey using "raw\data_for_analysis_pre_esg" // Data are from Amiraslani, Lins, Servaes, and Tamayo (2023)raw\ESG items, Refinitiv, 2021-07-12StataLRST-create-sample.do:1279
Code/LRST-create-sample.do, line 1279 joinby cusip using "raw\ESG items, Refinitiv, 2021-07-12"raw\factset\EntitiesStataLRST-create-sample.do:737
Code/LRST-create-sample.do, line 737 use "raw\factset\Entities", clear // Factset, downloaded 2022-04-12
13 more
raw\factset\factset-entitiesStataLRST-create-sample.do:598
Code/LRST-create-sample.do, line 598 use "raw\factset\factset-entities", clear // Factset, downloaded 2022-04-12raw\factset\H_SECURITY_CUSIPStataLRST-create-sample.do:670
Code/LRST-create-sample.do, line 670 use "raw\factset\H_SECURITY_CUSIP", clear // Factset, downloaded 2022-05-11raw\factset\H_SECURITY_ISINStataLRST-create-sample.do:677
Code/LRST-create-sample.do, line 677 use "raw\factset\H_SECURITY_ISIN", clear // Factset, downloaded 2022-05-11raw\factset\H_SECURITY_SEDOLStataLRST-create-sample.do:684
Code/LRST-create-sample.do, line 684 use "raw\factset\H_SECURITY_SEDOL", clear // Factset, downloaded 2022-05-11raw\factset\holdings_by_firm_msciStataLRST-create-sample.do:1088
Code/LRST-create-sample.do, line 1088 joinby factset_entity_id using "raw\factset\holdings_by_firm_msci", unma(ma) // WRDS Factset Ownership Summary, downloaded 2021-06-16raw\factset\sec_coverageStataLRST-create-sample.do:516
Code/LRST-create-sample.do, line 516 use "raw\factset\sec_coverage", clear // Factset, downloaded 2022-04-29raw\factset\sec_pricesStataLRST-create-sample.do:510
Code/LRST-create-sample.do, line 510 use "raw\factset\sec_prices", clear // Factset, downloaded 2022-04-29raw\factset\Security entityStataLRST-create-sample.do:543
Code/LRST-create-sample.do, line 543 joinby FSYM_ID using "raw\factset\Security entity" // Factset, downloaded 2022-04-12raw\factset\sym_coverageStataLRST-create-sample.do:521
Code/LRST-create-sample.do, line 521 joinby FSYM_ID using "raw\factset\sym_coverage", unma(ma) // Factset, downloaded 2022-04-29raw\gvkey-duplicates-checkedStataLRST-create-sample.do:204
Code/LRST-create-sample.do, line 204 joinby lpermno datadate using "raw\gvkey-duplicates-checked", unma(ma) // manually checked duplciatesraw\pdStataLRST-create-sample.do:1334
Code/LRST-create-sample.do, line 1334 joinby companyid mon_yr using "raw\pd", unma(ma) // Data are from the Credit Research Initiative, National University of Singapore, downloaded 2022-08-04raw\Refinitiv ESG, 2021-10-09StataLRST-create-sample.do:773
Code/LRST-create-sample.do, line 773 use "raw\Refinitiv ESG, 2021-10-09", clear // Refinitiv, downloaded 2021-10-09raw\WRDS-car-m1p1-mmStataLRST-create-sample.do:1475
Code/LRST-create-sample.do, line 1475 use "raw\WRDS-car-m1p1-mm", clear // WRDS Event Study tool, calculated and downloaded 2021-08-02
2 · The file pipeline — which script writes which file that a later script reads
2 scripts, in data lineage — a script that writes a file comes before the scripts that read it; 1 hand-offs through 16 intermediate files; 5 files written and never read back (outputs).
-
1.
Code/LRST-create-sample.doreads 38 input files · 56 merges · 3 estimationswritessample-table10→ read byLRST-empirical-tests.dowritessample-table11→ read byLRST-empirical-tests.dowritessample-table12→ read byLRST-empirical-tests.dowritessample-table1a→ read byLRST-empirical-tests.dowritessample-table1b→ read byLRST-empirical-tests.dowritessample-table2-panelA→ read byLRST-empirical-tests.dowritessample-table2-panelB→ read byLRST-empirical-tests.dowritessample-table3→ read byLRST-empirical-tests.dowritessample-table4→ read byLRST-empirical-tests.dowritessample-table5-6→ read byLRST-empirical-tests.dowritessample-table7a→ read byLRST-empirical-tests.dowritessample-table7b→ read byLRST-empirical-tests.dowritessample-table8-panelA→ read byLRST-empirical-tests.dowritessample-table8-panelB→ read byLRST-empirical-tests.dowritessample-table9-panelAC→ read byLRST-empirical-tests.dowritessample-table9-panelB→ read byLRST-empirical-tests.dowrites (not read again):LRST-gvkey,`x'_hweighted_setzero,`x'_hweighted_setzero_constant,hmktcap_yq,inst_type_country -
2.
Code/LRST-empirical-tests.do50 estimationsreads whatLRST-create-sample.dowrote
3 · Merges — 56 joins, 27 followed by a check of the merge result
| Joins | How | On keys | Check that follows | Where |
|---|---|---|---|---|
execucomp ← fyear-datadate |
join m:m (inner) | fyear gvkey |
drop _merge |
LRST-create-sample.do:57Code/LRST-create-sample.do, line 57
joinby fyear gvkey using "compiled\fyear-datadate", unma(ma) |
execucomp ← gender-execid-2024 |
join m:m (inner) | execid |
tab _m |
LRST-create-sample.do:81Code/LRST-create-sample.do, line 81
joinby execid using "compiled\gender-execid-2024", unma(ma) |
compustat-2010-2017 ← gvkey-duplicates-checked |
join m:m (inner) | lpermno datadate |
drop _merge |
LRST-create-sample.do:204Code/LRST-create-sample.do, line 204
joinby lpermno datadate using "raw\gvkey-duplicates-checked", unma(ma) // manually checked duplciates |
firm-female-2017 ← crsp-jun-2014-jun-2018 |
join m:m (inner) | permno |
none | LRST-create-sample.do:231Code/LRST-create-sample.do, line 231
joinby permno using "raw\crsp-jun-2014-jun-2018" // CRSP, downloaded 2018-09-07 |
boardex-summary-02-07-19 ← companyid_gvkey |
join m:m (inner) | CompanyID |
none | LRST-create-sample.do:282Code/LRST-create-sample.do, line 282
joinby CompanyID using "links\CompanyID_gvkey" // Links BoardEx CompanyID to gvkey |
boardex-summary-02-07-19 ← gvkey-permno-link |
join m:m (inner) | gvkey |
none | LRST-create-sample.do:349Code/LRST-create-sample.do, line 349
joinby gvkey using "links\gvkey-permno-link" // from Compustat |
execucomp-2010-2019 ← fyear-datadate-2010-2018 |
join m:m (inner) | fyear gvkey |
drop _merge |
LRST-create-sample.do:392Code/LRST-create-sample.do, line 392
joinby fyear gvkey using "compiled\fyear-datadate-2010-2018", unma(ma) |
execucomp-2010-2019 ← gender-execid-2024 |
join m:m (inner) | execid |
tab _m |
LRST-create-sample.do:413Code/LRST-create-sample.do, line 413
joinby execid using "compiled\gender-execid-2024", unma(ma) |
execucomp-2010-2019 ← cusip-2015 |
join m:m (inner) | ym permno |
tab _m |
LRST-create-sample.do:483Code/LRST-create-sample.do, line 483
joinby ym permno using "compiled\cusip-2015", unma(ma) |
sec_coverage ← sym_coverage |
join m:m (inner) | FSYM_ID |
tab _m |
LRST-create-sample.do:521Code/LRST-create-sample.do, line 521
joinby FSYM_ID using "raw\factset\sym_coverage", unma(ma) // Factset, downloaded 2022-04-29 |
sec_coverage ← has_sec_prices |
join m:m (inner) | FSYM_ID |
none | LRST-create-sample.do:529Code/LRST-create-sample.do, line 529
joinby FSYM_ID using "compiled\factset\has_sec_prices" |
eq_secs ← security entity |
join m:m (inner) | FSYM_ID |
none | LRST-create-sample.do:543Code/LRST-create-sample.do, line 543
joinby FSYM_ID using "raw\factset\Security entity" // Factset, downloaded 2022-04-12 |
eq_secs ← termination |
join m:m (inner) | FSYM_ID |
none | LRST-create-sample.do:544Code/LRST-create-sample.do, line 544
joinby FSYM_ID using "compiled\factset\termination" |
sec_prices ← own_basic |
join m:m (inner) | FSYM_ID |
none | LRST-create-sample.do:569Code/LRST-create-sample.do, line 569
joinby FSYM_ID using "compiled\factset\own_basic" |
gvkey-factset-2017-2022-04-27 ← own_basic |
join m:m (inner) | FACTSET_ENTITY_ID |
none | LRST-create-sample.do:606Code/LRST-create-sample.do, line 606
joinby FACTSET_ENTITY_ID using "compiled\factset\own_basic" |
factset-13f holdings ← sample_secs |
join m:m (inner) | FSYM_ID |
none | LRST-create-sample.do:613Code/LRST-create-sample.do, line 613
joinby FSYM_ID using "compiled\factset\sample_secs" |
factset-13f holdings ← prices_historical |
join m:m (inner) | FSYM_ID ym |
none | LRST-create-sample.do:625Code/LRST-create-sample.do, line 625
joinby FSYM_ID ym using "compiled\factset\prices_historical" |
factset-13f holdings ← hmktcap |
join m:m (inner) | FACTSET_ENTITY_ID ym |
none | LRST-create-sample.do:626Code/LRST-create-sample.do, line 626
joinby FACTSET_ENTITY_ID ym using "compiled\factset\hmktcap" |
refinitiv-esg-header-2021-10-08 ← cusip-esg |
join m:m (inner) | CUSIP |
tab _m |
LRST-create-sample.do:697Code/LRST-create-sample.do, line 697
joinby CUSIP using "compiled\factset\CUSIP-ESG", unma(ma) |
refinitiv-esg-header-2021-10-08 ← isin-esg |
join m:m (inner) | ISIN |
tab _m |
LRST-create-sample.do:712Code/LRST-create-sample.do, line 712
joinby ISIN using "compiled\factset\ISIN-ESG", unma(ma) |
refinitiv-esg-header-2021-10-08 ← sedol-esg |
join m:m (inner) | SEDOL |
tab _m |
LRST-create-sample.do:727Code/LRST-create-sample.do, line 727
joinby SEDOL using "compiled\factset\SEDOL-ESG", unma(ma) |
refinitiv-esg-header-2021-10-08 ← `x'-esg-matched |
join m:m (inner) | dscode |
tab _m |
LRST-create-sample.do:751Code/LRST-create-sample.do, line 751
joinby dscode using "compiled\factset\\`x'-ESG-matched", unma(ma) |
refinitiv-esg-header-2021-10-08 ← name-esg-matched |
join m:m (inner) | company_name |
tab _m |
LRST-create-sample.do:758Code/LRST-create-sample.do, line 758
joinby company_name using "compiled\factset\\Name-ESG-matched", unma(ma) |
refinitiv esg, 2021-10-09 ← refinitiv-header-factsetid |
join m:m (inner) | dscode |
none | LRST-create-sample.do:775Code/LRST-create-sample.do, line 775
joinby dscode using "links\Refinitiv-header-FactsetID" |
factset-13f holdings ← own_basic |
join m:m (inner) | FSYM_ID |
none | LRST-create-sample.do:812Code/LRST-create-sample.do, line 812
joinby FSYM_ID using "compiled\factset\own_basic" // keep equity securities only |
factset-13f holdings ← prices_historical |
join m:m (inner) | FSYM_ID ym |
none | LRST-create-sample.do:828Code/LRST-create-sample.do, line 828
joinby FSYM_ID ym using "compiled\factset\prices_historical" |
tmp-1 ← esg_measures_entities |
join m:m (inner) | FACTSET_ENTITY_ID yq |
tab _m |
LRST-create-sample.do:839Code/LRST-create-sample.do, line 839
joinby FACTSET_ENTITY_ID yq using "compiled\factset\ESG_measures_entities", unma(ma) |
tmp-1 ← esg_measures_entities_2016q4to2017q3 |
join m:m (inner) | FACTSET_ENTITY_ID |
tab _m |
LRST-create-sample.do:849Code/LRST-create-sample.do, line 849
joinby FACTSET_ENTITY_ID using "compiled\factset\ESG_measures_entities_2016q4to2017q3", unma(ma) |
13f holdings, all ← own_basic |
join m:m (inner) | FSYM_ID |
none | LRST-create-sample.do:947Code/LRST-create-sample.do, line 947
joinby FSYM_ID using "compiled\factset\own_basic" |
firm-female-2017 ← crsp-aug-2017-jan-2018 |
join m:m (inner) | permno |
none | LRST-create-sample.do:979Code/LRST-create-sample.do, line 979
joinby permno using "raw\crsp-aug-2017-jan-2018" // CRSP daily return, downloaded 2019-03-08 |
sample-table2-panela ← car-market-model |
join m:m (inner) | permno |
none | LRST-create-sample.do:1004Code/LRST-create-sample.do, line 1004
joinby permno using "compiled\car-market-model" |
directors ← firm-female-2017 |
join m:m (inner) | gvkey |
none | LRST-create-sample.do:1019Code/LRST-create-sample.do, line 1019
joinby gvkey using "compiled\firm-female-2017" |
directors ← crsp-aug-2017-jan-2018 |
join m:m (inner) | permno |
none | LRST-create-sample.do:1020Code/LRST-create-sample.do, line 1020
joinby permno using "raw\crsp-aug-2017-jan-2018" // CRSP daily return, downloaded 2019-03-08 |
sample-table2-panela ← firm-controls |
join m:m (inner) | gvkey |
tab _merge |
LRST-create-sample.do:1055Code/LRST-create-sample.do, line 1055
joinby gvkey using "compiled\firm-controls", unma(ma) |
firm-female-2017 ← gvkey-factset-2017-2022-04-27 |
join m:m (inner) | gvkey |
tab _m |
LRST-create-sample.do:1083Code/LRST-create-sample.do, line 1083
joinby gvkey using "links\gvkey-factset-2017-2022-04-27", unma(ma) // Links Factset to gvkey |
firm-female-2017 ← holdings_by_firm_msci |
join m:m (inner) | factset_entity_id |
tab _m |
LRST-create-sample.do:1088Code/LRST-create-sample.do, line 1088
joinby factset_entity_id using "raw\factset\holdings_by_firm_msci", unma(ma) // WRDS Factset Ownership Summary, downloaded 2021-06-16 |
firm-female-2017 ← inst_holdings |
join m:m (inner) | FACTSET_ENTITY_ID yq |
tab _m |
LRST-create-sample.do:1108Code/LRST-create-sample.do, line 1108
joinby FACTSET_ENTITY_ID yq using "compiled\factset\inst_holdings", unma(ma) |
sample-table4 ← inst_holdings_detail |
join m:m (inner) | FACTSET_ENTITY_ID yq |
tab _m |
LRST-create-sample.do:1128Code/LRST-create-sample.do, line 1128
joinby FACTSET_ENTITY_ID yq using "compiled\factset\inst_holdings_detail", unma(ma) |
sample-table4 ← 13f_investor_esg_performance |
join m:m (inner) | FACTSET_INST_ID |
tab _m |
LRST-create-sample.do:1134Code/LRST-create-sample.do, line 1134
joinby FACTSET_INST_ID using "compiled\factset\13F_investor_ESG_performance", unma(ma) |
esg_holdings_score ← 13f_investor_esg_performance_terciles |
join m:m (inner) | FACTSET_INST_ID |
none | LRST-create-sample.do:1180Code/LRST-create-sample.do, line 1180
joinby FACTSET_INST_ID using "compiled\factset\13F_investor_ESG_performance_terciles" |
esg_holdings_score_constant ← 13f_investor_esg_performance_terciles |
join m:m (inner) | FACTSET_INST_ID |
none | LRST-create-sample.do:1198Code/LRST-create-sample.do, line 1198
joinby FACTSET_INST_ID using "compiled\factset\13F_investor_ESG_performance_terciles" |
sample-table5-6 ← returns-yq |
join m:m (inner) | permno yq |
tab _m |
LRST-create-sample.do:1245Code/LRST-create-sample.do, line 1245
joinby permno yq using "compiled\returns-yq", unma(ma) |
sample-table5-6 ← longterm_transient |
join m:m (inner) | FACTSET_INST_ID FACTSET_ENTITY_ID |
tab _m |
LRST-create-sample.do:1260Code/LRST-create-sample.do, line 1260
joinby FACTSET_INST_ID FACTSET_ENTITY_ID using "compiled\factset\longterm_transient", unma(ma) |
firm-female-2017 ← esg items, refinitiv, 2021-07-12 |
join m:m (inner) | cusip |
none | LRST-create-sample.do:1279Code/LRST-create-sample.do, line 1279
joinby cusip using "raw\ESG items, Refinitiv, 2021-07-12" |
firm-female-2017 ← firm-controls |
join m:m (inner) | gvkey |
none | LRST-create-sample.do:1282Code/LRST-create-sample.do, line 1282
joinby gvkey using "compiled\firm-controls" |
firm-female-2017 ← esg items, refinitiv, 2021-07-12 |
join m:m (inner) | cusip |
none | LRST-create-sample.do:1298Code/LRST-create-sample.do, line 1298
joinby cusip using "raw\ESG items, Refinitiv, 2021-07-12" |
firm-female-2017 ← data_for_analysis_pre_esg |
join m:m (inner) | gvkey |
none | LRST-create-sample.do:1324Code/LRST-create-sample.do, line 1324
joinby gvkey using "raw\data_for_analysis_pre_esg" // Data are from Amiraslani, Lins, Servaes, and Tamayo (2023) |
firm-female-2017 ← pd |
join m:m (inner) | companyid mon_yr |
tab _m |
LRST-create-sample.do:1334Code/LRST-create-sample.do, line 1334
joinby companyid mon_yr using "raw\pd", unma(ma) // Data are from the Credit Research Initiative, National University of Singapore, downloaded 2022-08-04 |
firm-female-2015 ← compustatq-2021-08-02 |
join m:m (inner) | gvkey |
none | LRST-create-sample.do:1395Code/LRST-create-sample.do, line 1395
joinby gvkey using "raw\compustatQ-2021-08-02" // Compustat, downloaded 2021-08-02 |
firm-female-2015 ← employeesy-2021-08-02 |
join m:m (inner) | gvkey fyear |
drop _m |
LRST-create-sample.do:1402Code/LRST-create-sample.do, line 1402
joinby gvkey fyear using "compiled\employeesY-2021-08-02", unma(ma) |
ibes summary, adj, 2021-08-02 ← firm-female-ibes |
join m:m (inner) | IBES_ticker |
none | LRST-create-sample.do:1449Code/LRST-create-sample.do, line 1449
joinby IBES_ticker using "links\firm-female-ibes" // Links IBES to gvkey |
ibes summary, adj, 2021-08-02 ← firm-female-ibes |
join m:m (inner) | IBES_ticker |
none | LRST-create-sample.do:1508Code/LRST-create-sample.do, line 1508
joinby IBES_ticker using "links\firm-female-ibes" // Links IBES to gvkey and permno |
ibes summary, adj, 2021-08-02 ← ibes-prices |
join m:m (inner) | IBES_ticker statpers |
tab _m |
LRST-create-sample.do:1528Code/LRST-create-sample.do, line 1528
joinby IBES_ticker statpers using "compiled\IBES-prices", unma(ma) |
ibes summary, adj, 2021-08-02 ← car-m1p1 |
join m:m (inner) | permno anndats_act_adj |
tab _m |
LRST-create-sample.do:1542Code/LRST-create-sample.do, line 1542
joinby permno anndats_act_adj using "compiled\car-m1p1", unma(ma) |
ibes summary, adj, 2021-08-02 ← sic-permno |
join m:m (inner) | permno |
tab _m |
LRST-create-sample.do:1548Code/LRST-create-sample.do, line 1548
joinby permno using "links\sic-permno", unma(ma) // Links permno to SIC (CRSP) |
ibes summary, adj, 2021-08-02 ← firm-female-2015 |
join m:m (inner) | gvkey |
none | LRST-create-sample.do:1570Code/LRST-create-sample.do, line 1570
joinby gvkey using "compiled\firm-female-2015" |
4 · The sample — 87 keep/drop steps, 6 variables winsorized or trimmed
Filters, by kind
time period ×30
- keep if
datadate<td(1oct2017)LRST-create-sample.do:61
Code/LRST-create-sample.do, line 61 keep if datadate<td(1oct2017) - keep if
year==2016 | year==2017LRST-create-sample.do:66
Code/LRST-create-sample.do, line 66 keep if year==2016 | year==2017 - keep if
datadate<td(1sep2017)LRST-create-sample.do:209
Code/LRST-create-sample.do, line 209 keep if datadate<td(1sep2017) - drop if
date<td(1sep2016)LRST-create-sample.do:238
Code/LRST-create-sample.do, line 238 drop if date<td(1sep2016) - keep if
date>=td(1sep2017)LRST-create-sample.do:259
Code/LRST-create-sample.do, line 259 keep if date>=td(1sep2017) - drop if
date>=td(01Oct2017) | date<td(01Oct2016)LRST-create-sample.do:316
Code/LRST-create-sample.do, line 316 drop if date>=td(01Oct2017) | date<td(01Oct2016) - keep if
date>=td(1jan2015) & date<=td(31dec2015)LRST-create-sample.do:378
Code/LRST-create-sample.do, line 378 keep if date>=td(1jan2015) & date<=td(31dec2015) - keep if
datadate<=td(31dec2015) & datadate>=td(1jan2015)LRST-create-sample.do:396
Code/LRST-create-sample.do, line 396 keep if datadate<=td(31dec2015) & datadate>=td(1jan2015) - first 8 of 30
value ranges ×13
- drop if
max_execrankann<5LRST-create-sample.do:71
Code/LRST-create-sample.do, line 71 drop if max_execrankann<5 - drop if
execrankann>5LRST-create-sample.do:72
Code/LRST-create-sample.do, line 72 drop if execrankann>5 - keep if
diff==min_diffLRST-create-sample.do:212
Code/LRST-create-sample.do, line 212 keep if diff==min_diff - keep if
estlen>250LRST-create-sample.do:241
Code/LRST-create-sample.do, line 241 keep if estlen>250 - drop if
tag>0LRST-create-sample.do:343
Code/LRST-create-sample.do, line 343 drop if tag>0 - drop if
max_execrankann<5LRST-create-sample.do:403
Code/LRST-create-sample.do, line 403 drop if max_execrankann<5 - drop if
execrankann>=6LRST-create-sample.do:404
Code/LRST-create-sample.do, line 404 drop if execrankann>=6 - keep if
mktcap_usd>0LRST-create-sample.do:588
Code/LRST-create-sample.do, line 588 keep if mktcap_usd>0 - first 8 of 13
category values ×6
- keep if
ISSUE_TYPE=="EQ" | ISSUE_TYPE=="AD" | ISSUE_TYPE=="PF"LRST-create-sample.do:518
Code/LRST-create-sample.do, line 518 keep if ISSUE_TYPE=="EQ" | ISSUE_TYPE=="AD" | ISSUE_TYPE=="PF" - keep if
ISSUE_TYPE=="EQ" | ISSUE_TYPE=="AD" | (ISSUE_TYPE=="PF" & FREF_SECURITY_TYPE=="PREFEQ")LRST-create-sample.do:526
Code/LRST-create-sample.do, line 526 keep if ISSUE_TYPE=="EQ" | ISSUE_TYPE=="AD" | (ISSUE_TYPE=="PF" & FREF_SECURITY_TYPE=="PREFEQ") - drop if
ISSUE_TYPE=="AD"LRST-create-sample.do:571
Code/LRST-create-sample.do, line 571 drop if ISSUE_TYPE=="AD" - drop if
FSYM_ID=="DXVFL5-S" & PRICE_DATE==td(30sep2015)LRST-create-sample.do:573
Code/LRST-create-sample.do, line 573 drop if FSYM_ID=="DXVFL5-S" & PRICE_DATE==td(30sep2015) - drop if
rating==22LRST-create-sample.do:1360
Code/LRST-create-sample.do, line 1360 drop if rating==22 - keep if
fpi=="1"LRST-create-sample.do:1522
Code/LRST-create-sample.do, line 1522 keep if fpi=="1" // annual EPS
indicator subsets ×2
- drop if
drop==1LRST-create-sample.do:207
Code/LRST-create-sample.do, line 207 drop if drop==1 - keep if
tag==0LRST-create-sample.do:1397
Code/LRST-create-sample.do, line 1397 keep if tag==0
missing values ×31
- drop if
mi(datadate)LRST-create-sample.do:60
Code/LRST-create-sample.do, line 60 drop if mi(datadate) - drop if
mi(execrankann)LRST-create-sample.do:69
Code/LRST-create-sample.do, line 69 drop if mi(execrankann) - drop if
mi(ym)LRST-create-sample.do:307
Code/LRST-create-sample.do, line 307 drop if mi(ym) - drop if
mi(datadate)LRST-create-sample.do:395
Code/LRST-create-sample.do, line 395 drop if mi(datadate) - drop if
mi(execrankann)LRST-create-sample.do:401
Code/LRST-create-sample.do, line 401 drop if mi(execrankann) - drop if
mi(PRICE_DATE)LRST-create-sample.do:511
Code/LRST-create-sample.do, line 511 drop if mi(PRICE_DATE) - drop if
mi(FACTSET_ENTITY_ID)LRST-create-sample.do:587
Code/LRST-create-sample.do, line 587 drop if mi(FACTSET_ENTITY_ID) - drop if
mi(io)LRST-create-sample.do:639
Code/LRST-create-sample.do, line 639 drop if mi(io) - first 8 of 31
time windows set by a variable — a loop or a computed date, not fixed years (rolling estimation windows, not the sample period) ×5
- keep if
datadate==max_datadateLRST-create-sample.do:64
Code/LRST-create-sample.do, line 64 keep if datadate==max_datadate - keep if
date==maxdateLRST-create-sample.do:319
Code/LRST-create-sample.do, line 319 keep if date==maxdate - keep if
REPORT_DATE==maxdateLRST-create-sample.do:622
Code/LRST-create-sample.do, line 622 keep if REPORT_DATE==maxdate - keep if
REPORT_DATE==maxdateLRST-create-sample.do:824
Code/LRST-create-sample.do, line 824 keep if REPORT_DATE==maxdate - keep if
REPORT_DATE==maxdateLRST-create-sample.do:956
Code/LRST-create-sample.do, line 956 keep if REPORT_DATE==maxdate
Outliers
winsorize at 1/99
· 6 variables
op_income_sales gross_margin sales_growth sales_emp ux_x carLRST-create-sample.do:1430
Code/LRST-create-sample.do, line 1430
winsor2 op_income_sales gross_margin sales_growth sales_emp, replace cut(1 99)
LRST-create-sample.do:1566
Code/LRST-create-sample.do, line 1566
winsor2 ux_x, cut(1 99) replace
LRST-create-sample.do:1567
Code/LRST-create-sample.do, line 1567
winsor2 car, cut(1 99) replace
Missing values
set to zero ×4
rnd→0LRST-create-sample.do:170
Code/LRST-create-sample.do, line 170 replace rnd = 0 if mi(rnd)rnd_sales→0LRST-create-sample.do:172
Code/LRST-create-sample.do, line 172 replace rnd_sales = 0 if mi(rnd_sales)adexp→0LRST-create-sample.do:179
Code/LRST-create-sample.do, line 179 replace adexp = 0 if mi(adexp)excess_ret→0LRST-create-sample.do:1250
Code/LRST-create-sample.do, line 1250 replace excess_ret = 0 if mi(excess_ret)
filled with a value ×4
aret→aret_tmpLRST-create-sample.do:255
Code/LRST-create-sample.do, line 255 qui replace aret = aret_tmp if id==`x' & !mi(aret_tmp) & mi(aret)FACTSET_ENTITY_ID→FACTSET_ENTITY_ID_SEDOLLRST-create-sample.do:764
Code/LRST-create-sample.do, line 764 replace FACTSET_ENTITY_ID = FACTSET_ENTITY_ID_SEDOL if mi(FACTSET_ENTITY_ID)FACTSET_ENTITY_ID→FACTSET_ENTITY_ID_CUSIPLRST-create-sample.do:765
Code/LRST-create-sample.do, line 765 replace FACTSET_ENTITY_ID = FACTSET_ENTITY_ID_CUSIP if mi(FACTSET_ENTITY_ID)FACTSET_ENTITY_ID→FACTSET_ENTITY_ID_NAMELRST-create-sample.do:766
Code/LRST-create-sample.do, line 766 replace FACTSET_ENTITY_ID = FACTSET_ENTITY_ID_NAME if mi(FACTSET_ENTITY_ID)
common sample across variables (listwise) ×2
LRST-create-sample.do:1051
Code/LRST-create-sample.do, line 1051 keep if e(sample)LRST-create-sample.do:1070
Code/LRST-create-sample.do, line 1070 keep if e(sample)
5 · Key variables — what enters the models, and where the code builds it
Standard measures computed here:
Advertising Intensity (), Book Leverage (), Capital Expenditure (), Cash Holdings (), Cumulative Abnormal Return (CAR) (), Earnings Surprise (), Log Market Cap (), Log Total Assets (), Operating Margin (), R&D Intensity (), Return on Assets (ROA) (), Sales Growth (), Tangibility (PPE/Assets) (), Tobin's Q / Market-to-Book ()
adexp LRST-create-sample.do:178
Code/LRST-create-sample.do, line 178
gen adexp = xad / sale
lev LRST-create-sample.do:167
Code/LRST-create-sample.do, line 167
gen lev = (dltt + dlc) / at
invest LRST-create-sample.do:177
Code/LRST-create-sample.do, line 177
gen invest = capx / at
cash LRST-create-sample.do:168
Code/LRST-create-sample.do, line 168
gen cash = che / at
car_oct5_6 LRST-create-sample.do:263
Code/LRST-create-sample.do, line 263
egen car_oct5_6 = sum(aret) if date>=td(5oct2017) & date<=td(6oct2017), by(permno)
ux LRST-create-sample.do:1538
Code/LRST-create-sample.do, line 1538
gen ux = (actual - meanest)
lnmk LRST-create-sample.do:1091
Code/LRST-create-sample.do, line 1091
gen lnmk = ln(mktcap)
lnat LRST-create-sample.do:165
Code/LRST-create-sample.do, line 165
gen lnat = ln(at)
op_income_sales LRST-create-sample.do:1414
Code/LRST-create-sample.do, line 1414
gen op_income_sales = oibdpq / saleq if saleq>0
rnd LRST-create-sample.do:169
Code/LRST-create-sample.do, line 169
gen rnd = xrd / at
roa LRST-create-sample.do:175
Code/LRST-create-sample.do, line 175
gen roa = ebit / at
sales_growth LRST-create-sample.do:1416
Code/LRST-create-sample.do, line 1416
gen sales_growth = saleq / L4.saleq if saleq>0 & L4.saleq>0
ppe LRST-create-sample.do:166
Code/LRST-create-sample.do, line 166
gen ppe = ppent / at
q LRST-create-sample.do:173
Code/LRST-create-sample.do, line 173
gen q = (csho * prcc_f + at - ceq) / at
| Variable | Used in models as | Built by |
|---|---|---|
io_prc |
outcome in 14 | io_prc = io * 100 (gen) LRST-create-sample.do:1139Code/LRST-create-sample.do, line 1139
gen io_prc = io * 100 |
ret |
outcome in 11 | ret = exp(logret) - 1 (gen) LRST-create-sample.do:1230Code/LRST-create-sample.do, line 1230
gen ret = exp(logret) - 1 ret = ret * 100 (replace) LRST-create-sample.do:992Code/LRST-create-sample.do, line 992
replace ret = ret * 100 ret = ret * 100 (replace) LRST-create-sample.do:1034Code/LRST-create-sample.do, line 1034
replace ret = ret * 100 |
spread |
outcome in 4 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
CGBSO19 |
outcome in 2 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
SODODP0081 |
outcome in 2 | SODODP0081 = "1" (replace) LRST-create-sample.do:780Code/LRST-create-sample.do, line 780
replace SODODP0081 = "1" if trim(SODODP0081)=="Y" SODODP0081 = "0" (replace) LRST-create-sample.do:781Code/LRST-create-sample.do, line 781
replace SODODP0081 = "0" if trim(SODODP0081)=="N" SODODP0081 = destring(SODODP0081) (destring) LRST-create-sample.do:782Code/LRST-create-sample.do, line 782
destring ENSCORE - SODODP0081, replace force |
car |
outcome in 2 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
io_13f_prc |
outcome in 2 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
female_director_share |
outcome in 1, regressor in 12 | female_director_share = sum_female_directors / sum_directors (gen) LRST-create-sample.do:337Code/LRST-create-sample.do, line 337
gen female_director_share = sum_female_directors / sum_directors |
female_exec_share |
regressor in 50 | female_exec_share = num_female_exec / num_exec (gen) LRST-create-sample.do:118Code/LRST-create-sample.do, line 118
gen female_exec_share = num_female_exec / num_exec female_exec_share = num_female_exec / num_exec (gen) LRST-create-sample.do:448Code/LRST-create-sample.do, line 448
gen female_exec_share = num_female_exec / num_exec |
lnmk |
regressor in 20 | lnmk = ln(mktcap) (gen) LRST-create-sample.do:1091Code/LRST-create-sample.do, line 1091
gen lnmk = ln(mktcap) |
has_female_exec |
regressor in 15 | has_female_exec = max(female) (egen max) LRST-create-sample.do:111Code/LRST-create-sample.do, line 111
egen has_female_exec = max(female), by(gvkey) has_female_exec = max(female) (egen max) LRST-create-sample.do:441Code/LRST-create-sample.do, line 441
egen has_female_exec = max(female), by(gvkey) |
amihud |
regressor in 4 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
coupon |
regressor in 4 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
duration |
regressor in 4 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
life |
regressor in 4 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
lnamt |
regressor in 4 | lnamt = ln(offering_amt) (gen) LRST-create-sample.do:1363Code/LRST-create-sample.do, line 1363
gen lnamt = ln(offering_amt) |
month12 |
regressor in 4 | month12 = month12*100 (replace) LRST-create-sample.do:1372Code/LRST-create-sample.do, line 1372
replace month12 = month12*100 |
rating |
regressor in 4 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
ESG_tercile |
regressor in 2 | ESG_tercile = cut(`x') (egen cut) LRST-empirical-tests.do:239Code/LRST-empirical-tests.do, line 239
egen ESG_tercile = cut(`x'), group(3) |
excess_ret |
regressor in 2 | excess_ret = ret - mk (gen) LRST-create-sample.do:1233Code/LRST-create-sample.do, line 1233
gen excess_ret = ret - mk excess_ret = 0 (replace) LRST-create-sample.do:1250Code/LRST-create-sample.do, line 1250
replace excess_ret = 0 if mi(excess_ret) |
inv_lev |
regressor in 2 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
lnat |
regressor in 2 | lnat = ln(at) (gen) LRST-create-sample.do:165Code/LRST-create-sample.do, line 165
gen lnat = ln(at) lnat = ln(atq) (gen) LRST-create-sample.do:1418Code/LRST-create-sample.do, line 1418
gen lnat = ln(atq) |
lnmve |
regressor in 2 | lnmve = ln(mve) (gen) LRST-create-sample.do:1362Code/LRST-create-sample.do, line 1362
gen lnmve = ln(mve) |
lnvol |
regressor in 2 | lnvol = ln(retvol_d) (gen) LRST-create-sample.do:1364Code/LRST-create-sample.do, line 1364
gen lnvol = ln(retvol_d) |
post |
regressor in 2 | post = (rquarter>=td(31dec2017)) (gen) LRST-create-sample.do:1104Code/LRST-create-sample.do, line 1104
gen post = (rquarter>=td(31dec2017)) post = (yq>tq(2017q3)) (gen) LRST-create-sample.do:1183Code/LRST-create-sample.do, line 1183
gen post = (yq>tq(2017q3)) post = (yq>tq(2017q3)) (gen) LRST-create-sample.do:1201Code/LRST-create-sample.do, line 1201
gen post = (yq>tq(2017q3)) +6 more statements set it |
profit |
regressor in 2 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
ux_x |
regressor in 2 | ux_x = ux / price (gen) LRST-create-sample.do:1539Code/LRST-create-sample.do, line 1539
gen ux_x = ux / price |
held15 |
regressor in 1 | held15 = (held_n==15) (gen) LRST-create-sample.do:1265Code/LRST-create-sample.do, line 1265
gen held15 = (held_n==15) |
vwretd |
regressor in 1 | vwretd = vwretd * 100 (replace) LRST-create-sample.do:993Code/LRST-create-sample.do, line 993
replace vwretd = vwretd * 100 vwretd = vwretd * 100 (replace) LRST-create-sample.do:1035Code/LRST-create-sample.do, line 1035
replace vwretd = vwretd * 100 |
6 · Models, by the table or figure they feed — 53 estimations, 0 traced into 0 exhibits
Estimations not traced to a table or figure · 53
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
regressols |
ret |
vwretd
|
— | default | LRST-create-sample.do:252Code/LRST-create-sample.do, line 252
qui regress ret vwretd if id==`x' & est==1 |
reghdfepanel fe |
ret |
1.event_oct5_6#c.female_exec_share
|
permno, date | cluster: permno | LRST-create-sample.do:1050Code/LRST-create-sample.do, line 1050
qui reghdfe ret 1.event_oct5_6#c.female_exec_share, absorb(permno date) vce(cluster permno) // keep sample firms |
reghdfepanel fe |
ret |
1.event_oct5_6#c.female_exec_share
|
permno, date | cluster: permno | LRST-create-sample.do:1069Code/LRST-create-sample.do, line 1069
qui reghdfe ret 1.event_oct5_6#c.female_exec_share, absorb(permno date) vce(cluster permno) |
regressols |
`x' |
has_female_exec
|
— | robust | LRST-empirical-tests.do:35Code/LRST-empirical-tests.do, line 35
regress `x' has_female_exec, robust run 6× in a loop (x=lnat; x=cash; x=lev…)
|
regressols |
female_director_share |
has_female_exec
|
— | robust | LRST-empirical-tests.do:49Code/LRST-empirical-tests.do, line 49
regress female_director_share has_female_exec, robust |
reghdfepanel fe |
ret |
1.event_oct5_6#c.female_exec_share 1.event_oct15_27#c.female_exec_share
|
permno, date | cluster: permno, date | LRST-empirical-tests.do:62Code/LRST-empirical-tests.do, line 62
reghdfe ret 1.event_oct5_6#c.female_exec_share 1.event_oct15_27#c.female_exec_share, absorb(permno date) vce(cluster permno date) |
reghdfepanel fe |
ret |
1.event_oct5_6#1.has_female_exec 1.event_oct15_27#1.has_female_exec
|
permno, date | cluster: permno, date | LRST-empirical-tests.do:65Code/LRST-empirical-tests.do, line 65
reghdfe ret 1.event_oct5_6#1.has_female_exec 1.event_oct15_27#1.has_female_exec, absorb(permno date) vce(cluster permno date) |
reghdfepanel fe |
ret |
1.event_oct5_6#c.female_exec_share 1.event_oct7_14#c.female_exec_share 1.event_oct15_27#c.female_exec_share 1.event_nov#c.female_exec_share
|
permno, date | cluster: permno, date | LRST-empirical-tests.do:68Code/LRST-empirical-tests.do, line 68
reghdfe ret 1.event_oct5_6#c.female_exec_share 1.event_oct7_14#c.female_exec_share 1.event_oct15_27#c.female_exec_share 1.event_nov#c.female_exec_share, absorb(permno date) vce(cluster permno date) |
reghdfepanel fe |
ret |
1.event_oct5_6#1.has_female_exec 1.event_oct7_14#1.has_female_exec 1.event_oct15_27#1.has_female_exec 1.event_nov#1.has_female_exec
|
permno, date | cluster: permno, date | LRST-empirical-tests.do:71Code/LRST-empirical-tests.do, line 71
reghdfe ret 1.event_oct5_6#1.has_female_exec 1.event_oct7_14#1.has_female_exec 1.event_oct15_27#1.has_female_exec 1.event_nov#1.has_female_exec, absorb(permno date) vce(cluster permno date) |
regols |
`x' |
— | default | LRST-empirical-tests.do:85Code/LRST-empirical-tests.do, line 85
reg `x' if has_female_exec==1 run 3× in a loop (x=car_oct5_6; x=car_oct16_27; x=car_oct5_6and16_27)
|
|
regols |
`x' |
— | default | LRST-empirical-tests.do:91Code/LRST-empirical-tests.do, line 91
reg `x' if has_female_exec==0 run 3× in a loop (x=car_oct5_6; x=car_oct16_27; x=car_oct5_6and16_27)
|
|
regols |
`x' |
has_female_exec
|
— | default | LRST-empirical-tests.do:97Code/LRST-empirical-tests.do, line 97
reg `x' has_female_exec run 3× in a loop (x=car_oct5_6; x=car_oct16_27; x=car_oct5_6and16_27)
|
reghdfepanel fe |
ret |
1.event_oct5_6#c.female_director_share 1.event_oct15_27#c.female_director_share 1.event_oct5_6#c.female_exec_share 1.event_oct15_27#c.female_exec_share
|
permno, date | cluster: permno, date | LRST-empirical-tests.do:115Code/LRST-empirical-tests.do, line 115
reghdfe ret 1.event_oct5_6#c.female_director_share 1.event_oct15_27#c.female_director_share ///
1.event_oct5_6#c.female_exec_share 1.event_oct15_27#c.female_exec_share, absorb(permno date) vce(cluster permno date) |
reghdfepanel fe |
ret |
1.event_oct5_6#c.female_director_share 1.event_oct15_27#c.female_director_share 1.event_oct5_6#1.has_female_exec 1.event_oct15_27#1.has_female_exec
|
permno, date | cluster: permno, date | LRST-empirical-tests.do:119Code/LRST-empirical-tests.do, line 119
reghdfe ret 1.event_oct5_6#c.female_director_share 1.event_oct15_27#c.female_director_share ///
1.event_oct5_6#1.has_female_exec 1.event_oct15_27#1.has_female_exec, absorb(permno date) vce(cluster permno date) |
reghdfepanel fe |
ret |
1.event_oct5_6#c.female_director_share 1.event_oct7_14#c.female_director_share 1.event_oct15_27#c.female_director_share 1.event_nov#c.female_director_share 1.event_oct5_6#c.female_exec_share 1.event_oct7_14#c.female_exec_share 1.event_oct15_27#c.female_exec_share 1.event_nov#c.female_exec_share
|
permno, date | cluster: permno, date | LRST-empirical-tests.do:123Code/LRST-empirical-tests.do, line 123
reghdfe ret 1.event_oct5_6#c.female_director_share 1.event_oct7_14#c.female_director_share 1.event_oct15_27#c.female_director_share 1.event_nov#c.female_director_share ///
1.event_oct5_6#c.female_exec_share 1.event_oct7_14#c.female_exec … |
reghdfepanel fe |
ret |
1.event_oct5_6#c.female_director_share 1.event_oct7_14#c.female_director_share 1.event_oct15_27#c.female_director_share 1.event_nov#c.female_director_share 1.event_oct5_6#1.has_female_exec 1.event_oct7_14#1.has_female_exec 1.event_oct15_27#1.has_female_exec 1.event_nov#1.has_female_exec
|
permno, date | cluster: permno, date | LRST-empirical-tests.do:127Code/LRST-empirical-tests.do, line 127
reghdfe ret 1.event_oct5_6#c.female_director_share 1.event_oct7_14#c.female_director_share 1.event_oct15_27#c.female_director_share 1.event_nov#c.female_director_share ///
1.event_oct5_6#1.has_female_exec 1.event_oct7_14#1.has_female_ex … |
reghdfepanel fe |
`x' |
1.post##c.female_exec_share lnmk
|
permno, rquarter | cluster: permno, rquarter | LRST-empirical-tests.do:151Code/LRST-empirical-tests.do, line 151
reghdfe `x' 1.post##c.female_exec_share lnmk, absorb(permno rquarter) vce(cluster permno rquarter) run 4× in a loop (x=io_13f_prc; x=io_0_25p_prc; x=io_1p_prc…)
|
reghdfepanel fe |
`x' |
1.post##c.has_female_exec lnmk
|
permno, rquarter | cluster: permno, rquarter | LRST-empirical-tests.do:155Code/LRST-empirical-tests.do, line 155
reghdfe `x' 1.post##c.has_female_exec lnmk, absorb(permno rquarter) vce(cluster permno rquarter) run 4× in a loop (x=io_13f_prc; x=io_0_25p_prc; x=io_1p_prc…)
|
reghdfepanel fe |
io_13f_prc |
1.tm4#c.female_exec_share 1.tm3#c.female_exec_share 1.tm2#c.female_exec_share 1.t0#c.female_exec_share 1.tp1#c.female_exec_share 1.tp2#c.female_exec_share 1.tp3#c.female_exec_share 1.tp4#c.female_exec_share lnmk
|
permno, rquarter | cluster: permno, rquarter | LRST-empirical-tests.do:188Code/LRST-empirical-tests.do, line 188
reghdfe io_13f_prc 1.tm4#c.female_exec_share 1.tm3#c.female_exec_share 1.tm2#c.female_exec_share ///
1.t0#c.female_exec_share 1.tp1#c.female_exec_share 1.tp2#c.female_exec_share 1.tp3#c.female_exec_share 1.tp4#c.female_exec_share lnmk … |
reghdfepanel fe |
io_13f_prc |
1.tm4#c.has_female_exec 1.tm3#c.has_female_exec 1.tm2#c.has_female_exec 1.t0#c.has_female_exec 1.tp1#c.has_female_exec 1.tp2#c.has_female_exec 1.tp3#c.has_female_exec 1.tp4#c.has_female_exec lnmk
|
permno, rquarter | cluster: permno, rquarter | LRST-empirical-tests.do:192Code/LRST-empirical-tests.do, line 192
reghdfe io_13f_prc 1.tm4#c.has_female_exec 1.tm3#c.has_female_exec 1.tm2#c.has_female_exec ///
1.t0#c.has_female_exec 1.tp1#c.has_female_exec 1.tp2#c.has_female_exec 1.tp3#c.has_female_exec 1.tp4#c.has_female_exec lnmk if !mi(post), a … |
reghdfepanel fe |
`x' |
1.post##c.female_exec_share lnmk
|
permno, rquarter##indstid | cluster: permno, FACTSET_INST_ID, rquarter | LRST-empirical-tests.do:212Code/LRST-empirical-tests.do, line 212
reghdfe `x' 1.post##c.female_exec_share lnmk, absorb(permno rquarter##indstid) vce(cluster permno FACTSET_INST_ID rquarter) run 4× in a loop (x=io_prc; x=io_0_25p_prc; x=io_1p_prc…)
|
reghdfepanel fe |
`x' |
1.post##c.has_female_exec lnmk
|
permno, rquarter##indstid | cluster: permno, FACTSET_INST_ID, rquarter | LRST-empirical-tests.do:216Code/LRST-empirical-tests.do, line 216
reghdfe `x' 1.post##c.has_female_exec lnmk, absorb(permno rquarter##indstid) vce(cluster permno FACTSET_INST_ID rquarter) run 4× in a loop (x=io_prc; x=io_0_25p_prc; x=io_1p_prc…)
|
reghdfepanel fe |
io_prc |
1.post##c.female_exec_share lnmk
|
permno, rquarter##indstid | cluster: permno, FACTSET_INST_ID, rquarter | LRST-empirical-tests.do:241Code/LRST-empirical-tests.do, line 241
reghdfe io_prc 1.post##c.female_exec_share lnmk if ESG_tercile==0, absorb(permno rquarter##indstid) vce(cluster permno FACTSET_INST_ID rquarter) |
reghdfepanel fe |
io_prc |
1.post##c.female_exec_share lnmk
|
permno, rquarter##indstid | cluster: permno, FACTSET_INST_ID, rquarter | LRST-empirical-tests.do:245Code/LRST-empirical-tests.do, line 245
reghdfe io_prc 1.post##c.female_exec_share lnmk if ESG_tercile==2, absorb(permno rquarter##indstid) vce(cluster permno FACTSET_INST_ID rquarter) |
reghdfepanel fe |
io_prc |
1.post##c.female_exec_share##ESG_tercile lnmk
|
permno, rquarter##indstid | cluster: permno, FACTSET_INST_ID, rquarter | LRST-empirical-tests.do:249Code/LRST-empirical-tests.do, line 249
reghdfe io_prc 1.post##c.female_exec_share##ESG_tercile lnmk if ESG_tercile~=1, absorb(permno rquarter##indstid) vce(cluster permno FACTSET_INST_ID rquarter) |
reghdfepanel fe |
io_prc |
1.post##1.has_female_exec lnmk
|
permno, rquarter##indstid | cluster: permno, FACTSET_INST_ID, rquarter | LRST-empirical-tests.do:255Code/LRST-empirical-tests.do, line 255
reghdfe io_prc 1.post##1.has_female_exec lnmk if ESG_tercile==0, absorb(permno rquarter##indstid) vce(cluster permno FACTSET_INST_ID rquarter) |
reghdfepanel fe |
io_prc |
1.post##1.has_female_exec lnmk
|
permno, rquarter##indstid | cluster: permno, FACTSET_INST_ID, rquarter | LRST-empirical-tests.do:259Code/LRST-empirical-tests.do, line 259
reghdfe io_prc 1.post##1.has_female_exec lnmk if ESG_tercile==2, absorb(permno rquarter##indstid) vce(cluster permno FACTSET_INST_ID rquarter) |
reghdfepanel fe |
io_prc |
1.post##1.has_female_exec##ESG_tercile lnmk
|
permno, rquarter##indstid | cluster: permno, FACTSET_INST_ID, rquarter | LRST-empirical-tests.do:263Code/LRST-empirical-tests.do, line 263
reghdfe io_prc 1.post##1.has_female_exec##ESG_tercile lnmk if ESG_tercile~=1, absorb(permno rquarter##indstid) vce(cluster permno FACTSET_INST_ID rquarter) |
reghdfepanel fe |
`x'_hweighted |
1.post##1.low`x'
|
FACTSET_INST_ID, yq | cluster: FACTSET_INST_ID, yq | LRST-empirical-tests.do:286Code/LRST-empirical-tests.do, line 286
reghdfe `x'_hweighted 1.post##1.low`x', absorb(FACTSET_INST_ID yq) vce(cluster FACTSET_INST_ID yq) run 3× in a loop (x=TRESGS; x=SOSCORE; x=TRESGSOWOS)
|
reghdfepanel fe |
`x'_hweighted |
1.post##1.low`x'
|
FACTSET_INST_ID, yq | cluster: FACTSET_INST_ID, yq | LRST-empirical-tests.do:305Code/LRST-empirical-tests.do, line 305
reghdfe `x'_hweighted 1.post##1.low`x', absorb(FACTSET_INST_ID yq) vce(cluster FACTSET_INST_ID yq) run 3× in a loop (x=TRESGS; x=SOSCORE; x=TRESGSOWOS)
|
reghdfepanel fe |
io_prc |
1.post##c.female_exec_share excess_ret lnmk
|
permno, rquarter##indstid | cluster: permno, FACTSET_INST_ID, rquarter | LRST-empirical-tests.do:325Code/LRST-empirical-tests.do, line 325
reghdfe io_prc 1.post##c.female_exec_share excess_ret lnmk, absorb(permno rquarter##indstid) vce(cluster permno FACTSET_INST_ID rquarter) |
reghdfepanel fe |
io_prc |
1.post##1.has_female_exec excess_ret lnmk
|
permno, rquarter##indstid | cluster: permno, FACTSET_INST_ID, rquarter | LRST-empirical-tests.do:328Code/LRST-empirical-tests.do, line 328
reghdfe io_prc 1.post##1.has_female_exec excess_ret lnmk, absorb(permno rquarter##indstid) vce(cluster permno FACTSET_INST_ID rquarter) |
reghdfepanel fe |
io_prc |
1.post##c.female_exec_share lnmk
|
permno, rquarter##indstid | cluster: permno, FACTSET_INST_ID, rquarter | LRST-empirical-tests.do:340Code/LRST-empirical-tests.do, line 340
reghdfe io_prc 1.post##c.female_exec_share lnmk if held15==1, absorb(permno rquarter##indstid) vce(cluster permno FACTSET_INST_ID rquarter) |
reghdfepanel fe |
io_prc |
1.post##c.female_exec_share lnmk
|
permno, rquarter##indstid | cluster: permno, FACTSET_INST_ID, rquarter | LRST-empirical-tests.do:343Code/LRST-empirical-tests.do, line 343
reghdfe io_prc 1.post##c.female_exec_share lnmk if held15==0, absorb(permno rquarter##indstid) vce(cluster permno FACTSET_INST_ID rquarter) |
reghdfepanel fe |
io_prc |
1.post##c.female_exec_share##held15 lnmk
|
permno, rquarter##indstid | cluster: permno, FACTSET_INST_ID, rquarter | LRST-empirical-tests.do:346Code/LRST-empirical-tests.do, line 346
reghdfe io_prc 1.post##c.female_exec_share##held15 lnmk, absorb(permno rquarter##indstid) vce(cluster permno FACTSET_INST_ID rquarter) |
reghdfepanel fe |
io_prc |
1.post##1.has_female_exec lnmk
|
permno, rquarter##indstid | cluster: permno, FACTSET_INST_ID, rquarter | LRST-empirical-tests.do:351Code/LRST-empirical-tests.do, line 351
reghdfe io_prc 1.post##1.has_female_exec lnmk if held15==1, absorb(permno rquarter##indstid) vce(cluster permno FACTSET_INST_ID rquarter) |
reghdfepanel fe |
io_prc |
1.post##1.has_female_exec lnmk
|
permno, rquarter##indstid | cluster: permno, FACTSET_INST_ID, rquarter | LRST-empirical-tests.do:354Code/LRST-empirical-tests.do, line 354
reghdfe io_prc 1.post##1.has_female_exec lnmk if held15==0 , absorb(permno rquarter##indstid) vce(cluster permno FACTSET_INST_ID rquarter) |
reghdfepanel fe |
io_prc |
1.post##1.has_female_exec##1.held15 lnmk
|
permno, rquarter##indstid | cluster: permno, FACTSET_INST_ID, rquarter | LRST-empirical-tests.do:357Code/LRST-empirical-tests.do, line 357
reghdfe io_prc 1.post##1.has_female_exec##1.held15 lnmk, absorb(permno rquarter##indstid) vce(cluster permno FACTSET_INST_ID rquarter) |
reghdfepanel fe |
`x' |
post##c.female_exec_share
|
permno, year | cluster: permno, year | LRST-empirical-tests.do:376Code/LRST-empirical-tests.do, line 376
reghdfe `x' post##c.female_exec_share, absorb(permno year) vce(cluster permno year) run 3× in a loop (x=TRDIRDS; x=CGBSO19; x=SODODP0081)
|
reghdfepanel fe |
`x' |
post##has_female_exec
|
permno, year | cluster: permno, year | LRST-empirical-tests.do:383Code/LRST-empirical-tests.do, line 383
reghdfe `x' post##has_female_exec, absorb(permno year) vce(cluster permno year) run 3× in a loop (x=TRDIRDS; x=CGBSO19; x=SODODP0081)
|
Tables and figures the code writes:
Table 2 · Table 2 · Table 3 · Table 4 · Table 4 · Table 5 · Table 6 · Table 7A · Table 7B · Table 8 · Table 8 · Table 9 · Table 9 · Table 9 · Table 10 · Table 11 · Table 12
table2-panelA.csv LRST-empirical-tests.do:74
Code/LRST-empirical-tests.do, line 74
esttab * using "output\table2-panelA.csv", replace compress nogaps b(3) p(2) ///
stats(N r2_a, fmt(%9.0g %9.3fc) labels(Obs "Adjusted R2")) nonotes starlevels(* 0.10 ** 0.05 *** 0.01) ///
order(1.event_oct5_6#c.female_exec_share 1.event_oct …
table2-panelB.csv LRST-empirical-tests.do:102
Code/LRST-empirical-tests.do, line 102
esttab * using "output\table2-panelB.csv", replace compress nogaps b(3) p(2) ///
stats(N r2_a, fmt(%9.0g %9.3fc) labels(Obs "Adjusted R2")) nonotes star(* 0.10 ** 0.05 *** 0.01)
table3.csv LRST-empirical-tests.do:131
Code/LRST-empirical-tests.do, line 131
esttab * using "output\table3.csv", replace compress nogaps b(3) p(2) label ///
stats(N r2_a, fmt(%9.0g %9.3fc) labels(Obs "Adjusted R2")) nonotes star(* 0.10 ** 0.05 *** 0.01) ///
order(1.event_oct5_6#c.female_director_share 1.eve …
table4-panelA.csv LRST-empirical-tests.do:161
Code/LRST-empirical-tests.do, line 161
esttab * using "output\table4-panelA.csv", replace compress nogaps b(3) p(2) ///
stats(N r2_a, fmt(%9.0g %9.3fc) labels(Obs "Adjusted R2")) nonotes starlevels(* 0.10 ** 0.05 *** 0.01) ///
drop(1.post female_exec_share has_female_exe …
table4-panelB.csv LRST-empirical-tests.do:196
Code/LRST-empirical-tests.do, line 196
esttab * using "output\table4-panelB.csv", replace compress nogaps b(3) p(2) ///
stats(N r2_a, fmt(%9.0g %9.3fc) labels(Obs "Adjusted R2")) nonotes starlevels(* 0.10 ** 0.05 *** 0.01) ///
order(*#c.female_exec_share *#c.has_female_e …
table5.csv LRST-empirical-tests.do:222
Code/LRST-empirical-tests.do, line 222
esttab * using "output\table5.csv", replace compress nogaps b(3) p(2) ///
stats(N r2_a, fmt(%12.0g %9.3fc) labels(Obs "Adjusted R2")) nonotes starlevels(* 0.10 ** 0.05 *** 0.01) ///
drop(1.post female_exec_share has_female_exec) ord …
table6.csv LRST-empirical-tests.do:269
Code/LRST-empirical-tests.do, line 269
esttab * using "output\table6.csv", replace compress nogaps b(3) p(2) ///
stats(N r2_a, fmt(%12.0g %9.3fc) labels(Obs "Adjusted R2")) nonotes starlevels(* 0.10 ** 0.05 *** 0.01) ///
drop(1.post female_exec_share 1.has_female_exec) o …
table7a.csv LRST-empirical-tests.do:292
Code/LRST-empirical-tests.do, line 292
esttab * using "output\table7a.csv", replace compress nogaps b(3) p(2) ///
stats(N r2_a, fmt(%12.0g %9.3fc) labels(Obs "Adjusted R2")) nonotes starlevels(* 0.10 ** 0.05 *** 0.01) ///
drop(1.post 1.low*)
table7b.csv LRST-empirical-tests.do:311
Code/LRST-empirical-tests.do, line 311
esttab * using "output\table7b.csv", replace compress nogaps b(3) p(2) ///
stats(N r2_a, fmt(%12.0g %9.3fc) labels(Obs "Adjusted R2")) nonotes starlevels(* 0.10 ** 0.05 *** 0.01) ///
drop(1.post 1.low*)
table8-panelA.csv LRST-empirical-tests.do:331
Code/LRST-empirical-tests.do, line 331
esttab * using "output\table8-panelA.csv", replace compress nogaps b(3) p(2) ///
stats(N r2_a, fmt(%12.0g %9.3fc) labels(Obs "Adjusted R2")) nonotes star(* 0.10 ** 0.05 *** 0.01) ///
drop(1.post 1.has_female_exec) order(1.post*)
table8-panelB.csv LRST-empirical-tests.do:360
Code/LRST-empirical-tests.do, line 360
esttab * using "output\table8-panelB.csv", replace compress nogaps b(3) p(2) ///
stats(N r2_a, fmt(%12.0g %9.3fc) labels(Obs "Adjusted R2")) nonotes star(* 0.10 ** 0.05 *** 0.01) ///
order(1.post*)
table9-panelA.csv LRST-empirical-tests.do:388
Code/LRST-empirical-tests.do, line 388
esttab A1 B1 A2 B2 A3 B3 using "output\table9-panelA.csv", replace compress nogaps b(3) p(2) ///
stats(N r2_a, fmt(%12.0g %9.3fc) labels(Obs "Adjusted R2")) nonotes star(* 0.10 ** 0.05 *** 0.01) ///
order(1.post*)
table9-panelB.csv LRST-empirical-tests.do:409
Code/LRST-empirical-tests.do, line 409
esttab A2 A1 A4 A3 using "output\table9-panelB.csv", replace compress nogaps b(3) p(2) ///
stats(N r2_a, fmt(%12.0g %9.3fc) labels(Obs "Adjusted R2")) nonotes star(* 0.10 ** 0.05 *** 0.01)
table9-panelC.csv LRST-empirical-tests.do:428
Code/LRST-empirical-tests.do, line 428
esttab * using "output\table9-panelC.csv", replace compress nogaps b(3) p(2) ///
stats(N r2_a p_val, fmt(%9.0g %9.3fc) labels(Obs "Adjusted R2")) nonotes star(* 0.10 ** 0.05 *** 0.01)
table10.csv LRST-empirical-tests.do:455
Code/LRST-empirical-tests.do, line 455
esttab * using "output\table10.csv", replace compress nogaps b(3) p(2) ///
stats(N r2_a, fmt(%9.0g %9.3fc) labels(Obs "Adjusted R2")) nonotes star(* 0.10 ** 0.05 *** 0.01) ///
order(1.post#c.female_exec_share 1.post#1.has_female_ex …
table11.csv LRST-empirical-tests.do:486
Code/LRST-empirical-tests.do, line 486
esttab * using "output\table11.csv", replace compress nogaps b(3) p(2) ///
stats(N r2_a, fmt(%9.0g %9.3fc) labels(Obs "Adjusted R2")) nonotes star(* 0.10 ** 0.05 *** 0.01) ///
order(1.post#c.female_exec_share 1.post#1.has_female_ex …
table12.csv LRST-empirical-tests.do:506
Code/LRST-empirical-tests.do, line 506
esttab * using "output\table12.csv", replace compress nogaps b(3) p(2) ///
stats(N r2_a, fmt(%9.0g %9.3fc) labels(Obs "Adjusted R2")) nonotes star(* 0.10 ** 0.05 *** 0.01) ///
drop(1.post female_exec_share 1.has_female_exec)