Review of Corporate Finance Studies · 2026 · 10.1093/rcfs/cfag011
The Value of Firm Networks: A Natural Experiment on Board Connections
Ester Faia; Maximilian Mayer; Vincenzo Pezone
Review history
Received 25 Jan 2024.
Received: 25 Jan 2024
The paper prints no acceptance date, so no review time is measured.
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
dataverse · package
· stata, r
2009–2014
sample period in the code
182
keep/drop statements
128
winsorizations
39
missing-data rules
51
de-duplications
29
distinct estimations
Sample period in the code: the window the code writes most often —
00_compute_networks.do:256 and 6 other files; other windows in the code: 2007–2015, 2008–2010, 2010–2010, 2011–2011, 2012–2012.
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 (56)
and keep/drop statements plus winsorized variables (236).
1 · Data and structure
Panel declared as:
id × fyear (annual); id × t; id × year (annual); n × time_norm2 · How the sample is built
- keep time period ×57
- drop value range ×48
- drop missing data ×19
- keep indicator subset ×10
- keep category value ×10
- drop category value ×9
- drop indicator subset ×8
- drop time period ×5
Reshaping:
drop duplicate rows ×51; collapse to a coarser unit ×21; expand (duplicate) rows ×8; reshape long/wide ×5; fill gaps in the panel ×1
3 · Design and validation
Identification: instrumental variables
Outcome transforms: log plus one, standardized
4 · What it estimates
| Command | Method | Fixed effects absorbed | Inference | File |
|---|---|---|---|---|
|
ols | default | 09_final_data.do | |
|
ols | default | ivol.do | |
|
ols | default | risk_adjusted_returns.do | |
|
panel fe | id, dateid | cluster by id | table_5_col1.do |
|
ols | robust | table_5_col1.do | |
|
panel fe | id, dateid | cluster by id | table_5_col2.do |
|
ols | robust | table_5_col2.do | |
|
panel fe | id, dateid | cluster by id | table_5_col3.do |
|
ols | robust | table_5_col3.do | |
|
ols | default | table_5_col3.do | |
|
ols | robust | table_5_col4.do | |
|
ols | default | table_5_col4.do | |
|
panel fe | id, dateid | cluster by id | figure_4.do |
|
ols | robust | figure_5.do | |
|
iv | id, dateid | cluster by id | table_1.do |
|
iv | execfirm, dateid | cluster by execid, id | table_1.do |
|
iv | id, dateid | cluster by id | table_10.do |
|
iv | execfirm, dateid | cluster by execid, id | table_11.do |
|
panel fe | execfirm, dateid | cluster by execid, id | table_11.do |
|
iv | id, dateid | cluster by id | table_11.do |
|
panel fe | id, dateid | cluster by id | table_11.do |
|
panel fe | id, dateid | cluster by id | table_2.do |
|
ols | robust | table_3.do | |
|
ols | robust | table_4.do | |
|
ols | robust | table_6.do | |
|
ols | robust | table_7.do | |
|
ols | robust | table_8.do | |
|
ols | robust | table_9_part1.do | |
|
panel fe | id, dateid | cluster by id | table_9_part2.do |
5 · What it produces
8 table files and 5 figure files
(tex 7, pdf 4, ? 2);
33 estimates traced from the model that produced them into the exhibit that reports them.
Table_5_part1.textable_11_part2.textable_1_part1.textable_1_part4.textable_1_part5.textable_1_part6.textable_2.texfigure_1.pdffigure_3.pdffigure_4.pdffigure_5.pdfHow the code gets from data to results own page
42
scripts
22
input files
49
file hand-offs
78
merges
236
sample steps
56
estimations
1 · Data in — files the code reads and no script of the package writes
./Pseudo Data/Financial Data/pseudo_compustatStata · read by 2 scripts01_returns.do:42
FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 42 use "./Pseudo Data/Financial Data/pseudo_compustat",clear
I/B/E/S
2 files
./Pseudo Data/Financial Data/pseudo_ibes_gvkeyStata08_ibes_variables.do:9
FMP_RCFS_Replication/Code/Data Prep/08_ibes_variables.do, line 9 merge m:1 ticker using "./Pseudo Data/Financial Data/pseudo_ibes_gvkey"./Pseudo Data/Financial Data/pseudo_ibes_summary_eps_netincomeStata08_ibes_variables.do:7
FMP_RCFS_Replication/Code/Data Prep/08_ibes_variables.do, line 7 use "./Pseudo Data/Financial Data/pseudo_ibes_summary_eps_netincome", clear
Refinitiv Datastream
1 file
./Pseudo Data/Financial Data/pseudo_csho_datastream_monthlyStata01_returns.do:34
FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 34 merge 1:1 gvkey year month using "./Pseudo Data/Financial Data/pseudo_csho_datastream_monthly",keep(3) nogenerate
Other input files
18 files
./Pseudo Data/Governance Data/pseudo_board_completeStata · read by 10 scripts00_compute_networks.do:25
FMP_RCFS_Replication/Code/Data Prep/00_compute_networks.do, line 25 use "./Pseudo Data/Governance Data/pseudo_board_complete", clear./Pseudo Data/Governance Data/broken_linksStata · read by 3 scriptsaffected.do:8
FMP_RCFS_Replication/Code/Data Prep/affected.do, line 8 use "./Pseudo Data/Governance Data/broken_links", clear./Process/instruments_esStata · read by 2 scripts09_final_data.do:11
FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 11 merge m:1 id using "./Process/instruments_es", keep(3) nogenerate./Pseudo Data/Financial Data/pseudo_capital_iq_io_data_final_reciprStata · read by 2 scripts05_number_customers_suppliers_partners_matched.do:2
FMP_RCFS_Replication/Code/Data Prep/05_number_customers_suppliers_partners_matched.do, line 2 use "./Pseudo Data/Financial Data/pseudo_capital_iq_io_data_final_recipr", clear./Pseudo Data/Financial Data/pseudo_DirectorNetworksEUStata · read by 2 scriptsdirector_connections.do:8
FMP_RCFS_Replication/Code/Data Prep/Social Networks/director_connections.do, line 8 use "./Pseudo Data/Financial Data/pseudo_DirectorNetworksEU", clear./Pseudo Data/Governance Data/pseudo_board_complete_longStata · read by 2 scripts06_characteristics.do:1
FMP_RCFS_Replication/Code/Data Prep/06_characteristics.do, line 1 use "./Pseudo Data/Governance Data/pseudo_board_complete_long", clear./Pseudo Data/Governance Data/pseudo_drop_directorsStata · read by 2 scripts00_compute_networks.do:146
FMP_RCFS_Replication/Code/Data Prep/00_compute_networks.do, line 146 merge 1:1 id execid using "./Pseudo Data/Governance Data/pseudo_drop_directors", gen(merge)./Pseudo Data/Governance Data/pseudo_press_releaseStata · read by 2 scripts10_press_releases.do:7
FMP_RCFS_Replication/Code/Data Prep/10_press_releases.do, line 7 use "./Pseudo Data/Governance Data/pseudo_press_release", clear
10 more
./Pseudo Data/Financial Data/fffStata01_returns.do:121
FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 121 merge m:1 datadate using "./Pseudo Data/Financial Data/fff",keep(3) nogenerate./Pseudo Data/Financial Data/pseudo_askStata12_firm_outcomes.do:33
FMP_RCFS_Replication/Code/Data Prep/12_firm_outcomes.do, line 33 use "./Pseudo Data/Financial Data/pseudo_ask", clear./Pseudo Data/Financial Data/pseudo_bidStata12_firm_outcomes.do:34
FMP_RCFS_Replication/Code/Data Prep/12_firm_outcomes.do, line 34 merge 1:1 datadate gvkey using "./Pseudo Data/Financial Data/pseudo_bid"./Pseudo Data/Financial Data/pseudo_daily_italyStata01_returns.do:6
FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 6 use "./Pseudo Data/Financial Data/pseudo_daily_italy" ,clear./Pseudo Data/Financial Data/pseudo_GER.ITA.dtaStata02_yield_exposure.do:2
FMP_RCFS_Replication/Code/Data Prep/02_yield_exposure.do, line 2 use "./Pseudo Data/Financial Data/pseudo_GER.ITA.dta", clear./Pseudo Data/Governance Data/pseudo_ageStata09_final_data.do:82
FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 82 merge m:1 gvkey using "./Pseudo Data/Governance Data/pseudo_age", keep(1 3) nogen./Pseudo Data/Governance Data/pseudo_italy_compensation_totalStata11_compensation.do:68
FMP_RCFS_Replication/Code/Data Prep/11_compensation.do, line 68 merge 1:1 execid id year month using "./Pseudo Data/Governance Data/pseudo_italy_compensation_total", nogenerate keep(3)./Pseudo Data/Governance Data/pseudo_matched_directorsStatadirector_connections.do:3
FMP_RCFS_Replication/Code/Data Prep/Social Networks/director_connections.do, line 3 use "./Pseudo Data/Governance Data/pseudo_matched_directors", clear./Pseudo Data/Governance Data/pseudo_matched_directors_12Statadirector_connections_2012.do:3
FMP_RCFS_Replication/Code/Data Prep/Social Networks/director_connections_2012.do, line 3 use "./Pseudo Data/Governance Data/pseudo_matched_directors_12", clear./Pseudo Data/Governance Data/pseudo_ownershipdata_matchedStata04_ownership_network.do:6
FMP_RCFS_Replication/Code/Data Prep/04_ownership_network.do, line 6 use "./Pseudo Data/Governance Data/pseudo_ownershipdata_matched", clear
2 · The file pipeline — which script writes which file that a later script reads
42 scripts, in the order the master script runs them; 49 hand-offs through 26 intermediate files; 7 files written and never read back (outputs).
-
1.
FMP_RCFS_Replication/Code/Data Prep/affected.dosetup file sourced by 2 scripts reads 2 input files · 1 merge · -
2.
FMP_RCFS_Replication/master.domaster script -
3.
FMP_RCFS_Replication/Code/Data Prep/00_compute_networks.dorun by FMP_RCFS_Replication/master.do line 64 reads 2 input files · 7 merges ·writesinstruments→ read by11_compensation.do,table_1.do,table_2.do,table_9_part2.do,table_10.do,figure_4.dowritestemp_firm_network_w0→ read bytable_5_col1.do,table_5_col2.do,table_5_col3.do,figure_1.dowritestemp_firm_network_w0.dta→ read bytable_5_col4.R,table_5_col4.dowrites (not read again):temp_firm_network_iv_1106_w1,temp_firm_network_iv_1112_w0,temp_firm_network_iv_1112_w1,temp_firm_network_w1 -
4.
FMP_RCFS_Replication/Code/Data Prep/01_returns.dorun by FMP_RCFS_Replication/master.do line 65 reads 4 input files · 5 merges ·reads whatrisk_adjusted_returns.dowrotewritescaps→ read by12_firm_outcomes.dowritescontrols_yearly→ read by09_final_data.do,figure_5.dowritesraw_returns→ read byrisk_adjusted_returns.do,ivol.dowritesreturns→ read by09_final_data.do -
5.
FMP_RCFS_Replication/Code/Data Prep/risk_adjusted_returns.dorun by FMP_RCFS_Replication/Code/Data Prep/01_returns.do line 130 2 estimationsreads what01_returns.dowrotewritesrisk_adjusted_returns→ read by01_returns.dowritesrisk_adjusted_returns_all→ read by02_yield_exposure.do,10_press_releases.do,figure_5.do -
6.
FMP_RCFS_Replication/Code/Data Prep/ivol.dorun by FMP_RCFS_Replication/Code/Data Prep/01_returns.do line 134 1 estimationreads what01_returns.dowrotewritesivol→ read by09_final_data.do -
7.
FMP_RCFS_Replication/Code/Data Prep/02_yield_exposure.dorun by FMP_RCFS_Replication/master.do line 66 reads 1 input file · 1 merge ·reads whatrisk_adjusted_returns.dowrotewritescorr_return_yield→ read by09_final_data.do -
8.
FMP_RCFS_Replication/Code/Data Prep/03_master_social_connections.dorun by FMP_RCFS_Replication/master.do line 67 -
9.
FMP_RCFS_Replication/Code/Data Prep/Social Networks/director_connections.dorun by FMP_RCFS_Replication/Code/Data Prep/03_master_social_connections.do line 5 reads 2 input files · 2 merges ·writessc_directors_execid_type→ read bynetwork_measures.do -
10.
FMP_RCFS_Replication/Code/Data Prep/Social Networks/network_measures.dorun by FMP_RCFS_Replication/Code/Data Prep/03_master_social_connections.do line 8 reads 1 input file · 5 merges ·reads whatdirector_connections.dowrotewritessc_firm_network→ read bynetwork_measures_12.do -
11.
FMP_RCFS_Replication/Code/Data Prep/Social Networks/director_connections_2012.dorun by FMP_RCFS_Replication/Code/Data Prep/03_master_social_connections.do line 11 reads 2 input files · 2 merges ·writessc_directors_execid_type_12→ read bynetwork_measures_12.do -
12.
FMP_RCFS_Replication/Code/Data Prep/Social Networks/network_measures_12.dorun by FMP_RCFS_Replication/Code/Data Prep/03_master_social_connections.do line 14 reads 1 input file · 6 merges ·reads whatnetwork_measures.do,director_connections_2012.dowrotewritessc_firm_all_delta→ read by09_final_data.do -
13.
FMP_RCFS_Replication/Code/Data Prep/04_ownership_network.dorun by FMP_RCFS_Replication/master.do line 68 reads 1 input file · 9 merges ·writesown→ read by09_final_data.do -
14.
FMP_RCFS_Replication/Code/Data Prep/05_number_customers_suppliers_partners_matched.dorun by FMP_RCFS_Replication/master.do line 69 reads 1 input file · 1 merge ·writesnumber_customers_suppliers_partners_matched→ read by09_final_data.do -
15.
FMP_RCFS_Replication/Code/Data Prep/06_characteristics.dorun by FMP_RCFS_Replication/master.do line 70 reads 2 input files · 3 merges ·writesdirector_characteristics_split→ read by09_final_data.dowrites (not read again):director_nfirms_nroles_full -
16.
FMP_RCFS_Replication/Code/Data Prep/07_count_directors_customer_suppliers.dorun by FMP_RCFS_Replication/master.do line 71 reads 3 input files · 4 merges ·writesdirectors_previous_partner_count→ read by09_final_data.dowrites (not read again):directors_previous_customer_count,directors_previous_supplier_count -
17.
FMP_RCFS_Replication/Code/Data Prep/08_ibes_variables.dorun by FMP_RCFS_Replication/master.do line 72 reads 2 input files · 1 merge ·writesibes_split_var→ read by09_final_data.do -
18.
FMP_RCFS_Replication/Code/Data Prep/09_final_data.dorun by FMP_RCFS_Replication/master.do line 73 reads 2 input files · 11 merges · 1 estimationreads what01_returns.do,ivol.do,02_yield_exposure.do,network_measures_12.do,04_ownership_network.do,05_number_customers_suppliers_partners_matched.do,06_characteristics.do,07_count_directors_customer_suppliers.do,08_ibes_variables.dowrotewritesFinal_data→ read bytable_1.do,table_3.do,table_4.do,table_5_col1.do,table_5_col2.do,table_5_col3.do,table_5_col4.do,table_6.do+3 more -
19.
FMP_RCFS_Replication/Code/Data Prep/10_press_releases.dorun by FMP_RCFS_Replication/master.do line 74 reads 1 input file · 2 merges ·reads whatrisk_adjusted_returns.dowrotewritesleft_id_ret→ read byfigure_3.dowritesstay_id_ret→ read byfigure_3.do -
20.
FMP_RCFS_Replication/Code/Data Prep/11_compensation.dorun by FMP_RCFS_Replication/master.do line 75 reads 2 input files · 2 merges ·reads what00_compute_networks.dowrotewritescompensation_network_firms→ read bytable_1.do,table_11.do -
21.
FMP_RCFS_Replication/Code/Data Prep/12_firm_outcomes.dorun by FMP_RCFS_Replication/master.do line 76 reads 3 input files · 3 merges ·reads what01_returns.dowrotewritesoutcomes_all→ read bytable_1.do,table_10.do -
22.
FMP_RCFS_Replication/Code/Main Results/table_1.dorun by FMP_RCFS_Replication/master.do line 88 1 merge · 3 estimationsreads what00_compute_networks.do,09_final_data.do,11_compensation.do,12_firm_outcomes.dowrote -
23.
FMP_RCFS_Replication/Code/Main Results/table_2.dorun by FMP_RCFS_Replication/master.do line 89 1 estimationreads what00_compute_networks.dowrote -
24.
FMP_RCFS_Replication/Code/Main Results/table_3.dorun by FMP_RCFS_Replication/master.do line 90 3 estimationsreads what09_final_data.dowrote -
25.
FMP_RCFS_Replication/Code/Main Results/table_4.dorun by FMP_RCFS_Replication/master.do line 91 9 estimationsreads what09_final_data.dowrote
17 more scripts
-
26.
FMP_RCFS_Replication/Code/Main Results/table_5.dorun by FMP_RCFS_Replication/master.do line 93 -
27.
FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col1.dorun by FMP_RCFS_Replication/Code/Main Results/table_5.do line 3 reads 2 input files · 5 merges · 2 estimationsreads what00_compute_networks.do,09_final_data.dowrote -
28.
FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col2.dorun by FMP_RCFS_Replication/Code/Main Results/table_5.do line 4 reads 2 input files · 5 merges · 2 estimationsreads what00_compute_networks.do,09_final_data.dowrote -
29.
FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col3.dorun by FMP_RCFS_Replication/Code/Main Results/table_5.do line 5 reads 2 input files · 8 merges · 4 estimationsreads what00_compute_networks.do,09_final_data.dowrote -
30.
FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col4.Rrun by FMP_RCFS_Replication/Code/Main Results/table_5.do line 10reads what00_compute_networks.dowrotewritesfile_`ThisIter'.dta→ read bytable_5_col4.do -
31.
FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col4.dorun by FMP_RCFS_Replication/Code/Main Results/table_5.do line 12 14 merges · 3 estimationsreads what00_compute_networks.do,09_final_data.do,table_5_col4.Rwrote -
32.
FMP_RCFS_Replication/Code/Main Results/table_6.dorun by FMP_RCFS_Replication/master.do line 94 2 estimationsreads what09_final_data.dowrote -
33.
FMP_RCFS_Replication/Code/Main Results/table_7.dorun by FMP_RCFS_Replication/master.do line 95 1 estimationreads what09_final_data.dowrote -
34.
FMP_RCFS_Replication/Code/Main Results/table_8.dorun by FMP_RCFS_Replication/master.do line 96 4 estimationsreads what09_final_data.dowrote -
35.
FMP_RCFS_Replication/Code/Main Results/table_9_part1.dorun by FMP_RCFS_Replication/master.do line 97 1 estimationreads what09_final_data.dowrote -
36.
FMP_RCFS_Replication/Code/Main Results/table_9_part2.dorun by FMP_RCFS_Replication/master.do line 98 2 estimationsreads what00_compute_networks.dowrote -
37.
FMP_RCFS_Replication/Code/Main Results/table_10.dorun by FMP_RCFS_Replication/master.do line 99 1 merge · 1 estimationreads what00_compute_networks.do,12_firm_outcomes.dowrote -
38.
FMP_RCFS_Replication/Code/Main Results/table_11.dorun by FMP_RCFS_Replication/master.do line 100 2 merges · 12 estimationsreads what11_compensation.dowrote -
39.
FMP_RCFS_Replication/Code/Main Results/figure_1.dorun by FMP_RCFS_Replication/master.do line 103reads what00_compute_networks.dowrote -
40.
FMP_RCFS_Replication/Code/Main Results/figure_3.dorun by FMP_RCFS_Replication/master.do line 104 reads 1 input file · 3 merges ·reads what10_press_releases.dowrote -
41.
FMP_RCFS_Replication/Code/Main Results/figure_4.dorun by FMP_RCFS_Replication/master.do line 105 1 estimationreads what00_compute_networks.dowrote -
42.
FMP_RCFS_Replication/Code/Main Results/figure_5.dorun by FMP_RCFS_Replication/master.do line 106 reads 1 input file · 2 merges · 1 estimationreads what01_returns.do,risk_adjusted_returns.dowrote
3 · Merges — 78 joins, 22 followed by a check of the merge result; 28 appends
| Joins | How | On keys | Check that follows | Where |
|---|---|---|---|---|
pseudo_board_complete ← temp_drop |
merge m:1 | id1 id2 |
none | affected.do:60FMP_RCFS_Replication/Code/Data Prep/affected.do, line 60
merge m:1 id1 id2 using `temp_drop', nogen keep(3) |
pseudo_board_complete ← pseudo_drop_directors |
merge 1:1 | id execid |
drop if merge==3 |
00_compute_networks.do:146FMP_RCFS_Replication/Code/Data Prep/00_compute_networks.do, line 146
merge 1:1 id execid using "./Pseudo Data/Governance Data/pseudo_drop_directors", gen(merge) |
temp_firm_network_w0 ← temp_firm_network_iv_1106_w0 |
merge m:1 | id |
none | 00_compute_networks.do:257FMP_RCFS_Replication/Code/Data Prep/00_compute_networks.do, line 257
merge m:1 id using "./Process/temp_firm_network_iv_1106_w0", keep(3) nogenerate |
pseudo_daily_italy ← pseudo_csho_datastream_monthly |
merge 1:1 | gvkey year month |
none | 01_returns.do:34FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 34
merge 1:1 gvkey year month using "./Pseudo Data/Financial Data/pseudo_csho_datastream_monthly",keep(3) nogenerate |
pseudo_compustat ← caps |
merge m:1 | gvkey year month |
none | 01_returns.do:76FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 76
merge m:1 gvkey year month using "./Process/caps",keep(1 3) nogenerate |
pseudo_daily_italy ← time |
merge m:1 | datadate |
none | 01_returns.do:102FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 102
merge m:1 datadate using "./Process/time",nogenerate |
pseudo_daily_italy ← fff |
merge m:1 | datadate |
none | 01_returns.do:121FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 121
merge m:1 datadate using "./Pseudo Data/Financial Data/fff",keep(3) nogenerate |
raw_returns ← risk_adjusted_returns |
merge 1:1 | gvkey |
none | 01_returns.do:170FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 170
merge 1:1 gvkey using "./Process/risk_adjusted_returns" ,nogenerate |
pseudo_ger.ita ← risk_adjusted_returns_all |
merge 1:m | datadate |
keep if _merge == 3 |
02_yield_exposure.do:13FMP_RCFS_Replication/Code/Data Prep/02_yield_exposure.do, line 13
merge 1:m datadate using "./Process/risk_adjusted_returns_all" |
pseudo_directornetworkseu ← matched_directors_num |
merge m:1 | DirectorID |
keep if _merge==3 |
director_connections.do:11FMP_RCFS_Replication/Code/Data Prep/Social Networks/director_connections.do, line 11
merge m:1 DirectorID using "./Process/matched_directors_num" |
pseudo_directornetworkseu ← matched_directors_num |
merge m:1 | DirectorID |
keep if _merge==3 |
director_connections.do:19FMP_RCFS_Replication/Code/Data Prep/Social Networks/director_connections.do, line 19
merge m:1 DirectorID using "./Process/matched_directors_num" |
sc_directors_execid_type ← temp |
join m:m (outer) | execid |
drop if merge1==2 |
network_measures.do:17FMP_RCFS_Replication/Code/Data Prep/Social Networks/network_measures.do, line 17
joinby execid using `temp', unm(both) _merge(merge1) |
sc_directors_execid_type ← temp |
join m:m (outer) | execid |
drop if merge2==2 |
network_measures.do:25FMP_RCFS_Replication/Code/Data Prep/Social Networks/network_measures.do, line 25
joinby execid using `temp', unm(both) _merge(merge2) |
sc_firm_network_noqou_lis ← sc_firm_network_all |
merge 1:1 | id |
none | network_measures.do:184FMP_RCFS_Replication/Code/Data Prep/Social Networks/network_measures.do, line 184
merge 1:1 id using "./Process/sc_firm_network_all" |
pseudo_directornetworkseu ← matched_directors_12_num |
merge m:1 | DirectorID |
keep if _merge==3 |
director_connections_2012.do:11FMP_RCFS_Replication/Code/Data Prep/Social Networks/director_connections_2012.do, line 11
merge m:1 DirectorID using "./Process/matched_directors_12_num" |
pseudo_directornetworkseu ← matched_directors_12_num |
merge m:1 | DirectorID |
keep if _merge==3 |
director_connections_2012.do:19FMP_RCFS_Replication/Code/Data Prep/Social Networks/director_connections_2012.do, line 19
merge m:1 DirectorID using "./Process/matched_directors_12_num" |
sc_directors_execid_type_12 ← temp |
join m:m (outer) | execid |
keep if merge1==3 |
network_measures_12.do:18FMP_RCFS_Replication/Code/Data Prep/Social Networks/network_measures_12.do, line 18
joinby execid using `temp', unm(both) _merge(merge1) |
sc_directors_execid_type_12 ← temp |
join m:m (outer) | execid |
keep if merge2==3 |
network_measures_12.do:25FMP_RCFS_Replication/Code/Data Prep/Social Networks/network_measures_12.do, line 25
joinby execid using `temp', unm(both) _merge(merge2) |
sc_firm_network_noqou_lis_12 ← sc_firm_network_all_12 |
merge 1:1 | id |
none | network_measures_12.do:186FMP_RCFS_Replication/Code/Data Prep/Social Networks/network_measures_12.do, line 186
merge 1:1 id using "./Process/sc_firm_network_all_12" |
sc_firm_network ← sc_firm_network_12 |
merge 1:1 | id |
none | network_measures_12.do:217FMP_RCFS_Replication/Code/Data Prep/Social Networks/network_measures_12.do, line 217
merge 1:1 id using "./Process/sc_firm_network_12", keep(1 3) nogen |
own_network_listed ← own_network_italian |
merge 1:1 | gvkey |
drop _merge |
04_ownership_network.do:232FMP_RCFS_Replication/Code/Data Prep/04_ownership_network.do, line 232
merge 1:1 gvkey using "./Process/own_network_italian" |
own_network_listed ← own_network_allfirms |
merge 1:1 | gvkey |
drop _merge |
04_ownership_network.do:235FMP_RCFS_Replication/Code/Data Prep/04_ownership_network.do, line 235
merge 1:1 gvkey using "./Process/own_network_allfirms" |
own_network_listed ← own_network_allfirmsphuman |
merge 1:1 | gvkey |
drop _merge |
04_ownership_network.do:238FMP_RCFS_Replication/Code/Data Prep/04_ownership_network.do, line 238
merge 1:1 gvkey using "./Process/own_network_allfirmsphuman" |
own_network_listed ← own_network_inst |
merge 1:1 | gvkey |
drop _merge |
04_ownership_network.do:241FMP_RCFS_Replication/Code/Data Prep/04_ownership_network.do, line 241
merge 1:1 gvkey using "./Process/own_network_inst" |
(data in memory) ← temp |
merge 1:1 | id |
none | 05_number_customers_suppliers_partners_matched.do:21FMP_RCFS_Replication/Code/Data Prep/05_number_customers_suppliers_partners_matched.do, line 21
merge 1:1 id using `temp', nogen |
(data in memory) ← time |
merge m:1 | year month |
none | 06_characteristics.do:100FMP_RCFS_Replication/Code/Data Prep/06_characteristics.do, line 100
merge m:1 year month using `time' |
pseudo_board_complete ← director_nfirms_nroles |
merge m:1 | execid |
none | 06_characteristics.do:115FMP_RCFS_Replication/Code/Data Prep/06_characteristics.do, line 115
merge m:1 execid using "./Process/director_nfirms_nroles", gen(merge_nfirms_nroles) keep(1 3) |
pseudo_board_complete ← director_tenure |
merge 1:1 | id execid year month |
none | 06_characteristics.do:117FMP_RCFS_Replication/Code/Data Prep/06_characteristics.do, line 117
merge 1:1 id execid year month using "./Process/director_tenure", gen(merge_tenure) keep(1 3) |
pseudo_board_complete_long ← temp |
merge m:1 | id |
none | 07_count_directors_customer_suppliers.do:49FMP_RCFS_Replication/Code/Data Prep/07_count_directors_customer_suppliers.do, line 49
merge m:1 id using `temp', keep(3) nogen |
pseudo_board_complete_long ← temp2 |
merge m:1 | execid |
none | 07_count_directors_customer_suppliers.do:55FMP_RCFS_Replication/Code/Data Prep/07_count_directors_customer_suppliers.do, line 55
merge m:1 execid using `temp2', keep(3) nogen |
pseudo_ibes_summary_eps_netincome ← pseudo_ibes_gvkey |
merge m:1 | ticker |
keep if _merge==3 |
08_ibes_variables.do:9FMP_RCFS_Replication/Code/Data Prep/08_ibes_variables.do, line 9
merge m:1 ticker using "./Pseudo Data/Financial Data/pseudo_ibes_gvkey" |
returns ← instruments_es |
merge m:1 | id |
none | 09_final_data.do:11FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 11
merge m:1 id using "./Process/instruments_es", keep(3) nogenerate |
returns ← controls_yearly |
merge 1:1 | year id |
none | 09_final_data.do:16FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 16
merge 1:1 year id using "./Process/controls_yearly",keep(1 3) nogenerate |
returns ← ivol |
merge 1:1 | gvkey |
none | 09_final_data.do:37FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 37
merge 1:1 gvkey using "./Process/ivol" ,nogenerate |
returns ← ibes_split_var |
merge m:1 | id |
none | 09_final_data.do:47FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 47
merge m:1 id using "./Process/ibes_split_var", keep(1 3) nogenerate |
returns ← corr_return_yield |
merge m:1 | id |
none | 09_final_data.do:80FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 80
merge m:1 id using "./Process/corr_return_yield", nogen keep(3) |
returns ← pseudo_age |
merge m:1 | gvkey |
none | 09_final_data.do:82FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 82
merge m:1 gvkey using "./Pseudo Data/Governance Data/pseudo_age", keep(1 3) nogen |
returns ← sc_firm_all_delta |
merge 1:1 | id |
none | 09_final_data.do:84FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 84
merge 1:1 id using "./Process/sc_firm_all_delta", gen(merge_soc) keep(1 3) |
returns ← own |
merge 1:1 | gvkey |
none | 09_final_data.do:129FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 129
merge 1:1 gvkey using "Process/own" ,keep(1 3) nogen |
returns ← number_customers_suppliers_partners_matched |
merge 1:1 | id |
none | 09_final_data.do:145FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 145
merge 1:1 id using "./Process/number_customers_suppliers_partners_matched", keep(1 3) nogen |
returns ← director_characteristics_split |
merge 1:1 | id |
none | 09_final_data.do:153FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 153
merge 1:1 id using "./Process/director_characteristics_split", gen(merge_characteristics) keep(1 3) |
returns ← directors_previous_partner_count |
merge 1:1 | id |
none | 09_final_data.do:155FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 155
merge 1:1 id using "./Process/directors_previous_partner_count", keep(1 3) nogen |
pseudo_press_release ← risk_adjusted_returns_all |
join m:m (outer) | id |
tab merge |
10_press_releases.do:20FMP_RCFS_Replication/Code/Data Prep/10_press_releases.do, line 20
joinby id using "./Process/risk_adjusted_returns_all", unm(both) _merge(merge) |
(data in memory) ← control |
merge m:1 | datadate |
none | 10_press_releases.do:37FMP_RCFS_Replication/Code/Data Prep/10_press_releases.do, line 37
merge m:1 datadate using `control', nogen keep(3) |
pseudo_board_complete ← instruments |
merge m:1 | id year month |
none | 11_compensation.do:2FMP_RCFS_Replication/Code/Data Prep/11_compensation.do, line 2
merge m:1 id year month using "./Process/instruments", keep(3) nogenerate |
pseudo_board_complete ← pseudo_italy_compensation_total |
merge 1:1 | execid id year month |
none | 11_compensation.do:68FMP_RCFS_Replication/Code/Data Prep/11_compensation.do, line 68
merge 1:1 execid id year month using "./Pseudo Data/Governance Data/pseudo_italy_compensation_total", nogenerate keep(3) |
pseudo_compustat ← caps |
merge m:1 | gvkey year month |
none | 12_firm_outcomes.do:17FMP_RCFS_Replication/Code/Data Prep/12_firm_outcomes.do, line 17
merge m:1 gvkey year month using "./Process/caps",keep(1 3) nogenerate |
pseudo_ask ← pseudo_bid |
merge 1:1 | datadate gvkey |
none | 12_firm_outcomes.do:34FMP_RCFS_Replication/Code/Data Prep/12_firm_outcomes.do, line 34
merge 1:1 datadate gvkey using "./Pseudo Data/Financial Data/pseudo_bid" |
firm_outcomes_compustat ← liquidity |
merge 1:1 | gvkey year |
drop if merge1 == 2 |
12_firm_outcomes.do:68FMP_RCFS_Replication/Code/Data Prep/12_firm_outcomes.do, line 68
merge 1:1 gvkey year using "./Process/liquidity", gen(merge1) |
instruments ← outcomes_all |
merge 1:1 | year id |
none | table_1.do:125FMP_RCFS_Replication/Code/Main Results/table_1.do, line 125
merge 1:1 year id using "./Process/outcomes_all", keep(3) nogen |
(data in memory) ← temp |
merge m:1 | execid |
drop if merge==3 |
table_5_col1.do:37FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col1.do, line 37
merge m:1 execid using `temp', gen(merge) |
temp_firm_network_w0 ← sim_network |
merge m:1 | id |
none | table_5_col1.do:133FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col1.do, line 133
merge m:1 id using "./Process/sim_network", keep(3) nogenerate |
temp_firm_network_w0 ← final_data |
merge 1:m | id |
none | table_5_col1.do:225FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col1.do, line 225
merge 1:m id using "./Process/Final_data" |
pseudo_board_complete ← broken_links |
merge 1:1 | id1 id2 |
none | table_5_col2.do:47FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col2.do, line 47
merge 1:1 id1 id2 using "./Pseudo Data/Governance Data/broken_links", nogen keep(1) |
temp_firm_network_w0 ← drop_links_sim_network |
merge m:1 | id |
none | table_5_col2.do:130FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col2.do, line 130
merge m:1 id using "./Process/drop_links_sim_network", keep(3) nogenerate |
temp_firm_network_w0 ← final_data |
merge 1:m | id |
none | table_5_col2.do:224FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col2.do, line 224
merge 1:m id using "./Process/Final_data" |
(data in memory) ← temp_drop |
merge m:1 | id id2 |
none | table_5_col3.do:55FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col3.do, line 55
merge m:1 id id2 using `temp_drop', keep(3) nogen |
pseudo_board_complete ← drop_directors_temp |
merge 1:1 | id execid |
drop if merge==3 |
table_5_col3.do:148FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col3.do, line 148
merge 1:1 id execid using `drop_directors_temp', gen(merge) |
temp_firm_network_w0 ← random_sim_network |
merge m:1 | id |
none | table_5_col3.do:243FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col3.do, line 243
merge m:1 id using "./Process/random_sim_network", keep(3) nogenerate |
temp_firm_network_w0 ← final_data |
merge 1:m | id |
none | table_5_col3.do:344FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col3.do, line 344
merge 1:m id using "./Process/Final_data" |
temp_firm_network_w0 ← final_data |
merge 1:m | id |
none | table_5_col3.do:349FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col3.do, line 349
merge 1:m id using "./Process/Final_data" |
temp ← id_assign |
merge 1:1 | degree nid |
keep if _merge==2 |
table_5_col4.do:81FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col4.do, line 81
merge 1:1 degree nid using `id_assign' |
file_`thisiter' ← temp_id |
merge m:1 | — | none | table_5_col4.do:103FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col4.do, line 103
merge m:1 from using `temp_id', keep(3) nogen |
file_`thisiter' ← temp_id |
merge m:1 | to |
none | table_5_col4.do:107FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col4.do, line 107
merge m:1 to using `temp_id', keep(3) nogen |
file_`thisiter' ← temp_ind_to |
merge m:1 | id_to |
none | table_5_col4.do:111FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col4.do, line 111
merge m:1 id_to using `temp_ind_to', keep(3) nogen |
file_`thisiter' ← temp_ind_from |
merge m:1 | id_from |
none | table_5_col4.do:112FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col4.do, line 112
merge m:1 id_from using `temp_ind_from', keep(3) nogen |
network ← temp_ind_to |
merge m:1 | id_to |
none | table_5_col4.do:185FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col4.do, line 185
merge m:1 id_to using `temp_ind_to', keep(3) nogen |
network ← temp_ind_from |
merge m:1 | id_from |
none | table_5_col4.do:186FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col4.do, line 186
merge m:1 id_from using `temp_ind_from', keep(3) nogen |
network ← network_before |
merge 1:1 | id |
none | table_5_col4.do:245FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col4.do, line 245
merge 1:1 id using `network_before' |
network ← final_data |
merge 1:m | id |
none | table_5_col4.do:273FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col4.do, line 273
merge 1:m id using "./Process/Final_data" |
instruments ← outcomes_all |
merge 1:1 | year id |
drop if _merge==1 |
table_10.do:37FMP_RCFS_Replication/Code/Main Results/table_10.do, line 37
merge 1:1 year id using "./Process/outcomes_all" |
(data in memory) ← temp |
merge 1:1 | id dateid year |
none | table_11.do:82FMP_RCFS_Replication/Code/Main Results/table_11.do, line 82
merge 1:1 id dateid year using `temp', gen(merge) keep(3) |
(data in memory) ← temp |
merge 1:1 | id dateid year |
none | table_11.do:119FMP_RCFS_Replication/Code/Main Results/table_11.do, line 119
merge 1:1 id dateid year using `temp', gen(merge) keep(3) |
left_id_ret ← stay_id_ret |
merge 1:1 | n time_norm |
none | figure_3.do:13FMP_RCFS_Replication/Code/Main Results/figure_3.do, line 13
merge 1:1 n time_norm using "./Process/stay_id_ret" |
left_id_ret ← pseudo_press_release |
merge m:1 | n |
drop _merge |
figure_3.do:23FMP_RCFS_Replication/Code/Main Results/figure_3.do, line 23
merge m:1 n using "./Pseudo Data/Governance Data/pseudo_press_release" , keep(3) |
(data in memory) ← mean |
merge m:1 | time_norm wrong_predict |
none | figure_3.do:40FMP_RCFS_Replication/Code/Main Results/figure_3.do, line 40
merge m:1 time_norm wrong_predict using `mean', nogen keep(1 3) |
risk_adjusted_returns_all ← instruments_es |
merge m:1 | id |
none | figure_5.do:9FMP_RCFS_Replication/Code/Main Results/figure_5.do, line 9
merge m:1 id using "./Process/instruments_es", keep(1 3) nogenerate |
risk_adjusted_returns_all ← controls_yearly |
merge m:1 | year id |
none | figure_5.do:35FMP_RCFS_Replication/Code/Main Results/figure_5.do, line 35
merge m:1 year id using "./Process/controls_yearly" ,keep(1 3) nogenerate |
4 · The sample — 182 keep/drop steps, 54 variables winsorized or trimmed
Filters, by kind
time period ×57
- keep if
year==2011 & month==6affected.do:38
FMP_RCFS_Replication/Code/Data Prep/affected.do, line 38 keep if year==2011 & month==6 - keep if
year==2011 & month==600_compute_networks.do:136
FMP_RCFS_Replication/Code/Data Prep/00_compute_networks.do, line 136 keep if year==2011 & month==6 - keep if
year==2011 & month==1200_compute_networks.do:139
FMP_RCFS_Replication/Code/Data Prep/00_compute_networks.do, line 139 keep if year==2011 & month==12 - keep if
inrange(year,2009,2014)00_compute_networks.do:256
FMP_RCFS_Replication/Code/Data Prep/00_compute_networks.do, line 256 keep if inrange(year,2009,2014) - keep if
datadate==d(06 dec2011)01_returns.do:168
FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 168 keep if datadate==d($day dec2011) as we read it (macros filled in / loop expanded): keep if datadate==d(06 dec2011) - keep if
datadate==d($day dec2011)risk_adjusted_returns.do:90
FMP_RCFS_Replication/Code/Data Prep/risk_adjusted_returns.do, line 90 keep if datadate==d($day dec2011) - keep if
ym<=`r(mean)' & ym>=`r(mean)'-11ivol.do:9
FMP_RCFS_Replication/Code/Data Prep/ivol.do, line 9 keep if ym<=`r(mean)' & ym>=`r(mean)'-11 - keep if
year(datadate)==201102_yield_exposure.do:8
FMP_RCFS_Replication/Code/Data Prep/02_yield_exposure.do, line 8 keep if year(datadate)==2011 - first 8 of 57
value ranges ×52
- drop if
strpos(alltext_role,"SUP")>0 & strpos(alltext_role,"PRESIDENTE")==0 & strpos(alltext_role,"EFFET")==0affected.do:41
FMP_RCFS_Replication/Code/Data Prep/affected.do, line 41 drop if strpos(alltext_role,"SUP")>0 & strpos(alltext_role,"PRESIDENTE")==0 & strpos(alltext_role,"EFFET")==0 - drop if
id > id2affected.do:53
FMP_RCFS_Replication/Code/Data Prep/affected.do, line 53 drop if id > id2 - drop if
id == id2affected.do:54
FMP_RCFS_Replication/Code/Data Prep/affected.do, line 54 drop if id == id2 - drop if
strpos(alltext_role,"SUP")>0 & strpos(alltext_role,"PRESIDENTE")==0 & strpos(alltext_role,"EFFET")==000_compute_networks.do:29
FMP_RCFS_Replication/Code/Data Prep/00_compute_networks.do, line 29 drop if strpos(alltext_role,"SUP")>0 & strpos(alltext_role,"PRESIDENTE")==0 & strpos(alltext_role,"EFFET")==0 - drop if
id > id200_compute_networks.do:41
FMP_RCFS_Replication/Code/Data Prep/00_compute_networks.do, line 41 drop if id > id2 - drop if
id1==id200_compute_networks.do:64
FMP_RCFS_Replication/Code/Data Prep/00_compute_networks.do, line 64 drop if id1==id2 - drop if
strpos(alltext_role,"SUP")>0 & strpos(alltext_role,"PRESIDENTE")==0 & strpos(alltext_role,"EFFET")==000_compute_networks.do:144
FMP_RCFS_Replication/Code/Data Prep/00_compute_networks.do, line 144 drop if strpos(alltext_role,"SUP")>0 & strpos(alltext_role,"PRESIDENTE")==0 & strpos(alltext_role,"EFFET")==0 - drop if
id > id200_compute_networks.do:159
FMP_RCFS_Replication/Code/Data Prep/00_compute_networks.do, line 159 drop if id > id2 - first 8 of 52
category values ×19
- drop if
merge==300_compute_networks.do:147
FMP_RCFS_Replication/Code/Data Prep/00_compute_networks.do, line 147 drop if merge==3 - drop if
merge1==2network_measures.do:19
FMP_RCFS_Replication/Code/Data Prep/Social Networks/network_measures.do, line 19 drop if merge1==2 - drop if
merge2==2network_measures.do:26
FMP_RCFS_Replication/Code/Data Prep/Social Networks/network_measures.do, line 26 drop if merge2==2 - drop if
inlist(type,5,6)network_measures.do:133
FMP_RCFS_Replication/Code/Data Prep/Social Networks/network_measures.do, line 133 drop if inlist(type,5,6) - keep if
merge1==3network_measures_12.do:19
FMP_RCFS_Replication/Code/Data Prep/Social Networks/network_measures_12.do, line 19 keep if merge1==3 - keep if
merge2==3network_measures_12.do:26
FMP_RCFS_Replication/Code/Data Prep/Social Networks/network_measures_12.do, line 26 keep if merge2==3 - drop if
inlist(type,5,6)network_measures_12.do:135
FMP_RCFS_Replication/Code/Data Prep/Social Networks/network_measures_12.do, line 135 drop if inlist(type,5,6) - keep if
own_type=="Proprieta'"04_ownership_network.do:9
FMP_RCFS_Replication/Code/Data Prep/04_ownership_network.do, line 9 keep if own_type=="Proprieta'" - first 8 of 19
indicator subsets ×18
- keep if
arbit==004_ownership_network.do:8
FMP_RCFS_Replication/Code/Data Prep/04_ownership_network.do, line 8 keep if arbit==0 - drop if
(human==1|Non_comercial_inst ==1|foreign_commercial == 1)04_ownership_network.do:10
FMP_RCFS_Replication/Code/Data Prep/04_ownership_network.do, line 10 drop if (human==1|Non_comercial_inst ==1|foreign_commercial == 1) - drop if
(human==1|Non_comercial_inst ==1|foreign_commercial == 1)04_ownership_network.do:56
FMP_RCFS_Replication/Code/Data Prep/04_ownership_network.do, line 56 drop if (human==1|Non_comercial_inst ==1|foreign_commercial == 1) - drop if
(human==1|Non_comercial_inst ==1)04_ownership_network.do:102
FMP_RCFS_Replication/Code/Data Prep/04_ownership_network.do, line 102 drop if (human==1|Non_comercial_inst ==1) - keep if
arbit==004_ownership_network.do:138
FMP_RCFS_Replication/Code/Data Prep/04_ownership_network.do, line 138 keep if arbit==0 - drop if
(Non_comercial_inst ==1)04_ownership_network.do:146
FMP_RCFS_Replication/Code/Data Prep/04_ownership_network.do, line 146 drop if (Non_comercial_inst ==1) - keep if
arbit==004_ownership_network.do:182
FMP_RCFS_Replication/Code/Data Prep/04_ownership_network.do, line 182 keep if arbit==0 - drop if
(Non_comercial_inst ==1)04_ownership_network.do:190
FMP_RCFS_Replication/Code/Data Prep/04_ownership_network.do, line 190 drop if (Non_comercial_inst ==1) - first 8 of 18
missing values ×22
- drop if
missing(id1)affected.do:31
FMP_RCFS_Replication/Code/Data Prep/affected.do, line 31 drop if missing(id1) - drop if
missing(id)00_compute_networks.do:118
FMP_RCFS_Replication/Code/Data Prep/00_compute_networks.do, line 118 drop if missing(id) - drop if
missing(id)00_compute_networks.do:230
FMP_RCFS_Replication/Code/Data Prep/00_compute_networks.do, line 230 drop if missing(id) - drop if
netret==.ivol.do:12
FMP_RCFS_Replication/Code/Data Prep/ivol.do, line 12 drop if netret==. - drop if
MktRF==.ivol.do:13
FMP_RCFS_Replication/Code/Data Prep/ivol.do, line 13 drop if MktRF==. - drop if
missing(corr_ret_mm)02_yield_exposure.do:66
FMP_RCFS_Replication/Code/Data Prep/02_yield_exposure.do, line 66 drop if missing(corr_ret_mm) - drop if
check_year_begin>2010 & !missing(check_year_begin)director_connections.do:34
FMP_RCFS_Replication/Code/Data Prep/Social Networks/director_connections.do, line 34 drop if check_year_begin>2010 & !missing(check_year_begin) - drop if
check_year_begin>2011 & !missing(check_year_begin)director_connections_2012.do:35
FMP_RCFS_Replication/Code/Data Prep/Social Networks/director_connections_2012.do, line 35 drop if check_year_begin>2011 & !missing(check_year_begin) - first 8 of 22
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
year==`year' & month==`month'00_compute_networks.do:26
FMP_RCFS_Replication/Code/Data Prep/00_compute_networks.do, line 26 keep if year==`year' & month==`month' - keep if
datadate==max01_returns.do:32
FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 32 keep if datadate==max - keep if
max==datadate01_returns.do:46
FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 46 keep if max==datadate - keep if
statpers==maxdate08_ibes_variables.do:53
FMP_RCFS_Replication/Code/Data Prep/08_ibes_variables.do, line 53 keep if statpers==maxdate - keep if
max==datadate12_firm_outcomes.do:5
FMP_RCFS_Replication/Code/Data Prep/12_firm_outcomes.do, line 5 keep if max==datadate
drops after a merge (_merge) ×9
- keep if
_merge == 302_yield_exposure.do:22
FMP_RCFS_Replication/Code/Data Prep/02_yield_exposure.do, line 22 keep if _merge == 3 - keep if
_merge==3director_connections.do:13
FMP_RCFS_Replication/Code/Data Prep/Social Networks/director_connections.do, line 13 keep if _merge==3 - keep if
_merge==3director_connections.do:21
FMP_RCFS_Replication/Code/Data Prep/Social Networks/director_connections.do, line 21 keep if _merge==3 - keep if
_merge==3director_connections_2012.do:13
FMP_RCFS_Replication/Code/Data Prep/Social Networks/director_connections_2012.do, line 13 keep if _merge==3 - keep if
_merge==3director_connections_2012.do:21
FMP_RCFS_Replication/Code/Data Prep/Social Networks/director_connections_2012.do, line 21 keep if _merge==3 - keep if
_merge==308_ibes_variables.do:12
FMP_RCFS_Replication/Code/Data Prep/08_ibes_variables.do, line 12 keep if _merge==3 - keep if
_merge==2table_5_col4.do:84
FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col4.do, line 84 keep if _merge==2 - keep if
_merge == 3table_5_col4.do:92
FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col4.do, line 92 keep if _merge == 3 - first 8 of 9
Outliers
winsorize at 1/99
· 54 variables
*_inst roa logat tq lcap corr_ret_mm ndirector_aff delta_pca_noqou_lis ivol numestEPS stdev age +42table_1.do:7
FMP_RCFS_Replication/Code/Main Results/table_1.do, line 7
winsor2 `ThisVar', cut(1 99)
table_1.do:100
FMP_RCFS_Replication/Code/Main Results/table_1.do, line 100
winsor2 pc1, cut(1 99)
table_1.do:144
FMP_RCFS_Replication/Code/Main Results/table_1.do, line 144
winsor2 tq *pqs_dec_nov roa lev, cut(1 99)
table_1.do:197
FMP_RCFS_Replication/Code/Main Results/table_1.do, line 197
winsor2 tcomp, cut(1 99)
Missing values
dropped ×22
director_connections_2012.do:35
FMP_RCFS_Replication/Code/Data Prep/Social Networks/director_connections_2012.do, line 35 drop if check_year_begin>2011 & !missing(check_year_begin)09_final_data.do:66
FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 66 drop if missing(car01_mm)director_connections.do:34
FMP_RCFS_Replication/Code/Data Prep/Social Networks/director_connections.do, line 34 drop if check_year_begin>2010 & !missing(check_year_begin)ivol.do:12
FMP_RCFS_Replication/Code/Data Prep/ivol.do, line 12 drop if netret==.ivol.do:13
FMP_RCFS_Replication/Code/Data Prep/ivol.do, line 13 drop if MktRF==.table_5_col4.do:5
FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col4.do, line 5 drop if missing(id)
set to zero ×8
numestEPS→009_final_data.do:50
FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 50 replace numestEPS = 0 if missing(numestEPS)partners_matched→009_final_data.do:149
FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 149 replace `ThisVar' = 0 if missing(`ThisVar')customers_matched→009_final_data.do:149
FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 149 replace `ThisVar' = 0 if missing(`ThisVar')suppliers_matched→009_final_data.do:149
FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 149 replace `ThisVar' = 0 if missing(`ThisVar')partner_count→009_final_data.do:161
FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 161 replace partner_count = 0 if missing(partner_count)numestEPS→008_ibes_variables.do:80
FMP_RCFS_Replication/Code/Data Prep/08_ibes_variables.do, line 80 replace numestEPS = 0 if missing(numestEPS)
common sample across variables (listwise) ×6
07_count_directors_customer_suppliers.do:82
FMP_RCFS_Replication/Code/Data Prep/07_count_directors_customer_suppliers.do, line 82 qui: unique execid if !missing(execid) , by(id) gen(prev_customers_dir)07_count_directors_customer_suppliers.do:91
FMP_RCFS_Replication/Code/Data Prep/07_count_directors_customer_suppliers.do, line 91 qui: unique execid if !missing(execid) , by(id) gen(prev_customers_dir)07_count_directors_customer_suppliers.do:101
FMP_RCFS_Replication/Code/Data Prep/07_count_directors_customer_suppliers.do, line 101 qui: unique execid if !missing(execid) , by(id) gen(prev_customers_dir)table_1.do:159
FMP_RCFS_Replication/Code/Main Results/table_1.do, line 159 gen sample_`ThisOut' = e(sample)table_1.do:202
FMP_RCFS_Replication/Code/Main Results/table_1.do, line 202 gen sample = e(sample)table_1.do:233
FMP_RCFS_Replication/Code/Main Results/table_1.do, line 233 gen sample = e(sample)
interpolated / carried forward ×2
08_ibes_variables.do:69
FMP_RCFS_Replication/Code/Data Prep/08_ibes_variables.do, line 69 tsfill, full08_ibes_variables.do:73
FMP_RCFS_Replication/Code/Data Prep/08_ibes_variables.do, line 73 bysort id: carryforward `var', replace
filled with a value ×1
numli→oibdp01_returns.do:88
FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 88 replace numli=oibdp if numli==.
5 · Key variables — what enters the models, and where the code builds it
Standard measures computed here:
Analyst Following (), Book Leverage (), Log Total Assets (), Operating Margin (), R&D Intensity (), Return on Assets (ROA) (), Sales Growth (), Tangibility (PPE/Assets) ()
lnum 09_final_data.do:51
FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 51
gen lnum=log(1+numestEPS)
lev 01_returns.do:59
FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 59
gen lev=(dltt+dlc)/at
logat 01_returns.do:53
FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 53
gen logat=log(at)
li 01_returns.do:89
FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 89
gen li=numli/sale
xrd_sale 01_returns.do:65
FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 65
gen xrd_sale = xrd/sale
roa 01_returns.do:56
FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 56
gen roa=ib/l.at
saleg 01_returns.do:50
FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 50
gen saleg=log(sale)-log(l.sale)
tang 01_returns.do:62
FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 62
gen tang = ppent/l1.at
| Variable | Used in models as | Built by |
|---|---|---|
car1_mm |
outcome in 18 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
ltcomp_w |
outcome in 12 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
pc1 |
endogenous in 8, regressor in 6 | pc1 = predict() (predict) 00_compute_networks.do:273FMP_RCFS_Replication/Code/Data Prep/00_compute_networks.do, line 273
predict pc1 pc1 = predict() (predict) table_5_col1.do:149FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col1.do, line 149
predict pc1 pc1 = predict() (predict) table_5_col2.do:148FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col2.do, line 148
predict pc1 +6 more statements set it |
netret |
outcome in 3 | netret = ret-RF/100 (gen) 01_returns.do:123FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 123
gen netret=ret-RF/100 |
beta_pc11 |
outcome in 2 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
ltcomp |
outcome in 2 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
interact |
instrument in 10, regressor in 6 | interact = `ThisVar'_inst*post (gen) table_1.do:153FMP_RCFS_Replication/Code/Main Results/table_1.do, line 153
gen interact = `ThisVar'_inst*post interact = pc1_inst * post (gen) table_1.do:200FMP_RCFS_Replication/Code/Main Results/table_1.do, line 200
gen interact = pc1_inst * post interact = post*`var'_inst (gen) table_2.do:36FMP_RCFS_Replication/Code/Main Results/table_2.do, line 36
gen interact = post*`var'_inst +10 more statements set it |
comp_ret_mm_nolog |
outcome in 1 | comp_ret_mm_nolog = comp_ret_mm_nolog*100 (replace) figure_5.do:50FMP_RCFS_Replication/Code/Main Results/figure_5.do, line 50
replace comp_ret_mm_nolog = comp_ret_mm_nolog*100 |
fs_beta_pc11 |
outcome in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
lnum |
outcome in 1 | lnum = log(1+numestEPS) (gen) 09_final_data.do:51FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 51
gen lnum=log(1+numestEPS) |
ind17 |
regressor in 26 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
logatw |
regressor in 24 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
roaw |
regressor in 24 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
pc1_instw |
regressor in 16 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
lcapw |
regressor in 3 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
one |
regressor in 3 | one = 1 (gen) table_5_col3.do:403FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col3.do, line 403
gen one = 1 one = 1 (gen) table_5_col4.do:335FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col4.do, line 335
gen one = 1 |
HML |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
M |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
Mk |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
MktRF |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
SMB |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
corr_ret_mmw |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
delta_pca_noqou_lisw |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
int_ |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
l2 |
regressor in 1 | l2 = lcapw^2 (gen) 09_final_data.do:49FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 49
gen l2=lcapw^2 |
logat_w |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
ndirector_affw |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
nfirms2 |
regressor in 1 | nfirms2 = xtile(nfirms) (egen xtile) 09_final_data.do:157FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 157
egen nfirms2=xtile(nfirms),nq(2) |
nroles2 |
regressor in 1 | nroles2 = xtile(nroles) (egen xtile) 09_final_data.do:158FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 158
egen nroles2=xtile(nroles),nq(2) |
numestEPS2 |
regressor in 1 | numestEPS2 = xtile(numestEPS) (egen xtile) 09_final_data.do:114FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 114
egen numestEPS2 = xtile(numestEPS), nq(2) |
partner_count2 |
regressor in 1 | partner_count2 = xtile(partner_count) (egen xtile) 09_final_data.do:162FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 162
egen partner_count2=xtile(partner_count),nq(2) |
pc1_inst_drop_allw |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
pc1_inst_drop_linksw |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
pc1_inst_w |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
roa_w |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
tenure2 |
regressor in 1 | tenure2 = xtile(tenure) (egen xtile) 09_final_data.do:160FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 160
egen tenure2=xtile(tenure),nq(2) |
tqw |
regressor in 1 | 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 — 56 estimations, 12 traced into 5 exhibits
Table 1
· 3 estimations → table_1_part4.tex, table_1_part5.tex, table_1_part6.tex
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
ivreghdfeiv |
`ThisOut' |
endogenous:
`ThisVar' instruments: interact |
id, dateid | cluster: id | table_1.do:157FMP_RCFS_Replication/Code/Main Results/table_1.do, line 157
qui: ivreghdfe `ThisOut' (`ThisVar' = interact), a(id dateid) cluster(id) run 4× in a loop (ThisOut=tq_w; ThisVar=pc1; ThisOut=mean_pqs_dec_nov_w; ThisVar=pc1; ThisOut=roa_w; ThisVar=pc1…)
written at table_1.do:181 |
ivreghdfeiv |
ltcomp |
endogenous:
pc1 instruments: interact |
execfirm, dateid | cluster: execid, id | table_1.do:201FMP_RCFS_Replication/Code/Main Results/table_1.do, line 201
qui: ivreghdfe ltcomp (pc1 = interact) if all==1, a(execfirm dateid) cluster(execid id) written at table_1.do:217 |
ivreghdfeiv |
ltcomp |
endogenous:
pc1 instruments: interact |
id, dateid | cluster: id | table_1.do:232FMP_RCFS_Replication/Code/Main Results/table_1.do, line 232
qui: ivreghdfe ltcomp (pc1 = interact) , a(id dateid) cluster(id) written at table_1.do:245 |
Table 2
· 1 estimation → table_2.tex
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
reghdfepanel fe |
`var' |
interact
|
id, dateid | cluster: id | table_2.do:38FMP_RCFS_Replication/Code/Main Results/table_2.do, line 38
reghdfe `var' interact if month==12, nocons a(id dateid) cluster(id) run 5× in a loop (var=katz; var=degree; var=closeness…)
written at table_2.do:43 |
Table 8
· 4 estimations → table_8
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
regols |
car1_mm |
(c.pc1_instw)##i.nfirms2 logatw roaw i.ind17
|
— | robust | table_8.do:11FMP_RCFS_Replication/Code/Main Results/table_8.do, line 11
reg car1_mm (c.pc1_instw)##i.nfirms2 $controls $industry_class , r
as we read it (macros filled in / loop expanded):
reg car1_mm (c.pc1_instw)##i.nfirms2 logatw roaw i.ind17 , r written at table_8.do:25 |
regols |
car1_mm |
(c.pc1_instw)##i.nroles2 logatw roaw i.ind17
|
— | robust | table_8.do:14FMP_RCFS_Replication/Code/Main Results/table_8.do, line 14
reg car1_mm (c.pc1_instw)##i.nroles2 $controls $industry_class , r
as we read it (macros filled in / loop expanded):
reg car1_mm (c.pc1_instw)##i.nroles2 logatw roaw i.ind17 , r written at table_8.do:25 |
regols |
car1_mm |
(c.pc1_instw)##i.tenure2 logatw roaw i.ind17
|
— | robust | table_8.do:17FMP_RCFS_Replication/Code/Main Results/table_8.do, line 17
reg car1_mm (c.pc1_instw)##i.tenure2 $controls $industry_class , r
as we read it (macros filled in / loop expanded):
reg car1_mm (c.pc1_instw)##i.tenure2 logatw roaw i.ind17 , r written at table_8.do:25 |
regols |
car1_mm |
(c.pc1_instw)##i.partner_count2 logatw roaw i.ind17
|
— | robust | table_8.do:20FMP_RCFS_Replication/Code/Main Results/table_8.do, line 20
reg car1_mm (c.pc1_instw)##i.partner_count2 $controls $industry_class , r
as we read it (macros filled in / loop expanded):
reg car1_mm (c.pc1_instw)##i.partner_count2 logatw roaw i.ind17 , r written at table_8.do:25 |
Table 9
· 3 estimations → table_9_part1.tex, table_9_part2.tex
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
regols |
car1_mm |
`ThisVar' logatw roaw i.ind17
|
— | robust | table_9_part1.do:17FMP_RCFS_Replication/Code/Main Results/table_9_part1.do, line 17
reg car1_mm `ThisVar' $controls $industry_class if affected1==`YN', r
as we read it (macros filled in / loop expanded):
reg car1_mm `ThisVar' logatw roaw i.ind17 if affected1==`YN', r run 10× in a loop (ThisVar=pc1_instw; YN=0; ThisVar=pc1_instw; YN=1; ThisVar=katz_instw; YN=0…)
written at table_9_part1.do:25 |
reghdfepanel fe |
`var' |
c.interact
|
id, dateid | cluster: id | table_9_part2.do:40FMP_RCFS_Replication/Code/Main Results/table_9_part2.do, line 40
reghdfe `var' c.interact if affected1==0 & month==12, a(id dateid) cluster(id) run 5× in a loop (var=katz; var=degree; var=closeness…)
written at table_9_part2.do:59 |
reghdfepanel fe |
`var' |
c.interact
|
id, dateid | cluster: id | table_9_part2.do:52FMP_RCFS_Replication/Code/Main Results/table_9_part2.do, line 52
reghdfe `var' c.interact if affected1==1 & month==12, a(id dateid) cluster(id) run 5× in a loop (var=katz; var=degree; var=closeness…)
written at table_9_part2.do:59 |
Table 10
· 1 estimation → Table_10.tex
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
ivreghdfeiv |
`ThisOut' |
endogenous:
`ThisVar' instruments: interact |
id, dateid | cluster: id | table_10.do:58FMP_RCFS_Replication/Code/Main Results/table_10.do, line 58
ivreghdfe `ThisOut' (`ThisVar' = interact), a(id dateid) cluster(id) run 3× in a loop (ThisOut=tq; ThisVar=pc1; ThisOut=roa; ThisVar=pc1; ThisOut=lev; ThisVar=pc1)
written at table_10.do:68 |
Estimations not traced to a table or figure · 44
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
regols |
netret |
Mk
|
— | default | risk_adjusted_returns.do:24FMP_RCFS_Replication/Code/Data Prep/risk_adjusted_returns.do, line 24
reg netret Mk if gvkey=="`x'" & N==1 run 4× in a loop (x=MktRF; x=SMB; x=HML…)
|
regols |
netret |
M SMB HML
|
— | default | risk_adjusted_returns.do:28FMP_RCFS_Replication/Code/Data Prep/risk_adjusted_returns.do, line 28
reg netret M SMB HML if gvkey=="`x'" & N==1 run 4× in a loop (x=MktRF; x=SMB; x=HML…)
|
regols |
netret |
MktRF
|
— | default | ivol.do:20FMP_RCFS_Replication/Code/Data Prep/ivol.do, line 20
reg netret MktRF if group==`i' |
regols |
lnum |
lcapw l2
|
— | default | 09_final_data.do:52FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 52
reg lnum lcapw l2 |
regols |
car1`x' |
pc1_instw i.ind17 logatw roaw
|
— | robust | table_3.do:14FMP_RCFS_Replication/Code/Main Results/table_3.do, line 14
reg car1`x' pc1_instw $industry_class $controls ,r
as we read it (macros filled in / loop expanded):
reg car1`x' pc1_instw i.ind17 logatw roaw ,r run 3× in a loop (x=_raw; x=_mm; x=_ff)
|
regols |
ca`x'_mm |
pc1_instw i.ind17 logatw roaw
|
— | robust | table_3.do:20FMP_RCFS_Replication/Code/Main Results/table_3.do, line 20
reg ca`x'_mm pc1_instw $industry_class $controls , r
as we read it (macros filled in / loop expanded):
reg ca`x'_mm pc1_instw i.ind17 logatw roaw , r run 3× in a loop (x=r1; x=r2; x=r3)
|
regols |
car1_mm |
`y'_instw i.ind17 logatw roaw
|
— | robust | table_3.do:26FMP_RCFS_Replication/Code/Main Results/table_3.do, line 26
reg car1_mm `y'_instw $industry_class $controls , r
as we read it (macros filled in / loop expanded):
reg car1_mm `y'_instw i.ind17 logatw roaw , r run 4× in a loop (y=katz; y=between; y=degree…)
|
regols |
car1`x' |
pc1_instw i.ind17 logatw roaw
|
— | robust | table_4.do:16FMP_RCFS_Replication/Code/Main Results/table_4.do, line 16
reg car1`x' pc1_instw $industry_class $controls ,r
as we read it (macros filled in / loop expanded):
reg car1`x' pc1_instw i.ind17 logatw roaw ,r run 3× in a loop (x=_raw; x=_mm; x=_ff)
|
regols |
ca`x'_mm |
pc1_instw i.ind17 logatw roaw
|
— | robust | table_4.do:22FMP_RCFS_Replication/Code/Main Results/table_4.do, line 22
reg ca`x'_mm pc1_instw $industry_class $controls , r
as we read it (macros filled in / loop expanded):
reg ca`x'_mm pc1_instw i.ind17 logatw roaw , r run 3× in a loop (x=r1; x=r2; x=r3)
|
regols |
car1_mm |
pc1_instw i.ind17
|
— | robust | table_4.do:26FMP_RCFS_Replication/Code/Main Results/table_4.do, line 26
reg car1_mm pc1_instw $industry_class ,r
as we read it (macros filled in / loop expanded):
reg car1_mm pc1_instw i.ind17 ,r |
regols |
car1_mm |
pc1_instw logatw roaw tqw lcapw i.ind17
|
— | robust | table_4.do:29FMP_RCFS_Replication/Code/Main Results/table_4.do, line 29
reg car1_mm pc1_instw $controls $extra_controls $industry_class , r
as we read it (macros filled in / loop expanded):
reg car1_mm pc1_instw logatw roaw tqw lcapw i.ind17 , r |
regols |
car1_mm |
pc1_instw logatw roaw corr_ret_mmw i.ind17
|
— | robust | table_4.do:32FMP_RCFS_Replication/Code/Main Results/table_4.do, line 32
reg car1_mm pc1_instw $controls corr_ret_mmw $industry_class , r
as we read it (macros filled in / loop expanded):
reg car1_mm pc1_instw logatw roaw corr_ret_mmw i.ind17 , r |
regols |
car1_mm |
pc1_instw logatw roaw i.ind17
|
— | robust | table_4.do:35FMP_RCFS_Replication/Code/Main Results/table_4.do, line 35
reg car1_mm pc1_instw $controls $industry_class if !inlist(ind17,15,7,5,4), r
as we read it (macros filled in / loop expanded):
reg car1_mm pc1_instw logatw roaw i.ind17 if !inlist(ind17,15,7,5,4), r |
regols |
car1_mm |
c.pc1_instw c.ndirector_affw i.ind17 logatw roaw
|
— | robust | table_4.do:38FMP_RCFS_Replication/Code/Main Results/table_4.do, line 38
reg car1_mm c.pc1_instw c.ndirector_affw $industry_class $controls, r
as we read it (macros filled in / loop expanded):
reg car1_mm c.pc1_instw c.ndirector_affw i.ind17 logatw roaw, r |
regols |
car1_mm |
c.pc1_instw c.delta_pca_noqou_lisw i.ind17 logatw roaw
|
— | robust | table_4.do:41FMP_RCFS_Replication/Code/Main Results/table_4.do, line 41
reg car1_mm c.pc1_instw c.delta_pca_noqou_lisw $industry_class $controls, r
as we read it (macros filled in / loop expanded):
reg car1_mm c.pc1_instw c.delta_pca_noqou_lisw i.ind17 logatw roaw, r |
regols |
car1_mm |
c.pc1_instw i.ind17 logatw roaw
|
— | robust | table_4.do:46FMP_RCFS_Replication/Code/Main Results/table_4.do, line 46
reg car1_mm c.pc1_instw $industry_class $controls if inrange(car1_mm,`r(r1)', `r(r2)'), r
as we read it (macros filled in / loop expanded):
reg car1_mm c.pc1_instw i.ind17 logatw roaw if inrange(car1_mm,`r(r1)', `r(r2)'), r |
reghdfepanel fe |
`var' |
interact
|
id, dateid | cluster: id | table_5_col1.do:206FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col1.do, line 206
reghdfe `var' interact if month==12, nocons a(id dateid) cluster(id) run 5× in a loop (var=katz; var=degree; var=closeness…)
|
regols |
car1_mm |
pc1_inst_drop_allw i.ind17 logatw roaw
|
— | robust | table_5_col1.do:242FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col1.do, line 242
reg car1_mm pc1_inst_drop_allw $industry_class $controls ,r
as we read it (macros filled in / loop expanded):
reg car1_mm pc1_inst_drop_allw i.ind17 logatw roaw ,r |
reghdfepanel fe |
`var' |
interact
|
id, dateid | cluster: id | table_5_col2.do:204FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col2.do, line 204
reghdfe `var' interact if month==12, nocons a(id dateid) cluster(id) run 1× in a loop (var=pc1)
|
regols |
car1_mm |
pc1_inst_drop_linksw i.ind17 logatw roaw
|
— | robust | table_5_col2.do:242FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col2.do, line 242
reg car1_mm pc1_inst_drop_linksw $industry_class $controls ,r
as we read it (macros filled in / loop expanded):
reg car1_mm pc1_inst_drop_linksw i.ind17 logatw roaw ,r |
reghdfepanel fe |
`var' |
interact
|
id, dateid | cluster: id | table_5_col3.do:317FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col3.do, line 317
reghdfe `var' interact if month==12, nocons a(id dateid) cluster(id) run 1× in a loop (var=pc1)
|
regols |
ca`x'_mm |
pc1_instw i.ind17 logatw roaw
|
— | robust | table_5_col3.do:371FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col3.do, line 371
reg ca`x'_mm pc1_instw $industry_class $controls , r
as we read it (macros filled in / loop expanded):
reg ca`x'_mm pc1_instw i.ind17 logatw roaw , r run 1× in a loop (x=r1)
|
regols |
beta_pc11 |
one
|
— | default | table_5_col3.do:404FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col3.do, line 404
reg beta_pc11 one, nocons |
regols |
fs_beta_pc11 |
one
|
— | default | table_5_col3.do:433FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col3.do, line 433
reg fs_beta_pc11 one, nocons |
regols |
car1`x' |
pc1_instw i.ind17 logatw roaw
|
— | robust | table_5_col4.do:292FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col4.do, line 292
reg car1`x' pc1_instw $industry_class $controls ,r
as we read it (macros filled in / loop expanded):
reg car1`x' pc1_instw i.ind17 logatw roaw ,r run 3× in a loop (x=_raw; x=_mm; x=_ff)
|
regols |
ca`x'_mm |
pc1_instw i.ind17 logatw roaw
|
— | robust | table_5_col4.do:300FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col4.do, line 300
reg ca`x'_mm pc1_instw $industry_class $controls , r
as we read it (macros filled in / loop expanded):
reg ca`x'_mm pc1_instw i.ind17 logatw roaw , r run 3× in a loop (x=r1; x=r2; x=r3)
|
regols |
beta_pc11 |
one
|
— | default | table_5_col4.do:336FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col4.do, line 336
reg beta_pc11 one, nocons |
regols |
car1_mm |
(c.pc1_instw)##i.`x'2 c.logatw c.roaw i.ind17
|
— | robust | table_6.do:13FMP_RCFS_Replication/Code/Main Results/table_6.do, line 13
reg car1_mm (c.pc1_instw)##i.`x'2 c.logatw c.roaw $industry_class , r
as we read it (macros filled in / loop expanded):
reg car1_mm (c.pc1_instw)##i.`x'2 c.logatw c.roaw i.ind17 , r run 6× in a loop (x=age; x=saleg; x=tq…)
|
regols |
car1_mm |
(c.pc1_instw)##i.numestEPS2 c.pc1_instw##c.lcapw c.logatw c.roaw i.ind17
|
— | robust | table_6.do:18FMP_RCFS_Replication/Code/Main Results/table_6.do, line 18
reg car1_mm (c.pc1_instw )##i.numestEPS2 c.pc1_instw##c.lcapw c.logatw c.roaw $industry_class , r
as we read it (macros filled in / loop expanded):
reg car1_mm (c.pc1_instw )##i.numestEPS2 c.pc1_instw##c.lcapw c.logatw c.roaw i.ind17 , r |
regols |
car1_mm |
c.pc1_instw##i.`ThisVar' i.ind17 logatw roaw
|
— | robust | table_7.do:12FMP_RCFS_Replication/Code/Main Results/table_7.do, line 12
reg car1_mm c.pc1_instw##i.`ThisVar' $industry_class $controls , r
as we read it (macros filled in / loop expanded):
reg car1_mm c.pc1_instw##i.`ThisVar' i.ind17 logatw roaw , r run 4× in a loop (ThisVar=partners_matched2; ThisVar=customers_matched2; ThisVar=suppliers_matched2…)
|
ivreghdfeiv |
ltcomp_w |
endogenous:
pc1 instruments: interact |
execfirm, dateid | cluster: execid, id | table_11.do:20FMP_RCFS_Replication/Code/Main Results/table_11.do, line 20
ivreghdfe ltcomp_w (pc1 = interact) if all==1, a(execfirm dateid) cluster(execid id) |
reghdfepanel fe |
ltcomp_w |
pc1
|
execfirm, dateid | cluster: execid, id | table_11.do:23FMP_RCFS_Replication/Code/Main Results/table_11.do, line 23
reghdfe ltcomp_w pc1 if all==1, a(execfirm dateid) cluster(execid id) |
ivreghdfeiv |
ltcomp_w |
endogenous:
pc1 instruments: interact |
execfirm, dateid | cluster: execid, id | table_11.do:28FMP_RCFS_Replication/Code/Main Results/table_11.do, line 28
ivreghdfe ltcomp_w (pc1 = interact) if high_rank==1, a(execfirm dateid) cluster(execid id) |
reghdfepanel fe |
ltcomp_w |
pc1
|
execfirm, dateid | cluster: execid, id | table_11.do:31FMP_RCFS_Replication/Code/Main Results/table_11.do, line 31
reghdfe ltcomp_w pc1 if high_rank==1, a(execfirm dateid) cluster(execid id) |
ivreghdfeiv |
ltcomp_w |
endogenous:
pc1 instruments: interact |
execfirm, dateid | cluster: execid, id | table_11.do:36FMP_RCFS_Replication/Code/Main Results/table_11.do, line 36
ivreghdfe ltcomp_w (pc1 = interact) if low_rank==1, a(execfirm dateid) cluster(execid id) |
reghdfepanel fe |
ltcomp_w |
pc1
|
execfirm, dateid | cluster: execid, id | table_11.do:39FMP_RCFS_Replication/Code/Main Results/table_11.do, line 39
reghdfe ltcomp_w pc1 if low_rank==1, a(execfirm dateid) cluster(execid id) |
ivreghdfeiv |
ltcomp_w |
endogenous:
pc1 instruments: interact |
id, dateid | cluster: id | table_11.do:50FMP_RCFS_Replication/Code/Main Results/table_11.do, line 50
ivreghdfe ltcomp_w (pc1 = interact) , a(id dateid) cluster(id) |
reghdfepanel fe |
ltcomp_w |
pc1
|
id, dateid | cluster: id | table_11.do:53FMP_RCFS_Replication/Code/Main Results/table_11.do, line 53
reghdfe ltcomp_w pc1 , a(id dateid) cluster(id) |
ivreghdfeiv |
ltcomp_w |
endogenous:
pc1 instruments: interact |
id, dateid | cluster: id | table_11.do:86FMP_RCFS_Replication/Code/Main Results/table_11.do, line 86
ivreghdfe ltcomp_w (pc1 = interact) , a(id dateid) cluster(id) |
reghdfepanel fe |
ltcomp_w |
pc1
|
id, dateid | cluster: id | table_11.do:89FMP_RCFS_Replication/Code/Main Results/table_11.do, line 89
reghdfe ltcomp_w pc1 , a(id dateid) cluster(id) |
Tables and figures the code writes:
Table 1 · Table 1 · Table 1 · Table 1 · Table 2 · Table 5 · Table 11 · Figure 1 · Figure 3 · Figure 4 · Figure 5
table_1_part1.tex table_1.do:54
FMP_RCFS_Replication/Code/Main Results/table_1.do, line 54
esttab summ_stats_p1 using "./Output/table_1_part1.tex",
table_1_part4.tex table_1.do:181
FMP_RCFS_Replication/Code/Main Results/table_1.do, line 181
esttab summ_stats_p4 using "./Output/table_1_part4.tex",
table_1_part5.tex table_1.do:217
FMP_RCFS_Replication/Code/Main Results/table_1.do, line 217
esttab summ_stats_p5 using "./Output/table_1_part5.tex",
table_1_part6.tex table_1.do:245
FMP_RCFS_Replication/Code/Main Results/table_1.do, line 245
esttab summ_stats_p6 using "./Output/table_1_part6.tex",
table_2.tex table_2.do:43
FMP_RCFS_Replication/Code/Main Results/table_2.do, line 43
esttab katz_fs_t2 degree_fs_t2 between_fs_t2 closeness_fs_t2 pc1_fs_t2 using "./Output/table_2.tex", replace label varlabel(interact "$\Delta \times \mathds{1}(t > \text{Dec 2011})$") prehead("") postfoot("") star(^{*} 0.10 ^{**} 0.05 ^{ …
Table_5_part1.tex table_5.do:18
FMP_RCFS_Replication/Code/Main Results/table_5.do, line 18
esttab table_5_col_1 table_5_col_2 table_5_col_3 table_5_col_4 using "./Output/Table_5_part1.tex", replace
table_11_part2.tex table_11.do:134
FMP_RCFS_Replication/Code/Main Results/table_11.do, line 134
a_ols_t11 a_t11 b_ols_t11 b_t11 c_ols_t11 c_t11
we recorded (not found at this line in the file):
esttab d_ols_t11 d_t11 e_ols_t11 e_t11 f_ols_t11 f_t11 using "./Output/table_11_part2.tex", varlabel(pc1 "Centrality") replace label nonum collabels(none) nogaps noobs f star(* 0.10 ** 0.05 *** 0.01) b(3) se(3) stats(N r2 rkf, fmt(%15.0fc % …
figure_1.pdf figure_1.do:51
FMP_RCFS_Replication/Code/Main Results/figure_1.do, line 51
graph export "./Output/figure_1.pdf", as(pdf) replace
figure_3.pdf figure_3.do:73
FMP_RCFS_Replication/Code/Main Results/figure_3.do, line 73
graph export "./Output/figure_3.pdf", as(pdf) replace
figure_4.pdf figure_4.do:102
FMP_RCFS_Replication/Code/Main Results/figure_4.do, line 102
graph export "./Output/figure_4.pdf", as(pdf) replace
figure_5.pdf figure_5.do:92
FMP_RCFS_Replication/Code/Main Results/figure_5.do, line 92
graph export "./Output/figure_5.pdf", as(pdf) replace
7 · Figures: how each is drawn — 4 figures in the code (command, layers, options, the file it is saved to)
coefficient plot 2 · line 1 · event-study plot 1
| command | layers | variables | options | saved as | where |
|---|---|---|---|---|---|
twowayline
|
line |
y density
x dateid
|
xline 7 · legend cols(2) pos(6) size(large) |
Figure 1figure_1.pdf |
figure_1.do:39FMP_RCFS_Replication/Code/Main Results/figure_1.do, line 39
twoway |
twowayevent-study plot
|
line + line |
y mean_left_comp_ret_mm, mean_stay_comp_ret_mm, mean_stay_comp_ret_mm_control
x time_norm
|
xtitle Trading Days around Announcement of Resignation · xline 0 · legend pos(6) cols(1) size(medlarge) |
Figure 3figure_3.pdf |
figure_3.do:61FMP_RCFS_Replication/Code/Main Results/figure_3.do, line 61
twoway |
coefplotcoefficient plot
|
coefplot |
estimates fs_`ThisVar'
(set at run time) |
yline 0 · ci rline · vertical yes |
Figure 4figure_4.pdf |
figure_4.do:83FMP_RCFS_Replication/Code/Main Results/figure_4.do, line 83
coefplot (fs_`ThisVar'), |
twowaycoefficient plot
|
line + line + line |
y coef, lb, ub
x tvar
|
xline $tday (set at run time) · yline 0 · legend off |
Figure 5figure_5.pdf |
figure_5.do:79FMP_RCFS_Replication/Code/Main Results/figure_5.do, line 79
twoway (line coef tvar, lcolor(maroon) lwidth(thick)) |