Replication package 12445 · mendeley · 2022 · open the deposit

How the code gets from data to results

Blood in the water: The value of antitakeover provisions during market shocks

Code for: Blood in the water: The value of antitakeover provisions during market shocks Journal of Financial Economics 2022

7
scripts
82
input files
6
file hand-offs
226
merges
92
sample steps
180
estimations

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

  • crsp.dsf SAS · read by 2 scripts
    JFE ATP Value during Shocks.sas:4335
    Data Files and Code/JFE ATP Value during Shocks.sas, line 4335 set crsp.dsf;
  • Path\crsp_monthly_stock_2007Q1_2020Q1.dta Stata · read by 2 scripts
    Hoberg and Phillips Booms and Busts.sas:168
    Data Files and Code/Hoberg and Phillips Booms and Busts.sas, line 168 proc import datafile='Path\crsp_monthly_stock_2007Q1_2020Q1.dta' out=crspe replace; run;
  • crsp.ccmxpf_lnkhist SAS
    Raw File Download.sas:69
    Data Files and Code/Raw File Download.sas, line 69 data link; set crsp.ccmxpf_lnkhist; run;
  • crsp.comphist SAS
    Raw File Download.sas:98
    Data Files and Code/Raw File Download.sas, line 98 set crsp.comphist;
  • crsp.cst_hist SAS
    Raw File Download.sas:105
    Data Files and Code/Raw File Download.sas, line 105 set crsp.cst_hist;
  • crsp.msenames SAS
    Raw File Download.sas:64
    Data Files and Code/Raw File Download.sas, line 64 set crsp.msenames;
  • crsp.msf SAS
    Raw File Download.sas:82
    Data Files and Code/Raw File Download.sas, line 82 set crsp.msf;
  • m.dsf SAS
    JFE ATP Value during Shocks.sas:501
    Data Files and Code/JFE ATP Value during Shocks.sas, line 501 set m.dsf;
6 more
  • m.dsf SAS
    JFE ATP Value during Shocks.sas:1573
    Data Files and Code/JFE ATP Value during Shocks.sas, line 1573 set m.dsf;
  • m.msedelist SAS
    JFE ATP Value during Shocks.sas:988
    Data Files and Code/JFE ATP Value during Shocks.sas, line 988 data dlist; set m.msedelist; run;
  • m.msenames SAS
    JFE ATP Value during Shocks.sas:68
    Data Files and Code/JFE ATP Value during Shocks.sas, line 68 set m.msenames;
  • m.msf SAS
    JFE ATP Value during Shocks.sas:301
    Data Files and Code/JFE ATP Value during Shocks.sas, line 301 set m.msf;
  • m.msi SAS
    JFE ATP Value during Shocks.sas:298
    Data Files and Code/JFE ATP Value during Shocks.sas, line 298 data msi; set m.msi; run;
  • Path\crsp_daily_stock_2017Q1_2020Q1.dta Stata
    JFE ATP Value during Shocks.sas:506
    Data Files and Code/JFE ATP Value during Shocks.sas, line 506 proc import datafile='Path\crsp_daily_stock_2017Q1_2020Q1.dta' out=dsfe replace; run;
  • comp.anncomp SAS
    JFE ATP Value during Shocks.sas:3544
    Data Files and Code/JFE ATP Value during Shocks.sas, line 3544 set comp.anncomp;
  • comp.company SAS
    Raw File Download.sas:117
    Data Files and Code/Raw File Download.sas, line 117 set comp.company;
  • comp.fundq SAS
    Raw File Download.sas:45
    Data Files and Code/Raw File Download.sas, line 45 set comp.fundq;
  • comp.names SAS
    Raw File Download.sas:35
    Data Files and Code/Raw File Download.sas, line 35 set comp.names;
  • comp.wrds_seg_customer SAS
    Raw File Download.sas:172
    Data Files and Code/Raw File Download.sas, line 172 set comp.wrds_seg_customer;
  • compd.funda SAS
    Raw File Download.sas:10
    Data Files and Code/Raw File Download.sas, line 10 set compd.funda;
  • m.funda SAS
    JFE ATP Value during Shocks.sas:7
    Data Files and Code/JFE ATP Value during Shocks.sas, line 7 set m.funda;
  • m.fundq SAS
    JFE ATP Value during Shocks.sas:42
    Data Files and Code/JFE ATP Value during Shocks.sas, line 42 set m.fundq;
SDC Platinum 3 files
  • Path\SDC Poison Pills.xlsx Excel
    JFE ATP Value during Shocks.sas:2883
    Data Files and Code/JFE ATP Value during Shocks.sas, line 2883 proc import datafile='Path\SDC Poison Pills.xlsx' out=pill dbms=xlsx replace;
  • Path\SDC Target Extra.xlsx Excel
    JFE ATP Value during Shocks.sas:1354
    Data Files and Code/JFE ATP Value during Shocks.sas, line 1354 proc import datafile='Path\SDC Target Extra.xlsx' out=ex replace dbms=xlsx;
  • Path\SDC Target Premium 12-19-2020.xlsx Excel
    JFE ATP Value during Shocks.sas:1349
    Data Files and Code/JFE ATP Value during Shocks.sas, line 1349 proc import datafile='Path\SDC Target Premium 12-19-2020.xlsx' out=prem replace dbms=xlsx;
  • tfn.form144 SAS
    TR Insider Data.sas:263
    Data Files and Code/TR Insider Data.sas, line 263 set tfn.form144;
  • tfn.s34 SAS
    Raw File Download.sas:204
    Data Files and Code/Raw File Download.sas, line 204 set tfn.s34;
  • tfn.table1 SAS
    TR Insider Data.sas:18
    Data Files and Code/TR Insider Data.sas, line 18 set tfn.table1;
  • m.ccmxpf_lnkhist SAS
    JFE ATP Value during Shocks.sas:73
    Data Files and Code/JFE ATP Value during Shocks.sas, line 73 set m.ccmxpf_lnkhist;
I/B/E/S 2 files
  • ibes.actu_epsus SAS
    JFE ATP Value during Shocks.sas:4223
    Data Files and Code/JFE ATP Value during Shocks.sas, line 4223 set ibes.actu_epsus;
  • ibes.statsumu_epsus SAS
    JFE ATP Value during Shocks.sas:4209
    Data Files and Code/JFE ATP Value during Shocks.sas, line 4209 set ibes.statsumu_epsus;
  • m.kld SAS
    JFE ATP Value during Shocks.sas:3803
    Data Files and Code/JFE ATP Value during Shocks.sas, line 3803 data kld; set m.kld; run;
BoardEx 1 file
  • Path\Boardex Data.dta Stata
    JFE ATP Value during Shocks.sas:4542
    Data Files and Code/JFE ATP Value during Shocks.sas, line 4542 proc import datafile='Path\Boardex Data.dta' out=bx replace;
