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
4 · What it estimates (first 13 of 14 distinct estimations)
CommandMethodFixed effects absorbedInferenceFile
regress
qui regress ret vwretd if id==`x' & est==1
ols default LRST-create-sample.do
reghdfe
qui reghdfe ret 1.event_oct5_6#c.female_exec_share, absorb(permno date) vce(cluster permno)
panel fepermno, date cluster by permno LRST-create-sample.do
regress
regress `x' has_female_exec, robust
ols robust LRST-empirical-tests.do
reghdfe
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)
panel fepermno, date cluster by permno, date LRST-empirical-tests.do
reg
reg `x' if has_female_exec==1
ols default LRST-empirical-tests.do
reghdfe
reghdfe `x' 1.post##c.female_exec_share lnmk, absorb(permno rquarter) vce(cluster permno rquarter)
panel fepermno, rquarter cluster by permno, rquarter LRST-empirical-tests.do
reghdfe
reghdfe `x' 1.post##c.female_exec_share lnmk, absorb(permno rquarter##indstid) vce(cluster permno FACTSET_INST_ID rquarter)
panel fepermno, rquarter##indstid cluster by permno, FACTSET_INST_ID, rquarter LRST-empirical-tests.do
reghdfe
reghdfe `x'_hweighted 1.post##1.low`x', absorb(FACTSET_INST_ID yq) vce(cluster FACTSET_INST_ID yq)
panel feFACTSET_INST_ID, yq cluster by FACTSET_INST_ID, yq LRST-empirical-tests.do
reghdfe
reghdfe `x' post##c.female_exec_share, absorb(permno year) vce(cluster permno year)
panel fepermno, year cluster by permno, year LRST-empirical-tests.do
reghdfe
reghdfe CGBSO19 1.tm4#1.has_female_exec 1.tm3#1.has_female_exec 1.tm2#1.has_female_exec 1.t0#1.has_female_exec 1.tp1#1.has_female_exec 1.tp2#1.has_female_exec 1.tp3#1.has_female_exec, absorb(permno year) vce(cluster permno)
panel fepermno, year cluster by permno LRST-empirical-tests.do
reghdfe
reghdfe `x' 1.post#1.has_female_exec 1.post#0.has_female_exec has_female_exec, absorb(const) vce(cluster permno year)
panel feconst cluster by permno, year LRST-empirical-tests.do
reghdfe
reghdfe spread 1.post#c.female_exec_share amihud duration month12 rating lnamt life coupon, absorb(gvkey mon_yr) vce(cluster gvkey mon_yr)
panel fegvkey, mon_yr cluster by gvkey, mon_yr LRST-empirical-tests.do
reghdfe
reghdfe `x' 1.post#c.female_exec_share lnat , absorb(firmid yq##sic2) vce(cluster firmid yq)
panel fefirmid, 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.csv
How 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

  • raw\compustat-2010-2017 Stata
    LRST-create-sample.do:24
    Code/LRST-create-sample.do, line 24 use "raw\compustat-2010-2017", clear // Compustat, downloaded 2018-10-19
  • raw\compustat-2010-2018 Stata
    LRST-create-sample.do:360
    Code/LRST-create-sample.do, line 360 use "raw\compustat-2010-2018", clear // Compustat, downloaded 2019-03-10
  • raw\compustatQ-2021-08-02 Stata
    LRST-create-sample.do:1395
    Code/LRST-create-sample.do, line 1395 joinby gvkey using "raw\compustatQ-2021-08-02" // Compustat, downloaded 2021-08-02
  • raw\compustatY-2021-08-02 Stata
    LRST-create-sample.do:1384
    Code/LRST-create-sample.do, line 1384 use "raw\compustatY-2021-08-02", clear // Compustat, downloaded 2021-08-02
  • raw\crsp-2015-2018 Stata
    LRST-create-sample.do:375
    Code/LRST-create-sample.do, line 375 use "raw\crsp-2015-2018", clear // CRSP, downloaded 2019-03-10
  • raw\crsp-aug-2017-jan-2018 Stata
    LRST-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-08
  • raw\crsp-jun-2014-jun-2018 Stata
    LRST-create-sample.do:231
    Code/LRST-create-sample.do, line 231 joinby permno using "raw\crsp-jun-2014-jun-2018" // CRSP, downloaded 2018-09-07
  • raw\crsp-monthly-2015-2022 Stata
    LRST-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-ibes Stata
    LRST-create-sample.do:1449
    Code/LRST-create-sample.do, line 1449 joinby IBES_ticker using "links\firm-female-ibes" // Links IBES to gvkey
  • raw\IBES price, adj, 2021-08-02 Stata
    LRST-create-sample.do:1487
    Code/LRST-create-sample.do, line 1487 use "raw\IBES price, adj, 2021-08-02", clear // IBES, downloaded 2021-08-02
  • raw\IBES summary, adj, 2021-08-02 Stata
    LRST-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\execucomp Stata
    LRST-create-sample.do:54
    Code/LRST-create-sample.do, line 54 use "raw\execucomp", clear // Execucomp, downloaded 2018-09-15
  • raw\execucomp-2010-2019 Stata
    LRST-create-sample.do:389
    Code/LRST-create-sample.do, line 389 use "raw\execucomp-2010-2019", clear // Execucomp, downloaded 2019-03-10
  • raw\execucomp-2010-2022 Stata
    LRST-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, all Stata
    LRST-create-sample.do:945
    Code/LRST-create-sample.do, line 945 use "raw\factset\13F holdings, all", clear // Factset, downloaded 2023-07-04
  • raw\factset\factset-13F holdings Stata
    LRST-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-19 Stata
    LRST-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_gvkey Stata
    LRST-create-sample.do:282
    Code/LRST-create-sample.do, line 282 joinby CompanyID using "links\CompanyID_gvkey" // Links BoardEx CompanyID to gvkey
  • links\gvkey-factset-2017-2022-04-27 Stata
    LRST-create-sample.do:604
    Code/LRST-create-sample.do, line 604 use "links\gvkey-factset-2017-2022-04-27", clear // Links Factset to gvkey
  • links\gvkey-permno-link Stata
    LRST-create-sample.do:349
    Code/LRST-create-sample.do, line 349 joinby gvkey using "links\gvkey-permno-link" // from Compustat
  • links\refinitiv-ESG-header-2021-10-08 Stata
    LRST-create-sample.do:692
    Code/LRST-create-sample.do, line 692 use "links\refinitiv-ESG-header-2021-10-08", clear // Refinitiv ESG header
  • links\sic-permno Stata
    LRST-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_esg Stata
    LRST-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-12 Stata
    LRST-create-sample.do:1279
    Code/LRST-create-sample.do, line 1279 joinby cusip using "raw\ESG items, Refinitiv, 2021-07-12"
  • raw\factset\Entities Stata
    LRST-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-entities Stata
    LRST-create-sample.do:598
    Code/LRST-create-sample.do, line 598 use "raw\factset\factset-entities", clear // Factset, downloaded 2022-04-12
  • raw\factset\H_SECURITY_CUSIP Stata
    LRST-create-sample.do:670
    Code/LRST-create-sample.do, line 670 use "raw\factset\H_SECURITY_CUSIP", clear // Factset, downloaded 2022-05-11
  • raw\factset\H_SECURITY_ISIN Stata
    LRST-create-sample.do:677
    Code/LRST-create-sample.do, line 677 use "raw\factset\H_SECURITY_ISIN", clear // Factset, downloaded 2022-05-11
  • raw\factset\H_SECURITY_SEDOL Stata
    LRST-create-sample.do:684
    Code/LRST-create-sample.do, line 684 use "raw\factset\H_SECURITY_SEDOL", clear // Factset, downloaded 2022-05-11
  • raw\factset\holdings_by_firm_msci Stata
    LRST-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-16
  • raw\factset\sec_coverage Stata
    LRST-create-sample.do:516
    Code/LRST-create-sample.do, line 516 use "raw\factset\sec_coverage", clear // Factset, downloaded 2022-04-29
  • raw\factset\sec_prices Stata
    LRST-create-sample.do:510
    Code/LRST-create-sample.do, line 510 use "raw\factset\sec_prices", clear // Factset, downloaded 2022-04-29
  • raw\factset\Security entity Stata
    LRST-create-sample.do:543
    Code/LRST-create-sample.do, line 543 joinby FSYM_ID using "raw\factset\Security entity" // Factset, downloaded 2022-04-12
  • raw\factset\sym_coverage Stata
    LRST-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-29
  • raw\gvkey-duplicates-checked Stata
    LRST-create-sample.do:204
    Code/LRST-create-sample.do, line 204 joinby lpermno datadate using "raw\gvkey-duplicates-checked", unma(ma) // manually checked duplciates
  • raw\pd Stata
    LRST-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-04
  • raw\Refinitiv ESG, 2021-10-09 Stata
    LRST-create-sample.do:773
    Code/LRST-create-sample.do, line 773 use "raw\Refinitiv ESG, 2021-10-09", clear // Refinitiv, downloaded 2021-10-09
  • raw\WRDS-car-m1p1-mm Stata
    LRST-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).

Code/LRST-create-sample.do → Code/LRST-empirical-tests.do: sample-table10, sample-table11, sample-table12, sample-table1a, sample-table1b, sample-table2-panelA, sample-table2-panelB, sample-table3 (+8 more) Code/LRST-create-sample.do · reads 38 input files · 3 estimations 1. LRST-create-sample.do 3 est.Code/LRST-empirical-tests.do · 50 estimations 2. LRST-empirical-tests.do 50 est.
  1. 1.Code/LRST-create-sample.do reads 38 input files · 56 merges · 3 estimations
    writes sample-table10 → read by LRST-empirical-tests.do
    writes sample-table11 → read by LRST-empirical-tests.do
    writes sample-table12 → read by LRST-empirical-tests.do
    writes sample-table1a → read by LRST-empirical-tests.do
    writes sample-table1b → read by LRST-empirical-tests.do
    writes sample-table2-panelA → read by LRST-empirical-tests.do
    writes sample-table2-panelB → read by LRST-empirical-tests.do
    writes sample-table3 → read by LRST-empirical-tests.do
    writes sample-table4 → read by LRST-empirical-tests.do
    writes sample-table5-6 → read by LRST-empirical-tests.do
    writes sample-table7a → read by LRST-empirical-tests.do
    writes sample-table7b → read by LRST-empirical-tests.do
    writes sample-table8-panelA → read by LRST-empirical-tests.do
    writes sample-table8-panelB → read by LRST-empirical-tests.do
    writes sample-table9-panelAC → read by LRST-empirical-tests.do
    writes sample-table9-panelB → read by LRST-empirical-tests.do
    writes (not read again): LRST-gvkey, `x'_hweighted_setzero, `x'_hweighted_setzero_constant, hmktcap_yq, inst_type_country
  2. 2.Code/LRST-empirical-tests.do 50 estimations
    reads what LRST-create-sample.do wrote

