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_norm
2 · 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
CommandMethodFixed effects absorbedInferenceFile
reg
reg lnum lcapw l2
ols default 09_final_data.do
reg
reg netret MktRF if group==`i'
ols default ivol.do
reg
reg netret Mk if gvkey=="`x'" & N==1
ols default risk_adjusted_returns.do
reghdfe
reghdfe `var' interact if month==12, nocons a(id dateid) cluster(id)
panel feid, dateid cluster by id table_5_col1.do
reg
reg car1_mm pc1_inst_drop_allw i.ind17 logatw roaw ,r
ols robust table_5_col1.do
reghdfe
reghdfe `var' interact if month==12, nocons a(id dateid) cluster(id)
panel feid, dateid cluster by id table_5_col2.do
reg
reg car1_mm pc1_inst_drop_linksw i.ind17 logatw roaw ,r
ols robust table_5_col2.do
reghdfe
reghdfe `var' interact if month==12, nocons a(id dateid) cluster(id)
panel feid, dateid cluster by id table_5_col3.do
reg
reg ca`x'_mm pc1_instw i.ind17 logatw roaw , r
ols robust table_5_col3.do
reg
reg beta_pc11 one, nocons
ols default table_5_col3.do
reg
reg car1`x' pc1_instw i.ind17 logatw roaw ,r
ols robust table_5_col4.do
reg
reg beta_pc11 one, nocons
ols default table_5_col4.do
reghdfe
reghdfe `ThisVar' int_*12, nocons a(id dateid) cluster(id)
panel feid, dateid cluster by id figure_4.do
reg
reg comp_ret_mm_nolog pc1_inst_w logat_w roa_w i.ind17 if time==`ThisDay' , r
ols robust figure_5.do
ivreghdfe
qui: ivreghdfe `ThisOut' (`ThisVar' = interact), a(id dateid) cluster(id)
ivid, dateid cluster by id table_1.do
ivreghdfe
qui: ivreghdfe ltcomp (pc1 = interact) if all==1, a(execfirm dateid) cluster(execid id)
ivexecfirm, dateid cluster by execid, id table_1.do
ivreghdfe
ivreghdfe `ThisOut' (`ThisVar' = interact), a(id dateid) cluster(id)
ivid, dateid cluster by id table_10.do
ivreghdfe
ivreghdfe ltcomp_w (pc1 = interact) if all==1, a(execfirm dateid) cluster(execid id)
ivexecfirm, dateid cluster by execid, id table_11.do
reghdfe
reghdfe ltcomp_w pc1 if all==1, a(execfirm dateid) cluster(execid id)
panel feexecfirm, dateid cluster by execid, id table_11.do
ivreghdfe
ivreghdfe ltcomp_w (pc1 = interact) , a(id dateid) cluster(id)
ivid, dateid cluster by id table_11.do
reghdfe
reghdfe ltcomp_w pc1 , a(id dateid) cluster(id)
panel feid, dateid cluster by id table_11.do
reghdfe
reghdfe `var' interact if month==12, nocons a(id dateid) cluster(id)
panel feid, dateid cluster by id table_2.do
reg
reg car1`x' pc1_instw i.ind17 logatw roaw ,r
ols robust table_3.do
reg
reg car1`x' pc1_instw i.ind17 logatw roaw ,r
ols robust table_4.do
reg
reg car1_mm (c.pc1_instw)##i.`x'2 c.logatw c.roaw i.ind17 , r
ols robust table_6.do
reg
reg car1_mm c.pc1_instw##i.`ThisVar' i.ind17 logatw roaw , r
ols robust table_7.do
reg
reg car1_mm (c.pc1_instw)##i.nfirms2 logatw roaw i.ind17 , r
ols robust table_8.do
reg
reg car1_mm `ThisVar' logatw roaw i.ind17 if affected1==`YN', r
ols robust table_9_part1.do
reghdfe
reghdfe `var' c.interact if affected1==0 & month==12, a(id dateid) cluster(id)
panel feid, 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.pdf
How 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

Datasets this package uses (item detector / README): Compustat, I/B/E/S
  • ./Pseudo Data/Financial Data/pseudo_compustat Stata · read by 2 scripts
    01_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_gvkey Stata
    08_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_netincome Stata
    08_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
  • ./Pseudo Data/Financial Data/pseudo_csho_datastream_monthly Stata
    01_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_complete Stata · read by 10 scripts
    00_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_links Stata · read by 3 scripts
    affected.do:8
    FMP_RCFS_Replication/Code/Data Prep/affected.do, line 8 use "./Pseudo Data/Governance Data/broken_links", clear
  • ./Process/instruments_es Stata · read by 2 scripts
    09_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_recipr Stata · read by 2 scripts
    05_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_DirectorNetworksEU Stata · read by 2 scripts
    director_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_long Stata · read by 2 scripts
    06_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_directors Stata · read by 2 scripts
    00_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_release Stata · read by 2 scripts
    10_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/fff Stata
    01_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_ask Stata
    12_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_bid Stata
    12_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_italy Stata
    01_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.dta Stata
    02_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_age Stata
    09_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_total Stata
    11_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_directors Stata
    director_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_12 Stata
    director_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_matched Stata
    04_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. 1.FMP_RCFS_Replication/Code/Data Prep/affected.do setup file sourced by 2 scripts reads 2 input files · 1 merge ·
  2. 2.FMP_RCFS_Replication/master.do master script
  3. 3.FMP_RCFS_Replication/Code/Data Prep/00_compute_networks.do run by FMP_RCFS_Replication/master.do line 64 reads 2 input files · 7 merges ·
    writes instruments → read by 11_compensation.do, table_1.do, table_2.do, table_9_part2.do, table_10.do, figure_4.do
    writes temp_firm_network_w0 → read by table_5_col1.do, table_5_col2.do, table_5_col3.do, figure_1.do
    writes temp_firm_network_w0.dta → read by table_5_col4.R, table_5_col4.do
    writes (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. 4.FMP_RCFS_Replication/Code/Data Prep/01_returns.do run by FMP_RCFS_Replication/master.do line 65 reads 4 input files · 5 merges ·
    reads what risk_adjusted_returns.do wrote
    writes caps → read by 12_firm_outcomes.do
    writes controls_yearly → read by 09_final_data.do, figure_5.do
    writes raw_returns → read by risk_adjusted_returns.do, ivol.do
    writes returns → read by 09_final_data.do
  5. 5.FMP_RCFS_Replication/Code/Data Prep/risk_adjusted_returns.do run by FMP_RCFS_Replication/Code/Data Prep/01_returns.do line 130 2 estimations
    reads what 01_returns.do wrote
    writes risk_adjusted_returns → read by 01_returns.do
    writes risk_adjusted_returns_all → read by 02_yield_exposure.do, 10_press_releases.do, figure_5.do
  6. 6.FMP_RCFS_Replication/Code/Data Prep/ivol.do run by FMP_RCFS_Replication/Code/Data Prep/01_returns.do line 134 1 estimation
    reads what 01_returns.do wrote
    writes ivol → read by 09_final_data.do
  7. 7.FMP_RCFS_Replication/Code/Data Prep/02_yield_exposure.do run by FMP_RCFS_Replication/master.do line 66 reads 1 input file · 1 merge ·
    reads what risk_adjusted_returns.do wrote
    writes corr_return_yield → read by 09_final_data.do
  8. 8.FMP_RCFS_Replication/Code/Data Prep/03_master_social_connections.do run by FMP_RCFS_Replication/master.do line 67
  9. 9.FMP_RCFS_Replication/Code/Data Prep/Social Networks/director_connections.do run by FMP_RCFS_Replication/Code/Data Prep/03_master_social_connections.do line 5 reads 2 input files · 2 merges ·
    writes sc_directors_execid_type → read by network_measures.do
  10. 10.FMP_RCFS_Replication/Code/Data Prep/Social Networks/network_measures.do run by FMP_RCFS_Replication/Code/Data Prep/03_master_social_connections.do line 8 reads 1 input file · 5 merges ·
    reads what director_connections.do wrote
    writes sc_firm_network → read by network_measures_12.do
  11. 11.FMP_RCFS_Replication/Code/Data Prep/Social Networks/director_connections_2012.do run by FMP_RCFS_Replication/Code/Data Prep/03_master_social_connections.do line 11 reads 2 input files · 2 merges ·
    writes sc_directors_execid_type_12 → read by network_measures_12.do
  12. 12.FMP_RCFS_Replication/Code/Data Prep/Social Networks/network_measures_12.do run by FMP_RCFS_Replication/Code/Data Prep/03_master_social_connections.do line 14 reads 1 input file · 6 merges ·
    reads what network_measures.do, director_connections_2012.do wrote
    writes sc_firm_all_delta → read by 09_final_data.do
  13. 13.FMP_RCFS_Replication/Code/Data Prep/04_ownership_network.do run by FMP_RCFS_Replication/master.do line 68 reads 1 input file · 9 merges ·
    writes own → read by 09_final_data.do
  14. 14.FMP_RCFS_Replication/Code/Data Prep/05_number_customers_suppliers_partners_matched.do run by FMP_RCFS_Replication/master.do line 69 reads 1 input file · 1 merge ·
    writes number_customers_suppliers_partners_matched → read by 09_final_data.do
  15. 15.FMP_RCFS_Replication/Code/Data Prep/06_characteristics.do run by FMP_RCFS_Replication/master.do line 70 reads 2 input files · 3 merges ·
    writes director_characteristics_split → read by 09_final_data.do
    writes (not read again): director_nfirms_nroles_full
  16. 16.FMP_RCFS_Replication/Code/Data Prep/07_count_directors_customer_suppliers.do run by FMP_RCFS_Replication/master.do line 71 reads 3 input files · 4 merges ·
    writes directors_previous_partner_count → read by 09_final_data.do
    writes (not read again): directors_previous_customer_count, directors_previous_supplier_count
  17. 17.FMP_RCFS_Replication/Code/Data Prep/08_ibes_variables.do run by FMP_RCFS_Replication/master.do line 72 reads 2 input files · 1 merge ·
    writes ibes_split_var → read by 09_final_data.do
  18. 18.FMP_RCFS_Replication/Code/Data Prep/09_final_data.do run by FMP_RCFS_Replication/master.do line 73 reads 2 input files · 11 merges · 1 estimation
    reads what 01_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.do wrote
    writes Final_data → read by table_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. 19.FMP_RCFS_Replication/Code/Data Prep/10_press_releases.do run by FMP_RCFS_Replication/master.do line 74 reads 1 input file · 2 merges ·
    reads what risk_adjusted_returns.do wrote
    writes left_id_ret → read by figure_3.do
    writes stay_id_ret → read by figure_3.do
  20. 20.FMP_RCFS_Replication/Code/Data Prep/11_compensation.do run by FMP_RCFS_Replication/master.do line 75 reads 2 input files · 2 merges ·
    reads what 00_compute_networks.do wrote
    writes compensation_network_firms → read by table_1.do, table_11.do
  21. 21.FMP_RCFS_Replication/Code/Data Prep/12_firm_outcomes.do run by FMP_RCFS_Replication/master.do line 76 reads 3 input files · 3 merges ·
    reads what 01_returns.do wrote
    writes outcomes_all → read by table_1.do, table_10.do
  22. 22.FMP_RCFS_Replication/Code/Main Results/table_1.do run by FMP_RCFS_Replication/master.do line 88 1 merge · 3 estimations
    reads what 00_compute_networks.do, 09_final_data.do, 11_compensation.do, 12_firm_outcomes.do wrote
  23. 23.FMP_RCFS_Replication/Code/Main Results/table_2.do run by FMP_RCFS_Replication/master.do line 89 1 estimation
    reads what 00_compute_networks.do wrote
  24. 24.FMP_RCFS_Replication/Code/Main Results/table_3.do run by FMP_RCFS_Replication/master.do line 90 3 estimations
    reads what 09_final_data.do wrote
  25. 25.FMP_RCFS_Replication/Code/Main Results/table_4.do run by FMP_RCFS_Replication/master.do line 91 9 estimations
    reads what 09_final_data.do wrote
17 more scripts
  1. 26.FMP_RCFS_Replication/Code/Main Results/table_5.do run by FMP_RCFS_Replication/master.do line 93
  2. 27.FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col1.do run by FMP_RCFS_Replication/Code/Main Results/table_5.do line 3 reads 2 input files · 5 merges · 2 estimations
    reads what 00_compute_networks.do, 09_final_data.do wrote
  3. 28.FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col2.do run by FMP_RCFS_Replication/Code/Main Results/table_5.do line 4 reads 2 input files · 5 merges · 2 estimations
    reads what 00_compute_networks.do, 09_final_data.do wrote
  4. 29.FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col3.do run by FMP_RCFS_Replication/Code/Main Results/table_5.do line 5 reads 2 input files · 8 merges · 4 estimations
    reads what 00_compute_networks.do, 09_final_data.do wrote
  5. 30.FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col4.R run by FMP_RCFS_Replication/Code/Main Results/table_5.do line 10
    reads what 00_compute_networks.do wrote
    writes file_`ThisIter'.dta → read by table_5_col4.do
  6. 31.FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col4.do run by FMP_RCFS_Replication/Code/Main Results/table_5.do line 12 14 merges · 3 estimations
    reads what 00_compute_networks.do, 09_final_data.do, table_5_col4.R wrote
  7. 32.FMP_RCFS_Replication/Code/Main Results/table_6.do run by FMP_RCFS_Replication/master.do line 94 2 estimations
    reads what 09_final_data.do wrote
  8. 33.FMP_RCFS_Replication/Code/Main Results/table_7.do run by FMP_RCFS_Replication/master.do line 95 1 estimation
    reads what 09_final_data.do wrote
  9. 34.FMP_RCFS_Replication/Code/Main Results/table_8.do run by FMP_RCFS_Replication/master.do line 96 4 estimations
    reads what 09_final_data.do wrote
  10. 35.FMP_RCFS_Replication/Code/Main Results/table_9_part1.do run by FMP_RCFS_Replication/master.do line 97 1 estimation
    reads what 09_final_data.do wrote
  11. 36.FMP_RCFS_Replication/Code/Main Results/table_9_part2.do run by FMP_RCFS_Replication/master.do line 98 2 estimations
    reads what 00_compute_networks.do wrote
  12. 37.FMP_RCFS_Replication/Code/Main Results/table_10.do run by FMP_RCFS_Replication/master.do line 99 1 merge · 1 estimation
    reads what 00_compute_networks.do, 12_firm_outcomes.do wrote
  13. 38.FMP_RCFS_Replication/Code/Main Results/table_11.do run by FMP_RCFS_Replication/master.do line 100 2 merges · 12 estimations
    reads what 11_compensation.do wrote
  14. 39.FMP_RCFS_Replication/Code/Main Results/figure_1.do run by FMP_RCFS_Replication/master.do line 103
    reads what 00_compute_networks.do wrote
  15. 40.FMP_RCFS_Replication/Code/Main Results/figure_3.do run by FMP_RCFS_Replication/master.do line 104 reads 1 input file · 3 merges ·
    reads what 10_press_releases.do wrote
  16. 41.FMP_RCFS_Replication/Code/Main Results/figure_4.do run by FMP_RCFS_Replication/master.do line 105 1 estimation
    reads what 00_compute_networks.do wrote
  17. 42.FMP_RCFS_Replication/Code/Main Results/figure_5.do run by FMP_RCFS_Replication/master.do line 106 reads 1 input file · 2 merges · 1 estimation
    reads what 01_returns.do, risk_adjusted_returns.do wrote

