Journal of Financial and Quantitative Analysis · 2026 · 10.1017/s0022109025102287
Insiders' information advantage: Evidence from competition with short sellers
Harold Contreras; Jana P. Fidrmuc; Roman Kozhan
The research recipe, read from the replication code
dataverse · package
· stata, mathematica, matlab
2006–2017
sample period in the code
58
keep/drop statements
67
winsorizations
121
missing-data rules
3
de-duplications
4
distinct estimations
Sample period in the code: the window the code writes most often —
4_building_master.do:36.
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 (12)
and keep/drop statements plus winsorized variables (110).
1 · Data and structure
Panel declared as:
cusip8_id × date (daily); cusip_id × date (daily); id × days; lpermno × fyear_qtr2 · How the sample is built
- drop missing data ×9
- drop indicator subset ×8
- keep category value ×5
- keep value range ×3
- drop category value ×3
- keep missing data ×2
- keep indicator subset ×2
- drop value range ×2
Reshaping:
sort into quantile groups ×8; collapse to a coarser unit ×5; drop duplicate rows ×3; fill gaps in the panel ×2; expand (duplicate) rows ×2; reshape long/wide ×1
sorts into quintiles
3 · Design and validation
Identification: —
4 · What it estimates
| Command | Method | Fixed effects absorbed | Inference | File |
|---|---|---|---|---|
|
panel fe | cluster by lpermno | 5_main_results.do | |
|
panel fe | default | 5_main_results.do | |
|
panel fe | cusip, fyear_qtr | cluster by cusip | 7_pre_post_sox_results.do |
|
ols | default | 7_pre_post_sox_results.do |
5 · What it produces
6 table files and 10 figure files
(pdf 9, xls 6, ? 1);
9 estimates traced from the model that produced them into the exhibit that reports them.
$results\Table_3_forp.xls$results\Table_4_A_forp.xls$results\Table_4_B_forp.xls$results\Table_5_panel_B.xls$results\Table_7_panel_A.xls$results\Table_7_panel_B.xls$results\Figure0.pdf$results\Figure0_1.pdf$results\Figure1.pdf$results\Figure2_ip&ssh.pdf$results\Figure2_ip&ssl.pdf$results\Figure2_ip&ssm.pdf$results\Figure2_is&ssh.pdf$results\Figure2_is&ssl.pdfHow the code gets from data to results own page
10
scripts
5
input files
14
file hand-offs
24
merges
110
sample steps
12
estimations
1 · Data in — files the code reads and no script of the package writes
Datasets this package uses (item detector / README):
Compustat, Compustat North America Fundamentals Quarterly, Compustat North America (database), Kenneth French Data Library (Fama-French factors)
Other input files
5 files
$raw_data\CPIdata.dtaStata · read by 2 scripts5_main_results.do:81
replication_package_final/do_files/5_main_results.do, line 81 merge m:m year using "$raw_data\CPIdata.dta"$raw_data\25_Portfolios_5x5(VW).dtaStata3_returns.do:112
replication_package_final/do_files/3_returns.do, line 112 merge m:m date using "$raw_data\25_Portfolios_5x5(VW).dta"$raw_data\F-F_Research_5_factors.dtaStata3_returns.do:124
replication_package_final/do_files/3_returns.do, line 124 merge m:m date using "$raw_data\F-F_Research_5_factors.dta"$raw_data\Short_int_comp_1980-2017.dtaStata6_pre_post_sox_cleaning.do:37
replication_package_final/do_files/6_pre_post_sox_cleaning.do, line 37 use "$raw_data\Short_int_comp_1980-2017.dta", clear$raw_data\thomson_insider_sample.dtaStata2_insider_trading_cleaning.do:30
replication_package_final/do_files/2_insider_trading_cleaning.do, line 30 use "$raw_data\thomson_insider_sample.dta", clear
2 · The file pipeline — which script writes which file that a later script reads
10 scripts, in run order for the master script 0_master_code.do and the 7 scripts it runs (directly or through each other); the other 2 are not run by a master script and follow in file-name order;
14 hand-offs through 11 intermediate files; 5 files written and never read back (outputs).
2 hand-offs run 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.
-
1.
replication_package_final/do_files/0_master_code.domaster script -
2.
replication_package_final/do_files/1_short_sales_markit.dorun by replication_package_final/do_files/0_master_code.do line 48 15 merges ·reads what6_pre_post_sox_cleaning.dowrotewritesSHSdata&EAdate2006-2017_LONG_forPub.dta→ read by5_main_results.dowritesSHSdata&EAdate2006-2017_LONG_forgraphs.dta→ read by5_main_results.dowritesSHSdata&EAdate2006-2017_WIDE_forPub.dta→ read by4_building_master.dowritescrsp_comp_merged_depurated.dta→ read by2_insider_trading_cleaning.do,3_returns.do,4_building_master.do,6_pre_post_sox_cleaning.do -
3.
replication_package_final/do_files/2_insider_trading_cleaning.dorun by replication_package_final/do_files/0_master_code.do line 51 reads 1 input file · 3 merges ·reads what1_short_sales_markit.dowrotewritesinsiders_exB_final.dta→ read by4_building_master.dowritesinsiders_exB_trandate.dta→ read by5_main_results.do,6_pre_post_sox_cleaning.dowrites (not read again):insiders_exB_collap_by_trandate.dta -
4.
replication_package_final/do_files/3_returns.dorun by replication_package_final/do_files/0_master_code.do line 54 reads 2 input files · 4 merges ·reads what1_short_sales_markit.do,6_pre_post_sox_cleaning.dowrotewritesARsmb_RDQ_dailyALL.dta→ read by4_building_master.do,7_pre_post_sox_results.dowrites (not read again):ARsmb_RDQ_daily`i'.dta -
5.
replication_package_final/do_files/4_building_master.dorun by replication_package_final/do_files/0_master_code.do line 57 3 merges ·reads what1_short_sales_markit.do,2_insider_trading_cleaning.do,3_returns.dowrotewritesmaster_dataset_1.dta→ read by5_main_results.do -
6.
replication_package_final/do_files/5_main_results.dorun by replication_package_final/do_files/0_master_code.do line 60 reads 1 input file · 4 merges · 7 estimationsreads what1_short_sales_markit.do,2_insider_trading_cleaning.do,4_building_master.dowrote -
7.
replication_package_final/do_files/6_pre_post_sox_cleaning.dorun by replication_package_final/do_files/0_master_code.do line 63 reads 1 input file · 4 merges ·reads what1_short_sales_markit.do,2_insider_trading_cleaning.dowrotewritesMaster_shortint_compust_1980-2017_byEAdate.dta→ read by7_pre_post_sox_results.dowritescrsp_comp_daily_1983_2017.dta→ read by3_returns.dowritescrsp_comp_merged.dta→ read by1_short_sales_markit.dowrites (not read again):Master_shortint_compustat_1980-2017.dta -
8.
replication_package_final/do_files/7_pre_post_sox_results.dorun by replication_package_final/do_files/0_master_code.do line 66 reads 1 input file · 2 merges · 5 estimationsreads what3_returns.do,6_pre_post_sox_cleaning.dowrote -
9.
Regression coefficients different ns.mwrites (not read again):Output_ns.xls -
10.
Regression coefficients.mwrites (not read again):Output.xls
3 · Merges — 24 joins, 23 followed by a check of the merge result; 11 appends
| Joins | How | On keys | Check that follows | Where |
|---|---|---|---|---|
sellside`v'_dep ← crsp_comp_merged_depurated |
merge m:m | cusip rdq |
drop if _merge==2 |
1_short_sales_markit.do:94replication_package_final/do_files/1_short_sales_markit.do, line 94
merge m:m cusip rdq using "$processed_data\crsp_comp_merged_depurated.dta", keepusing(ea_date lpermno) |
sellside`v'_dep ← ecount`v' |
merge m:m | cusip |
keep if _merge==3 |
1_short_sales_markit.do:116replication_package_final/do_files/1_short_sales_markit.do, line 116
merge m:m cusip using "$processed_data\Ecount`v'.dta" |
ss`v' ← event_dates`v' |
merge m:m | cusip set |
keep if _merge==3 |
1_short_sales_markit.do:137replication_package_final/do_files/1_short_sales_markit.do, line 137
merge m:m cusip set using "$processed_data\Event_dates`v'.dta", keepusing(rdq) |
ss2006final ← crsp_comp_merged_depurated |
merge m:m | cusip rdq |
drop if _merge==2 |
1_short_sales_markit.do:183replication_package_final/do_files/1_short_sales_markit.do, line 183
merge m:m cusip rdq using "$processed_data\crsp_comp_merged_depurated.dta", keepusing(cshoq) |
ins_sales ← ins_purch |
merge m:m | cusip8 trandate |
drop _merge |
2_insider_trading_cleaning.do:109replication_package_final/do_files/2_insider_trading_cleaning.do, line 109
merge m:m cusip8 trandate using "$processed_data\ins_purch.dta" |
ins_sales ← crsp_comp_merged_depurated |
merge m:m | cusip8 datacqtr |
drop if _merge==2 |
2_insider_trading_cleaning.do:146replication_package_final/do_files/2_insider_trading_cleaning.do, line 146
merge m:m cusip8 datacqtr using "$processed_data\crsp_comp_merged_depurated.dta", keepusing(rdq_4 rdq_3 rdq_2 rdq_1 rdq rdq1 rdq2 rdq3 rdq4) |
insiders_exb_collap_by_trandate ← crsp_comp_merged_depurated |
merge m:m | cusip8 rdq |
drop if _merge==2 |
2_insider_trading_cleaning.do:275replication_package_final/do_files/2_insider_trading_cleaning.do, line 275
merge m:m cusip8 rdq using "$processed_data\crsp_comp_merged_depurated.dta", keepusing(cshoq) |
crsp_comp_daily_1983_2017 ← crsp_comp_merged_depurated |
merge m:m | lpermno datacqtr |
drop if _merge==2 |
3_returns.do:57replication_package_final/do_files/3_returns.do, line 57
merge m:m lpermno datacqtr using "$processed_data\crsp_comp_merged_depurated.dta", keepusing(ceqq rdq cshoq) |
crsp_comp_daily_1983_2017 ← 25_portfolios_5x5(vw) |
merge m:m | date |
drop if _merge==2 |
3_returns.do:112replication_package_final/do_files/3_returns.do, line 112
merge m:m date using "$raw_data\25_Portfolios_5x5(VW).dta" |
crsp_comp_daily_1983_2017 ← f-f_research_5_factors |
merge m:m | date |
drop if _merge==2 |
3_returns.do:124replication_package_final/do_files/3_returns.do, line 124
merge m:m date using "$raw_data\F-F_Research_5_factors.dta" |
crsp_comp_daily_1983_2017 ← crsp_comp_merged_depurated |
merge m:m | lpermno rdq |
drop if _merge==2 |
3_returns.do:134replication_package_final/do_files/3_returns.do, line 134
merge m:m lpermno rdq using "$processed_data\crsp_comp_merged_depurated.dta", keepusing(ea_date) |
crsp_comp_merged_depurated ← shsdata&eadate2006-2017_wide_forpub |
merge m:m | cusip rdq |
keep if _merge==3 |
4_building_master.do:39replication_package_final/do_files/4_building_master.do, line 39
merge m:m cusip rdq using "$processed_data\SHSdata&EAdate2006-2017_WIDE_forPub.dta" |
crsp_comp_merged_depurated ← insiders_exb_final |
merge m:m | cusip8 cldate |
drop if _merge==2 |
4_building_master.do:49replication_package_final/do_files/4_building_master.do, line 49
merge m:m cusip8 cldate using "$processed_data\insiders_exB_final.dta" |
crsp_comp_merged_depurated ← arsmb_rdq_dailyall |
merge m:m | lpermno rdq |
drop if _merge==2 |
4_building_master.do:126replication_package_final/do_files/4_building_master.do, line 126
merge m:m lpermno rdq using "$processed_data\ARsmb_RDQ_dailyALL.dta" |
(data in memory) ← cpidata |
merge m:m | year |
drop if _merge==2 |
5_main_results.do:81replication_package_final/do_files/5_main_results.do, line 81
merge m:m year using "$raw_data\CPIdata.dta" |
shsdata&eadate2006-2017_long_forpub ← insiders_exb_trandate |
merge m:m | cusip8 cldate dif_ea_wdays_w |
drop if _merge==2 |
5_main_results.do:213replication_package_final/do_files/5_main_results.do, line 213
merge m:m cusip8 cldate dif_ea_wdays_w using "$processed_data\insiders_exB_trandate.dta", keepusing(RelITshares_s RelITshares_p) |
shsdata&eadate2006-2017_long_forgraphs ← insiders_exb_trandate |
merge m:m | cusip8 cldate trandate |
drop if _merge==2 |
5_main_results.do:265replication_package_final/do_files/5_main_results.do, line 265
merge m:m cusip8 cldate trandate using "$processed_data\insiders_exB_trandate.dta", keepusing(RelITshares_s RelITshares_p) |
shsdata&eadate2006-2017_long_forgraphs ← master_dataset_1 |
merge m:m | cusip8 rdq |
drop if _merge==2 |
5_main_results.do:286replication_package_final/do_files/5_main_results.do, line 286
merge m:m cusip8 rdq using "$processed_data\master_dataset_1.dta", keepusing(Ssbyqxnets_0_5) |
crsp_comp_merged_depurated ← crsp&comp_ss_firm_info |
merge m:m | cusip_id |
drop _merge |
6_pre_post_sox_cleaning.do:99replication_package_final/do_files/6_pre_post_sox_cleaning.do, line 99
merge m:m cusip_id using "$processed_data\crsp&comp_ss_firm_info.dta" |
crsp_comp_merged_depurated ← short_int_comp_1980-2017_dep |
merge m:m | cusip datadate |
none | 6_pre_post_sox_cleaning.do:104replication_package_final/do_files/6_pre_post_sox_cleaning.do, line 104
merge m:m cusip datadate using "$processed_data\Short_int_comp_1980-2017_dep.dta" |
crsp_comp_merged_depurated ← insiders_exb_trandate |
merge m:m | cusip8 trandate |
drop if _merge==2 |
6_pre_post_sox_cleaning.do:117replication_package_final/do_files/6_pre_post_sox_cleaning.do, line 117
merge m:m cusip8 trandate using "$processed_data\insiders_exB_trandate.dta", keepusing(trade_value_adj_s trade_value_adj_p shares_adj_s shares_adj_p) |
(data in memory) ← crsp_comp_merged_depurated |
merge m:m | cusip8 rdq |
drop if _merge==2 |
6_pre_post_sox_cleaning.do:229replication_package_final/do_files/6_pre_post_sox_cleaning.do, line 229
merge m:m cusip8 rdq using "$processed_data\crsp_comp_merged_depurated.dta", keepusing(fyearq fqtr fyr cshoq prccq epspxq ibq ceq atq) |
master_shortint_compust_1980-2017_byeadate ← arsmb_rdq_dailyall |
merge m:m | cusip8 rdq |
drop if _merge==2 |
7_pre_post_sox_results.do:44replication_package_final/do_files/7_pre_post_sox_results.do, line 44
merge m:m cusip8 rdq using "$processed_data\ARsmb_RDQ_dailyALL.dta" |
master_shortint_compust_1980-2017_byeadate ← cpidata |
merge m:m | year |
drop if _merge==2 |
7_pre_post_sox_results.do:234replication_package_final/do_files/7_pre_post_sox_results.do, line 234
merge m:m year using "$raw_data\CPIdata.dta" |
4 · The sample — 58 keep/drop steps, 52 variables winsorized or trimmed
Filters, by kind
time period ×2
- keep if
year>=2006 & year<=20174_building_master.do:36
replication_package_final/do_files/4_building_master.do, line 36 keep if year>=2006 & year<=2017 // sample period (Markit coverage) - drop if
year==2006 & month <74_building_master.do:59
replication_package_final/do_files/4_building_master.do, line 59 drop if year==2006 & month <7
value ranges ×5
- keep if
dif_ea>=-30 & dif_ea<=301_short_sales_markit.do:146
replication_package_final/do_files/1_short_sales_markit.do, line 146 keep if dif_ea>=-30 & dif_ea<=30 // +/-30 observations window - drop if
dif_ea_wdays<-1002_insider_trading_cleaning.do:267
replication_package_final/do_files/2_insider_trading_cleaning.do, line 267 drop if dif_ea_wdays<-100 - drop if
Nobs<=103_returns.do:80
replication_package_final/do_files/3_returns.do, line 80 drop if Nobs<=10 - keep if
id >=`i'+1-50 & id <=`i'3_returns.do:171
replication_package_final/do_files/3_returns.do, line 171 keep if id >=`i'+1-50 & id <=`i' - keep if
dif_ea>=-14 & dif_ea<=145_main_results.do:237
replication_package_final/do_files/5_main_results.do, line 237 keep if dif_ea>=-14 & dif_ea<=14
category values ×8
- keep if
Market_Area=="US Equity (Others)" | Market_Area=="US Equity (RUSSELL 2000)" | Market_Area=="US Equity (SP500)"1_short_sales_markit.do:87
replication_package_final/do_files/1_short_sales_markit.do, line 87 keep if Market_Area=="US Equity (Others)" | Market_Area=="US Equity (RUSSELL 2000)" | Market_Area=="US Equity (SP500)" - keep if
Record_Type==11_short_sales_markit.do:88
replication_package_final/do_files/1_short_sales_markit.do, line 88 keep if Record_Type==1 - keep if
trancode == "P" | trancode == "S"2_insider_trading_cleaning.do:41
replication_package_final/do_files/2_insider_trading_cleaning.do, line 41 keep if trancode == "P" | trancode == "S" - drop if
rolecode1=="B"2_insider_trading_cleaning.do:53
replication_package_final/do_files/2_insider_trading_cleaning.do, line 53 drop if rolecode1=="B" - drop if
rolecode1=="BC"2_insider_trading_cleaning.do:54
replication_package_final/do_files/2_insider_trading_cleaning.do, line 54 drop if rolecode1=="BC" - drop if
rolecode1=="BT"2_insider_trading_cleaning.do:55
replication_package_final/do_files/2_insider_trading_cleaning.do, line 55 drop if rolecode1=="BT" - keep if
trancode=="S"2_insider_trading_cleaning.do:63
replication_package_final/do_files/2_insider_trading_cleaning.do, line 63 keep if trancode=="S" - keep if
trancode=="P"2_insider_trading_cleaning.do:86
replication_package_final/do_files/2_insider_trading_cleaning.do, line 86 keep if trancode=="P"
indicator subsets ×10
- drop if
tag==01_short_sales_markit.do:209
replication_package_final/do_files/1_short_sales_markit.do, line 209 drop if tag==0 // keep one row per stock-event-day - drop if
tag==04_building_master.do:122
replication_package_final/do_files/4_building_master.do, line 122 drop if tag==0 - drop if
tag==04_building_master.do:133
replication_package_final/do_files/4_building_master.do, line 133 drop if tag==0 - drop if
tag==06_pre_post_sox_cleaning.do:44
replication_package_final/do_files/6_pre_post_sox_cleaning.do, line 44 drop if tag==0 - drop if
tag==06_pre_post_sox_cleaning.do:66
replication_package_final/do_files/6_pre_post_sox_cleaning.do, line 66 drop if tag==0 - drop if
tag==06_pre_post_sox_cleaning.do:86
replication_package_final/do_files/6_pre_post_sox_cleaning.do, line 86 drop if tag==0 - keep if
win==16_pre_post_sox_cleaning.do:164
replication_package_final/do_files/6_pre_post_sox_cleaning.do, line 164 keep if win==1 - drop if
tag==06_pre_post_sox_cleaning.do:255
replication_package_final/do_files/6_pre_post_sox_cleaning.do, line 255 drop if tag==0 - first 8 of 10
missing values ×11
- drop if
rdq==.1_short_sales_markit.do:51
replication_package_final/do_files/1_short_sales_markit.do, line 51 drop if rdq==. - keep if
eadate !=.1_short_sales_markit.do:100
replication_package_final/do_files/1_short_sales_markit.do, line 100 keep if eadate !=. // keep EA days only - drop if
cusip8==""2_insider_trading_cleaning.do:46
replication_package_final/do_files/2_insider_trading_cleaning.do, line 46 drop if cusip8=="" - drop if
trandate==.2_insider_trading_cleaning.do:209
replication_package_final/do_files/2_insider_trading_cleaning.do, line 209 drop if trandate==. - drop if
ewindow ==.3_returns.do:181
replication_package_final/do_files/3_returns.do, line 181 drop if ewindow ==. - keep if
evdate !=.3_returns.do:237
replication_package_final/do_files/3_returns.do, line 237 keep if evdate !=. // one row per firm-EA event - drop if
date==.5_main_results.do:270
replication_package_final/do_files/5_main_results.do, line 270 drop if date==. - drop if
rdq==.6_pre_post_sox_cleaning.do:60
replication_package_final/do_files/6_pre_post_sox_cleaning.do, line 60 drop if rdq==. - first 8 of 11
drops after a merge (_merge) ×22
- drop if
_merge==21_short_sales_markit.do:95
replication_package_final/do_files/1_short_sales_markit.do, line 95 drop if _merge==2 - keep if
_merge==31_short_sales_markit.do:118
replication_package_final/do_files/1_short_sales_markit.do, line 118 keep if _merge==3 - keep if
_merge==31_short_sales_markit.do:138
replication_package_final/do_files/1_short_sales_markit.do, line 138 keep if _merge==3 - drop if
_merge==21_short_sales_markit.do:184
replication_package_final/do_files/1_short_sales_markit.do, line 184 drop if _merge==2 - drop if
_merge==22_insider_trading_cleaning.do:147
replication_package_final/do_files/2_insider_trading_cleaning.do, line 147 drop if _merge==2 - drop if
_merge==22_insider_trading_cleaning.do:276
replication_package_final/do_files/2_insider_trading_cleaning.do, line 276 drop if _merge==2 - drop if
_merge==23_returns.do:58
replication_package_final/do_files/3_returns.do, line 58 drop if _merge==2 - drop if
_merge==23_returns.do:113
replication_package_final/do_files/3_returns.do, line 113 drop if _merge==2 - first 8 of 22
Outliers
winsorize at 1/99
· 51 variables
RelITshares_s RelITshares_p trade_value_adj_s trade_value_adj_p shares_adj_s shares_adj_p RelITshares_s* RelITshares_p* trade_value_adj_s* trade_value_adj_p* mktcap_crsp size +392_insider_trading_cleaning.do:300
replication_package_final/do_files/2_insider_trading_cleaning.do, line 300
winsor2 RelITshares_s RelITshares_p trade_value_adj_s trade_value_adj_p shares_adj_s shares_adj_p
4_building_master.do:55
replication_package_final/do_files/4_building_master.do, line 55
winsor2 RelITshares_s* RelITshares_p* trade_value_adj_s* trade_value_adj_p*
4_building_master.do:76
replication_package_final/do_files/4_building_master.do, line 76
winsor2 mktcap_crsp
4_building_master.do:97
replication_package_final/do_files/4_building_master.do, line 97
winsor2 size btomkt epspxq_4 epspxq_3 epspxq_2 epspxq_1 epspxq0 epspxq1 epspxq2 epspxq3 epspxq4
winsorize at 0/99
· 1 variable
dif_ea2_insider_trading_cleaning.do:264
replication_package_final/do_files/2_insider_trading_cleaning.do, line 264
winsor2 dif_ea, cuts(0 99)
Missing values
set to zero ×88
rel_shares_adj_s_0_5_w→07_pre_post_sox_results.do:108
replication_package_final/do_files/7_pre_post_sox_results.do, line 108 replace rel_shares_adj_s`v'_w=0 if rel_shares_adj_s`v'_w==.rel_shares_adj_s_0_20_w→07_pre_post_sox_results.do:108
replication_package_final/do_files/7_pre_post_sox_results.do, line 108 replace rel_shares_adj_s`v'_w=0 if rel_shares_adj_s`v'_w==.rel_shares_adj_p_0_5_w→07_pre_post_sox_results.do:109
replication_package_final/do_files/7_pre_post_sox_results.do, line 109 replace rel_shares_adj_p`v'_w=0 if rel_shares_adj_p`v'_w==.rel_shares_adj_p_0_20_w→07_pre_post_sox_results.do:109
replication_package_final/do_files/7_pre_post_sox_results.do, line 109 replace rel_shares_adj_p`v'_w=0 if rel_shares_adj_p`v'_w==.net_sales_0_5→07_pre_post_sox_results.do:124
replication_package_final/do_files/7_pre_post_sox_results.do, line 124 replace net_sales`v'=0 if net_sales`v'==.net_sales_0_20→07_pre_post_sox_results.do:124
replication_package_final/do_files/7_pre_post_sox_results.do, line 124 replace net_sales`v'=0 if net_sales`v'==.
filled with a value ×14
qnq_size_w→qn3_returns.do:100
replication_package_final/do_files/3_returns.do, line 100 replace qnq_`var' = qn if qnq_`var'==.qnq_btomkt_w→qn3_returns.do:100
replication_package_final/do_files/3_returns.do, line 100 replace qnq_`var' = qn if qnq_`var'==.rdq→rdq21_short_sales_markit.do:225
replication_package_final/do_files/1_short_sales_markit.do, line 225 replace rdq=rdq2 if rdq==.cldate_bc→cldate_bc22_insider_trading_cleaning.do:231
replication_package_final/do_files/2_insider_trading_cleaning.do, line 231 replace cldate_bc=cldate_bc2 if cldate_bc==. & cldate_bc2!=.trandate_bc→trandate_bc22_insider_trading_cleaning.do:236
replication_package_final/do_files/2_insider_trading_cleaning.do, line 236 replace trandate_bc=trandate_bc2 if trandate_bc==. & trandate_bc2!=.cldate_bc→cldate_bc22_insider_trading_cleaning.do:242
replication_package_final/do_files/2_insider_trading_cleaning.do, line 242 replace cldate_bc=cldate_bc2 if cldate_bc==. & cldate_bc2!=.
dropped ×10
3_returns.do:181
replication_package_final/do_files/3_returns.do, line 181 drop if ewindow ==.3_returns.do:237
replication_package_final/do_files/3_returns.do, line 237 keep if evdate !=. // one row per firm-EA event1_short_sales_markit.do:51
replication_package_final/do_files/1_short_sales_markit.do, line 51 drop if rdq==.1_short_sales_markit.do:100
replication_package_final/do_files/1_short_sales_markit.do, line 100 keep if eadate !=. // keep EA days only2_insider_trading_cleaning.do:209
replication_package_final/do_files/2_insider_trading_cleaning.do, line 209 drop if trandate==.6_pre_post_sox_cleaning.do:60
replication_package_final/do_files/6_pre_post_sox_cleaning.do, line 60 drop if rdq==.
interpolated / carried forward ×6
1_short_sales_markit.do:217
replication_package_final/do_files/1_short_sales_markit.do, line 217 tsfill, full // complete 0..60 grid per event6_pre_post_sox_cleaning.do:89
replication_package_final/do_files/6_pre_post_sox_cleaning.do, line 89 tsfill6_pre_post_sox_cleaning.do:95
replication_package_final/do_files/6_pre_post_sox_cleaning.do, line 95 bysort cusip_id: carryforward rdq, gen(rdq_adj)6_pre_post_sox_cleaning.do:175
replication_package_final/do_files/6_pre_post_sox_cleaning.do, line 175 bysort cusip8 ( negdate ): carryforward shortint if shortintadj , gen(shortint2) back6_pre_post_sox_cleaning.do:176
replication_package_final/do_files/6_pre_post_sox_cleaning.do, line 176 bysort cusip8 ( negdate ): carryforward shortintadj if shortint , gen(shortintadj2) back6_pre_post_sox_cleaning.do:260
replication_package_final/do_files/6_pre_post_sox_cleaning.do, line 260 by cusip8_id: ipolate shortintadj date, gen(i_shortintadj)
common sample across variables (listwise) ×3
7_pre_post_sox_results.do:279
replication_package_final/do_files/7_pre_post_sox_results.do, line 279 gen reg_sample_all=e(sample)7_pre_post_sox_results.do:281
replication_package_final/do_files/7_pre_post_sox_results.do, line 281 gen reg_sample_presox=e(sample)7_pre_post_sox_results.do:283
replication_package_final/do_files/7_pre_post_sox_results.do, line 283 gen reg_sample_postsox=e(sample)
5 · Key variables — what enters the models, and where the code builds it
Standard measures computed here:
Log Market Cap (), Return on Assets (ROA) ()
size 3_returns.do:65
replication_package_final/do_files/3_returns.do, line 65
gen size = ln(mktcap)
roa 4_building_master.do:102
replication_package_final/do_files/4_building_master.do, line 102
gen roa = ibq/atq
| Variable | Used in models as | Built by |
|---|---|---|
BHARwsize_bm_adj_6_46_w |
outcome in 3 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
Netsales_0_5_neg_bp |
outcome in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
Netsales_0_5_neg_bp_w |
outcome in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
Netsales_0_5_pos_bp |
outcome in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
Netsales_0_5_pos_bp_w |
outcome in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
BHARwsize_bm_adj_1_1_w |
regressor in 10 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
BHARwsize_bm_adj_252_2_w |
regressor in 10 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
eps_ch_w |
regressor in 10 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
Ssbyqxnets_0_5 |
regressor in 7 | Ssbyqxnets_0_5 = 1 (gen) 4_building_master.do:218replication_package_final/do_files/4_building_master.do, line 218
gen Ssbyqxnets_0_5=1 if Netsales_0_5_cat==1 & qnq_l4_OnloanQ1daymean0_5_w==1 Ssbyqxnets_0_5 = 2 (replace) 4_building_master.do:219replication_package_final/do_files/4_building_master.do, line 219
replace Ssbyqxnets_0_5=2 if Netsales_0_5_cat==1 & qnq_l4_OnloanQ1daymean0_5_w==5 Ssbyqxnets_0_5 = 3 (replace) 4_building_master.do:220replication_package_final/do_files/4_building_master.do, line 220
replace Ssbyqxnets_0_5=3 if Netsales_0_5_cat==2 & qnq_l4_OnloanQ1daymean0_5_w==1 +6 more statements set it |
fyear_qtr |
regressor in 6 | fyear_qtr = group( fyearq fqtr) (egen group) 4_building_master.do:117replication_package_final/do_files/4_building_master.do, line 117
egen fyear_qtr=group( fyearq fqtr) fyear_qtr = group( fyearq fqtr) (egen group) 7_pre_post_sox_results.do:93replication_package_final/do_files/7_pre_post_sox_results.do, line 93
egen fyear_qtr=group( fyearq fqtr) // fiscal year-quarter time index |
SOX |
regressor in 2 | SOX = 1 (gen) 6_pre_post_sox_cleaning.do:287replication_package_final/do_files/6_pre_post_sox_cleaning.do, line 287
gen SOX=1 if year>=2003 SOX = 1 (replace) 6_pre_post_sox_cleaning.do:288replication_package_final/do_files/6_pre_post_sox_cleaning.do, line 288
replace SOX=1 if year==2002 & month>=8 SOX = 0 (replace) 6_pre_post_sox_cleaning.do:289replication_package_final/do_files/6_pre_post_sox_cleaning.do, line 289
replace SOX=0 if SOX==. |
Netsales_0_5_cat |
regressor in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
ssh |
regressor in 1 | ssh = 1 (gen) 4_building_master.do:185replication_package_final/do_files/4_building_master.do, line 185
gen ssh= 1 if qnq_l4_OnloanQ1daymean0_5_w==5 ssh = 0 (replace) 4_building_master.do:186replication_package_final/do_files/4_building_master.do, line 186
replace ssh= 0 if qnq_l4_OnloanQ1daymean0_5_w!=5 & qnq_l4_OnloanQ1daymean0_5_w!=. |
ssl |
regressor in 1 | ssl = 1 (gen) 4_building_master.do:183replication_package_final/do_files/4_building_master.do, line 183
gen ssl= 1 if qnq_l4_OnloanQ1daymean0_5_w==1 ssl = 0 (replace) 4_building_master.do:184replication_package_final/do_files/4_building_master.do, line 184
replace ssl= 0 if qnq_l4_OnloanQ1daymean0_5_w!=1 & qnq_l4_OnloanQ1daymean0_5_w!=. |
6 · Models, by the table or figure they feed — 12 estimations, 9 traced into 4 exhibits
Table 3
· 1 estimation → Table_3_forp.xls
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
xtregpanel fe |
BHARwsize_bm_adj`var'_w |
i.Netsales_0_5_cat ssh ssl BHARwsize_bm_adj_252_2_w BHARwsize_bm_adj_1_1_w eps_ch_w i.fyear_qtr
|
— | cluster: lpermno | 5_main_results.do:65replication_package_final/do_files/5_main_results.do, line 65
quietly xtreg BHARwsize_bm_adj`var'_w i.Netsales_0_5_cat ssh ssl BHARwsize_bm_adj_252_2_w BHARwsize_bm_adj_1_1_w eps_ch_w i.fyear_qtr, fe r cl(lpermno) run 5× in a loop (var=_6_26; var=_6_46; var=_6_66…)
written at 5_main_results.do:66 |
Table 4
· 2 estimations → Table_4_A_forp.xls, Table_4_B_forp.xls
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
xtregpanel fe |
BHARwsize_bm_adj`var'_w |
i.Ssbyqxnets_0_5 BHARwsize_bm_adj_252_2_w BHARwsize_bm_adj_1_1_w eps_ch_w i.fyear_qtr
|
— | cluster: lpermno | 5_main_results.do:73replication_package_final/do_files/5_main_results.do, line 73
quietly xtreg BHARwsize_bm_adj`var'_w i.Ssbyqxnets_0_5 BHARwsize_bm_adj_252_2_w BHARwsize_bm_adj_1_1_w eps_ch_w i.fyear_qtr, fe r cl(lpermno) run 5× in a loop (var=_6_26; var=_6_46; var=_6_66…)
written at 5_main_results.do:74 |
xtregpanel fe |
const_dprofits_adj_nets`var'_w |
i.Ssbyqxnets_0_5
|
— | default | 5_main_results.do:117replication_package_final/do_files/5_main_results.do, line 117
quietly xtreg const_dprofits_adj_nets`var'_w i.Ssbyqxnets_0_5 if l4_OnloanQ1daymean0_5_w !=. & BHARwsize_bm_adj_252_2_w !=. & BHARwsize_bm_adj_1_1 !=. & eps_ch_w !=. & fyear_qtr !=. run 5× in a loop (var=_6_26; var=_6_46; var=_6_66…)
written at 5_main_results.do:118 |
Table 5
· 4 estimations → Table_5_panel_B.xls
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
xtregpanel fe |
Netsales_0_5_pos_bp |
i.Ssxepsbyq_0_5_`v' BHARwsize_bm_adj_1_1_w BHARwsize_bm_adj_252_2_w eps_ch_w i.fyear_qtr
|
— | cluster: lpermno | 5_main_results.do:189replication_package_final/do_files/5_main_results.do, line 189
quietly xtreg Netsales_0_5_pos_bp i.Ssxepsbyq_0_5_`v' BHARwsize_bm_adj_1_1_w BHARwsize_bm_adj_252_2_w eps_ch_w i.fyear_qtr, fe vce(cl lpermno) run 1× in a loop (v=next4_earn_w)
written at 5_main_results.do:190 |
xtregpanel fe |
Netsales_0_5_neg_bp |
i.Ssxepsbyq_0_5_`v' BHARwsize_bm_adj_1_1_w BHARwsize_bm_adj_252_2_w eps_ch_w i.fyear_qtr
|
— | cluster: lpermno | 5_main_results.do:191replication_package_final/do_files/5_main_results.do, line 191
quietly xtreg Netsales_0_5_neg_bp i.Ssxepsbyq_0_5_`v' BHARwsize_bm_adj_1_1_w BHARwsize_bm_adj_252_2_w eps_ch_w i.fyear_qtr, fe vce(cl lpermno) run 1× in a loop (v=next4_earn_w)
written at 5_main_results.do:192 |
xtregpanel fe |
Netsales_0_5_pos_bp_w |
i.Ssxepsbyq_0_5_`v' BHARwsize_bm_adj_1_1_w BHARwsize_bm_adj_252_2_w eps_ch_w i.fyear_qtr
|
— | cluster: lpermno | 5_main_results.do:196replication_package_final/do_files/5_main_results.do, line 196
quietly xtreg Netsales_0_5_pos_bp_w i.Ssxepsbyq_0_5_`v' BHARwsize_bm_adj_1_1_w BHARwsize_bm_adj_252_2_w eps_ch_w i.fyear_qtr, fe vce(cl lpermno) run 1× in a loop (v=next4_earn_w)
written at 5_main_results.do:197 |
xtregpanel fe |
Netsales_0_5_neg_bp_w |
i.Ssxepsbyq_0_5_`v' BHARwsize_bm_adj_1_1_w BHARwsize_bm_adj_252_2_w eps_ch_w i.fyear_qtr
|
— | cluster: lpermno | 5_main_results.do:198replication_package_final/do_files/5_main_results.do, line 198
quietly xtreg Netsales_0_5_neg_bp_w i.Ssxepsbyq_0_5_`v' BHARwsize_bm_adj_1_1_w BHARwsize_bm_adj_252_2_w eps_ch_w i.fyear_qtr, fe vce(cl lpermno) run 1× in a loop (v=next4_earn_w)
written at 5_main_results.do:199 |
Table 7
· 2 estimations → Table_7_panel_A.xls, Table_7_panel_B.xls
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
reghdfepanel fe |
BHARwsize_bm_adj`var'_w |
i.Ssbyqxnets_0_5##i.SOX BHARwsize_bm_adj_252_2_w BHARwsize_bm_adj_1_1_w eps_ch_w
|
cusip, fyear_qtr | cluster: cusip | 7_pre_post_sox_results.do:309replication_package_final/do_files/7_pre_post_sox_results.do, line 309
quietly reghdfe BHARwsize_bm_adj`var'_w i.Ssbyqxnets_0_5##i.SOX BHARwsize_bm_adj_252_2_w BHARwsize_bm_adj_1_1_w eps_ch_w , absorb(cusip fyear_qtr) vce(cl cusip) run 5× in a loop (var=_6_26; var=_6_46; var=_6_66…)
written at 7_pre_post_sox_results.do:310 |
regols |
const_dprofits_adj_nets`var'_w |
i.Ssbyqxnets_0_5##i.SOX
|
— | default | 7_pre_post_sox_results.do:320replication_package_final/do_files/7_pre_post_sox_results.do, line 320
quietly reg const_dprofits_adj_nets`var'_w i.Ssbyqxnets_0_5##i.SOX if reg_sample_all==1 run 5× in a loop (var=_6_26; var=_6_46; var=_6_66…)
written at 7_pre_post_sox_results.do:321 |
Estimations not traced to a table or figure · 3
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
reghdfepanel fe |
BHARwsize_bm_adj_6_46_w |
i.Ssbyqxnets_0_5 BHARwsize_bm_adj_252_2_w BHARwsize_bm_adj_1_1_w eps_ch_w
|
cusip, fyear_qtr | cluster: cusip | 7_pre_post_sox_results.do:278replication_package_final/do_files/7_pre_post_sox_results.do, line 278
quietly reghdfe BHARwsize_bm_adj_6_46_w i.Ssbyqxnets_0_5 BHARwsize_bm_adj_252_2_w BHARwsize_bm_adj_1_1_w eps_ch_w , absorb(cusip fyear_qtr) vce(cl cusip) |
reghdfepanel fe |
BHARwsize_bm_adj_6_46_w |
i.Ssbyqxnets_0_5 BHARwsize_bm_adj_252_2_w BHARwsize_bm_adj_1_1_w eps_ch_w
|
cusip, fyear_qtr | cluster: cusip | 7_pre_post_sox_results.do:280replication_package_final/do_files/7_pre_post_sox_results.do, line 280
quietly reghdfe BHARwsize_bm_adj_6_46_w i.Ssbyqxnets_0_5 BHARwsize_bm_adj_252_2_w BHARwsize_bm_adj_1_1_w eps_ch_w if SOX==0 , absorb(cusip fyear_qtr) vce(cl cusip) |
reghdfepanel fe |
BHARwsize_bm_adj_6_46_w |
i.Ssbyqxnets_0_5 BHARwsize_bm_adj_252_2_w BHARwsize_bm_adj_1_1_w eps_ch_w
|
cusip, fyear_qtr | cluster: cusip | 7_pre_post_sox_results.do:282replication_package_final/do_files/7_pre_post_sox_results.do, line 282
quietly reghdfe BHARwsize_bm_adj_6_46_w i.Ssbyqxnets_0_5 BHARwsize_bm_adj_252_2_w BHARwsize_bm_adj_1_1_w eps_ch_w if SOX==1 , absorb(cusip fyear_qtr) vce(cl cusip) |
Tables and figures the code writes:
Table 3 · Table 4 · Table 4 · Table 5 · Table 7 · Table 7 · Figure 0 · Figure 0 · Figure 1 · Figure 2 · Figure 2 · Figure 2 · Figure 2 · Figure 2 · Figure 2
Table_3_forp.xls 5_main_results.do:66
replication_package_final/do_files/5_main_results.do, line 66
outreg2 using "$results\Table_3_forp.xls", append label dec(3) drop(i.fyear_qtr) ctitle(BHAR, size&bm adj, `var') addtext(Firm FE, yes, Year-Quarter FE, yes, cluster se by firm, yes)
Table_4_A_forp.xls 5_main_results.do:74
replication_package_final/do_files/5_main_results.do, line 74
outreg2 using "$results\Table_4_A_forp.xls", append label dec(3) drop(i.fyear_qtr) ctitle(BHAR, size&bm adj, `var') addtext(Firm FE, yes, Year-Quarter FE, yes, cluster se by firm, yes)
Table_4_B_forp.xls 5_main_results.do:118
replication_package_final/do_files/5_main_results.do, line 118
outreg2 using "$results\Table_4_B_forp.xls", append dec(3) drop(0.Ssbyqxnets_0_5 7.Ssbyqxnets_0_5 8.Ssbyqxnets_0_5) label ctitle(DP_NetS, `var') nose nocons
Table_5_panel_B.xls 5_main_results.do:190
replication_package_final/do_files/5_main_results.do, line 190
outreg2 using "$results\Table_5_panel_B.xls", append dec(5) drop(i.fyear_qtr) label ctitle(`v', nispos ) addtext(Firm FE, yes, Quarter FE, yes, cluster se by firm, yes)
Table_7_panel_A.xls 7_pre_post_sox_results.do:310
replication_package_final/do_files/7_pre_post_sox_results.do, line 310
outreg2 using "$results\Table_7_panel_A.xls", append label dec(3) ctitle(BHARs&Bm, All, `var') drop(0.Ssbyqxnets_0_5) addtext(Firm FE, yes, Quarter FE, yes, cluster se by firm, yes)
Table_7_panel_B.xls 7_pre_post_sox_results.do:321
replication_package_final/do_files/7_pre_post_sox_results.do, line 321
outreg2 using "$results\Table_7_panel_B.xls", append dec(3) label ctitle(DollarP_net, `var')
Figure0.pdf 5_main_results.do:243
replication_package_final/do_files/5_main_results.do, line 243
graph export "$results\Figure0.pdf", as(pdf) replace
Figure0_1.pdf 5_main_results.do:248
replication_package_final/do_files/5_main_results.do, line 248
graph export "$results\Figure0_1.pdf", as(pdf) replace
Figure1.pdf 5_main_results.do:253
replication_package_final/do_files/5_main_results.do, line 253
graph export "$results\Figure1.pdf", as(pdf) replace
Figure2_is&ssl.pdf 5_main_results.do:310
replication_package_final/do_files/5_main_results.do, line 310
graph export "$results\Figure2_is&ssl.pdf", as(pdf) replace
Figure2_is&ssh.pdf 5_main_results.do:314
replication_package_final/do_files/5_main_results.do, line 314
graph export "$results\Figure2_is&ssh.pdf", as(pdf) replace
Figure2_ip&ssl.pdf 5_main_results.do:318
replication_package_final/do_files/5_main_results.do, line 318
graph export "$results\Figure2_ip&ssl.pdf", as(pdf) replace
Figure2_ip&ssh.pdf 5_main_results.do:322
replication_package_final/do_files/5_main_results.do, line 322
graph export "$results\Figure2_ip&ssh.pdf", as(pdf) replace
Figure2_ip&ssm.pdf 5_main_results.do:326
replication_package_final/do_files/5_main_results.do, line 326
graph export "$results\Figure2_ip&ssm.pdf", as(pdf) replace
Figure2_is&ssm.pdf 5_main_results.do:330
replication_package_final/do_files/5_main_results.do, line 330
graph export "$results\Figure2_is&ssm.pdf", as(pdf) replace
7 · Figures: how each is drawn — 9 figures in the code (command, layers, options, the file it is saved to)
event-study plot 9
| command | layers | variables | options | saved as | where |
|---|---|---|---|---|---|
twowayevent-study plot
|
line + line + line |
y l4_OnloanQ1day100, Relshares_s0100, Relshares_p0100
x dif_ea
|
xtitle days around earnings announcements · ytitle Relative numbers of shares shorted (%) · xline 0 · scheme s2mono · legend size(vsmall) label(1 rel ss) label(2 rel is) label(3 rel ip) |
Figure 0Figure0.pdf |
5_main_results.do:241replication_package_final/do_files/5_main_results.do, line 241
twoway (line l4_OnloanQ1day100 dif_ea, sort) (line Relshares_s0100 dif_ea, sort yaxis(2)) (line Relshares_p0100 dif_ea, sort yaxis(2)) if dif_ea>=-14 & dif_ea<=14, ytitle(Relative numbers of shares shorted (%)) ytitle(, … |
twowayevent-study plot
|
line + line |
y l4_OnloanQ1day100, Net_sales100
x dif_ea
|
xtitle days around earnings announcements · ytitle Relative numbers of shares shorted (%) · xline 0 · scheme s2mono · legend size(vsmall) label(1 relss) label(2 nis) |
Figure 0Figure0_1.pdf |
5_main_results.do:246replication_package_final/do_files/5_main_results.do, line 246
twoway (line l4_OnloanQ1day100 dif_ea, sort) (line Net_sales100 dif_ea, sort yaxis(2)) if dif_ea>=-14 & dif_ea<=14, ytitle(Relative numbers of shares shorted (%)) ytitle(, size(vsmall)) ylabel(, labsize(vsmall)) ylabel(, … |
twowayevent-study plot
|
line + line + line |
y l4_OnloanQ1day100, Net_sales_pos100, Net_sales_neg100
x dif_ea
|
xtitle days around earnings announcements · ytitle Relative numbers of shares shorted (%) · xline 0 · scheme s2mono · legend size(vsmall) label(1 relss) label(2 nispos) label(3 nisneg) |
Figure 1Figure1.pdf |
5_main_results.do:251replication_package_final/do_files/5_main_results.do, line 251
twoway (line l4_OnloanQ1day100 dif_ea, sort) (line Net_sales_pos100 dif_ea, sort yaxis(2)) (line Net_sales_neg100 dif_ea, sort yaxis(2)) if dif_ea>=-14 & dif_ea<=14, ytitle(Relative numbers of shares shorted (%)) ytitle( … |
twowayevent-study plot
|
line + line + line |
y l4_OnloanQ1day100, Net_sales_pos100, Net_sales_neg100
x dif_ea
|
title is x ssl · xtitle days around earnings announcements · ytitle Relative numbers of shares shorted (%) · xline 0 · scheme s2mono · legend size(vsmall) label(1 relss) label(2 nispos) label(3 nisneg) |
Figure 2Figure2_is&ssl.pdf |
5_main_results.do:308replication_package_final/do_files/5_main_results.do, line 308
twoway (line l4_OnloanQ1day100 dif_ea if Ssbyqxnets==3, sort) (line Net_sales_pos100 dif_ea if Ssbyqxnets==3, sort yaxis(2)) (line Net_sales_neg100 dif_ea if Ssbyqxnets==3, sort yaxis(2)) if dif_ea>=-14 & dif_ea<=14, tit … |
twowayevent-study plot
|
line + line + line |
y l4_OnloanQ1day100, Net_sales_pos100, Net_sales_neg100
x dif_ea
|
title is x ssh · xtitle days around earnings announcements · ytitle Relative numbers of shares shorted (%) · xline 0 · scheme s2mono · legend size(vsmall) label(1 relss) label(2 nispos) label(3 nisneg) |
Figure 2Figure2_is&ssh.pdf |
5_main_results.do:312replication_package_final/do_files/5_main_results.do, line 312
twoway (line l4_OnloanQ1day100 dif_ea if Ssbyqxnets==4, sort) (line Net_sales_pos100 dif_ea if Ssbyqxnets==4, sort yaxis(2)) (line Net_sales_neg100 dif_ea if Ssbyqxnets==4, sort yaxis(2)) if dif_ea>=-14 & dif_ea<=14, tit … |
twowayevent-study plot
|
line + line + line |
y l4_OnloanQ1day100, Net_sales_pos100, Net_sales_neg100
x dif_ea
|
title ip x ssl · xtitle days around earnings announcements · ytitle Relative numbers of shares shorted (%) · xline 0 · scheme s2mono · legend size(vsmall) label(1 relss) label(2 nispos) label(3 nisneg) |
Figure 2Figure2_ip&ssl.pdf |
5_main_results.do:316replication_package_final/do_files/5_main_results.do, line 316
twoway (line l4_OnloanQ1day100 dif_ea if Ssbyqxnets==1, sort) (line Net_sales_pos100 dif_ea if Ssbyqxnets==1, sort yaxis(2)) (line Net_sales_neg100 dif_ea if Ssbyqxnets==1, sort yaxis(2)) if dif_ea>=-14 & dif_ea<=14, tit … |
twowayevent-study plot
|
line + line + line |
y l4_OnloanQ1day100, Net_sales_pos100, Net_sales_neg100
x dif_ea
|
title ip x ssh · xtitle days around earnings announcements · ytitle Relative numbers of shares shorted (%) · xline 0 · scheme s2mono · legend size(vsmall) label(1 relss) label(2 nispos) label(3 nisneg) |
Figure 2Figure2_ip&ssh.pdf |
5_main_results.do:320replication_package_final/do_files/5_main_results.do, line 320
twoway (line l4_OnloanQ1day100 dif_ea if Ssbyqxnets==2, sort) (line Net_sales_pos100 dif_ea if Ssbyqxnets==2, sort yaxis(2)) (line Net_sales_neg100 dif_ea if Ssbyqxnets==2, sort yaxis(2)) if dif_ea>=-14 & dif_ea<=14, tit … |
twowayevent-study plot
|
line + line + line |
y l4_OnloanQ1day100, Net_sales_pos100, Net_sales_neg100
x dif_ea
|
title ip x ssm · xtitle days around earnings announcements · ytitle Relative numbers of shares shorted (%) · xline 0 · scheme s2mono · legend size(vsmall) label(1 relss) label(2 nispos) label(3 nisneg) |
Figure 2Figure2_ip&ssm.pdf |
5_main_results.do:324replication_package_final/do_files/5_main_results.do, line 324
twoway (line l4_OnloanQ1day100 dif_ea if Ssbyqxnets==5, sort) (line Net_sales_pos100 dif_ea if Ssbyqxnets==5, sort yaxis(2)) (line Net_sales_neg100 dif_ea if Ssbyqxnets==5, sort yaxis(2)) if dif_ea>=-14 & dif_ea<=14, tit … |
twowayevent-study plot
|
line + line + line |
y l4_OnloanQ1day100, Net_sales_pos100, Net_sales_neg100
x dif_ea
|
title is x ssm · xtitle days around earnings announcements · ytitle Relative numbers of shares shorted (%) · xline 0 · scheme s2mono · legend size(vsmall) label(1 relss) label(2 nispos) label(3 nisneg) |
Figure 2Figure2_is&ssm.pdf |
5_main_results.do:328replication_package_final/do_files/5_main_results.do, line 328
twoway (line l4_OnloanQ1day100 dif_ea if Ssbyqxnets==6, sort) (line Net_sales_pos100 dif_ea if Ssbyqxnets==6, sort yaxis(2)) (line Net_sales_neg100 dif_ea if Ssbyqxnets==6, sort yaxis(2)) if dif_ea>=-14 & dif_ea<=14, tit … |