3 · Merges — 56 joins, 27 followed by a check of the merge result

JoinsHowOn keysCheck that followsWhere
execucomp ← fyear-datadate join m:m (inner) fyear gvkey drop _merge
LRST-create-sample.do:57
Code/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:81
Code/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:204
Code/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:231
Code/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:282
Code/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:349
Code/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:392
Code/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:413
Code/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:483
Code/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:521
Code/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:529
Code/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:543
Code/LRST-create-sample.do, line 543 joinby FSYM_ID using "raw\factset\Security entity" // Factset, downloaded 2022-04-12

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==2017
    LRST-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<5
    LRST-create-sample.do:71
    Code/LRST-create-sample.do, line 71 drop if max_execrankann<5
  • drop if execrankann>5
    LRST-create-sample.do:72
    Code/LRST-create-sample.do, line 72 drop if execrankann>5
  • keep if diff==min_diff
    LRST-create-sample.do:212
    Code/LRST-create-sample.do, line 212 keep if diff==min_diff
  • keep if estlen>250
    LRST-create-sample.do:241
    Code/LRST-create-sample.do, line 241 keep if estlen>250
  • drop if tag>0
    LRST-create-sample.do:343
    Code/LRST-create-sample.do, line 343 drop if tag>0
  • drop if max_execrankann<5
    LRST-create-sample.do:403
    Code/LRST-create-sample.do, line 403 drop if max_execrankann<5
  • drop if execrankann>=6
    LRST-create-sample.do:404
    Code/LRST-create-sample.do, line 404 drop if execrankann>=6
  • keep if mktcap_usd>0
    LRST-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==22
    LRST-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==1
    LRST-create-sample.do:207
    Code/LRST-create-sample.do, line 207 drop if drop==1
  • keep if tag==0
    LRST-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_datadate
    LRST-create-sample.do:64
    Code/LRST-create-sample.do, line 64 keep if datadate==max_datadate
  • keep if date==maxdate
    LRST-create-sample.do:319
    Code/LRST-create-sample.do, line 319 keep if date==maxdate
  • keep if REPORT_DATE==maxdate
    LRST-create-sample.do:622
    Code/LRST-create-sample.do, line 622 keep if REPORT_DATE==maxdate
  • keep if REPORT_DATE==maxdate
    LRST-create-sample.do:824
    Code/LRST-create-sample.do, line 824 keep if REPORT_DATE==maxdate
  • keep if REPORT_DATE==maxdate
    LRST-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 car