Other input files 49 files
  • Path\CPI 2020 QTR.xlsx Excel · read by 2 scripts
    Hoberg and Phillips Booms and Busts.sas:121
    Data Files and Code/Hoberg and Phillips Booms and Busts.sas, line 121 proc import datafile='Path\CPI 2020 QTR.xlsx' replace out=cpi dbms=xlsx;
  • $Path\Governance and Business Cycle Final.dta Stata
    JFE ATP Value during Shocks Final.do:68
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 68 use "$Path\Governance and Business Cycle Final.dta", clear
  • $Path\Governance and Merger Premiums Final.dta Stata
    JFE ATP Value during Shocks Final.do:399
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 399 use "$Path\Governance and Merger Premiums Final.dta", clear
  • $Path\Graphs1.dta Stata
    JFE ATP Value during Shocks Final.do:46
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 46 use "$Path\Graphs1.dta", clear
  • $Path\Graphs.dta Stata
    JFE ATP Value during Shocks Final.do:10
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 10 use "$Path\Graphs.dta", clear
  • $Path\Matched Sample Final.dta Stata
    JFE ATP Value during Shocks Final.do:341
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 341 use "$Path\Matched Sample Final.dta", clear
  • $Path\Pill & CB Match.dta Stata
    JFE ATP Value during Shocks Final.do:1035
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 1035 use "$Path\Pill & CB Match.dta", clear
  • $Path\Pill Match.dta Stata
    JFE ATP Value during Shocks Final.do:1033
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 1033 use "$Path\Pill Match.dta", clear
41 more
  • $Path\Portfolio Regressions Final.dta Stata
    JFE ATP Value during Shocks Final.do:272
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 272 use "$Path\Portfolio Regressions Final.dta", clear
  • $Path\Target Likelihood Final.dta Stata
    JFE ATP Value during Shocks Final.do:1665
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 1665 use "$Path\Target Likelihood Final.dta", clear
  • $PathIn\Governance and Business Cycle Final.dta Stata
    Clean Data Files of Excess Variables.do:9
    Data Files and Code/Clean Data Files of Excess Variables.do, line 9 use "$PathIn\Governance and Business Cycle Final.dta", clear
  • $PathIn\Portfolio Regressions Final.dta Stata
    Clean Data Files of Excess Variables.do:21
    Data Files and Code/Clean Data Files of Excess Variables.do, line 21 use "$PathIn\Portfolio Regressions Final.dta", clear
  • $PathIn\Target Likelihood Final.dta Stata
    Clean Data Files of Excess Variables.do:32
    Data Files and Code/Clean Data Files of Excess Variables.do, line 32 use "$PathIn\Target Likelihood Final.dta", clear
  • frb.rates_daily SAS
    Raw File Download.sas:233
    Data Files and Code/Raw File Download.sas, line 233 set frb.rates_daily;
  • frb.rates_monthly SAS
    Raw File Download.sas:222
    Data Files and Code/Raw File Download.sas, line 222 set frb.rates_monthly;
  • m.auditfees SAS
    JFE ATP Value during Shocks.sas:2668
    Data Files and Code/JFE ATP Value during Shocks.sas, line 2668 data audit; set m.auditfees; run;
  • m.comphist SAS
    JFE ATP Value during Shocks.sas:148
    Data Files and Code/JFE ATP Value during Shocks.sas, line 148 set m.comphist;
  • m.cst_hist SAS
    JFE ATP Value during Shocks.sas:153
    Data Files and Code/JFE ATP Value during Shocks.sas, line 153 set m.cst_hist;
  • m.factors_daily SAS
    JFE ATP Value during Shocks.sas:3432
    Data Files and Code/JFE ATP Value during Shocks.sas, line 3432 set m.factors_daily;
  • m.kmvdefault SAS
    JFE ATP Value during Shocks.sas:556
    Data Files and Code/JFE ATP Value during Shocks.sas, line 556 set m.kmvdefault;
  • m.names SAS
    JFE ATP Value during Shocks.sas:26
    Data Files and Code/JFE ATP Value during Shocks.sas, line 26 data names; set m.names; gvkeyn=gvkey*1; sicn=sic*1; run;
  • m.sholderact SAS
    JFE ATP Value during Shocks.sas:2591
    Data Files and Code/JFE ATP Value during Shocks.sas, line 2591 data act; set m.sholderact; run;
  • m.wciklink_gvkey SAS
    JFE ATP Value during Shocks.sas:2603
    Data Files and Code/JFE ATP Value during Shocks.sas, line 2603 data link; set m.wciklink_gvkey; run;
  • Path\1997 Make IO.xlsx Excel
    JFE ATP Value during Shocks.sas:2022
    Data Files and Code/JFE ATP Value during Shocks.sas, line 2022 proc import datafile='Path\1997 Make IO.xlsx' out=make dbms=xlsx replace;
  • Path\1997 Use IO.xlsx Excel
    JFE ATP Value during Shocks.sas:2011
    Data Files and Code/JFE ATP Value during Shocks.sas, line 2011 proc import datafile='Path\1997 Use IO.xlsx' out=use dbms=xlsx replace;
  • Path\Alliance JV.xlsx Excel
    JFE ATP Value during Shocks.sas:1899
    Data Files and Code/JFE ATP Value during Shocks.sas, line 1899 proc import datafile='Path\Alliance JV.xlsx' replace out=jve dbms=xlsx;
  • Path\Articles of Incorporation Data.dta Stata
    JFE ATP Value during Shocks.sas:3026
    Data Files and Code/JFE ATP Value during Shocks.sas, line 3026 proc import datafile='Path\Articles of Incorporation Data.dta' replace out=art;
  • Path\Base Sample.dta Stata
    Hoberg and Phillips Booms and Busts.sas:256
    Data Files and Code/Hoberg and Phillips Booms and Busts.sas, line 256 proc import datafile='Path\Base Sample.dta' replace out=base; run;
  • Path\cain_atp_index.dta Stata
    JFE ATP Value during Shocks.sas:3388
    Data Files and Code/JFE ATP Value during Shocks.sas, line 3388 proc import datafile='Path\cain_atp_index.dta' out=cain replace;
  • Path\CBML.dta Stata
    JFE ATP Value during Shocks.sas:2954
    Data Files and Code/JFE ATP Value during Shocks.sas, line 2954 proc import datafile='Path\CBML.dta' out=cb replace;
  • Path\CMS Takeover Index JFE.xlsx Excel
    JFE ATP Value during Shocks.sas:3198
    Data Files and Code/JFE ATP Value during Shocks.sas, line 3198 proc import datafile='Path\CMS Takeover Index JFE.xlsx' out=cain dbms=xlsx replace;
  • Path\CNC Index Ertimur et al.xlsx Excel
    JFE ATP Value during Shocks.sas:3248
    Data Files and Code/JFE ATP Value during Shocks.sas, line 3248 proc import datafile='Path\CNC Index Ertimur et al.xlsx' replace out=cnc dbms=xlsx;
  • Path\deltavega2020_for_posting.xlsx Excel
    JFE ATP Value during Shocks.sas:4613
    Data Files and Code/JFE ATP Value during Shocks.sas, line 4613 proc import datafile='Path\deltavega2020_for_posting.xlsx' out=dv dbms=xlsx replace;
  • Path\Director Liability Laws 6-21-2021.xlsx Excel
    JFE ATP Value during Shocks.sas:3238
    Data Files and Code/JFE ATP Value during Shocks.sas, line 3238 proc import datafile='Path\Director Liability Laws 6-21-2021.xlsx' out=laws dbms=xlsx replace;
  • Path\E- and G-Index Measures.dta Stata
    JFE ATP Value during Shocks.sas:3052
    Data Files and Code/JFE ATP Value during Shocks.sas, line 3052 proc import datafile='Path\E- and G-Index Measures.dta' replace out=eindex;
  • Path\Golden Parachute 150.dta Stata
    JFE ATP Value during Shocks.sas:2984
    Data Files and Code/JFE ATP Value during Shocks.sas, line 2984 proc import datafile='Path\Golden Parachute 150.dta' out=gp1 replace;
  • Path\Golden Parachute.dta Stata
    JFE ATP Value during Shocks.sas:2980
    Data Files and Code/JFE ATP Value during Shocks.sas, line 2980 proc import datafile='Path\Golden Parachute.dta' out=gp replace;
  • Path\Governance and Business Cycle.dta Stata
    TR Insider Data.sas:68
    Data Files and Code/TR Insider Data.sas, line 68 proc import datafile='Path\Governance and Business Cycle.dta' out=sample replace;
  • Path\Inevitable Disclosure Coding April 4.xlsx Excel
    JFE ATP Value during Shocks.sas:3253
    Data Files and Code/JFE ATP Value during Shocks.sas, line 3253 proc import datafile='Path\Inevitable Disclosure Coding April 4.xlsx' out=indc replace dbms=xlsx;
  • Path\Naics IO.dta Stata
    JFE ATP Value during Shocks.sas:2240
    Data Files and Code/JFE ATP Value during Shocks.sas, line 2240 proc import datafile='Path\Naics IO.dta' out=naics replace; run;
  • Path\NBER Recession Dates.xlsx Excel
    JFE ATP Value during Shocks.sas:278
    Data Files and Code/JFE ATP Value during Shocks.sas, line 278 proc import datafile="Path\NBER Recession Dates.xlsx" replace out=rec dbms=xlsx;
  • Path\PS Liquidity.xlsx Excel
    JFE ATP Value during Shocks.sas:1070
    Data Files and Code/JFE ATP Value during Shocks.sas, line 1070 proc import datafile='Path\PS Liquidity.xlsx' replace dbms=xlsx out=ps;
  • Path\Right to Work Laws.xlsx Excel
    JFE ATP Value during Shocks.sas:3339
    Data Files and Code/JFE ATP Value during Shocks.sas, line 3339 proc import datafile='Path\Right to Work Laws.xlsx' dbms=xlsx out=laws replace;
  • Path\Second Generation Laws Karpoff 2016.xlsx Excel
    JFE ATP Value during Shocks.sas:256
    Data Files and Code/JFE ATP Value during Shocks.sas, line 256 proc import datafile='Path\Second Generation Laws Karpoff 2016.xlsx' replace out=gov dbms=xlsx;
  • Path\Trade Secret Statutes.xlsx Excel
    JFE ATP Value during Shocks.sas:157
    Data Files and Code/JFE ATP Value during Shocks.sas, line 157 proc import datafile = "Path\Trade Secret Statutes.xlsx" out=TS dbms=xlsx replace;
  • Path\US Quarterly GDP 4-23-2020.xlsx Excel
    JFE ATP Value during Shocks.sas:2750
    Data Files and Code/JFE ATP Value during Shocks.sas, line 2750 proc import datafile="Path\US Quarterly GDP 4-23-2020.xlsx" replace out=gdp dbms=xlsx;
  • Path\UTSA years.xlsx Excel
    JFE ATP Value during Shocks.sas:3349
    Data Files and Code/JFE ATP Value during Shocks.sas, line 3349 proc import datafile='Path\UTSA years.xlsx' out=laws dbms=xlsx replace;
  • Path\Wrongful Discharge Laws Autor 2003.xlsx Excel
    JFE ATP Value during Shocks.sas:3321
    Data Files and Code/JFE ATP Value during Shocks.sas, line 3321 proc import datafile='Path\Wrongful Discharge Laws Autor 2003.xlsx' dbms=xlsx out=wd replace;
  • trws.wrds_ws_stock SAS
    JFE ATP Value during Shocks.sas:3623
    Data Files and Code/JFE ATP Value during Shocks.sas, line 3623 set trws.wrds_ws_stock;

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

7 scripts, in data lineage — a script that writes a file comes before the scripts that read it; 6 hand-offs through 16 intermediate files; 15 files written and never read back (outputs). 1 hand-off runs against this order (dashed), so the order is low-confidence: the scripts share a file both ways, or the order is not the one stated.