3 · Merges — 78 joins, 22 followed by a check of the merge result; 28 appends

JoinsHowOn keysCheck that followsWhere
pseudo_board_complete ← temp_drop merge m:1 id1 id2 none
affected.do:60
FMP_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: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)
temp_firm_network_w0 ← temp_firm_network_iv_1106_w0 merge m:1 id none
00_compute_networks.do:257
FMP_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: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
pseudo_compustat ← caps merge m:1 gvkey year month none
01_returns.do:76
FMP_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:102
FMP_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: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
raw_returns ← risk_adjusted_returns merge 1:1 gvkey none
01_returns.do:170
FMP_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:13
FMP_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:11
FMP_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:19
FMP_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:17
FMP_RCFS_Replication/Code/Data Prep/Social Networks/network_measures.do, line 17 joinby execid using `temp', unm(both) _merge(merge1)

4 · The sample — 182 keep/drop steps, 54 variables winsorized or trimmed

Filters, by kind
time period ×57
  • keep if year==2011 & month==6
    affected.do:38
    FMP_RCFS_Replication/Code/Data Prep/affected.do, line 38 keep if year==2011 & month==6
  • keep if year==2011 & month==6
    00_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==12
    00_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)'-11
    ivol.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)==2011
    02_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")==0
    affected.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 > id2
    affected.do:53
    FMP_RCFS_Replication/Code/Data Prep/affected.do, line 53 drop if id > id2
  • drop if id == id2
    affected.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")==0
    00_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 > id2
    00_compute_networks.do:41
    FMP_RCFS_Replication/Code/Data Prep/00_compute_networks.do, line 41 drop if id > id2
  • drop if id1==id2
    00_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")==0
    00_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 > id2
    00_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==3
    00_compute_networks.do:147
    FMP_RCFS_Replication/Code/Data Prep/00_compute_networks.do, line 147 drop if merge==3
  • drop if merge1==2
    network_measures.do:19
    FMP_RCFS_Replication/Code/Data Prep/Social Networks/network_measures.do, line 19 drop if merge1==2
  • drop if merge2==2
    network_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==3
    network_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==3
    network_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==0
    04_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==0
    04_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==0
    04_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==max
    01_returns.do:32
    FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 32 keep if datadate==max
  • keep if max==datadate
    01_returns.do:46
    FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 46 keep if max==datadate
  • keep if statpers==maxdate
    08_ibes_variables.do:53
    FMP_RCFS_Replication/Code/Data Prep/08_ibes_variables.do, line 53 keep if statpers==maxdate
  • keep if max==datadate
    12_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 == 3
    02_yield_exposure.do:22
    FMP_RCFS_Replication/Code/Data Prep/02_yield_exposure.do, line 22 keep if _merge == 3
  • keep if _merge==3
    director_connections.do:13
    FMP_RCFS_Replication/Code/Data Prep/Social Networks/director_connections.do, line 13 keep if _merge==3
  • keep if _merge==3
    director_connections.do:21
    FMP_RCFS_Replication/Code/Data Prep/Social Networks/director_connections.do, line 21 keep if _merge==3
  • keep if _merge==3
    director_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==3
    director_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==3
    08_ibes_variables.do:12
    FMP_RCFS_Replication/Code/Data Prep/08_ibes_variables.do, line 12 keep if _merge==3
  • keep if _merge==2
    table_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 == 3
    table_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 +42
table_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 → 0
    09_final_data.do:50
    FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 50 replace numestEPS = 0 if missing(numestEPS)
  • partners_matched → 0
    09_final_data.do:149
    FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 149 replace `ThisVar' = 0 if missing(`ThisVar')
  • customers_matched → 0
    09_final_data.do:149
    FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 149 replace `ThisVar' = 0 if missing(`ThisVar')
  • suppliers_matched → 0
    09_final_data.do:149
    FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 149 replace `ThisVar' = 0 if missing(`ThisVar')
  • partner_count → 0
    09_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 → 0
    08_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, full
  • 08_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 → oibdp
    01_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 (lnum
09_final_data.do:51
FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 51 gen lnum=log(1+numestEPS)
), Book Leverage (lev
01_returns.do:59
FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 59 gen lev=(dltt+dlc)/at
), Log Total Assets (logat
01_returns.do:53
FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 53 gen logat=log(at)
), Operating Margin (li
01_returns.do:89
FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 89 gen li=numli/sale
), R&D Intensity (xrd_sale
01_returns.do:65
FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 65 gen xrd_sale = xrd/sale
), Return on Assets (ROA) (roa
01_returns.do:56
FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 56 gen roa=ib/l.at
), Sales Growth (saleg
01_returns.do:50
FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 50 gen saleg=log(sale)-log(l.sale)
), Tangibility (PPE/Assets) (tang
01_returns.do:62
FMP_RCFS_Replication/Code/Data Prep/01_returns.do, line 62 gen tang = ppent/l1.at
)
VariableUsed in models asBuilt 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:273
FMP_RCFS_Replication/Code/Data Prep/00_compute_networks.do, line 273 predict pc1
pc1 = predict() (predict)
table_5_col1.do:149
FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col1.do, line 149 predict pc1
pc1 = predict() (predict)
table_5_col2.do:148
FMP_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:123
FMP_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:153
FMP_RCFS_Replication/Code/Main Results/table_1.do, line 153 gen interact = `ThisVar'_inst*post
interact = pc1_inst * post (gen)
table_1.do:200
FMP_RCFS_Replication/Code/Main Results/table_1.do, line 200 gen interact = pc1_inst * post
interact = post*`var'_inst (gen)
table_2.do:36
FMP_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:50
FMP_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:51
FMP_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

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
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
ivreghdfe
iv
`ThisOut'
endogenous: `ThisVar'
instruments: interact
id, dateid cluster: id
table_1.do:157
FMP_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
ivreghdfe
iv
ltcomp
endogenous: pc1
instruments: interact
execfirm, dateid cluster: execid, id
table_1.do:201
FMP_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
ivreghdfe
iv
ltcomp
endogenous: pc1
instruments: interact
id, dateid cluster: id
table_1.do:232
FMP_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
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
reghdfe
panel fe
`var' interact id, dateid cluster: id
table_2.do:38
FMP_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
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
reg
ols
car1_mm (c.pc1_instw)##i.nfirms2 logatw roaw i.ind17 — robust
table_8.do:11
FMP_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
reg
ols
car1_mm (c.pc1_instw)##i.nroles2 logatw roaw i.ind17 — robust
table_8.do:14
FMP_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
reg
ols
car1_mm (c.pc1_instw)##i.tenure2 logatw roaw i.ind17 — robust
table_8.do:17
FMP_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
reg
ols
car1_mm (c.pc1_instw)##i.partner_count2 logatw roaw i.ind17 — robust
table_8.do:20
FMP_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
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
reg
ols
car1_mm `ThisVar' logatw roaw i.ind17 — robust
table_9_part1.do:17
FMP_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
reghdfe
panel fe
`var' c.interact id, dateid cluster: id
table_9_part2.do:40
FMP_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
reghdfe
panel fe
`var' c.interact id, dateid cluster: id
table_9_part2.do:52
FMP_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
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
ivreghdfe
iv
`ThisOut'
endogenous: `ThisVar'
instruments: interact
id, dateid cluster: id
table_10.do:58
FMP_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
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
reg
ols
netret Mk — default
risk_adjusted_returns.do:24
FMP_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…)
reg
ols
netret M SMB HML — default
risk_adjusted_returns.do:28
FMP_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…)
reg
ols
netret MktRF — default
ivol.do:20
FMP_RCFS_Replication/Code/Data Prep/ivol.do, line 20 reg netret MktRF if group==`i'
reg
ols
lnum lcapw l2 — default
09_final_data.do:52
FMP_RCFS_Replication/Code/Data Prep/09_final_data.do, line 52 reg lnum lcapw l2
reg
ols
car1`x' pc1_instw i.ind17 logatw roaw — robust
table_3.do:14
FMP_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)
reg
ols
ca`x'_mm pc1_instw i.ind17 logatw roaw — robust
table_3.do:20
FMP_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)
reg
ols
car1_mm `y'_instw i.ind17 logatw roaw — robust
table_3.do:26
FMP_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…)
reg
ols
car1`x' pc1_instw i.ind17 logatw roaw — robust
table_4.do:16
FMP_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)
reg
ols
ca`x'_mm pc1_instw i.ind17 logatw roaw — robust
table_4.do:22
FMP_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)
reg
ols
car1_mm pc1_instw i.ind17 — robust
table_4.do:26
FMP_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
reg
ols
car1_mm pc1_instw logatw roaw tqw lcapw i.ind17 — robust
table_4.do:29
FMP_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
reg
ols
car1_mm pc1_instw logatw roaw corr_ret_mmw i.ind17 — robust
table_4.do:32
FMP_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
reg
ols
car1_mm pc1_instw logatw roaw i.ind17 — robust
table_4.do:35
FMP_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
reg
ols
car1_mm c.pc1_instw c.ndirector_affw i.ind17 logatw roaw — robust
table_4.do:38
FMP_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
reg
ols
car1_mm c.pc1_instw c.delta_pca_noqou_lisw i.ind17 logatw roaw — robust
table_4.do:41
FMP_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
reg
ols
car1_mm c.pc1_instw i.ind17 logatw roaw — robust
table_4.do:46
FMP_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
reghdfe
panel fe
`var' interact id, dateid cluster: id
table_5_col1.do:206
FMP_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…)
reg
ols
car1_mm pc1_inst_drop_allw i.ind17 logatw roaw — robust
table_5_col1.do:242
FMP_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
reghdfe
panel fe
`var' interact id, dateid cluster: id
table_5_col2.do:204
FMP_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)
reg
ols
car1_mm pc1_inst_drop_linksw i.ind17 logatw roaw — robust
table_5_col2.do:242
FMP_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
reghdfe
panel fe
`var' interact id, dateid cluster: id
table_5_col3.do:317
FMP_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)
reg
ols
ca`x'_mm pc1_instw i.ind17 logatw roaw — robust
table_5_col3.do:371
FMP_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)
reg
ols
beta_pc11 one — default
table_5_col3.do:404
FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col3.do, line 404 reg beta_pc11 one, nocons
reg
ols
fs_beta_pc11 one — default
table_5_col3.do:433
FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col3.do, line 433 reg fs_beta_pc11 one, nocons
reg
ols
car1`x' pc1_instw i.ind17 logatw roaw — robust
table_5_col4.do:292
FMP_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)
reg
ols
ca`x'_mm pc1_instw i.ind17 logatw roaw — robust
table_5_col4.do:300
FMP_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)
reg
ols
beta_pc11 one — default
table_5_col4.do:336
FMP_RCFS_Replication/Code/Main Results/Table 5/table_5_col4.do, line 336 reg beta_pc11 one, nocons
reg
ols
car1_mm (c.pc1_instw)##i.`x'2 c.logatw c.roaw i.ind17 — robust
table_6.do:13
FMP_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…)
reg
ols
car1_mm (c.pc1_instw)##i.numestEPS2 c.pc1_instw##c.lcapw c.logatw c.roaw i.ind17 — robust
table_6.do:18
FMP_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
reg
ols
car1_mm c.pc1_instw##i.`ThisVar' i.ind17 logatw roaw — robust
table_7.do:12
FMP_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…)
ivreghdfe
iv
ltcomp_w
endogenous: pc1
instruments: interact
execfirm, dateid cluster: execid, id
table_11.do:20
FMP_RCFS_Replication/Code/Main Results/table_11.do, line 20 ivreghdfe ltcomp_w (pc1 = interact) if all==1, a(execfirm dateid) cluster(execid id)
reghdfe
panel fe
ltcomp_w pc1 execfirm, dateid cluster: execid, id
table_11.do:23
FMP_RCFS_Replication/Code/Main Results/table_11.do, line 23 reghdfe ltcomp_w pc1 if all==1, a(execfirm dateid) cluster(execid id)
ivreghdfe
iv
ltcomp_w
endogenous: pc1
instruments: interact
execfirm, dateid cluster: execid, id
table_11.do:28
FMP_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)
reghdfe
panel fe
ltcomp_w pc1 execfirm, dateid cluster: execid, id
table_11.do:31
FMP_RCFS_Replication/Code/Main Results/table_11.do, line 31 reghdfe ltcomp_w pc1 if high_rank==1, a(execfirm dateid) cluster(execid id)
ivreghdfe
iv
ltcomp_w
endogenous: pc1
instruments: interact
execfirm, dateid cluster: execid, id
table_11.do:36
FMP_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)
reghdfe
panel fe
ltcomp_w pc1 execfirm, dateid cluster: execid, id
table_11.do:39
FMP_RCFS_Replication/Code/Main Results/table_11.do, line 39 reghdfe ltcomp_w pc1 if low_rank==1, a(execfirm dateid) cluster(execid id)
ivreghdfe
iv
ltcomp_w
endogenous: pc1
instruments: interact
id, dateid cluster: id
table_11.do:50
FMP_RCFS_Replication/Code/Main Results/table_11.do, line 50 ivreghdfe ltcomp_w (pc1 = interact) , a(id dateid) cluster(id)
reghdfe
panel fe
ltcomp_w pc1 id, dateid cluster: id
table_11.do:53
FMP_RCFS_Replication/Code/Main Results/table_11.do, line 53 reghdfe ltcomp_w pc1 , a(id dateid) cluster(id)
ivreghdfe
iv
ltcomp_w
endogenous: pc1
instruments: interact
id, dateid cluster: id
table_11.do:86
FMP_RCFS_Replication/Code/Main Results/table_11.do, line 86 ivreghdfe ltcomp_w (pc1 = interact) , a(id dateid) cluster(id)
reghdfe
panel fe
ltcomp_w pc1 id, dateid cluster: id
table_11.do:89
FMP_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_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 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 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 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 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 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 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 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 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 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 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
commandlayersvariables optionssaved aswhere
twoway
line
line y density x dateid xline 7 · legend cols(2) pos(6) size(large) Figure 1
figure_1.pdf
figure_1.do:39
FMP_RCFS_Replication/Code/Main Results/figure_1.do, line 39 twoway
–48
twoway
event-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 3
figure_3.pdf
figure_3.do:61
FMP_RCFS_Replication/Code/Main Results/figure_3.do, line 61 twoway
–70
coefplot
coefficient plot
coefplot estimates fs_`ThisVar' (set at run time) yline 0 · ci rline · vertical yes Figure 4
figure_4.pdf
figure_4.do:83
FMP_RCFS_Replication/Code/Main Results/figure_4.do, line 83 coefplot (fs_`ThisVar'),
–94
twoway
coefficient plot
line + line + line y coef, lb, ub x tvar xline $tday (set at run time) · yline 0 · legend off Figure 5
figure_5.pdf
figure_5.do:79
FMP_RCFS_Replication/Code/Main Results/figure_5.do, line 79 twoway (line coef tvar, lcolor(maroon) lwidth(thick))
–89