LRST-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 → 0
    LRST-create-sample.do:170
    Code/LRST-create-sample.do, line 170 replace rnd = 0 if mi(rnd)
  • rnd_sales → 0
    LRST-create-sample.do:172
    Code/LRST-create-sample.do, line 172 replace rnd_sales = 0 if mi(rnd_sales)
  • adexp → 0
    LRST-create-sample.do:179
    Code/LRST-create-sample.do, line 179 replace adexp = 0 if mi(adexp)
  • excess_ret → 0
    LRST-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_tmp
    LRST-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_SEDOL
    LRST-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_CUSIP
    LRST-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_NAME
    LRST-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 (adexp
LRST-create-sample.do:178
Code/LRST-create-sample.do, line 178 gen adexp = xad / sale
), Book Leverage (lev
LRST-create-sample.do:167
Code/LRST-create-sample.do, line 167 gen lev = (dltt + dlc) / at
), Capital Expenditure (invest
LRST-create-sample.do:177
Code/LRST-create-sample.do, line 177 gen invest = capx / at
), Cash Holdings (cash
LRST-create-sample.do:168
Code/LRST-create-sample.do, line 168 gen cash = che / at
), Cumulative Abnormal Return (CAR) (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)
), Earnings Surprise (ux
LRST-create-sample.do:1538
Code/LRST-create-sample.do, line 1538 gen ux = (actual - meanest)
), Log Market Cap (lnmk
LRST-create-sample.do:1091
Code/LRST-create-sample.do, line 1091 gen lnmk = ln(mktcap)
), Log Total Assets (lnat
LRST-create-sample.do:165
Code/LRST-create-sample.do, line 165 gen lnat = ln(at)
), Operating Margin (op_income_sales
LRST-create-sample.do:1414
Code/LRST-create-sample.do, line 1414 gen op_income_sales = oibdpq / saleq if saleq>0
), R&D Intensity (rnd
LRST-create-sample.do:169
Code/LRST-create-sample.do, line 169 gen rnd = xrd / at
), Return on Assets (ROA) (roa
LRST-create-sample.do:175
Code/LRST-create-sample.do, line 175 gen roa = ebit / at
), Sales Growth (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
), Tangibility (PPE/Assets) (ppe
LRST-create-sample.do:166
Code/LRST-create-sample.do, line 166 gen ppe = ppent / at
), Tobin's Q / Market-to-Book (q
LRST-create-sample.do:173
Code/LRST-create-sample.do, line 173 gen q = (csho * prcc_f + at - ceq) / at
)
VariableUsed in models asBuilt by
io_prc outcome in 14
io_prc = io * 100 (gen)
LRST-create-sample.do:1139
Code/LRST-create-sample.do, line 1139 gen io_prc = io * 100
ret outcome in 11
ret = exp(logret) - 1 (gen)
LRST-create-sample.do:1230
Code/LRST-create-sample.do, line 1230 gen ret = exp(logret) - 1
ret = ret * 100 (replace)
LRST-create-sample.do:992
Code/LRST-create-sample.do, line 992 replace ret = ret * 100
ret = ret * 100 (replace)
LRST-create-sample.do:1034
Code/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:780
Code/LRST-create-sample.do, line 780 replace SODODP0081 = "1" if trim(SODODP0081)=="Y"
SODODP0081 = "0" (replace)
LRST-create-sample.do:781
Code/LRST-create-sample.do, line 781 replace SODODP0081 = "0" if trim(SODODP0081)=="N"
SODODP0081 = destring(SODODP0081) (destring)
LRST-create-sample.do:782
Code/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:337
Code/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:118
Code/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:448
Code/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:1091
Code/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:111
Code/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:441
Code/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

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
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
regress
ols
ret vwretd — default
LRST-create-sample.do:252
Code/LRST-create-sample.do, line 252 qui regress ret vwretd if id==`x' & est==1
reghdfe
panel fe
ret 1.event_oct5_6#c.female_exec_share permno, date cluster: permno
LRST-create-sample.do:1050
Code/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
reghdfe
panel fe
ret 1.event_oct5_6#c.female_exec_share permno, date cluster: permno
LRST-create-sample.do:1069
Code/LRST-create-sample.do, line 1069 qui reghdfe ret 1.event_oct5_6#c.female_exec_share, absorb(permno date) vce(cluster permno)
regress
ols
`x' has_female_exec — robust
LRST-empirical-tests.do:35
Code/LRST-empirical-tests.do, line 35 regress `x' has_female_exec, robust
run 6× in a loop (x=lnat; x=cash; x=lev…)
regress
ols
female_director_share has_female_exec — robust
LRST-empirical-tests.do:49
Code/LRST-empirical-tests.do, line 49 regress female_director_share has_female_exec, robust
reghdfe
panel 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:62
Code/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)
reghdfe
panel 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:65
Code/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)
reghdfe
panel 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:68
Code/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)
reghdfe
panel 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:71
Code/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)
reg
ols
`x' — default
LRST-empirical-tests.do:85
Code/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)
reg
ols
`x' — default
LRST-empirical-tests.do:91
Code/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)
reg
ols
`x' has_female_exec — default
LRST-empirical-tests.do:97
Code/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)
reghdfe
panel 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:115
Code/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)
reghdfe
panel 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:119
Code/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)
reghdfe
panel 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:123
Code/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 …
reghdfe
panel 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:127
Code/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 …
reghdfe
panel fe
`x' 1.post##c.female_exec_share lnmk permno, rquarter cluster: permno, rquarter
LRST-empirical-tests.do:151
Code/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…)
reghdfe
panel fe
`x' 1.post##c.has_female_exec lnmk permno, rquarter cluster: permno, rquarter
LRST-empirical-tests.do:155
Code/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…)
reghdfe
panel 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:188
Code/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 …
reghdfe
panel 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:192
Code/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 …
reghdfe
panel fe
`x' 1.post##c.female_exec_share lnmk permno, rquarter##indstid cluster: permno, FACTSET_INST_ID, rquarter
LRST-empirical-tests.do:212
Code/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…)
reghdfe
panel fe
`x' 1.post##c.has_female_exec lnmk permno, rquarter##indstid cluster: permno, FACTSET_INST_ID, rquarter
LRST-empirical-tests.do:216
Code/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…)
reghdfe
panel fe
io_prc 1.post##c.female_exec_share lnmk permno, rquarter##indstid cluster: permno, FACTSET_INST_ID, rquarter
LRST-empirical-tests.do:241
Code/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)
reghdfe
panel fe
io_prc 1.post##c.female_exec_share lnmk permno, rquarter##indstid cluster: permno, FACTSET_INST_ID, rquarter
LRST-empirical-tests.do:245
Code/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)
reghdfe
panel 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:249
Code/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)
reghdfe
panel fe
io_prc 1.post##1.has_female_exec lnmk permno, rquarter##indstid cluster: permno, FACTSET_INST_ID, rquarter
LRST-empirical-tests.do:255
Code/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)
reghdfe
panel fe
io_prc 1.post##1.has_female_exec lnmk permno, rquarter##indstid cluster: permno, FACTSET_INST_ID, rquarter
LRST-empirical-tests.do:259
Code/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)
reghdfe
panel 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:263
Code/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)
reghdfe
panel fe
`x'_hweighted 1.post##1.low`x' FACTSET_INST_ID, yq cluster: FACTSET_INST_ID, yq
LRST-empirical-tests.do:286
Code/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)
reghdfe
panel fe
`x'_hweighted 1.post##1.low`x' FACTSET_INST_ID, yq cluster: FACTSET_INST_ID, yq
LRST-empirical-tests.do:305
Code/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)
reghdfe
panel 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:325
Code/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)
reghdfe
panel 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:328
Code/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)
reghdfe
panel fe
io_prc 1.post##c.female_exec_share lnmk permno, rquarter##indstid cluster: permno, FACTSET_INST_ID, rquarter
LRST-empirical-tests.do:340
Code/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)
reghdfe
panel fe
io_prc 1.post##c.female_exec_share lnmk permno, rquarter##indstid cluster: permno, FACTSET_INST_ID, rquarter
LRST-empirical-tests.do:343
Code/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)
reghdfe
panel fe
io_prc 1.post##c.female_exec_share##held15 lnmk permno, rquarter##indstid cluster: permno, FACTSET_INST_ID, rquarter
LRST-empirical-tests.do:346
Code/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)
reghdfe
panel fe
io_prc 1.post##1.has_female_exec lnmk permno, rquarter##indstid cluster: permno, FACTSET_INST_ID, rquarter
LRST-empirical-tests.do:351
Code/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)
reghdfe
panel fe
io_prc 1.post##1.has_female_exec lnmk permno, rquarter##indstid cluster: permno, FACTSET_INST_ID, rquarter
LRST-empirical-tests.do:354
Code/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)
reghdfe
panel 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:357
Code/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)
reghdfe
panel fe
`x' post##c.female_exec_share permno, year cluster: permno, year
LRST-empirical-tests.do:376
Code/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)
reghdfe
panel fe
`x' post##has_female_exec permno, year cluster: permno, year
LRST-empirical-tests.do:383
Code/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 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 …
· Table 2 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)
· Table 3 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 …
· Table 4 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 …
· Table 4 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 …
· Table 5 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 …
· Table 6 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 …
· Table 7A 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*)
· Table 7B 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*)
· Table 8 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*)
· Table 8 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*)
· Table 9 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*)
· Table 9 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)
· Table 9 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)
· Table 10 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 …
· Table 11 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 …
· Table 12 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)