Data Files and Code/Raw File Download.sas → Data Files and Code/Hoberg and Phillips Booms and Busts.sas: m.ccmxpf_lnkhist, m.funda, m.fundq, m.msenames, m.msf, m.namesData Files and Code/JFE ATP Value during Shocks.sas → Data Files and Code/Hoberg and Phillips Booms and Busts.sas: Governance and Business Cycle Final.dtaData Files and Code/JFE ATP Value during Shocks.sas → Data Files and Code/JFE ATP Value during Shocks Final.do: Match (-1,+1).dta, Match (-2,+2).dta, Match (-3,+3).dtaData Files and Code/Raw File Download.sas → Data Files and Code/JFE ATP Value during Shocks.sas: m.ccmxpf_lnkhist, m.factors_daily, m.factors_monthly, m.funda, m.fundq, m.msenames, m.msf, m.msi (+2 more)Data Files and Code/TR Insider Data.sas → Data Files and Code/JFE ATP Value during Shocks.sas: Insider Holdings.dtaData Files and Code/Hoberg and Phillips Booms and Busts.sas → Data Files and Code/JFE ATP Value during Shocks.sas: HP Undervaluation.dta Data Files and Code/macros.sas 1. macros.sas Data Files and Code/Clean Data Files of Excess Variables.do · reads 3 input files 2. Clean Data Files of Excess Variables.do Data Files and Code/Raw File Download.sas · reads 14 input files 3. Raw File Download.sas Data Files and Code/TR Insider Data.sas · reads 3 input files 4. TR Insider Data.sas Data Files and Code/Hoberg and Phillips Booms and Busts.sas · reads 3 input files 5. Hoberg and Phillips Booms and Busts.sas Data Files and Code/JFE ATP Value during Shocks.sas · reads 53 input files 6. JFE ATP Value during Shocks.sas Data Files and Code/JFE ATP Value during Shocks Final.do · reads 9 input files · 180 estimations 7. JFE ATP Value during Shocks Final.do 180 est.
  1. 1.Data Files and Code/macros.sas setup file sourced by 2 scripts 9 merges ·
  2. 2.Data Files and Code/Clean Data Files of Excess Variables.do reads 3 input files ·
  3. 3.Data Files and Code/Raw File Download.sas reads 14 input files ·
    writes m.ccmxpf_lnkhist → read by Hoberg and Phillips Booms and Busts.sas, JFE ATP Value during Shocks.sas
    writes m.factors_daily → read by JFE ATP Value during Shocks.sas
    writes m.factors_monthly → read by JFE ATP Value during Shocks.sas
    writes m.funda → read by Hoberg and Phillips Booms and Busts.sas, JFE ATP Value during Shocks.sas
    writes m.fundq → read by Hoberg and Phillips Booms and Busts.sas, JFE ATP Value during Shocks.sas
    writes m.msenames → read by Hoberg and Phillips Booms and Busts.sas, JFE ATP Value during Shocks.sas
    writes m.msf → read by Hoberg and Phillips Booms and Busts.sas, JFE ATP Value during Shocks.sas
    writes m.msi → read by JFE ATP Value during Shocks.sas
    writes m.names → read by Hoberg and Phillips Booms and Busts.sas, JFE ATP Value during Shocks.sas
    writes m.s34 → read by JFE ATP Value during Shocks.sas
    writes (not read again): m.company, m.comphist, m.cst_hist, m.liq_ps, m.rates_daily, m.rates_monthly, m.total_q, m.wrds_seg_customer
  4. 4.Data Files and Code/TR Insider Data.sas reads 3 input files · 2 merges ·
    writes Insider Holdings.dta → read by JFE ATP Value during Shocks.sas
  5. 5.Data Files and Code/Hoberg and Phillips Booms and Busts.sas reads 3 input files · 33 merges ·
    reads what Raw File Download.sas, JFE ATP Value during Shocks.sas wrote
    writes HP Undervaluation.dta → read by JFE ATP Value during Shocks.sas
  6. 6.Data Files and Code/JFE ATP Value during Shocks.sas reads 53 input files · 210 merges ·
    reads what Raw File Download.sas, TR Insider Data.sas, Hoberg and Phillips Booms and Busts.sas wrote
    writes Governance and Business Cycle Final.dta → read by Hoberg and Phillips Booms and Busts.sas
    writes Match (-1,+1).dta → read by JFE ATP Value during Shocks Final.do
    writes Match (-2,+2).dta → read by JFE ATP Value during Shocks Final.do
    writes Match (-3,+3).dta → read by JFE ATP Value during Shocks Final.do
    writes (not read again): Governance and Merger Premiums Final.dta, Graphs.dta, Graphs1.dta, Matched Sample Final.dta, Pill & CB Match.dta, Pill Match.dta, Portfolio Regressions Qobs Final.dta
  7. 7.Data Files and Code/JFE ATP Value during Shocks Final.do reads 9 input files · 180 estimations
    reads what JFE ATP Value during Shocks.sas wrote

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

JoinsHowOn keysCheck that followsWhere
&data ← temp join (left) — none
macros.sas:77
Data Files and Code/macros.sas, line 77 from &data as a left join temp as b on a.&firmid = b.&firmid & month(a.&timeid) = month(b.&timeid) & year(a.&timeid) = year(b.&timeid);
xtemp ← xtemp_pctl merge &byvar none
macros.sas:157
Data Files and Code/macros.sas, line 157 merge xtemp xtemp_pctl; /*merge percentage cutoff values into main dataset*/
xtemp ← xtemp_pctl merge &byvar none
macros.sas:256
Data Files and Code/macros.sas, line 256 merge xtemp xtemp_pctl; /*merge percentage cutoff values into main dataset*/
&data ← temp join (left) — none
macros.sas:366
Data Files and Code/macros.sas, line 366 from &data as a left join temp as b on a.&firmid = b.&firmid & a.&yearid = b.&yearid;
xp ← xs join (inner) Variable none
macros.sas:522
Data Files and Code/macros.sas, line 522 from xp, xs where (xp.Variable = xs.variable);
temp1000 ← temp2000 cross (cross) — none
macros.sas:1885
Data Files and Code/macros.sas, line 1885 from temp1000, temp2000;
temp1000 ← temp2000 cross (cross) — none
macros.sas:1952
Data Files and Code/macros.sas, line 1952 from temp1000, temp2000;
temp3001 ← temp3002 cross (cross) — none
macros.sas:2000
Data Files and Code/macros.sas, line 2000 select mean(temp3001.NOBS) as NOBS_Model1, mean(temp3002.NOBS) as NOBS_Model2, temp3001.ADJRSQ as ADJRSQ_Model1, temp3002.ADJRSQ as ADJRSQ_Model2, sum(temp3001.ADJRSQ,(temp3002.adjrsq*-1)) as ADJRSQ_DIFF, temp3001.VAR_R …
temp1000 ← temp2000 cross (cross) — none
macros.sas:2040
Data Files and Code/macros.sas, line 2040 from temp1000, temp2000;
keys ← table1 join (left) cusip6 none
TR Insider Data.sas:99
Data Files and Code/TR Insider Data.sas, line 99 SELECT * FROM keys as a LEFT JOIN table1 as b on a.cusip6 = b.cusip6 where b.rolecode1 in (&rolecodes) and year(trandate) between &year1 and &year2;
direct2 ← indirect2 join (left) personid dcn none
TR Insider Data.sas:236
Data Files and Code/TR Insider Data.sas, line 236 FROM direct2 as a LEFT JOIN indirect2 as b ON a.personid = b.personid and a.dcn=b.dcn ORDER BY cusip6, personid, dcn;
comp1 ← names join (left) gvkeyn none
Hoberg and Phillips Booms and Busts.sas:28
Data Files and Code/Hoberg and Phillips Booms and Busts.sas, line 28 from comp1 as a left join names as b on a.gvkeyn=b.gvkeyn;

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

Filters, by kind
value ranges ×1
  • keep if max>0
    JFE ATP Value during Shocks Final.do:1708
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 1708 keep if max>0
indicator subsets ×1
  • keep if sample==1
    JFE ATP Value during Shocks Final.do:418
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 418 keep if sample==1
missing values ×2
  • drop if auditsamp==.
    JFE ATP Value during Shocks Final.do:659
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 659 drop if auditsamp==.
  • drop if d13==.
    JFE ATP Value during Shocks Final.do:660
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 660 drop if d13==.
Outliers
winsorize at 1/99 within qobs · 53 variables
mb mb1 lncmve lncmva bm fret fret1 lnassets lnfage mom oroa blev +41
JFE ATP Value during Shocks.sas:687
Data Files and Code/JFE ATP Value during Shocks.sas, line 687 %WT(data = crsp3, out=crsp4, byvar=qobs, vars = mb mb1 lncmve lncmva bm fret fret1 lnassets lnfage mom oroa blev assets betad edf , type = W, pctl = 1 99, drop=N);
JFE ATP Value during Shocks.sas:1244
Data Files and Code/JFE ATP Value during Shocks.sas, line 1244 %WT(data = sample1, out=sample1, byvar=qobs, vars = mb1 fret1, type = W, pctl = 1 99, drop=N);
JFE ATP Value during Shocks.sas:1555
Data Files and Code/JFE ATP Value during Shocks.sas, line 1555 %WT(data = sample2, out=sample2, byvar=qobs, vars = bmt frett momt oroat blevt betadt edft lnassetst lnfaget, type = W, pctl = 1 99, drop=N);
JFE ATP Value during Shocks.sas:2545
Data Files and Code/JFE ATP Value during Shocks.sas, line 2545 %WT(data = sample2, out=sample3, byvar=qobs, vars = capxp1c omc sac sgc agc, type = W, pctl = 1 99, drop=N);
winsorize at 1/99 · 34 variables
premp63 car63_2 car42_2 car21_2 car10_2 lnassets lnfage blev oroa mom bm betad +22
JFE ATP Value during Shocks Final.do:422
Data Files and Code/JFE ATP Value during Shocks Final.do, line 422 winsor2 premp63 car63_2 car42_2 car21_2 car10_2 lnassets lnfage blev oroa mom bm betad edf, replace
JFE ATP Value during Shocks Final.do:1162
Data Files and Code/JFE ATP Value during Shocks Final.do, line 1162 winsor2 bsize lnbsize lndelta lnvega
Hoberg and Phillips Booms and Busts.sas:299
Data Files and Code/Hoberg and Phillips Booms and Busts.sas, line 299 %WT(data = comp6, out=comp7, byvar=none, vars = roe volpe roa volpa mb mba ltblev, type = W, pctl = 1 99, drop=N);
Hoberg and Phillips Booms and Busts.sas:427
Data Files and Code/Hoberg and Phillips Booms and Busts.sas, line 427 %WT(data = comp9, out=comp9, byvar=none, vars = intercept1 bage1 bdiv1 bltblev1 blnassets1 bvolpa broa bq21 bq31 bq41, type = W, pctl = 1 99, drop=N);
winsorize at 1/99 within fyear · 1 variable
rds
JFE ATP Value during Shocks.sas:2281
Data Files and Code/JFE ATP Value during Shocks.sas, line 2281 %WT(data = comp2, out=comp2, byvar=fyear, vars = rds, type = W, pctl = 1 99, drop=N);
Missing values
set to zero ×8
  • neg1 → 0
    JFE ATP Value during Shocks Final.do:230
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 230 replace neg1=0 if neg1==.
  • neg2 → 0
    JFE ATP Value during Shocks Final.do:231
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 231 replace neg2=0 if neg2==.
  • neg3 → 0
    JFE ATP Value during Shocks Final.do:232
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 232 replace neg3=0 if neg3==.
  • neg4 → 0
    JFE ATP Value during Shocks Final.do:233
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 233 replace neg4=0 if neg4==.
  • neg1 → 0
    JFE ATP Value during Shocks Final.do:306
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 306 replace neg1=0 if neg1==.
  • neg2 → 0
    JFE ATP Value during Shocks Final.do:307
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 307 replace neg2=0 if neg2==.
filled with a value ×5
  • pillsdc → pill
    JFE ATP Value during Shocks Final.do:996
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 996 replace pillsdc=pill if pillsdc==.
  • cbdefml → cb
    JFE ATP Value during Shocks Final.do:997
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 997 replace cbdefml=cb if cbdefml==.
  • pillsdc → pill
    JFE ATP Value during Shocks Final.do:1081
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 1081 replace pillsdc=pill if pillsdc==.
  • cbdefml → cb
    JFE ATP Value during Shocks Final.do:1082
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 1082 replace cbdefml=cb if cbdefml==.
  • gp100 → gp
    JFE ATP Value during Shocks Final.do:1083
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 1083 replace gp100=gp if gp100==.
common sample across variables (listwise) ×3
  • JFE ATP Value during Shocks Final.do:74
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 74 gen sample=e(sample)
  • JFE ATP Value during Shocks Final.do:417
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 417 gen sample=e(sample)
  • JFE ATP Value during Shocks Final.do:1156
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 1156 gen sample=e(sample)
dropped ×2
  • JFE ATP Value during Shocks Final.do:659
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 659 drop if auditsamp==.
  • JFE ATP Value during Shocks Final.do:660
    Data Files and Code/JFE ATP Value during Shocks Final.do, line 660 drop if d13==.

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

Standard measures computed here: Advertising Intensity (advs
JFE ATP Value during Shocks.sas:4389
Data Files and Code/JFE ATP Value during Shocks.sas, line 4389 advs = xad/sale;
), Analyst Following (nanal
JFE ATP Value during Shocks.sas:4293
Data Files and Code/JFE ATP Value during Shocks.sas, line 4293 nanal = numest;
), Asset Turnover (sa
JFE ATP Value during Shocks.sas:2442
Data Files and Code/JFE ATP Value during Shocks.sas, line 2442 sa = saleq/atq;
), Board Independence (bsize
JFE ATP Value during Shocks.sas:4555
Data Files and Code/JFE ATP Value during Shocks.sas, line 4555 create table bx1 as select distinct gvkeyn, nmo, mean(indep) as pindep, max(bceochair) as bceochair, count(directorid) as bsize, mean(seat3) as bseat3 from bx group by gvkeyn, nmo;
), Board Size (bsize
JFE ATP Value during Shocks.sas:4555
Data Files and Code/JFE ATP Value during Shocks.sas, line 4555 create table bx1 as select distinct gvkeyn, nmo, mean(indep) as pindep, max(bceochair) as bceochair, count(directorid) as bsize, mean(seat3) as bseat3 from bx group by gvkeyn, nmo;
), Book Leverage (blev
JFE ATP Value during Shocks.sas:631
Data Files and Code/JFE ATP Value during Shocks.sas, line 631 blev = (dlcq+dlttq)/atq;
), Book-to-Market (bmt
JFE ATP Value during Shocks.sas:1529
Data Files and Code/JFE ATP Value during Shocks.sas, line 1529 if zero=0 and tdeal=1 then bmt=(ceqqc/(cmve/1000));
), CEO Equity Ownership (insiderown
JFE ATP Value during Shocks.sas:3588
Data Files and Code/JFE ATP Value during Shocks.sas, line 3588 create table ann2 as select a.*, b.nmo, b.datadate, b.csho, (a.sharesown/1000)/b.csho as ceoown, (a.insider/1000)/b.csho as insiderown from ann2 as a left join comp as b on a.gvkeyn=b.gvkeyn and a.year=b.fyear;
), Capital Expenditure (capxa1
JFE ATP Value during Shocks.sas:2415
Data Files and Code/JFE ATP Value during Shocks.sas, line 2415 capxa1 = (dcapxy)/atq1;
), Cash Holdings (cash
JFE ATP Value during Shocks.sas:630
Data Files and Code/JFE ATP Value during Shocks.sas, line 630 cash = cheq/atq;
), Dividend Payer (Div
Hoberg and Phillips Booms and Busts.sas:56
Data Files and Code/Hoberg and Phillips Booms and Busts.sas, line 56 Div=0; if dvc ne . and dvc>0 then Div=1;
), Forecast Dispersion (fdisp
JFE ATP Value during Shocks.sas:4291
Data Files and Code/JFE ATP Value during Shocks.sas, line 4291 fdisp = stdev/prc;
), Long-term Debt Ratio (LTBlev
Hoberg and Phillips Booms and Busts.sas:54
Data Files and Code/Hoberg and Phillips Booms and Busts.sas, line 54 LTBlev = dlttq/atq;
), Market Beta (
JFE ATP Value during Shocks.sas:545
Data Files and Code/JFE ATP Value during Shocks.sas, line 545 model xret = mktrf;
), Momentum (mom
JFE ATP Value during Shocks.sas:348
Data Files and Code/JFE ATP Value during Shocks.sas, line 348 create table crsp1 as select distinct a.*, exp(sum(log(1+b.ret)))-1 as mom, count(a.ret) as obs9 from crsp1 as a left join crsp as b on a.permno=b.permno and (a.nmo-11)<=b.nmo<=(a.nmo-3) group by a.permno, a.nmo;
), Operating Margin (om
JFE ATP Value during Shocks.sas:2440
Data Files and Code/JFE ATP Value during Shocks.sas, line 2440 om = oibdpq/saleq;
), Pay-Performance Sensitivity (Delta) (lndelta
JFE ATP Value during Shocks Final.do:1159
Data Files and Code/JFE ATP Value during Shocks Final.do, line 1159 gen lndelta=ln(1+delta)
), Pay-Risk Sensitivity (Vega) (lnvega
JFE ATP Value during Shocks Final.do:1158
Data Files and Code/JFE ATP Value during Shocks Final.do, line 1158 gen lnvega=ln(1+vega)
), R&D Intensity (rdann
JFE ATP Value during Shocks.sas:1984
Data Files and Code/JFE ATP Value during Shocks.sas, line 1984 rdann = xrd/at;
), Return on Assets (ROA) (roa
Hoberg and Phillips Booms and Busts.sas:70
Data Files and Code/Hoberg and Phillips Booms and Busts.sas, line 70 create table compq1 as select a.*, b.dvy as dvy1, a.earn/b.be as roe, a.oibdpq/b.atq as roa from compq as a left join compq as b on a.gvkeyn=b.gvkeyn and a.obsq=b.obsq+1;
), SG&A Intensity (sgas
JFE ATP Value during Shocks.sas:2423
Data Files and Code/JFE ATP Value during Shocks.sas, line 2423 sgas = xsgaq/saleq;
), Tobin's Q / Market-to-Book (MB
Hoberg and Phillips Booms and Busts.sas:50
Data Files and Code/Hoberg and Phillips Booms and Busts.sas, line 50 MB = ME/BE;
)
VariableUsed in models asBuilt by
mb outcome in 67
mb = ((cmve/1000)+atqc-ceqqc)/atqc (assign)
JFE ATP Value during Shocks.sas:628
Data Files and Code/JFE ATP Value during Shocks.sas, line 628 mb = ((cmve/1000)+atqc-ceqqc)/atqc;
mb = mb1 (assign)
JFE ATP Value during Shocks.sas:1322
Data Files and Code/JFE ATP Value during Shocks.sas, line 1322 mb=mb1;
mb = mb1 (assign)
JFE ATP Value during Shocks.sas:3163
Data Files and Code/JFE ATP Value during Shocks.sas, line 3163 mb=mb1;
fret outcome in 63
fret = exp(sum(log(1+b.ret)))-1 (proc sql as)
JFE ATP Value during Shocks.sas:333
Data Files and Code/JFE ATP Value during Shocks.sas, line 333 create table crsp1 as select distinct a.*, exp(sum(log(1+b.ret)))-1 as fret, count(a.ret) as obs3, exp(sum(log(1+b.vwretd)))-1 as mkt, exp(sum(log(1+b.ewretd)))-1 as mkte from crsp as a left join crsp as b on a.permno=b.permno and (a.nmo-2 …
fret = . (assign)
JFE ATP Value during Shocks.sas:654
Data Files and Code/JFE ATP Value during Shocks.sas, line 654 if obs3 ne 3 then fret=.;
fret = fret1 (assign)
JFE ATP Value during Shocks.sas:1323
Data Files and Code/JFE ATP Value during Shocks.sas, line 1323 fret=fret1;
+2 more statements set it
tdeal outcome in 8
tdeal = 1 (assign)
JFE ATP Value during Shocks.sas:1374
Data Files and Code/JFE ATP Value during Shocks.sas, line 1374 tdeal=1;
tdeal = max(b.tdeal) (proc sql as)
JFE ATP Value during Shocks.sas:1435
Data Files and Code/JFE ATP Value during Shocks.sas, line 1435 create table temp as select distinct a.permno, a.qobs, max(b.tdeal) as tdeal, b.qobs as tqobs, max(b.pctown) as pctown from sample as a inner join prem2 as b on a.permno=b.permno and a.qobs=b.qobs group by a.permno, a.datadate;
tdeal = max(b.tdeal) (proc sql as)
JFE ATP Value during Shocks.sas:1442
Data Files and Code/JFE ATP Value during Shocks.sas, line 1442 create table temp1 as select distinct a.permno, a.qobs, max(b.tdeal) as tdeal, b.qobs as tqobs, max(b.pctown) as pctown from sample as a inner join prem2 as b on a.permno=b.permno and a.qobs=b.qobs-1 group by a.permno, a.datadate;
+7 more statements set it
abret outcome in 4
abret = fret-mean(fret) (proc sql as)
JFE ATP Value during Shocks.sas:1252
Data Files and Code/JFE ATP Value during Shocks.sas, line 1252 create table sample1 as select *, fret-mean(fret) as abret, fret1-mean(fret1) as abret1 from sample1 group by qobs, rbm, rmom, rsize;
abret = abret1 (assign)
JFE ATP Value during Shocks.sas:1324
Data Files and Code/JFE ATP Value during Shocks.sas, line 1324 abret=abret1;
abret = fret-mean(fret) (proc sql as)
JFE ATP Value during Shocks.sas:3093
Data Files and Code/JFE ATP Value during Shocks.sas, line 3093 create table sample1 as select *, fret-mean(fret) as abret, fret1-mean(fret1) as abret1 from sample1 group by qobs, rbm, rmom, rsize;
+2 more statements set it
d13 outcome in 4
d13 = 1 (assign)
JFE ATP Value during Shocks.sas:2625
Data Files and Code/JFE ATP Value during Shocks.sas, line 2625 d13=1;
d13 = max(b.d13) (proc sql as)
JFE ATP Value during Shocks.sas:2641
Data Files and Code/JFE ATP Value during Shocks.sas, line 2641 create table sample1a as select distinct a.*, max(b.d13) as d13 from sample1 as a left join act2 as b on a.gvkeyn=b.gvkeyn and (a.snmo)<=b.nmo<=(a.nmo) group by a.gvkeyn, a.nmo;
d13 = 0 (assign)
JFE ATP Value during Shocks.sas:2653
Data Files and Code/JFE ATP Value during Shocks.sas, line 2653 if d13=. then d13=0;
+3 more statements set it
dewret outcome in 4
dewret = a.ewret-b.ewret (proc sql as)
JFE ATP Value during Shocks.sas:1063
Data Files and Code/JFE ATP Value during Shocks.sas, line 1063 create table crsp6 as select a.*, b.vwret as vwret0, b.ewret as ewret0, a.vwret-b.vwret as dvwret, a.ewret-b.ewret as dewret from crsp5 as a inner join crsp5 as b on a.snmo=b.snmo and a.port=1 and b.port=0;
dewret = a.ewret-b.ewret (proc sql as)
JFE ATP Value during Shocks.sas:1157
Data Files and Code/JFE ATP Value during Shocks.sas, line 1157 create table crsp6 as select a.*, b.vwret as vwret0, b.ewret as ewret0, a.vwret-b.vwret as dvwret, a.ewret-b.ewret as dewret from crsp5 as a inner join crsp5 as b on a.snmo=b.snmo and a.port=1 and b.port=0;
dvwret outcome in 4
dvwret = a.vwret-b.vwret (proc sql as)
JFE ATP Value during Shocks.sas:1063
Data Files and Code/JFE ATP Value during Shocks.sas, line 1063 create table crsp6 as select a.*, b.vwret as vwret0, b.ewret as ewret0, a.vwret-b.vwret as dvwret, a.ewret-b.ewret as dewret from crsp5 as a inner join crsp5 as b on a.snmo=b.snmo and a.port=1 and b.port=0;
dvwret = a.vwret-b.vwret (proc sql as)
JFE ATP Value during Shocks.sas:1157
Data Files and Code/JFE ATP Value during Shocks.sas, line 1157 create table crsp6 as select a.*, b.vwret as vwret0, b.ewret as ewret0, a.vwret-b.vwret as dvwret, a.ewret-b.ewret as dewret from crsp5 as a inner join crsp5 as b on a.snmo=b.snmo and a.port=1 and b.port=0;
capxp1c outcome in 2
capxp1c = b.capxp1 (proc sql as)
JFE ATP Value during Shocks.sas:2530
Data Files and Code/JFE ATP Value during Shocks.sas, line 2530 create table sample2 as select a.*, b.capxp1 as capxp1c, b.sg as sgc, b.om as omc, b.sa as sac, b.ag as agc, abs(a.nmo-b.nmo) as diffc1 from sample1 as a left join compq2 as b on a.gvkeyn=b.gvkeyn and (a.nmo-2)<=b.nmo<=(a.nmo+2);
capxp1c = capxp1c*100 (replace)
JFE ATP Value during Shocks Final.do:614
Data Files and Code/JFE ATP Value during Shocks Final.do, line 614 replace capxp1c=capxp1c*100
omc outcome in 2
omc = b.om (proc sql as)
JFE ATP Value during Shocks.sas:2530
Data Files and Code/JFE ATP Value during Shocks.sas, line 2530 create table sample2 as select a.*, b.capxp1 as capxp1c, b.sg as sgc, b.om as omc, b.sa as sac, b.ag as agc, abs(a.nmo-b.nmo) as diffc1 from sample1 as a left join compq2 as b on a.gvkeyn=b.gvkeyn and (a.nmo-2)<=b.nmo<=(a.nmo+2);
omc = omc*100 (replace)
JFE ATP Value during Shocks Final.do:612
Data Files and Code/JFE ATP Value during Shocks Final.do, line 612 replace omc=omc*100
sac outcome in 2
sac = b.sa (proc sql as)
JFE ATP Value during Shocks.sas:2530
Data Files and Code/JFE ATP Value during Shocks.sas, line 2530 create table sample2 as select a.*, b.capxp1 as capxp1c, b.sg as sgc, b.om as omc, b.sa as sac, b.ag as agc, abs(a.nmo-b.nmo) as diffc1 from sample1 as a left join compq2 as b on a.gvkeyn=b.gvkeyn and (a.nmo-2)<=b.nmo<=(a.nmo+2);
sac = sac*100 (replace)
JFE ATP Value during Shocks Final.do:613
Data Files and Code/JFE ATP Value during Shocks Final.do, line 613 replace sac = sac*100
sgc outcome in 2
sgc = b.sg (proc sql as)
JFE ATP Value during Shocks.sas:2530
Data Files and Code/JFE ATP Value during Shocks.sas, line 2530 create table sample2 as select a.*, b.capxp1 as capxp1c, b.sg as sgc, b.om as omc, b.sa as sac, b.ag as agc, abs(a.nmo-b.nmo) as diffc1 from sample1 as a left join compq2 as b on a.gvkeyn=b.gvkeyn and (a.nmo-2)<=b.nmo<=(a.nmo+2);
sgc = sgc*100 (replace)
JFE ATP Value during Shocks Final.do:615
Data Files and Code/JFE ATP Value during Shocks Final.do, line 615 replace sgc=sgc*100
lnatqc outcome in 1
lnatqc = ln(atqc/cpi) (gen)
JFE ATP Value during Shocks Final.do:720
Data Files and Code/JFE ATP Value during Shocks Final.do, line 720 gen lnatqc=ln(atqc/cpi)
premp63 outcome in 1
premp63 = (prcpd/prc63)-1 (assign)
JFE ATP Value during Shocks.sas:1816
Data Files and Code/JFE ATP Value during Shocks.sas, line 1816 premp63 = (prcpd/prc63)-1;
neg regressor in 907
neg = 0 (assign)
JFE ATP Value during Shocks.sas:673
Data Files and Code/JFE ATP Value during Shocks.sas, line 673 neg=0;
neg = 1 (assign)
JFE ATP Value during Shocks.sas:674
Data Files and Code/JFE ATP Value during Shocks.sas, line 674 if mkt<=-.1 then neg=1;
neg = 0 (assign)
JFE ATP Value during Shocks.sas:850
Data Files and Code/JFE ATP Value during Shocks.sas, line 850 neg=0;
+19 more statements set it
comb regressor in 200
comb = bcd+csd+fpd+ddd+ppd (assign)
JFE ATP Value during Shocks.sas:614
Data Files and Code/JFE ATP Value during Shocks.sas, line 614 comb=bcd+csd+fpd+ddd+ppd;
comb = mean(comb) (proc sql as)
JFE ATP Value during Shocks.sas:1052
Data Files and Code/JFE ATP Value during Shocks.sas, line 1052 create table crsp5 as select distinct date, snmo, port, sum(cmve1*ret/tcmve1) as vwret, mean(ret) as ewret, mean(comb) as comb from crsp4 group by port, snmo order by snmo, port;
comb = mean(comb) (proc sql as)
JFE ATP Value during Shocks.sas:1146
Data Files and Code/JFE ATP Value during Shocks.sas, line 1146 create table crsp5 as select distinct date, snmo, port, sum(cmve1*ret/tcmve1) as vwret, mean(ret) as ewret, mean(comb) as comb from crsp4 group by port, snmo order by snmo, port;
+22 more statements set it

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

Estimations not traced to a table or figure · 180
CommandOutcomeRegressors Fixed effectsStandard errorsWhere
reghdfe
panel fe
mb comb qobs fqtr, gvkeyn default
JFE ATP Value during Shocks Final.do:72
Data Files and Code/JFE ATP Value during Shocks Final.do, line 72 reghdfe mb comb qobs, a(fqtr gvkeyn)
reghdfe
panel fe
`X' rcomb — cluster: incorp
JFE ATP Value during Shocks Final.do:95
Data Files and Code/JFE ATP Value during Shocks Final.do, line 95 reghdfe `X' rcomb if sample==1 & neg==1, noabsorb cluster(incorp)
reghdfe
panel fe
mb c.comb##c.neg qobs gvkeyn, fqtr cluster: incorp, qobs
JFE ATP Value during Shocks Final.do:133
Data Files and Code/JFE ATP Value during Shocks Final.do, line 133 reghdfe mb c.comb##c.$Z qobs, a(gvkeyn fqtr) cluster($cluster) as we read it (macros filled in / loop expanded): reghdfe mb c.comb##c.neg qobs, a(gvkeyn fqtr) cluster(incorp qobs)
reghdfe
panel fe
mb c.comb##c.neg lnassets c.lnassets#c.neg lnfage c.lnfage#c.neg oroa c.oroa#c.neg blev c.blev#c.neg io c.io#c.neg edf +4 more gvkeyn, fqtr cluster: incorp, qobs
JFE ATP Value during Shocks Final.do:136
Data Files and Code/JFE ATP Value during Shocks Final.do, line 136 reghdfe mb c.comb##c.$Z $A $B qobs, a(gvkeyn fqtr) cluster($cluster) as we read it (macros filled in / loop expanded): reghdfe mb c.comb##c.neg lnassets c.lnassets#c.neg lnfage c.lnfage#c.neg oroa c.oroa#c.neg blev c.blev#c.neg io c.io#c.neg edf c.edf#c.neg betad c.betad#c.neg qobs, a(gvkeyn fqtr) cluster(incorp qobs)
reghdfe
panel fe
mb c.comb##c.neg gvkeyn, sic3#qobs, fqtr cluster: incorp, qobs
JFE ATP Value during Shocks Final.do:139
Data Files and Code/JFE ATP Value during Shocks Final.do, line 139 reghdfe mb c.comb##c.$Z, a(gvkeyn sic3#qobs fqtr) cluster($cluster) as we read it (macros filled in / loop expanded): reghdfe mb c.comb##c.neg, a(gvkeyn sic3#qobs fqtr) cluster(incorp qobs)
reghdfe
panel fe
mb c.comb##c.neg lnassets c.lnassets#c.neg lnfage c.lnfage#c.neg oroa c.oroa#c.neg blev c.blev#c.neg io c.io#c.neg edf +3 more gvkeyn, sic3#qobs, fqtr cluster: incorp, qobs
JFE ATP Value during Shocks Final.do:142
Data Files and Code/JFE ATP Value during Shocks Final.do, line 142 reghdfe mb c.comb##c.$Z $A $B , a(gvkeyn sic3#qobs fqtr) cluster($cluster) as we read it (macros filled in / loop expanded): reghdfe mb c.comb##c.neg lnassets c.lnassets#c.neg lnfage c.lnfage#c.neg oroa c.oroa#c.neg blev c.blev#c.neg io c.io#c.neg edf c.edf#c.neg betad c.betad#c.neg , a(gvkeyn sic3#qobs fqtr) cluster(incorp qobs)
reghdfe
panel fe
fret c.comb##c.neg qobs i.port c.neg#i.port gvkeyn, fqtr cluster: incorp, qobs
JFE ATP Value during Shocks Final.do:145
Data Files and Code/JFE ATP Value during Shocks Final.do, line 145 reghdfe fret c.comb##c.$Z qobs i.port c.neg#i.port, a(gvkeyn fqtr) cluster($cluster) as we read it (macros filled in / loop expanded): reghdfe fret c.comb##c.neg qobs i.port c.neg#i.port, a(gvkeyn fqtr) cluster(incorp qobs)
reghdfe
panel fe
fret c.comb##c.neg lnassets c.lnassets#c.neg lnfage c.lnfage#c.neg oroa c.oroa#c.neg blev c.blev#c.neg io c.io#c.neg edf +6 more gvkeyn, fqtr cluster: incorp, qobs
JFE ATP Value during Shocks Final.do:148
Data Files and Code/JFE ATP Value during Shocks Final.do, line 148 reghdfe fret c.comb##c.$Z $A $B qobs i.port c.neg#i.port, a(gvkeyn fqtr) cluster($cluster) as we read it (macros filled in / loop expanded): reghdfe fret c.comb##c.neg lnassets c.lnassets#c.neg lnfage c.lnfage#c.neg oroa c.oroa#c.neg blev c.blev#c.neg io c.io#c.neg edf c.edf#c.neg betad c.betad#c.neg qobs i.port c.neg#i.port, a(gvkeyn fqtr) cluster(incorp qobs)
reghdfe
panel fe
fret c.comb##c.neg gvkeyn, port#qobs, sic3#qobs, fqtr cluster: incorp, qobs
JFE ATP Value during Shocks Final.do:151
Data Files and Code/JFE ATP Value during Shocks Final.do, line 151 reghdfe fret c.comb##c.$Z, a(gvkeyn port#qobs sic3#qobs fqtr) cluster($cluster) as we read it (macros filled in / loop expanded): reghdfe fret c.comb##c.neg, a(gvkeyn port#qobs sic3#qobs fqtr) cluster(incorp qobs)
reghdfe
panel fe
fret c.comb##c.neg lnassets c.lnassets#c.neg lnfage c.lnfage#c.neg oroa c.oroa#c.neg blev c.blev#c.neg io c.io#c.neg edf +3 more gvkeyn, port#qobs, sic3#qobs, fqtr cluster: incorp, qobs
JFE ATP Value during Shocks Final.do:154
Data Files and Code/JFE ATP Value during Shocks Final.do, line 154 reghdfe fret c.comb##c.$Z $A $B, a(gvkeyn port#qobs sic3#qobs fqtr) cluster($cluster) as we read it (macros filled in / loop expanded): reghdfe fret c.comb##c.neg lnassets c.lnassets#c.neg lnfage c.lnfage#c.neg oroa c.oroa#c.neg blev c.blev#c.neg io c.io#c.neg edf c.edf#c.neg betad c.betad#c.neg, a(gvkeyn port#qobs sic3#qobs fqtr) cluster(incorp qobs)
reghdfe
panel fe
mb c.comb##i.shock gvkeyn, sic3#qobs, fqtr cluster: incorp, qobs
JFE ATP Value during Shocks Final.do:186
Data Files and Code/JFE ATP Value during Shocks Final.do, line 186 reghdfe mb c.comb##i.shock, a(gvkeyn sic3#qobs fqtr) cluster($cluster) as we read it (macros filled in / loop expanded): reghdfe mb c.comb##i.shock, a(gvkeyn sic3#qobs fqtr) cluster(incorp qobs)
reghdfe
panel fe
mb c.comb##i.shock lnassets c.lnassets#c.neg lnfage c.lnfage#c.neg oroa c.oroa#c.neg blev c.blev#c.neg io c.io#c.neg edf +3 more gvkeyn, sic3#qobs, fqtr cluster: incorp, qobs
JFE ATP Value during Shocks Final.do:189
Data Files and Code/JFE ATP Value during Shocks Final.do, line 189 reghdfe mb c.comb##i.shock $A $B , a(gvkeyn sic3#qobs fqtr) cluster($cluster) as we read it (macros filled in / loop expanded): reghdfe mb c.comb##i.shock lnassets c.lnassets#c.neg lnfage c.lnfage#c.neg oroa c.oroa#c.neg blev c.blev#c.neg io c.io#c.neg edf c.edf#c.neg betad c.betad#c.neg , a(gvkeyn sic3#qobs fqtr) cluster(incorp qobs)
reghdfe
panel fe
fret c.comb##i.shock gvkeyn, port#qobs, sic3#qobs, fqtr cluster: incorp, qobs
JFE ATP Value during Shocks Final.do:192
Data Files and Code/JFE ATP Value during Shocks Final.do, line 192 reghdfe fret c.comb##i.shock, a(gvkeyn port#qobs sic3#qobs fqtr) cluster($cluster) as we read it (macros filled in / loop expanded): reghdfe fret c.comb##i.shock, a(gvkeyn port#qobs sic3#qobs fqtr) cluster(incorp qobs)
reghdfe
panel fe
fret c.comb##i.shock lnassets c.lnassets#c.neg lnfage c.lnfage#c.neg oroa c.oroa#c.neg blev c.blev#c.neg io c.io#c.neg edf +3 more gvkeyn, port#qobs, sic3#qobs, fqtr cluster: incorp, qobs
JFE ATP Value during Shocks Final.do:195
Data Files and Code/JFE ATP Value during Shocks Final.do, line 195 reghdfe fret c.comb##i.shock $A $B, a(gvkeyn port#qobs sic3#qobs fqtr) cluster($cluster) as we read it (macros filled in / loop expanded): reghdfe fret c.comb##i.shock lnassets c.lnassets#c.neg lnfage c.lnfage#c.neg oroa c.oroa#c.neg blev c.blev#c.neg io c.io#c.neg edf c.edf#c.neg betad c.betad#c.neg, a(gvkeyn port#qobs sic3#qobs fqtr) cluster(incorp qobs)
reghdfe
panel fe
mb c.comb##c.neg4 c.comb##c.neg3 c.comb##c.neg2 c.comb##c.neg1 c.comb##c.neg c.comb##c.negp1 c.comb##c.negp2 c.comb##c.negp3 c.comb##c.negp4 qobs gvkeyn, sic3#qobs, fqtr cluster: incorp, qobs
JFE ATP Value during Shocks Final.do:237
Data Files and Code/JFE ATP Value during Shocks Final.do, line 237 reghdfe mb c.comb##c.neg4 c.comb##c.neg3 c.comb##c.neg2 c.comb##c.neg1 c.comb##c.neg c.comb##c.negp1 c.comb##c.negp2 c.comb##c.negp3 c.comb##c.negp4 qobs, a(gvkeyn sic3#qobs fqtr) cluster($cluster) as we read it (macros filled in / loop expanded): reghdfe mb c.comb##c.neg4 c.comb##c.neg3 c.comb##c.neg2 c.comb##c.neg1 c.comb##c.neg c.comb##c.negp1 c.comb##c.negp2 c.comb##c.negp3 c.comb##c.negp4 qobs, a(gvkeyn sic3#qobs fqtr) cluster(incorp qobs)
reghdfe
panel fe
mb c.comb##c.neg4 c.comb##c.neg3 c.comb##c.neg2 c.comb##c.neg1 c.comb##c.neg c.comb##c.negp1 c.comb##c.negp2 c.comb##c.negp3 c.comb##c.negp4 lnassets c.lnassets#c.neg lnfage +11 more gvkeyn, sic3#qobs, fqtr cluster: incorp, qobs
JFE ATP Value during Shocks Final.do:240
Data Files and Code/JFE ATP Value during Shocks Final.do, line 240 reghdfe mb c.comb##c.neg4 c.comb##c.neg3 c.comb##c.neg2 c.comb##c.neg1 c.comb##c.neg c.comb##c.negp1 c.comb##c.negp2 c.comb##c.negp3 c.comb##c.negp4 $A $B , a(gvkeyn sic3#qobs fqtr) cluster($cluster) as we read it (macros filled in / loop expanded): reghdfe mb c.comb##c.neg4 c.comb##c.neg3 c.comb##c.neg2 c.comb##c.neg1 c.comb##c.neg c.comb##c.negp1 c.comb##c.negp2 c.comb##c.negp3 c.comb##c.negp4 lnassets c.lnassets#c.neg lnfage c.lnfage#c.neg oroa c.oroa#c.neg blev c.blev#c.neg io c.io …
reghdfe
panel fe
fret c.comb##c.neg4 c.comb##c.neg3 c.comb##c.neg2 c.comb##c.neg1 c.comb##c.neg c.comb##c.negp1 c.comb##c.negp2 c.comb##c.negp3 c.comb##c.negp4 qobs gvkeyn, port#qobs, sic3#qobs, fqtr cluster: incorp, qobs
JFE ATP Value during Shocks Final.do:243
Data Files and Code/JFE ATP Value during Shocks Final.do, line 243 reghdfe fret c.comb##c.neg4 c.comb##c.neg3 c.comb##c.neg2 c.comb##c.neg1 c.comb##c.neg c.comb##c.negp1 c.comb##c.negp2 c.comb##c.negp3 c.comb##c.negp4 qobs, a(gvkeyn port#qobs sic3#qobs fqtr) cluster($cluster) as we read it (macros filled in / loop expanded): reghdfe fret c.comb##c.neg4 c.comb##c.neg3 c.comb##c.neg2 c.comb##c.neg1 c.comb##c.neg c.comb##c.negp1 c.comb##c.negp2 c.comb##c.negp3 c.comb##c.negp4 qobs, a(gvkeyn port#qobs sic3#qobs fqtr) cluster(incorp qobs)
reghdfe
panel fe
fret c.comb##c.neg4 c.comb##c.neg3 c.comb##c.neg2 c.comb##c.neg1 c.comb##c.neg c.comb##c.negp1 c.comb##c.negp2 c.comb##c.negp3 c.comb##c.negp4 lnassets c.lnassets#c.neg lnfage +11 more gvkeyn, port#qobs, sic3#qobs, fqtr cluster: incorp, qobs
JFE ATP Value during Shocks Final.do:246
Data Files and Code/JFE ATP Value during Shocks Final.do, line 246 reghdfe fret c.comb##c.neg4 c.comb##c.neg3 c.comb##c.neg2 c.comb##c.neg1 c.comb##c.neg c.comb##c.negp1 c.comb##c.negp2 c.comb##c.negp3 c.comb##c.negp4 $A $B , a(gvkeyn port#qobs sic3#qobs fqtr) cluster($cluster) as we read it (macros filled in / loop expanded): reghdfe fret c.comb##c.neg4 c.comb##c.neg3 c.comb##c.neg2 c.comb##c.neg1 c.comb##c.neg c.comb##c.negp1 c.comb##c.negp2 c.comb##c.negp3 c.comb##c.negp4 lnassets c.lnassets#c.neg lnfage c.lnfage#c.neg oroa c.oroa#c.neg blev c.blev#c.neg io c. …
newey
ols
dvwret neg mktrf smb hml umd ps_vwf — newey_west
JFE ATP Value during Shocks Final.do:283
Data Files and Code/JFE ATP Value during Shocks Final.do, line 283 newey dvwret neg mktrf smb hml umd ps_vwf, lag(3)
newey
ols
dvwret neg mktrf c.mktrf#c.neg smb c.smb#c.neg hml c.hml#c.neg umd c.umd#c.neg ps_vwf c.neg#c.ps_vwf — newey_west
JFE ATP Value during Shocks Final.do:285
Data Files and Code/JFE ATP Value during Shocks Final.do, line 285 newey dvwret neg mktrf c.mktrf#c.neg smb c.smb#c.neg hml c.hml#c.neg umd c.umd#c.neg ps_vwf c.neg#c.ps_vwf, lag(3)
newey
ols
dewret neg mktrf smb hml umd ps_vwf — newey_west
JFE ATP Value during Shocks Final.do:287
Data Files and Code/JFE ATP Value during Shocks Final.do, line 287 newey dewret neg mktrf smb hml umd ps_vwf, lag(3)
newey
ols
dewret neg mktrf c.mktrf#c.neg smb c.smb#c.neg hml c.hml#c.neg umd c.umd#c.neg ps_vwf c.neg#c.ps_vwf — newey_west
JFE ATP Value during Shocks Final.do:289
Data Files and Code/JFE ATP Value during Shocks Final.do, line 289 newey dewret neg mktrf c.mktrf#c.neg smb c.smb#c.neg hml c.hml#c.neg umd c.umd#c.neg ps_vwf c.neg#c.ps_vwf, lag(3)
newey
ols
dvwret neg4 neg3 neg2 neg1 neg negp1 negp2 negp3 negp4 mktrf smb hml +2 more — newey_west
JFE ATP Value during Shocks Final.do:311
Data Files and Code/JFE ATP Value during Shocks Final.do, line 311 newey dvwret neg4 neg3 neg2 neg1 neg negp1 negp2 negp3 negp4 mktrf smb hml umd ps_vwf, lag(3)
newey
ols
dvwret neg4 neg3 neg2 neg1 neg negp1 negp2 negp3 negp4 mktrf c.mktrf#c.neg smb +7 more — newey_west
JFE ATP Value during Shocks Final.do:313
Data Files and Code/JFE ATP Value during Shocks Final.do, line 313 newey dvwret neg4 neg3 neg2 neg1 neg negp1 negp2 negp3 negp4 mktrf c.mktrf#c.neg smb c.smb#c.neg hml c.hml#c.neg umd c.umd#c.neg ps_vwf c.neg#c.ps_vwf, lag(3)
newey
ols
dewret neg4 neg3 neg2 neg1 neg negp1 negp2 negp3 negp4 mktrf smb hml +2 more — newey_west
JFE ATP Value during Shocks Final.do:315
Data Files and Code/JFE ATP Value during Shocks Final.do, line 315 newey dewret neg4 neg3 neg2 neg1 neg negp1 negp2 negp3 negp4 mktrf smb hml umd ps_vwf, lag(3)
newey
ols
dewret neg4 neg3 neg2 neg1 neg negp1 negp2 negp3 negp4 mktrf c.mktrf#c.neg smb +7 more — newey_west
JFE ATP Value during Shocks Final.do:317
Data Files and Code/JFE ATP Value during Shocks Final.do, line 317 newey dewret neg4 neg3 neg2 neg1 neg negp1 negp2 negp3 negp4 mktrf c.mktrf#c.neg smb c.smb#c.neg hml c.hml#c.neg umd c.umd#c.neg ps_vwf c.neg#c.ps_vwf, lag(3)
reghdfe
panel fe
`X' rcomb — cluster: incorp
JFE ATP Value during Shocks Final.do:356
Data Files and Code/JFE ATP Value during Shocks Final.do, line 356 reghdfe `X' rcomb if post==0, noabsorb cluster(incorp)
reghdfe
panel fe
mb c.comb##c.post — cluster: incorp
JFE ATP Value during Shocks Final.do:379
Data Files and Code/JFE ATP Value during Shocks Final.do, line 379 reghdfe mb c.comb##c.post, noabsorb cluster(incorp)
reghdfe
panel fe
mb c.comb##c.post lnassets c.lnassets#c.post lnfage c.lnfage#c.post oroa c.oroa#c.post blev c.blev#c.post io c.io#c.post edf +3 more — cluster: incorp
JFE ATP Value during Shocks Final.do:382
Data Files and Code/JFE ATP Value during Shocks Final.do, line 382 reghdfe mb c.comb##c.post $A $B, noabsorb cluster(incorp) as we read it (macros filled in / loop expanded): reghdfe mb c.comb##c.post lnassets c.lnassets#c.post lnfage c.lnfage#c.post oroa c.oroa#c.post blev c.blev#c.post io c.io#c.post edf c.edf#c.post betad c.betad#c.post, noabsorb cluster(incorp)
reghdfe
panel fe
abret c.comb##c.post — cluster: incorp
JFE ATP Value during Shocks Final.do:385
Data Files and Code/JFE ATP Value during Shocks Final.do, line 385 reghdfe abret c.comb##c.post, noabsorb cluster(incorp)
reghdfe
panel fe
abret c.comb##c.post lnassets c.lnassets#c.post lnfage c.lnfage#c.post oroa c.oroa#c.post blev c.blev#c.post io c.io#c.post edf +3 more — cluster: incorp
JFE ATP Value during Shocks Final.do:388
Data Files and Code/JFE ATP Value during Shocks Final.do, line 388 reghdfe abret c.comb##c.post $A $B, noabsorb cluster(incorp) as we read it (macros filled in / loop expanded): reghdfe abret c.comb##c.post lnassets c.lnassets#c.post lnfage c.lnfage#c.post oroa c.oroa#c.post blev c.blev#c.post io c.io#c.post edf c.edf#c.post betad c.betad#c.post, noabsorb cluster(incorp)
reghdfe
panel fe
premp63 c.negt##c.comb qobs sic3, incorp cluster: qobs, incorp
JFE ATP Value during Shocks Final.do:415
Data Files and Code/JFE ATP Value during Shocks Final.do, line 415 reghdfe premp63 c.negt##c.comb qobs, a(sic3 incorp) cluster($cluster) as we read it (macros filled in / loop expanded): reghdfe premp63 c.negt##c.comb qobs, a(sic3 incorp) cluster(qobs incorp)
reghdfe
panel fe
`X' c.negt##c.rcomb — cluster: incorp, qobs
JFE ATP Value during Shocks Final.do:439
Data Files and Code/JFE ATP Value during Shocks Final.do, line 439 reghdfe `X' c.negt##c.rcomb, noabsorb cluster(incorp qobs)
reghdfe
panel fe
`Y' c.negt##c.comb qobs sic3, incorp cluster: incorp, qobs
JFE ATP Value during Shocks Final.do:463
Data Files and Code/JFE ATP Value during Shocks Final.do, line 463 reghdfe `Y' c.$Z##c.comb qobs, a(sic3 incorp) cluster($cluster) as we read it (macros filled in / loop expanded): reghdfe `Y' c.negt##c.comb qobs, a(sic3 incorp) cluster(incorp qobs)
reghdfe
panel fe
`Y' c.negt##c.comb lnassets c.lnassets#c.negt lnfage c.lnfage#c.negt oroa c.oroa#c.negt blev c.blev#c.negt io c.io#c.negt edf +14 more sic3, incorp cluster: incorp, qobs
JFE ATP Value during Shocks Final.do:466
Data Files and Code/JFE ATP Value during Shocks Final.do, line 466 reghdfe `Y' c.$Z##c.comb $A $B qobs, a(sic3 incorp) cluster($cluster) as we read it (macros filled in / loop expanded): reghdfe `Y' c.negt##c.comb lnassets c.lnassets#c.negt lnfage c.lnfage#c.negt oroa c.oroa#c.negt blev c.blev#c.negt io c.io#c.negt edf c.edf#c.negt betad c.betad#c.negt pctheld c.pctheld#c.negt pctacqc c.pctacqc#c.negt pctcash c.pctcash#c.ne …
reghdfe
panel fe
`Y' c.negt##c.comb sic3, qobs, incorp cluster: incorp, qobs
JFE ATP Value during Shocks Final.do:469
Data Files and Code/JFE ATP Value during Shocks Final.do, line 469 reghdfe `Y' c.$Z##c.comb, a(sic3 qobs incorp) cluster($cluster) as we read it (macros filled in / loop expanded): reghdfe `Y' c.negt##c.comb, a(sic3 qobs incorp) cluster(incorp qobs)
reghdfe
panel fe
`Y' c.negt##c.comb lnassets c.lnassets#c.negt lnfage c.lnfage#c.negt oroa c.oroa#c.negt blev c.blev#c.negt io c.io#c.negt edf +13 more sic3, qobs, incorp cluster: incorp, qobs
JFE ATP Value during Shocks Final.do:472
Data Files and Code/JFE ATP Value during Shocks Final.do, line 472 reghdfe `Y' c.$Z##c.comb $A $B , a(sic3 qobs incorp) cluster($cluster) as we read it (macros filled in / loop expanded): reghdfe `Y' c.negt##c.comb lnassets c.lnassets#c.negt lnfage c.lnfage#c.negt oroa c.oroa#c.negt blev c.blev#c.negt io c.io#c.negt edf c.edf#c.negt betad c.betad#c.negt pctheld c.pctheld#c.negt pctacqc c.pctacqc#c.negt pctcash c.pctcash#c.ne …
reghdfe
panel fe
mb c.comb##c.neg##c.`R1' gvkeyn, sic3#qobs, fqtr cluster: incorp, qobs
JFE ATP Value during Shocks Final.do:526
Data Files and Code/JFE ATP Value during Shocks Final.do, line 526 reghdfe mb c.comb##c.neg##c.`R1', a(gvkeyn sic3#qobs fqtr) cluster($cluster) as we read it (macros filled in / loop expanded): reghdfe mb c.comb##c.neg##c.`R1', a(gvkeyn sic3#qobs fqtr) cluster(incorp qobs)
reghdfe
panel fe
mb c.comb##c.neg##c.`R1' lnassets c.lnassets#c.neg lnfage c.lnfage#c.neg oroa c.oroa#c.neg blev c.blev#c.neg io c.io#c.neg edf +3 more gvkeyn, sic3#qobs, fqtr cluster: incorp, qobs
JFE ATP Value during Shocks Final.do:531
Data Files and Code/JFE ATP Value during Shocks Final.do, line 531 reghdfe mb c.comb##c.neg##c.`R1' $A $B, a(gvkeyn sic3#qobs fqtr) cluster($cluster) as we read it (macros filled in / loop expanded): reghdfe mb c.comb##c.neg##c.`R1' lnassets c.lnassets#c.neg lnfage c.lnfage#c.neg oroa c.oroa#c.neg blev c.blev#c.neg io c.io#c.neg edf c.edf#c.neg betad c.betad#c.neg, a(gvkeyn sic3#qobs fqtr) cluster(incorp qobs)
reghdfe
panel fe
fret c.comb##c.neg##c.`R1' gvkeyn, port#qobs, sic3#qobs, fqtr cluster: incorp, qobs
JFE ATP Value during Shocks Final.do:536
Data Files and Code/JFE ATP Value during Shocks Final.do, line 536 reghdfe fret c.comb##c.neg##c.`R1', a(gvkeyn port#qobs sic3#qobs fqtr) cluster($cluster) as we read it (macros filled in / loop expanded): reghdfe fret c.comb##c.neg##c.`R1', a(gvkeyn port#qobs sic3#qobs fqtr) cluster(incorp qobs)
Tables and figures the code writes: results.csv
JFE ATP Value during Shocks Final.do:79
Data Files and Code/JFE ATP Value during Shocks Final.do, line 79 esttab using results.csv , replace cells("count mean sd p5 p25 p50 p75 p95")

7 · Figures: how each is drawn — 7 figures in the code (command, layers, options, the file it is saved to)

event-study plot 4 · coefficient plot 2 · bar 1
commandlayersvariables optionssaved aswhere
graph bar
bar
bar y obs0, obs1, obs2, obs3, obs4, obs5 by quarter ytitle Number of Firms · legend cols(3) size(small) order(1 ATP=0 2 ATP=1 3 ATP=2 4 ATP=3 5 ATP=4 6 ATP=5) not saved
JFE ATP Value during Shocks Final.do:56
Data Files and Code/JFE ATP Value during Shocks Final.do, line 56 graph bar obs0 obs1 obs2 obs3 obs4 obs5, over(quarter, label(angle(45) labsize(small))) bar(1,color(ltblue*.5)) bar(2,color(ltblue*1.1)) bar(3,color(blue*.6)) bar(4,color(blue)) bar(5,color(blue*1.5)) bar(6,color(dknavy …
–65
coefplot
coefficient plot
coefplot + coefplot estimates mb3, mb4 title DV = Tobin's Q_t · ytitle Shock { c 215} ATP Coefficient · yline 0 · ci rcap · legend symxsize(small) size(vsmall) · vertical yes temp4.gph
JFE ATP Value during Shocks Final.do:204
Data Files and Code/JFE ATP Value during Shocks Final.do, line 204 coefplot (mb3, label(No Controls)) (mb4, label(Full Controls)), byopts(compact cols(2)) coeflabels(, angle(45)) vertical levels(90) ciopts(lwidth(.5) recast(rcap)) msize(1.5) keep(1.shock#c.comb 2.shock#c.comb 3.shock#c. …
coefplot
coefficient plot
coefplot + coefplot estimates fret3, fret4 title DV = Shareholder Return_t · ytitle Shock { c 215} ATP Coefficient · yline 0 · ci rcap · legend symxsize(small) size(vsmall) · vertical yes temp5.gph
JFE ATP Value during Shocks Final.do:210
Data Files and Code/JFE ATP Value during Shocks Final.do, line 210 coefplot (fret3, label(No Controls)) (fret4, label(Full Controls)), byopts(compact cols(2)) coeflabels(, angle(45)) vertical levels(90) ciopts(lwidth(.5) recast(rcap)) msize(1.5) keep(1.shock#c.comb 2.shock#c.comb 3.sho …
coefplot
event-study plot
coefplot + coefplot estimates mb1, mb2 title DV = Tobin's Q_t · xtitle Time Relative to Shock · ytitle Shock { c 215} ATP Coefficient · xline 5 · yline 0 · ci rcap · legend symxsize(small) size(vsmall) · vertical yes temp.gph
JFE ATP Value during Shocks Final.do:253
Data Files and Code/JFE ATP Value during Shocks Final.do, line 253 coefplot (mb1, label(No Controls)) (mb2, label(Full Controls)), byopts(compact cols(2) yrescale) vertical levels(90) ciopts(lwidth(.5) recast(rcap)) msize(2) keep(c.comb#c.neg4 c.comb#c.neg3 c.comb#c.neg2 c.comb#c.neg1 …
coefplot
event-study plot
coefplot + coefplot estimates fret1, fret2 title DV = Shareholder Return_t · xtitle Time Relative to Shock · ytitle Shock { c 215} ATP Coefficient · xline 5 · yline 0 · ci rcap · legend symxsize(small) size(vsmall) · vertical yes temp1.gph
JFE ATP Value during Shocks Final.do:257
Data Files and Code/JFE ATP Value during Shocks Final.do, line 257 coefplot (fret1, label(No Controls)) (fret2, label(Full Controls)), byopts(compact cols(2) yrescale) vertical levels(90) ciopts(lwidth(.5) recast(rcap)) msize(2) keep(c.comb#c.neg4 c.comb#c.neg3 c.comb#c.neg2 c.comb#c.n …
coefplot
event-study plot
coefplot + coefplot estimates m1, m2 title DV = VW Shareholder Return High ATP - Low ATP · xtitle Time Relative to Shock · ytitle Shock Coefficient · xline 5 · yline 0 · ci rcap · legend symxsize(small) size(vsmall) · vertical yes temp.gph
JFE ATP Value during Shocks Final.do:324
Data Files and Code/JFE ATP Value during Shocks Final.do, line 324 coefplot (m1, label(Controls)) (m2, label(Interacted Controls)), byopts(compact cols(2) yrescale) vertical levels(90) ciopts(lwidth(.5) recast(rcap)) msize(2) keep(neg4 neg3 neg2 neg1 neg negp1 negp2 negp3 negp4) rename …
coefplot
event-study plot
coefplot + coefplot estimates m3, m4 title DV = EW Shareholder Return High ATP - Low ATP · xtitle Time Relative to Shock · ytitle Shock Coefficient · xline 5 · yline 0 · ci rcap · legend symxsize(small) size(vsmall) · vertical yes temp1.gph
JFE ATP Value during Shocks Final.do:328
Data Files and Code/JFE ATP Value during Shocks Final.do, line 328 coefplot (m3, label(Controls)) (m4, label(Interacted Controls)), byopts(compact cols(2) yrescale) vertical levels(90) ciopts(lwidth(.5) recast(rcap)) msize(2) keep(neg4 neg3 neg2 neg1 neg negp1 negp2 negp3 negp4) rename …