Journal of Accounting Research · 2022 · 10.1111/1475-679X.12398
The Innovation and Reporting Consequences of Financial Regulation for Young Life-Cycle Firms
ABIGAIL ALLEN; MELISSA F. LEWIS‐WESTERN; KRISTEN VALENTINE
Review history
Received 1 Jul 2020 → accepted 11.8 months later.
Received: 1 Jul 2020Accepted: 26 Jun 2021
Received → accepted. Journal of Accounting Research, papers printed 2020–2022: median 19.4 months (middle half 14.6–28.5), 114 papers measured. This paper: 11.8 months, shorter than the median.
Dates as printed on the paper's first page; read from the paper's text, not from publisher metadata. Journal medians leave out: under 14 days, out of order, special issue / invited, implausible year — the same papers /review-times leaves out.
The research recipe, read from the replication code
journal · package
· sas, stata
2007–2010
sample period in the code
29
keep/drop statements
33
winsorizations
33
missing-data rules
9
de-duplications
5
distinct estimations
Sample period in the code: the window the code writes most often —
3-dataset compilation and regressions.do:341.
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 (82)
and keep/drop statements plus winsorized variables (46).
1 · Data and structure
Databases read: Compustat (North America)
Panel declared as:
gvkey × fyear (annual); gvkey2 × fyear (annual)2 · How the sample is built
- keep indicator subset ×17
- keep category value ×1
- drop time period ×1
- drop indicator subset ×1
- keep time period ×1
Reshaping:
drop duplicate rows ×9
3 · Design and validation
Identification: —
Outcome transforms: log plus one
4 · What it estimates
| Command | Method | Fixed effects absorbed | Inference | File |
|---|---|---|---|---|
|
ols | robust | 3-dataset compilation and regressions.do | |
|
panel fe | gvkey | cluster by gvkey | 3-dataset compilation and regressions.do |
|
ols | bootstrap | 3-dataset compilation and regressions.do | |
|
panel fe | gvkey2 | cluster by gvkey | 3-dataset compilation and regressions.do |
|
panel fe | i.fyear, gvkey | cluster by gvkey | 3-dataset compilation and regressions.do |
5 · What it produces
15 table files and 0 figure files
(xls 12, ? 3);
82 estimates traced from the model that produced them into the exhibit that reports them.
DID_descrTable10a.xlsTable10b.xlsTable11a.xlsTable11b.xlsTable3.xlsTable4.xlsTable5.xlsTable8.xlsTable9a.xlsTable9b.xlseventusHow the code gets from data to results own page
7
scripts
20
input files
6
file hand-offs
45
merges
46
sample steps
82
estimations
1 · Data in — files the code reads and no script of the package writes
Datasets this package uses (item detector / README):
Compustat, CRSP/Compustat Merged (CCM), CRSP US Stock Database
wrds.fundaSAS · read by 4 scripts1a-FRQ variables.sas:23
1a-FRQ variables.sas, line 23 set wrds.funda;
CRSP/Compustat Merged (CCM)
1 file
wrds.ccmxpf_linktableSAS · read by 2 scripts2a-variable creation and sample selection.sas:26
2a-variable creation and sample selection.sas, line 26 from comp as a left join wrds.ccmxpf_linktable (where=(linktype in ('LU', 'LC', 'LD', 'LF', 'LN', 'LO', 'LS', 'LX'))) as b on (a.gvkey = b.gvkey) and (b.linkdt <= a.datadate or b.linkdt = .B) and (a.datadate <= b.linkenddt or b.linken …
CRSP US Stock Database
1 file
wrds.msfSAS2b-event study.sas:297
2b-event study.sas, line 297 from controls_2001 as a left join wrds.msf as b on a.permno eq b.permno and intnx('month',a.datadate,-11) <= b.date <=intnx('month',a.datadate,1) order by gvkey, datadate, date;
Other input files
17 files
*\KPSS_2019_public.csvCSV1c-patent variables.do:18
1c-patent variables.do, line 18 import delimited "*\KPSS_2019_public.csv", clear*\patent_claims.dtaStata1c-patent variables.do:89
1c-patent variables.do, line 89 merge m:1 pat_no using "*\patent_claims.dta"*\pseudosoxdata_temp.dtaStata3-dataset compilation and regressions.do:25
3-dataset compilation and regressions.do, line 25 use "*\pseudosoxdata_temp.dta", clearapplication.tsvTSV1c-patent variables.do:50
1c-patent variables.do, line 50 import delimited application.tsv, varnames(1) bindquote(strict) encoding(utf8) clearcpc_current.tsvTSV1c-patent variables.do:46
1c-patent variables.do, line 46 import delimited cpc_current.tsv, varnames(1) bindquote(strict) encoding(utf8) clearpatent.tsvTSV1c-patent variables.do:43
1c-patent variables.do, line 43 import delimited patent.tsv, varnames(1) bindquote(strict) encoding(utf8) clearperm.benfordsSAS2a-variable creation and sample selection.sas:90
2a-variable creation and sample selection.sas, line 90 data benfords; set perm.benfords; run;perm.cpc_currentSAS1b-citations.sas:18
1b-citations.sas, line 18 data cpc_current; set perm.cpc_current; run;
9 more
perm.dgtwreturnsSAS2a-variable creation and sample selection.sas:92
2a-variable creation and sample selection.sas, line 92 data dgtwreturns; set perm.dgtwreturns; run;perm.EHWevent&jSAS2b-event study.sas:235
2b-event study.sas, line 235 data EHWeventmar&j; set perm.EHWevent&j;perm.event&jSAS2b-event study.sas:203
2b-event study.sas, line 203 data eventmar&j; set perm.event&j;perm.io_timeseriesSAS2a-variable creation and sample selection.sas:93
2a-variable creation and sample selection.sas, line 93 data institown; set perm.io_timeseries; run;perm.uspatentcitationSAS1b-citations.sas:17
1b-citations.sas, line 17 data cites; set perm.uspatentcitation; run;soxdata_xtrayrsStata3-dataset compilation and regressions.do:337
3-dataset compilation and regressions.do, line 337 use soxdata_xtrayrs, clearwrds.accfilerSAS2a-variable creation and sample selection.sas:65
2a-variable creation and sample selection.sas, line 65 from comprestate as a left join wrds.accfiler as b on a.cik = b.company_fkey and intnx('day',b.pe_date,-15) <= a.datadate <= intnx('day',b.pe_date,15) order by gvkey, datadate;wrds.auditnonreliSAS2a-variable creation and sample selection.sas:35
2a-variable creation and sample selection.sas, line 35 data restate; set wrds.auditnonreliwrds.auditsox404SAS2a-variable creation and sample selection.sas:73
2a-variable creation and sample selection.sas, line 73 data auditsox; set wrds.auditsox404;
2 · The file pipeline — which script writes which file that a later script reads
7 scripts, in the order the README lists them (read_me.txt);
6 hand-offs through 7 intermediate files; 24 files written and never read back (outputs).
-
1.
1a-FRQ variables.sasnamed in read_me.txt reads 1 input file · 3 merges ·writesperm.ddf_pooled→ read by2a-variable creation and sample selection.sas -
2.
1b-citations.sasnamed in read_me.txt reads 2 input files · 9 merges ·writescitations.dta→ read by1c-patent variables.do -
3.
1c-patent variables.donamed in read_me.txt reads 5 input files · 7 merges ·reads what1b-citations.saswrotewritespatentvars2_kpss.dta→ read by3-dataset compilation and regressions.do -
4.
1d-financial_constraints.sasnamed in read_me.txt reads 1 input file ·writesperm.financial_constraints→ read by2a-variable creation and sample selection.sas -
5.
2a-variable creation and sample selection.sasnamed in read_me.txt reads 8 input files · 16 merges ·reads what1a-FRQ variables.sas,1d-financial_constraints.saswrotewritessoxdata_temp→ read by3-dataset compilation and regressions.dowritessoxdata_temp.dta→ read by3-dataset compilation and regressions.do -
6.
2b-event study.sasnamed in read_me.txt reads 5 input files · 7 merges ·writeseventus→ read by3-dataset compilation and regressions.dowrites (not read again):EHWevent1.txt,EHWevent2.txt,EHWevent3.txt,EHWevent4.txt,EHWevent5.txt,EHWevent6.txt,EHWevent7.txt,event1.txt,event10.txt,event11.txt,event12.txt,event13.txt -
7.
3-dataset compilation and regressions.donamed in read_me.txt reads 2 input files · 5 merges · 82 estimationsreads what1c-patent variables.do,2a-variable creation and sample selection.sas,2b-event study.saswrote
3 · Merges — 45 joins, 12 followed by a check of the merge result; 2 appends
| Joins | How | On keys | Check that follows | Where |
|---|---|---|---|---|
scaled ← perc |
merge | year |
none | 1a-FRQ variables.sas:4001a-FRQ variables.sas, line 400
merge scaled perc; by year; |
win ← per |
merge | year ind |
none | 1a-FRQ variables.sas:4721a-FRQ variables.sas, line 472
merge win per; by year ind; |
ddf ← num |
merge | ind year |
if a |
1a-FRQ variables.sas:5171a-FRQ variables.sas, line 517
data ddf (drop=ff_obs); merge ddf(in=a) num; by ind year; if a; |
citing_patents ← cpc_current |
join (left) | patent_id |
none | 1b-citations.sas:291b-citations.sas, line 29
from citing_patents as a left join cpc_current as b
on a.patent_id = b.patent_id
order by patent_id, sequence; |
cites ← citing_patents2 |
join (left) | patent_id |
none | 1b-citations.sas:401b-citations.sas, line 40
from cites as a left join citing_patents2 as b
on a.patent_id = b.patent_id
order by patent_id; |
cited_patents ← cpc_current |
join (left) | citation_id=patent_id |
none | 1b-citations.sas:561b-citations.sas, line 56
from cited_patents as a left join cpc_current as b
on a.citation_id = b.patent_id
order by citation_id, sequence; |
cites2 ← cited_patents2 |
join (left) | citation_id |
none | 1b-citations.sas:671b-citations.sas, line 67
from cites2 as a left join cited_patents2 as b
on a.citation_id = b.citation_id
order by patent_id; |
cites_made_tech2 ← cites_made_tech3 |
join (left) | patent_id |
none | 1b-citations.sas:1071b-citations.sas, line 107
from cites_made_tech2 as a left join cites_made_tech3 as b
on a.patent_id = b.patent_id
order by patent_id, techclass_cited; |
orig ← cites_made2 |
join (left) | patent_id |
none | 1b-citations.sas:1301b-citations.sas, line 130
from orig as a left join cites_made2 as b
on a.patent_id = b.patent_id
order by patent_id; |
forwardcites2 ← forwardcites3 |
join (left) | citation_id |
none | 1b-citations.sas:1651b-citations.sas, line 165
from forwardcites2 as a left join forwardcites3 as b
on a.citation_id = b.citation_id
order by citation_id, techclass_citing; |
orig2 ← ? |
join (left) | patent_id=citation_id |
none | 1b-citations.sas:1891b-citations.sas, line 189
from orig2 as a left join gen as b
on a.patent_id = b.citation_id
order by patent_id; |
citations ← forward_cites |
join (left) | patent_id=citation_id |
none | 1b-citations.sas:2111b-citations.sas, line 211
from citations as a left join forward_cites as b
on a.patent_id = b.citation_id
order by patent_id; |
patent ← cpc_current |
merge 1:m | patent_id |
drop if _m==2 |
1c-patent variables.do:571c-patent variables.do, line 57
merge 1:m patent_id using "*\cpc_current.dta" |
kpss_patents ← patent2 |
merge 1:m | patent_id |
drop if _m==2 |
1c-patent variables.do:741c-patent variables.do, line 74
merge 1:m patent_id using "*\patent2.dta", keepusing(cpc_group cpc_subgroup) |
kpss_patents2 ← patent_claims |
merge m:1 | pat_no |
drop if _m==2 |
1c-patent variables.do:891c-patent variables.do, line 89
merge m:1 pat_no using "*\patent_claims.dta" |
kpss_patents2 ← citations |
merge m:1 | patent_id |
drop if _m==2 |
1c-patent variables.do:981c-patent variables.do, line 98
merge m:1 patent_id using "*\citations.dta", keepusing(forcites) |
patentvars1_kpss ← breadth |
merge m:1 | permno fyear |
drop _merge |
1c-patent variables.do:1661c-patent variables.do, line 166
merge m:1 permno fyear using breadth.dta, keepusing(breadth_subclass) |
kpss_patents2 ← citations |
merge m:1 | patent_id |
drop if _m==2 |
1c-patent variables.do:1741c-patent variables.do, line 174
merge m:1 patent_id using "*\citations.dta" |
patentvars1_kpss ← citations_made_firm |
merge 1:1 | permno fyear |
drop _m |
1c-patent variables.do:1981c-patent variables.do, line 198
merge 1:1 permno fyear using "*\citations_made_firm.dta" |
comp ← wrds.ccmxpf_linktable |
join (left) | — | none | 2a-variable creation and sample selection.sas:262a-variable creation and sample selection.sas, line 26
from comp as a left join wrds.ccmxpf_linktable
(where=(linktype in ('LU', 'LC', 'LD', 'LF', 'LN', 'LO', 'LS', 'LX'))) as b
on (a.gvkey = b.gvkey)
and (b.linkdt <= a.datadate or b.linkdt = .B)
and (a.datadate <= b.linkenddt or b.linken … |
comp ← restate |
join (left) | cik=company_fkey |
none | 2a-variable creation and sample selection.sas:462a-variable creation and sample selection.sas, line 46
from comp as a left join restate as b
on a.cik = b.company_fkey and b.res_begin_date<= a.datadate <= b.res_end_date
order by gvkey, datadate; |
comprestate ← wrds.accfiler |
join (left) | cik=company_fkey |
none | 2a-variable creation and sample selection.sas:652a-variable creation and sample selection.sas, line 65
from comprestate as a left join wrds.accfiler as b
on a.cik = b.company_fkey and intnx('day',b.pe_date,-15) <= a.datadate <= intnx('day',b.pe_date,15)
order by gvkey, datadate; |
comprestate2 ← auditsox |
join (left) | cik=company_fkey |
none | 2a-variable creation and sample selection.sas:812a-variable creation and sample selection.sas, line 81
from comprestate2 as a left join auditsox as b
on a.cik = b.company_fkey and intnx('day',b.fye_ic_op,-15) <= a.datadate <= intnx('day',b.fye_ic_op,15)
order by gvkey, datadate; |
comprestate2 ← benfords |
join (left) | gvkey datadate |
none | 2a-variable creation and sample selection.sas:1032a-variable creation and sample selection.sas, line 103
from comprestate2 as a left join benfords as b
on a.gvkey = b.gvkey and a.datadate = b.datadate
order by gvkey, datadate; |
comprestatefsd ← ddf |
join (left) | gvkey datadate |
none | 2a-variable creation and sample selection.sas:1162a-variable creation and sample selection.sas, line 116
from comprestatefsd as a left join ddf as b
on a.gvkey = b.gvkey and a.datadate = b.datadate
order by gvkey, datadate; |
comprestatefsd ← dgtwreturns |
join (left) | gvkey fyear |
none | 2a-variable creation and sample selection.sas:1532a-variable creation and sample selection.sas, line 153
from comprestatefsd as a left join dgtwreturns as b
on a.gvkey = b.gvkey and a.fyear = b.fyear
order by gvkey, datadate; |
comprestatefsd ← institown |
join (left) | — | none | 2a-variable creation and sample selection.sas:1782a-variable creation and sample selection.sas, line 178
from comprestatefsd a left join institown b
on a.datadate eq b.rdate and a.permno eq b.permno
order by gvkey, datadate; |
comprestatefsd ← financial_constraints |
join (left) | — | none | 2a-variable creation and sample selection.sas:1922a-variable creation and sample selection.sas, line 192
from comprestatefsd a left join financial_constraints b
on a.fyear eq b.fyear and a.gvkey eq b.gvkey
order by gvkey, fyear; |
sample ← cf |
join (left) | — | none | 2a-variable creation and sample selection.sas:2632a-variable creation and sample selection.sas, line 263
from sample a left join cf b
on a.gvkey eq b.gvkey
order by gvkey; |
sample ← check |
join (left) | — | none | 2a-variable creation and sample selection.sas:3292a-variable creation and sample selection.sas, line 329
from sample a left join check b
on a.gvkey eq b.gvkey
order by gvkey, datadate; |
sample ← firms4 |
join (left) | — | none | 2a-variable creation and sample selection.sas:3672a-variable creation and sample selection.sas, line 367
from sample a left join firms4 b
on a.gvkey eq b.gvkey
order by gvkey, datadate; |
sample ← years |
join (left) | — | none | 2a-variable creation and sample selection.sas:3922a-variable creation and sample selection.sas, line 392
from sample a left join years b
on a.gvkey eq b.gvkey
order by gvkey, datadate; |
sample ← fyr |
join (left) | — | none | 2a-variable creation and sample selection.sas:4112a-variable creation and sample selection.sas, line 411
from sample a left join fyr b
on a.gvkey eq b.gvkey
order by gvkey, datadate; |
sample ← sox404v2 |
join (left) | — | none | 2a-variable creation and sample selection.sas:4362a-variable creation and sample selection.sas, line 436
from sample a left join sox404v2 b
on a.gvkey eq b.gvkey
order by gvkey, datadate; |
comp ← wrds.ccmxpf_linktable |
join (left) | — | none | 2b-event study.sas:252b-event study.sas, line 25
from comp as a left join wrds.ccmxpf_linktable
(where=(linktype in ('LU', 'LC', 'LD', 'LF', 'LN', 'LO', 'LS', 'LX'))) as b
on (a.gvkey = b.gvkey)
and (b.linkdt <= a.datadate or b.linkdt = .B)
and (a.datadate <= b.linkenddt or b.linken … |
comp ← eventmar&j |
merge | permno |
none | 2b-event study.sas:2162b-event study.sas, line 216
data comp; merge comp eventmar&j; by permno; run; |
comp ← EHWeventmar&j |
merge | permno |
none | 2b-event study.sas:2482b-event study.sas, line 248
data comp; merge comp EHWeventmar&j; by permno; run; |
controls_2001 ← wrds.ccmxpf_linktable |
join (left) | — | none | 2b-event study.sas:2872b-event study.sas, line 287
from controls_2001 as a left join wrds.ccmxpf_linktable
(where=(linktype in ('LU', 'LC', 'LD', 'LF', 'LN', 'LO', 'LS', 'LX'))) as b
on (a.gvkey = b.gvkey)
and (b.linkdt <= a.datadate or b.linkdt = .B)
and (a.datadate <= b.linkenddt or … |
controls_2001 ← wrds.msf |
join (left) | — | none | 2b-event study.sas:2972b-event study.sas, line 297
from controls_2001 as a left join wrds.msf as b
on a.permno eq b.permno
and intnx('month',a.datadate,-11) <= b.date <=intnx('month',a.datadate,1)
order by gvkey, datadate, date; |
controls_2001 ← mktdata |
join (left) | — | none | 2b-event study.sas:3172b-event study.sas, line 317
from controls_2001 as a left join mktdata as b
on a.permno eq b.permno
order by gvkey, datadate; |
comp ← controls_2001 |
join (left) | permno |
none | 2b-event study.sas:3282b-event study.sas, line 328
from comp as a left join controls_2001 as b
on a.permno = b.permno
order by permno; |
soxdata_temp ← patentvars2_kpss |
merge m:1 | permno fyear |
drop if _m==2 |
3-dataset compilation and regressions.do:103-dataset compilation and regressions.do, line 10
merge m:1 permno fyear using "*\patentvars2_kpss.dta" |
pseudosoxdata_temp ← patentvars2_kpss |
merge m:1 | permno fyear |
drop if _m==2 |
3-dataset compilation and regressions.do:293-dataset compilation and regressions.do, line 29
merge m:1 permno fyear using "*\patentvars2_kpss.dta" |
soxdata_xtrayrs ← sample_gvkeys |
merge m:1 | gvkey |
drop _m |
3-dataset compilation and regressions.do:3383-dataset compilation and regressions.do, line 338
merge m:1 gvkey using sample_gvkeys |
soxdata_temp ← patentvars2_kpss |
merge m:1 | permno fyear |
drop if _m==2 |
3-dataset compilation and regressions.do:3543-dataset compilation and regressions.do, line 354
merge m:1 permno fyear using "*\patentvars2_kpss.dta" |
4 · The sample — 29 keep/drop steps, 17 variables winsorized or trimmed
Filters, by kind
time period ×2
- keep if
sample==1 & fyear >=2007 & fyear <=20103-dataset compilation and regressions.do:341
3-dataset compilation and regressions.do, line 341 keep if sample==1 & fyear >=2007 & fyear <=2010 - drop if
implem_year==2004 & fyear==20103-dataset compilation and regressions.do:391
3-dataset compilation and regressions.do, line 391 drop if implem_year==2004 & fyear==2010
category values ×1
- keep if
fic =="USA" & curcd=="USD"3-dataset compilation and regressions.do:247
3-dataset compilation and regressions.do, line 247 keep if fic =="USA" & curcd=="USD"
indicator subsets ×18
- keep if
af==13-dataset compilation and regressions.do:54
3-dataset compilation and regressions.do, line 54 keep if af==1 - keep if
intro==13-dataset compilation and regressions.do:79
3-dataset compilation and regressions.do, line 79 keep if intro==1 - keep if
af==13-dataset compilation and regressions.do:121
3-dataset compilation and regressions.do, line 121 keep if af==1 - keep if
intro==13-dataset compilation and regressions.do:153
3-dataset compilation and regressions.do, line 153 keep if intro==1 - drop if
shakeout ==1 | decline==13-dataset compilation and regressions.do:246
3-dataset compilation and regressions.do, line 246 drop if shakeout ==1 | decline==1 - keep if
af==13-dataset compilation and regressions.do:260
3-dataset compilation and regressions.do, line 260 keep if af==1 - keep if
intro==13-dataset compilation and regressions.do:265
3-dataset compilation and regressions.do, line 265 keep if intro==1 - keep if
af==13-dataset compilation and regressions.do:276
3-dataset compilation and regressions.do, line 276 keep if af==1 - first 8 of 18
drops after a merge (_merge) ×8
- drop if
_m==21c-patent variables.do:58
1c-patent variables.do, line 58 drop if _m==2 - drop if
_m==21c-patent variables.do:75
1c-patent variables.do, line 75 drop if _m==2 - drop if
_m==21c-patent variables.do:90
1c-patent variables.do, line 90 drop if _m==2 - drop if
_m==21c-patent variables.do:99
1c-patent variables.do, line 99 drop if _m==2 - drop if
_m==21c-patent variables.do:175
1c-patent variables.do, line 175 drop if _m==2 - drop if
_m==23-dataset compilation and regressions.do:11
3-dataset compilation and regressions.do, line 11 drop if _m==2 - drop if
_m==23-dataset compilation and regressions.do:30
3-dataset compilation and regressions.do, line 30 drop if _m==2 - drop if
_m==23-dataset compilation and regressions.do:355
3-dataset compilation and regressions.do, line 355 drop if _m==2
Outliers
winsorize within fyear
· 9 variables
fsd rd size signed_accruals dgtw_bhar instit_own roa hp_index ddf_resid2a-variable creation and sample selection.sas:461
2a-variable creation and sample selection.sas, line 461
%TrimWinsor (dset = sample, byvar=fyear, vars= fsd rd size signed_accruals dgtw_bhar instit_own roa hp_index ddf_resid,
type = winsor, pctLow=1 ,pctHigh= 99, outset = sample2);
winsorize at 1/99 within fyear
· 8 variables
tot_claim_ct_mean_log forcites_s_mean_log forcites_s_sd numpat_log breadth_subclass orig_mean gen_mean citesmade_s_mean_log3-dataset compilation and regressions.do:19
3-dataset compilation and regressions.do, line 19
winsor2 tot_claim_ct_mean_log forcites_s_mean_log forcites_s_sd numpat_log breadth_subclass orig_mean gen_mean citesmade_s_mean_log, by(fyear) replace
3-dataset compilation and regressions.do:38
3-dataset compilation and regressions.do, line 38
winsor2 tot_claim_ct_mean_log forcites_s_mean_log forcites_s_sd numpat_log breadth_subclass orig_mean gen_mean citesmade_s_mean_log, by(fyear) replace
3-dataset compilation and regressions.do:364
3-dataset compilation and regressions.do, line 364
winsor2 tot_claim_ct_mean_log forcites_s_mean_log forcites_s_sd numpat_log breadth_subclass orig_mean gen_mean citesmade_s_mean_log, by(fyear) replace
Missing values
set to zero ×28
forcites→01c-patent variables.do:101
1c-patent variables.do, line 101 replace forcites =0 if forcites==.tot_claim_ct_mean→01c-patent variables.do:122
1c-patent variables.do, line 122 replace `var'_mean=0 if `var'_mean==.forcites_s_mean→01c-patent variables.do:122
1c-patent variables.do, line 122 replace `var'_mean=0 if `var'_mean==.forcites_s_sd→01c-patent variables.do:132
1c-patent variables.do, line 132 replace forcites_s_sd=0 if forcites_s_sd==.tot_claim_ct_mean_log→03-dataset compilation and regressions.do:15
3-dataset compilation and regressions.do, line 15 replace `var'=0 if `var'==.forcites_s_mean_log→03-dataset compilation and regressions.do:15
3-dataset compilation and regressions.do, line 15 replace `var'=0 if `var'==.
filled with a value ×5
af→af23-dataset compilation and regressions.do:377
3-dataset compilation and regressions.do, line 377 replace af=af2 if af==.implem_year→implem_year23-dataset compilation and regressions.do:385
3-dataset compilation and regressions.do, line 385 replace implem_year=implem_year2 if implem_year==.af_postsox→af*post3-dataset compilation and regressions.do:395
3-dataset compilation and regressions.do, line 395 replace af_postsox=af*post if af_postsox==.intro_af_post→intro*af*post3-dataset compilation and regressions.do:396
3-dataset compilation and regressions.do, line 396 replace intro_af_post=intro*af*post if intro_af_post==.intro_af→intro*af3-dataset compilation and regressions.do:397
3-dataset compilation and regressions.do, line 397 replace intro_af=intro*af if intro_af==.
5 · Key variables — what enters the models, and where the code builds it
Standard measures computed here:
Accruals Quality (Dechow-Dichev) (), Book Leverage (), Log Market Cap (), Log Total Assets (), R&D Intensity (), Restatement Indicator (), Return Volatility (), Return on Assets (ROA) (), SA Index (), Sales / Revenue (), Stock Turnover (), Tobin's Q / Market-to-Book ()
1a-FRQ variables.sas:524
1a-FRQ variables.sas, line 524
model wc = past_cfo cfo fut_cfo sales_chg net_ppe;
leverage 2b-event study.sas:277
2b-event study.sas, line 277
leverage = (dltt+dlc)/at;
logMV 2b-event study.sas:275
2b-event study.sas, line 275
logMV=log(CSHO*PRCC_F);
lat 1d-financial_constraints.sas:23
1d-financial_constraints.sas, line 23
lat=log(at);
rd 2a-variable creation and sample selection.sas:14
2a-variable creation and sample selection.sas, line 14
rd=xrd/at;
2a-variable creation and sample selection.sas:56
2a-variable creation and sample selection.sas, line 56
if res_begin_date ne . then restate=1; else restate=0;
stdret 2b-event study.sas:306
2b-event study.sas, line 306
std(ret) as stdret,
count(ret) as n
from compret group by gvkey, datadate
having n=12
order by gvkey, datadate;
roa 2a-variable creation and sample selection.sas:18
2a-variable creation and sample selection.sas, line 18
roa=OIBDP/at;
hp_index 1d-financial_constraints.sas:42
1d-financial_constraints.sas, line 42
hp_index=-0.737*laglat+0.043*laglat*laglat-0.04*lagage;
sales 1a-FRQ variables.sas:87
1a-FRQ variables.sas, line 87
rename RECT=ar INVT=inv AT=ta PPEGT=ppe sale=sales
COGS=cogs XRD=rd_exp IBC=ebx RECCH=ar_chg INVCH=inv_chg
APALCH=ap_chg TXACH=tp_chg AOLOCH=other_chg OANCF=cfo fyear=year sic_his=sic
PPENT=net_ppe GDWL=goodwill XSGA=sga xrd = rd xad …
turnover 2b-event study.sas:296
2b-event study.sas, line 296
a.gvkey, a.datadate, a.permno, b.ret, (b.vol*100)/(b.shrout*1000) as turnover, b.date
from controls_2001 as a left join wrds.msf as b
on a.permno eq b.permno
and intnx('month',a.datadate,-11) <= b.date <=intnx('month',a.datadate,1)
order by …
mb 1a-FRQ variables.sas:55
1a-FRQ variables.sas, line 55
mb = (PRCC_f*CSHO)/seq;
| Variable | Used in models as | Built by |
|---|---|---|
rd |
outcome in 12, regressor in 40 | rd = xrd (rename) 1a-FRQ variables.sas:871a-FRQ variables.sas, line 87
rename RECT=ar INVT=inv AT=ta PPEGT=ppe sale=sales
COGS=cogs XRD=rd_exp IBC=ebx RECCH=ar_chg INVCH=inv_chg
APALCH=ap_chg TXACH=tp_chg AOLOCH=other_chg OANCF=cfo fyear=year sic_his=sic
PPENT=net_ppe GDWL=goodwill XSGA=sga xrd = rd xad … rd = xrd/at (assign) 2a-variable creation and sample selection.sas:142a-variable creation and sample selection.sas, line 14
rd=xrd/at; rd = 0 (assign) 2a-variable creation and sample selection.sas:152a-variable creation and sample selection.sas, line 15
if rd=. then rd=0; |
forcites_s_mean_log |
outcome in 10 | forcites_s_mean_log = forcites_s_mean_log*100 (replace) 1c-patent variables.do:1421c-patent variables.do, line 142
replace forcites_s_mean_log=forcites_s_mean_log*100 |
numpat_log |
outcome in 10 | numpat_log = ln(1+numpat) (gen) 1c-patent variables.do:1371c-patent variables.do, line 137
gen numpat_log=ln(1+numpat) |
tot_claim_ct_mean_log |
outcome in 10 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
ddf_resid |
outcome in 6 | ddf_resid = abs(b.ddf_resid) (proc sql as) 2a-variable creation and sample selection.sas:1152a-variable creation and sample selection.sas, line 115
select a.*, abs(b.ddf_resid) as ddf_resid
from comprestatefsd as a left join ddf as b
on a.gvkey = b.gvkey and a.datadate = b.datadate
order by gvkey, datadate; |
fsd |
outcome in 6 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
restate |
outcome in 6 | restate = 1 (assign) 2a-variable creation and sample selection.sas:562a-variable creation and sample selection.sas, line 56
if res_begin_date ne . then restate=1; else restate=0; restate = 0 (assign) 2a-variable creation and sample selection.sas:562a-variable creation and sample selection.sas, line 56
if res_begin_date ne . then restate=1; else restate=0; |
signed_accruals |
outcome in 6 | signed_accruals = (ib-oancf)/at_avg (assign) 2a-variable creation and sample selection.sas:1692a-variable creation and sample selection.sas, line 169
signed_accruals=(ib-oancf)/at_avg; |
breadth_subclass |
outcome in 2 | breadth_subclass = 1-temp (gen) 1c-patent variables.do:1591c-patent variables.do, line 159
gen breadth_subclass=1-temp |
citesmade_s_mean_log |
outcome in 2 | citesmade_s_mean_log = ln(1+citesmade_s_mean) (gen) 1c-patent variables.do:1891c-patent variables.do, line 189
gen citesmade_s_mean_log=ln(1+citesmade_s_mean) |
dgtw_bhar |
outcome in 2 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
forcites_s_sd |
outcome in 2 | forcites_s_sd = sd(forcites_s) (egen sd) 1c-patent variables.do:1311c-patent variables.do, line 131
bysort permno fyear: egen forcites_s_sd = sd(forcites_s) forcites_s_sd = 0 (replace) 1c-patent variables.do:1321c-patent variables.do, line 132
replace forcites_s_sd=0 if forcites_s_sd==. |
gen_mean |
outcome in 2 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
orig_mean |
outcome in 2 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
carmar_sign |
outcome in 1 | carmar_sign = carmar2+carmar14+carmar16+carmar17 (assign) 2b-event study.sas:2282b-event study.sas, line 228
carmar_sign=carmar2+carmar14+carmar16+carmar17; *significant events from Zhang; |
ehwcarmar_sox |
outcome in 1 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
hp_index |
regressor in 76 | hp_index = -0.737*laglat+0.043*laglat*laglat-0.04*lagage (assign) 1d-financial_constraints.sas:421d-financial_constraints.sas, line 42
hp_index=-0.737*laglat+0.043*laglat*laglat-0.04*lagage; |
instit_own |
regressor in 76 | instit_own = ior (proc sql as) 2a-variable creation and sample selection.sas:1772a-variable creation and sample selection.sas, line 177
a.*, ior as instit_own
from comprestatefsd a left join institown b
on a.datadate eq b.rdate and a.permno eq b.permno
order by gvkey, datadate; instit_own = 0 (assign) 2a-variable creation and sample selection.sas:1842a-variable creation and sample selection.sas, line 184
if instit_own=. then instit_own=0; instit_own = 1 (assign) 2a-variable creation and sample selection.sas:1852a-variable creation and sample selection.sas, line 185
if instit_own>1 then instit_own=1; |
litrisk |
regressor in 76 | litrisk = 1 (assign) 2a-variable creation and sample selection.sas:2192a-variable creation and sample selection.sas, line 219
if sich ge 2833 and sich le 2836 then litrisk=1; litrisk = 1 (assign) 2a-variable creation and sample selection.sas:2202a-variable creation and sample selection.sas, line 220
if sich ge 8731 and sich le 8734 then litrisk=1; litrisk = 1 (assign) 2a-variable creation and sample selection.sas:2212a-variable creation and sample selection.sas, line 221
if sich ge 3570 and sich le 3577 then litrisk=1; +5 more statements set it |
roa |
regressor in 76 | roa = OIBDP/at (assign) 2a-variable creation and sample selection.sas:182a-variable creation and sample selection.sas, line 18
roa=OIBDP/at; roa = IB/AT (assign) 2b-event study.sas:2792b-event study.sas, line 279
roa = IB/AT; |
size |
regressor in 76 | size = log(at) (assign) 2a-variable creation and sample selection.sas:2182a-variable creation and sample selection.sas, line 218
size=log(at); |
fyear |
regressor in 60 | fyear = fyear_k (rename) 1c-patent variables.do:881c-patent variables.do, line 88
rename fyear_k fyear fyear = fyear_k (rename) 1c-patent variables.do:1531c-patent variables.do, line 153
rename fyear_k fyear fyear = fyear_k (rename) 1c-patent variables.do:1781c-patent variables.do, line 178
rename fyear_k fyear |
af_postsox |
regressor in 38 | af_postsox = af*post (assign) 2a-variable creation and sample selection.sas:4682a-variable creation and sample selection.sas, line 468
af_postsox=af*post; af_postsox = af*post (replace) 3-dataset compilation and regressions.do:3953-dataset compilation and regressions.do, line 395
replace af_postsox=af*post if af_postsox==. |
postsox_intro |
regressor in 32 | postsox_intro = post*intro (assign) 2a-variable creation and sample selection.sas:4672a-variable creation and sample selection.sas, line 467
postsox_intro=post*intro; |
intro_af |
regressor in 16 | intro_af = intro*af (assign) 2a-variable creation and sample selection.sas:4712a-variable creation and sample selection.sas, line 471
intro_af=intro*af; intro_af = intro*af (replace) 3-dataset compilation and regressions.do:3973-dataset compilation and regressions.do, line 397
replace intro_af=intro*af if intro_af==. |
intro_af_post |
regressor in 16 | intro_af_post = intro*af*post (assign) 2a-variable creation and sample selection.sas:4702a-variable creation and sample selection.sas, line 470
intro_af_post=intro*af*post; intro_af_post = intro*af*post (replace) 3-dataset compilation and regressions.do:3963-dataset compilation and regressions.do, line 396
replace intro_af_post=intro*af*post if intro_af_post==. |
intro_post |
regressor in 16 | intro_post = intro*post (assign) 2a-variable creation and sample selection.sas:4722a-variable creation and sample selection.sas, line 472
intro_post=intro*post; |
hp_index_post |
regressor in 10 | hp_index_post = hp_index*post (assign) 2a-variable creation and sample selection.sas:4742a-variable creation and sample selection.sas, line 474
hp_index_post=hp_index*post; |
instit_own_post |
regressor in 10 | instit_own_post = instit_own*post (assign) 2a-variable creation and sample selection.sas:4762a-variable creation and sample selection.sas, line 476
instit_own_post=instit_own*post; |
litrisk_post |
regressor in 10 | litrisk_post = litrisk*post (assign) 2a-variable creation and sample selection.sas:4752a-variable creation and sample selection.sas, line 475
litrisk_post=litrisk*post; |
roa_post |
regressor in 10 | roa_post = roa*post (assign) 2a-variable creation and sample selection.sas:4772a-variable creation and sample selection.sas, line 477
roa_post=roa*post; |
size_post |
regressor in 10 | size_post = size*post (assign) 2a-variable creation and sample selection.sas:4692a-variable creation and sample selection.sas, line 469
size_post=size*post; size_post = size*post (assign) 2a-variable creation and sample selection.sas:4732a-variable creation and sample selection.sas, line 473
size_post=size*post; |
zero |
regressor in 8 | zero = 0 (assign) 2a-variable creation and sample selection.sas:4902a-variable creation and sample selection.sas, line 490
zero=0; zero = 0 (gen) 3-dataset compilation and regressions.do:4233-dataset compilation and regressions.do, line 423
gen zero=0 |
af_tminus1 |
regressor in 4 | af_tminus1 = af*tminus1 (gen) 3-dataset compilation and regressions.do:4363-dataset compilation and regressions.do, line 436
gen af_tminus1=af*tminus1 |
af_tminus2 |
regressor in 4 | af_tminus2 = af*tminus2 (gen) 3-dataset compilation and regressions.do:4353-dataset compilation and regressions.do, line 435
gen af_tminus2=af*tminus2 |
af_tplus1 |
regressor in 4 | af_tplus1 = af*tplus1 (gen) 3-dataset compilation and regressions.do:4383-dataset compilation and regressions.do, line 438
gen af_tplus1=af*tplus1 |
af_tplus2 |
regressor in 4 | af_tplus2 = af*tplus2 (gen) 3-dataset compilation and regressions.do:4393-dataset compilation and regressions.do, line 439
gen af_tplus2=af*tplus2 |
af_tplus3 |
regressor in 4 | af_tplus3 = af*tplus3 (gen) 3-dataset compilation and regressions.do:4403-dataset compilation and regressions.do, line 440
gen af_tplus3=af*tplus3 |
af_tplus4 |
regressor in 4 | af_tplus4 = af*tplus4 (gen) 3-dataset compilation and regressions.do:4413-dataset compilation and regressions.do, line 441
gen af_tplus4=af*tplus4 |
af_tplus5 |
regressor in 4 | af_tplus5 = af*tplus5 (gen) 3-dataset compilation and regressions.do:4423-dataset compilation and regressions.do, line 442
gen af_tplus5=af*tplus5 |
6 · Models, by the table or figure they feed — 82 estimations, 82 traced into 14 exhibits
DID_descr
· 4 estimations → DID_descr
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
regols |
rd |
postsox_intro post intro
|
— | robust | 3-dataset compilation and regressions.do:693-dataset compilation and regressions.do, line 69
reg rd postsox_intro post intro, robust written at 3-dataset compilation and regressions.do:70 |
regols |
`var' |
postsox_intro post intro
|
— | robust | 3-dataset compilation and regressions.do:723-dataset compilation and regressions.do, line 72
reg `var' postsox_intro post intro, robust run 13× in a loop (var=rd; var=numpat_log; var=forcites_s_mean_log…)
written at 3-dataset compilation and regressions.do:73 |
regols |
rd |
postsox_af post af
|
— | robust | 3-dataset compilation and regressions.do:913-dataset compilation and regressions.do, line 91
reg rd postsox_af post af, robust written at 3-dataset compilation and regressions.do:92 |
regols |
`var' |
postsox_af post af
|
— | robust | 3-dataset compilation and regressions.do:943-dataset compilation and regressions.do, line 94
reg `var' postsox_af post af, robust run 13× in a loop (var=rd; var=numpat_log; var=forcites_s_mean_log…)
written at 3-dataset compilation and regressions.do:95 |
eventus
· 2 estimations → eventus
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
regols |
ehwcarmar_sox |
intro laglogmv lagbm lagleverage lagfcf lagroa lagmturnover lagstdret
|
— | bootstrap | 3-dataset compilation and regressions.do:2493-dataset compilation and regressions.do, line 249
bootstrap, reps(1000) seed(1): reg ehwcarmar_sox intro laglogmv lagbm lagleverage lagfcf lagroa lagmturnover lagstdret, robust written at 3-dataset compilation and regressions.do:250 |
regols |
carmar_sign |
intro laglogmv lagbm lagleverage lagfcf lagroa lagmturnover lagstdret
|
— | bootstrap | 3-dataset compilation and regressions.do:2513-dataset compilation and regressions.do, line 251
bootstrap, reps(1000) seed(1): reg carmar_sign intro laglogmv lagbm lagleverage lagfcf lagroa lagmturnover lagstdret, robust written at 3-dataset compilation and regressions.do:252 |
Table 3
· 8 estimations → Table3.xls
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
xtregpanel fe |
rd |
postsox_intro size hp_index litrisk instit_own roa i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:1233-dataset compilation and regressions.do, line 123
xtreg rd postsox_intro $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg rd postsox_intro size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:124 |
xtregpanel fe |
numpat_log |
postsox_intro rd size hp_index litrisk instit_own roa i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:1263-dataset compilation and regressions.do, line 126
xtreg numpat_log postsox_intro $rdcontrols $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg numpat_log postsox_intro rd size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:127 |
xtregpanel fe |
forcites_s_mean_log |
postsox_intro rd size hp_index litrisk instit_own roa i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:1293-dataset compilation and regressions.do, line 129
xtreg forcites_s_mean_log postsox_intro $rdcontrols $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg forcites_s_mean_log postsox_intro rd size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:130 |
xtregpanel fe |
tot_claim_ct_mean_log |
postsox_intro rd size hp_index litrisk instit_own roa i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:1323-dataset compilation and regressions.do, line 132
xtreg tot_claim_ct_mean_log postsox_intro $rdcontrols $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg tot_claim_ct_mean_log postsox_intro rd size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:133 |
xtregpanel fe |
restate |
postsox_intro size hp_index litrisk instit_own roa i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:1353-dataset compilation and regressions.do, line 135
xtreg restate postsox_intro $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg restate postsox_intro size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:136 |
xtregpanel fe |
ddf_resid |
postsox_intro size hp_index litrisk instit_own roa i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:1383-dataset compilation and regressions.do, line 138
xtreg ddf_resid postsox_intro $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg ddf_resid postsox_intro size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:139 |
xtregpanel fe |
fsd |
postsox_intro size hp_index litrisk instit_own roa i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:1413-dataset compilation and regressions.do, line 141
xtreg fsd postsox_intro $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg fsd postsox_intro size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:142 |
xtregpanel fe |
signed_accruals |
postsox_intro size hp_index litrisk instit_own roa i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:1443-dataset compilation and regressions.do, line 144
xtreg signed_accruals postsox_intro $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg signed_accruals postsox_intro size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:145 |
Table 4
· 8 estimations → Table4.xls
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
xtregpanel fe |
rd |
af_postsox size hp_index litrisk instit_own roa i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:1553-dataset compilation and regressions.do, line 155
xtreg rd af_postsox $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg rd af_postsox size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:156 |
xtregpanel fe |
numpat_log |
af_postsox rd size hp_index litrisk instit_own roa i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:1583-dataset compilation and regressions.do, line 158
xtreg numpat_log af_postsox $rdcontrols $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg numpat_log af_postsox rd size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:159 |
xtregpanel fe |
forcites_s_mean_log |
af_postsox rd size hp_index litrisk instit_own roa i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:1613-dataset compilation and regressions.do, line 161
xtreg forcites_s_mean_log af_postsox $rdcontrols $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg forcites_s_mean_log af_postsox rd size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:162 |
xtregpanel fe |
tot_claim_ct_mean_log |
af_postsox rd size hp_index litrisk instit_own roa i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:1643-dataset compilation and regressions.do, line 164
xtreg tot_claim_ct_mean_log af_postsox $rdcontrols $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg tot_claim_ct_mean_log af_postsox rd size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:165 |
xtregpanel fe |
restate |
af_postsox size hp_index litrisk instit_own roa i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:1673-dataset compilation and regressions.do, line 167
xtreg restate af_postsox $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg restate af_postsox size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:168 |
xtregpanel fe |
ddf_resid |
af_postsox size hp_index litrisk instit_own roa i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:1703-dataset compilation and regressions.do, line 170
xtreg ddf_resid af_postsox $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg ddf_resid af_postsox size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:171 |
xtregpanel fe |
fsd |
af_postsox size hp_index litrisk instit_own roa i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:1733-dataset compilation and regressions.do, line 173
xtreg fsd af_postsox $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg fsd af_postsox size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:174 |
xtregpanel fe |
signed_accruals |
af_postsox size hp_index litrisk instit_own roa i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:1763-dataset compilation and regressions.do, line 176
xtreg signed_accruals af_postsox $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg signed_accruals af_postsox size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:177 |
Table 5
· 16 estimations → Table5.xls
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
xtregpanel fe |
rd |
intro_af_post intro_af intro_post af_postsox size hp_index litrisk instit_own roa i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:1853-dataset compilation and regressions.do, line 185
xtreg rd intro_af_post intro_af intro_post af_postsox $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg rd intro_af_post intro_af intro_post af_postsox size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:186 |
xtregpanel fe |
numpat_log |
intro_af_post intro_af intro_post af_postsox rd size hp_index litrisk instit_own roa i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:1883-dataset compilation and regressions.do, line 188
xtreg numpat_log intro_af_post intro_af intro_post af_postsox $rdcontrols $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg numpat_log intro_af_post intro_af intro_post af_postsox rd size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:189 |
xtregpanel fe |
forcites_s_mean_log |
intro_af_post intro_af intro_post af_postsox rd size hp_index litrisk instit_own roa i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:1913-dataset compilation and regressions.do, line 191
xtreg forcites_s_mean_log intro_af_post intro_af intro_post af_postsox $rdcontrols $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg forcites_s_mean_log intro_af_post intro_af intro_post af_postsox rd size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:192 |
xtregpanel fe |
tot_claim_ct_mean_log |
intro_af_post intro_af intro_post af_postsox rd size hp_index litrisk instit_own roa i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:1943-dataset compilation and regressions.do, line 194
xtreg tot_claim_ct_mean_log intro_af_post intro_af intro_post af_postsox $rdcontrols $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg tot_claim_ct_mean_log intro_af_post intro_af intro_post af_postsox rd size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:195 |
xtregpanel fe |
restate |
intro_af_post intro_af intro_post af_postsox size hp_index litrisk instit_own roa i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:1973-dataset compilation and regressions.do, line 197
xtreg restate intro_af_post intro_af intro_post af_postsox $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg restate intro_af_post intro_af intro_post af_postsox size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:198 |
xtregpanel fe |
ddf_resid |
intro_af_post intro_af intro_post af_postsox size hp_index litrisk instit_own roa i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:2003-dataset compilation and regressions.do, line 200
xtreg ddf_resid intro_af_post intro_af intro_post af_postsox $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg ddf_resid intro_af_post intro_af intro_post af_postsox size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:201 |
xtregpanel fe |
fsd |
intro_af_post intro_af intro_post af_postsox size hp_index litrisk instit_own roa i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:2033-dataset compilation and regressions.do, line 203
xtreg fsd intro_af_post intro_af intro_post af_postsox $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg fsd intro_af_post intro_af intro_post af_postsox size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:204 |
xtregpanel fe |
signed_accruals |
intro_af_post intro_af intro_post af_postsox size hp_index litrisk instit_own roa i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:2063-dataset compilation and regressions.do, line 206
xtreg signed_accruals intro_af_post intro_af intro_post af_postsox $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg signed_accruals intro_af_post intro_af intro_post af_postsox size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:207 |
xtregpanel fe |
rd |
intro_af_post intro_af intro_post af_postsox size size_post hp_index hp_index_post litrisk litrisk_post instit_own instit_own_post +3 more
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:2163-dataset compilation and regressions.do, line 216
xtreg rd intro_af_post intro_af intro_post af_postsox $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg rd intro_af_post intro_af intro_post af_postsox size size_post hp_index hp_index_post litrisk litrisk_post instit_own instit_own_post roa roa_post i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:217 |
xtregpanel fe |
numpat_log |
intro_af_post intro_af intro_post af_postsox rd rd_post size size_post hp_index hp_index_post litrisk litrisk_post +5 more
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:2193-dataset compilation and regressions.do, line 219
xtreg numpat_log intro_af_post intro_af intro_post af_postsox $rdcontrols $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg numpat_log intro_af_post intro_af intro_post af_postsox rd rd_post size size_post hp_index hp_index_post litrisk litrisk_post instit_own instit_own_post roa roa_post i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:220 |
xtregpanel fe |
forcites_s_mean_log |
intro_af_post intro_af intro_post af_postsox rd rd_post size size_post hp_index hp_index_post litrisk litrisk_post +5 more
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:2223-dataset compilation and regressions.do, line 222
xtreg forcites_s_mean_log intro_af_post intro_af intro_post af_postsox $rdcontrols $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg forcites_s_mean_log intro_af_post intro_af intro_post af_postsox rd rd_post size size_post hp_index hp_index_post litrisk litrisk_post instit_own instit_own_post roa roa_post i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:223 |
xtregpanel fe |
tot_claim_ct_mean_log |
intro_af_post intro_af intro_post af_postsox rd rd_post size size_post hp_index hp_index_post litrisk litrisk_post +5 more
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:2253-dataset compilation and regressions.do, line 225
xtreg tot_claim_ct_mean_log intro_af_post intro_af intro_post af_postsox $rdcontrols $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg tot_claim_ct_mean_log intro_af_post intro_af intro_post af_postsox rd rd_post size size_post hp_index hp_index_post litrisk litrisk_post instit_own instit_own_post roa roa_post i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:226 |
xtregpanel fe |
restate |
intro_af_post intro_af intro_post af_postsox size size_post hp_index hp_index_post litrisk litrisk_post instit_own instit_own_post +3 more
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:2283-dataset compilation and regressions.do, line 228
xtreg restate intro_af_post intro_af intro_post af_postsox $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg restate intro_af_post intro_af intro_post af_postsox size size_post hp_index hp_index_post litrisk litrisk_post instit_own instit_own_post roa roa_post i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:229 |
xtregpanel fe |
ddf_resid |
intro_af_post intro_af intro_post af_postsox size size_post hp_index hp_index_post litrisk litrisk_post instit_own instit_own_post +3 more
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:2313-dataset compilation and regressions.do, line 231
xtreg ddf_resid intro_af_post intro_af intro_post af_postsox $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg ddf_resid intro_af_post intro_af intro_post af_postsox size size_post hp_index hp_index_post litrisk litrisk_post instit_own instit_own_post roa roa_post i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:232 |
xtregpanel fe |
fsd |
intro_af_post intro_af intro_post af_postsox size size_post hp_index hp_index_post litrisk litrisk_post instit_own instit_own_post +3 more
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:2343-dataset compilation and regressions.do, line 234
xtreg fsd intro_af_post intro_af intro_post af_postsox $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg fsd intro_af_post intro_af intro_post af_postsox size size_post hp_index hp_index_post litrisk litrisk_post instit_own instit_own_post roa roa_post i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:235 |
xtregpanel fe |
signed_accruals |
intro_af_post intro_af intro_post af_postsox size size_post hp_index hp_index_post litrisk litrisk_post instit_own instit_own_post +3 more
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:2373-dataset compilation and regressions.do, line 237
xtreg signed_accruals intro_af_post intro_af intro_post af_postsox $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg signed_accruals intro_af_post intro_af intro_post af_postsox size size_post hp_index hp_index_post litrisk litrisk_post instit_own instit_own_post roa roa_post i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:238 |
Table 6A
· 8 estimations → table6a.xls
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
reghdfepanel fe |
rd |
postsox_intro size hp_index litrisk instit_own roa
|
i.fyear, gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:5663-dataset compilation and regressions.do, line 566
reghdfe rd postsox_intro $controls [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons
as we read it (macros filled in / loop expanded):
reghdfe rd postsox_intro size hp_index litrisk instit_own roa [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons written at 3-dataset compilation and regressions.do:567 |
reghdfepanel fe |
numpat_log |
postsox_intro rd size hp_index litrisk instit_own roa
|
i.fyear, gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:5733-dataset compilation and regressions.do, line 573
reghdfe numpat_log postsox_intro $rdcontrols $controls [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons
as we read it (macros filled in / loop expanded):
reghdfe numpat_log postsox_intro rd size hp_index litrisk instit_own roa [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons written at 3-dataset compilation and regressions.do:574 |
reghdfepanel fe |
forcites_s_mean_log |
postsox_intro rd size hp_index litrisk instit_own roa
|
i.fyear, gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:5763-dataset compilation and regressions.do, line 576
reghdfe forcites_s_mean_log postsox_intro $rdcontrols $controls [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons
as we read it (macros filled in / loop expanded):
reghdfe forcites_s_mean_log postsox_intro rd size hp_index litrisk instit_own roa [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons written at 3-dataset compilation and regressions.do:577 |
reghdfepanel fe |
tot_claim_ct_mean_log |
postsox_intro rd size hp_index litrisk instit_own roa
|
i.fyear, gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:5793-dataset compilation and regressions.do, line 579
reghdfe tot_claim_ct_mean_log postsox_intro $rdcontrols $controls [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons
as we read it (macros filled in / loop expanded):
reghdfe tot_claim_ct_mean_log postsox_intro rd size hp_index litrisk instit_own roa [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons written at 3-dataset compilation and regressions.do:580 |
reghdfepanel fe |
restate |
postsox_intro size hp_index litrisk instit_own roa
|
i.fyear, gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:5873-dataset compilation and regressions.do, line 587
reghdfe restate postsox_intro $controls [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons
as we read it (macros filled in / loop expanded):
reghdfe restate postsox_intro size hp_index litrisk instit_own roa [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons written at 3-dataset compilation and regressions.do:588 |
reghdfepanel fe |
ddf_resid |
postsox_intro size hp_index litrisk instit_own roa
|
i.fyear, gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:5903-dataset compilation and regressions.do, line 590
reghdfe ddf_resid postsox_intro $controls [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons
as we read it (macros filled in / loop expanded):
reghdfe ddf_resid postsox_intro size hp_index litrisk instit_own roa [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons written at 3-dataset compilation and regressions.do:591 |
reghdfepanel fe |
fsd |
postsox_intro size hp_index litrisk instit_own roa
|
i.fyear, gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:5933-dataset compilation and regressions.do, line 593
reghdfe fsd postsox_intro $controls [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons
as we read it (macros filled in / loop expanded):
reghdfe fsd postsox_intro size hp_index litrisk instit_own roa [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons written at 3-dataset compilation and regressions.do:594 |
reghdfepanel fe |
signed_accruals |
postsox_intro size hp_index litrisk instit_own roa
|
i.fyear, gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:5963-dataset compilation and regressions.do, line 596
reghdfe signed_accruals postsox_intro $controls [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons
as we read it (macros filled in / loop expanded):
reghdfe signed_accruals postsox_intro size hp_index litrisk instit_own roa [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons written at 3-dataset compilation and regressions.do:597 |
Table 6B
· 8 estimations → table6b.xls
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
reghdfepanel fe |
rd |
af_postsox size hp_index litrisk instit_own roa
|
i.fyear, gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:6063-dataset compilation and regressions.do, line 606
reghdfe rd af_postsox $controls [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons
as we read it (macros filled in / loop expanded):
reghdfe rd af_postsox size hp_index litrisk instit_own roa [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons written at 3-dataset compilation and regressions.do:607 |
reghdfepanel fe |
numpat_log |
af_postsox rd size hp_index litrisk instit_own roa
|
i.fyear, gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:6133-dataset compilation and regressions.do, line 613
reghdfe numpat_log af_postsox $rdcontrols $controls [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons
as we read it (macros filled in / loop expanded):
reghdfe numpat_log af_postsox rd size hp_index litrisk instit_own roa [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons written at 3-dataset compilation and regressions.do:614 |
reghdfepanel fe |
forcites_s_mean_log |
af_postsox rd size hp_index litrisk instit_own roa
|
i.fyear, gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:6163-dataset compilation and regressions.do, line 616
reghdfe forcites_s_mean_log af_postsox $rdcontrols $controls [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons
as we read it (macros filled in / loop expanded):
reghdfe forcites_s_mean_log af_postsox rd size hp_index litrisk instit_own roa [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons written at 3-dataset compilation and regressions.do:617 |
reghdfepanel fe |
tot_claim_ct_mean_log |
af_postsox rd size hp_index litrisk instit_own roa
|
i.fyear, gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:6193-dataset compilation and regressions.do, line 619
reghdfe tot_claim_ct_mean_log af_postsox $rdcontrols $controls [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons
as we read it (macros filled in / loop expanded):
reghdfe tot_claim_ct_mean_log af_postsox rd size hp_index litrisk instit_own roa [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons written at 3-dataset compilation and regressions.do:620 |
reghdfepanel fe |
restate |
af_postsox size hp_index litrisk instit_own roa
|
i.fyear, gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:6293-dataset compilation and regressions.do, line 629
reghdfe restate af_postsox $controls [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons
as we read it (macros filled in / loop expanded):
reghdfe restate af_postsox size hp_index litrisk instit_own roa [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons written at 3-dataset compilation and regressions.do:630 |
reghdfepanel fe |
ddf_resid |
af_postsox size hp_index litrisk instit_own roa
|
i.fyear, gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:6323-dataset compilation and regressions.do, line 632
reghdfe ddf_resid af_postsox $controls [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons
as we read it (macros filled in / loop expanded):
reghdfe ddf_resid af_postsox size hp_index litrisk instit_own roa [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons written at 3-dataset compilation and regressions.do:633 |
reghdfepanel fe |
fsd |
af_postsox size hp_index litrisk instit_own roa
|
i.fyear, gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:6353-dataset compilation and regressions.do, line 635
reghdfe fsd af_postsox $controls [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons
as we read it (macros filled in / loop expanded):
reghdfe fsd af_postsox size hp_index litrisk instit_own roa [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons written at 3-dataset compilation and regressions.do:636 |
reghdfepanel fe |
signed_accruals |
af_postsox size hp_index litrisk instit_own roa
|
i.fyear, gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:6383-dataset compilation and regressions.do, line 638
reghdfe signed_accruals af_postsox $controls [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons
as we read it (macros filled in / loop expanded):
reghdfe signed_accruals af_postsox size hp_index litrisk instit_own roa [weight=_webal], absorb(i.fyear gvkey) vce(cluster gvkey) keepsingletons written at 3-dataset compilation and regressions.do:639 |
Table 8
· 2 estimations → Table8.xls
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
xtregpanel fe |
dgtw_bhar |
postsox_intro size size_post hp_index hp_index_post litrisk litrisk_post instit_own instit_own_post roa roa_post i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:2613-dataset compilation and regressions.do, line 261
xtreg dgtw_bhar postsox_intro $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg dgtw_bhar postsox_intro size size_post hp_index hp_index_post litrisk litrisk_post instit_own instit_own_post roa roa_post i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:262 |
xtregpanel fe |
dgtw_bhar |
af_postsox size size_post hp_index hp_index_post litrisk litrisk_post instit_own instit_own_post roa roa_post i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:2663-dataset compilation and regressions.do, line 266
xtreg dgtw_bhar af_postsox $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg dgtw_bhar af_postsox size size_post hp_index hp_index_post litrisk litrisk_post instit_own instit_own_post roa roa_post i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:267 |
Table 9A
· 5 estimations → Table9a.xls
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
xtregpanel fe |
orig_mean |
postsox_intro size hp_index litrisk instit_own roa rd i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:2813-dataset compilation and regressions.do, line 281
xtreg orig_mean postsox_intro $controls $rdcontrols i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg orig_mean postsox_intro size hp_index litrisk instit_own roa rd i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:282 |
xtregpanel fe |
gen_mean |
postsox_intro size hp_index litrisk instit_own roa rd i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:2843-dataset compilation and regressions.do, line 284
xtreg gen_mean postsox_intro $controls $rdcontrols i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg gen_mean postsox_intro size hp_index litrisk instit_own roa rd i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:285 |
xtregpanel fe |
forcites_s_sd |
postsox_intro size hp_index litrisk instit_own roa rd i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:2873-dataset compilation and regressions.do, line 287
xtreg forcites_s_sd postsox_intro $controls $rdcontrols i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg forcites_s_sd postsox_intro size hp_index litrisk instit_own roa rd i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:288 |
xtregpanel fe |
breadth_subclass |
postsox_intro size hp_index litrisk instit_own roa rd i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:2903-dataset compilation and regressions.do, line 290
xtreg breadth_subclass postsox_intro $controls $rdcontrols i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg breadth_subclass postsox_intro size hp_index litrisk instit_own roa rd i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:291 |
xtregpanel fe |
citesmade_s_mean_log |
postsox_intro size hp_index litrisk instit_own roa rd i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:2933-dataset compilation and regressions.do, line 293
xtreg citesmade_s_mean_log postsox_intro $controls $rdcontrols i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg citesmade_s_mean_log postsox_intro size hp_index litrisk instit_own roa rd i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:294 |
Table 9B
· 5 estimations → Table9b.xls
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
xtregpanel fe |
orig_mean |
af_postsox size hp_index litrisk instit_own roa rd i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:3053-dataset compilation and regressions.do, line 305
xtreg orig_mean af_postsox $controls $rdcontrols i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg orig_mean af_postsox size hp_index litrisk instit_own roa rd i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:306 |
xtregpanel fe |
gen_mean |
af_postsox size hp_index litrisk instit_own roa rd i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:3083-dataset compilation and regressions.do, line 308
xtreg gen_mean af_postsox $controls $rdcontrols i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg gen_mean af_postsox size hp_index litrisk instit_own roa rd i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:309 |
xtregpanel fe |
forcites_s_sd |
af_postsox size hp_index litrisk instit_own roa rd i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:3113-dataset compilation and regressions.do, line 311
xtreg forcites_s_sd af_postsox $controls $rdcontrols i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg forcites_s_sd af_postsox size hp_index litrisk instit_own roa rd i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:312 |
xtregpanel fe |
breadth_subclass |
af_postsox size hp_index litrisk instit_own roa rd i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:3143-dataset compilation and regressions.do, line 314
xtreg breadth_subclass af_postsox $controls $rdcontrols i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg breadth_subclass af_postsox size hp_index litrisk instit_own roa rd i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:315 |
xtregpanel fe |
citesmade_s_mean_log |
af_postsox size hp_index litrisk instit_own roa rd i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:3173-dataset compilation and regressions.do, line 317
xtreg citesmade_s_mean_log af_postsox $controls $rdcontrols i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg citesmade_s_mean_log af_postsox size hp_index litrisk instit_own roa rd i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:318 |
Table 10A
· 4 estimations → Table10a.xls
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
xtregpanel fe |
rd |
zero intro_tminus2 intro_tminus1 intro_tzero intro_tplus1 intro_tplus2 intro_tplus3 intro_tplus4 intro_tplus5 size hp_index litrisk +3 more
|
gvkey2 | cluster: gvkey | 3-dataset compilation and regressions.do:4593-dataset compilation and regressions.do, line 459
xtreg rd zero $timevars $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg rd zero intro_tminus2 intro_tminus1 intro_tzero intro_tplus1 intro_tplus2 intro_tplus3 intro_tplus4 intro_tplus5 size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:460 |
xtregpanel fe |
numpat_log |
zero intro_tminus2 intro_tminus1 intro_tzero intro_tplus1 intro_tplus2 intro_tplus3 intro_tplus4 intro_tplus5 size hp_index litrisk +4 more
|
gvkey2 | cluster: gvkey | 3-dataset compilation and regressions.do:4613-dataset compilation and regressions.do, line 461
xtreg numpat_log zero $timevars $controls $rdcontrols i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg numpat_log zero intro_tminus2 intro_tminus1 intro_tzero intro_tplus1 intro_tplus2 intro_tplus3 intro_tplus4 intro_tplus5 size hp_index litrisk instit_own roa rd i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:462 |
xtregpanel fe |
forcites_s_mean_log |
zero intro_tminus2 intro_tminus1 intro_tzero intro_tplus1 intro_tplus2 intro_tplus3 intro_tplus4 intro_tplus5 size hp_index litrisk +4 more
|
gvkey2 | cluster: gvkey | 3-dataset compilation and regressions.do:4633-dataset compilation and regressions.do, line 463
xtreg forcites_s_mean_log zero $timevars $controls $rdcontrols i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg forcites_s_mean_log zero intro_tminus2 intro_tminus1 intro_tzero intro_tplus1 intro_tplus2 intro_tplus3 intro_tplus4 intro_tplus5 size hp_index litrisk instit_own roa rd i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:464 |
xtregpanel fe |
tot_claim_ct_mean_log |
zero intro_tminus2 intro_tminus1 intro_tzero intro_tplus1 intro_tplus2 intro_tplus3 intro_tplus4 intro_tplus5 size hp_index litrisk +4 more
|
gvkey2 | cluster: gvkey | 3-dataset compilation and regressions.do:4653-dataset compilation and regressions.do, line 465
xtreg tot_claim_ct_mean_log zero $timevars $controls $rdcontrols i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg tot_claim_ct_mean_log zero intro_tminus2 intro_tminus1 intro_tzero intro_tplus1 intro_tplus2 intro_tplus3 intro_tplus4 intro_tplus5 size hp_index litrisk instit_own roa rd i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:466 |
Table 10B
· 4 estimations → Table10b.xls
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
xtregpanel fe |
rd |
zero af_tminus2 af_tminus1 af_tzero af_tplus1 af_tplus2 af_tplus3 af_tplus4 af_tplus5 size hp_index litrisk +3 more
|
gvkey2 | cluster: gvkey | 3-dataset compilation and regressions.do:4753-dataset compilation and regressions.do, line 475
xtreg rd zero $timevars $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg rd zero af_tminus2 af_tminus1 af_tzero af_tplus1 af_tplus2 af_tplus3 af_tplus4 af_tplus5 size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:476 |
xtregpanel fe |
numpat_log |
zero af_tminus2 af_tminus1 af_tzero af_tplus1 af_tplus2 af_tplus3 af_tplus4 af_tplus5 size hp_index litrisk +4 more
|
gvkey2 | cluster: gvkey | 3-dataset compilation and regressions.do:4773-dataset compilation and regressions.do, line 477
xtreg numpat_log zero $timevars $controls $rdcontrols i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg numpat_log zero af_tminus2 af_tminus1 af_tzero af_tplus1 af_tplus2 af_tplus3 af_tplus4 af_tplus5 size hp_index litrisk instit_own roa rd i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:478 |
xtregpanel fe |
forcites_s_mean_log |
zero af_tminus2 af_tminus1 af_tzero af_tplus1 af_tplus2 af_tplus3 af_tplus4 af_tplus5 size hp_index litrisk +4 more
|
gvkey2 | cluster: gvkey | 3-dataset compilation and regressions.do:4793-dataset compilation and regressions.do, line 479
xtreg forcites_s_mean_log zero $timevars $controls $rdcontrols i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg forcites_s_mean_log zero af_tminus2 af_tminus1 af_tzero af_tplus1 af_tplus2 af_tplus3 af_tplus4 af_tplus5 size hp_index litrisk instit_own roa rd i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:480 |
xtregpanel fe |
tot_claim_ct_mean_log |
zero af_tminus2 af_tminus1 af_tzero af_tplus1 af_tplus2 af_tplus3 af_tplus4 af_tplus5 size hp_index litrisk +4 more
|
gvkey2 | cluster: gvkey | 3-dataset compilation and regressions.do:4813-dataset compilation and regressions.do, line 481
xtreg tot_claim_ct_mean_log zero $timevars $controls $rdcontrols i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg tot_claim_ct_mean_log zero af_tminus2 af_tminus1 af_tzero af_tplus1 af_tplus2 af_tplus3 af_tplus4 af_tplus5 size hp_index litrisk instit_own roa rd i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:482 |
Table 11A
· 4 estimations → Table11a.xls
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
xtregpanel fe |
rd |
postsox_intro size hp_index litrisk instit_own roa i.fyear
|
gvkey2 | cluster: gvkey | 3-dataset compilation and regressions.do:4933-dataset compilation and regressions.do, line 493
xtreg rd postsox_intro $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg rd postsox_intro size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:494 |
xtregpanel fe |
numpat_log |
postsox_intro size hp_index litrisk instit_own roa rd i.fyear
|
gvkey2 | cluster: gvkey | 3-dataset compilation and regressions.do:4963-dataset compilation and regressions.do, line 496
xtreg numpat_log postsox_intro $controls $rdcontrols i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg numpat_log postsox_intro size hp_index litrisk instit_own roa rd i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:497 |
xtregpanel fe |
forcites_s_mean_log |
postsox_intro size hp_index litrisk instit_own roa rd i.fyear
|
gvkey2 | cluster: gvkey | 3-dataset compilation and regressions.do:4993-dataset compilation and regressions.do, line 499
xtreg forcites_s_mean_log postsox_intro $controls $rdcontrols i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg forcites_s_mean_log postsox_intro size hp_index litrisk instit_own roa rd i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:500 |
xtregpanel fe |
tot_claim_ct_mean_log |
postsox_intro size hp_index litrisk instit_own roa rd i.fyear
|
gvkey2 | cluster: gvkey | 3-dataset compilation and regressions.do:5023-dataset compilation and regressions.do, line 502
xtreg tot_claim_ct_mean_log postsox_intro $controls $rdcontrols i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg tot_claim_ct_mean_log postsox_intro size hp_index litrisk instit_own roa rd i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:503 |
Table 11B
· 4 estimations → Table11b.xls
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
xtregpanel fe |
rd |
postsox_intro size hp_index litrisk instit_own roa i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:5133-dataset compilation and regressions.do, line 513
xtreg rd postsox_intro $controls i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg rd postsox_intro size hp_index litrisk instit_own roa i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:514 |
xtregpanel fe |
numpat_log |
postsox_intro size hp_index litrisk instit_own roa rd i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:5163-dataset compilation and regressions.do, line 516
xtreg numpat_log postsox_intro $controls $rdcontrols i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg numpat_log postsox_intro size hp_index litrisk instit_own roa rd i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:517 |
xtregpanel fe |
forcites_s_mean_log |
postsox_intro size hp_index litrisk instit_own roa rd i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:5193-dataset compilation and regressions.do, line 519
xtreg forcites_s_mean_log postsox_intro $controls $rdcontrols i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg forcites_s_mean_log postsox_intro size hp_index litrisk instit_own roa rd i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:520 |
xtregpanel fe |
tot_claim_ct_mean_log |
postsox_intro size hp_index litrisk instit_own roa rd i.fyear
|
gvkey | cluster: gvkey | 3-dataset compilation and regressions.do:5223-dataset compilation and regressions.do, line 522
xtreg tot_claim_ct_mean_log postsox_intro $controls $rdcontrols i.fyear, fe cluster(gvkey)
as we read it (macros filled in / loop expanded):
xtreg tot_claim_ct_mean_log postsox_intro size hp_index litrisk instit_own roa rd i.fyear, fe cluster(gvkey) written at 3-dataset compilation and regressions.do:523 |
Tables and figures the code writes:
· · Table 3 · Table 4 · Table 5 · Table 6A · Table 6B · Table 8 · Table 9A · Table 9B · Table 10A · Table 10B · Table 11A · Table 11B
DID_descr 3-dataset compilation and regressions.do:70
3-dataset compilation and regressions.do, line 70
outreg2 using DID_descr, replace word adjr2 tstat label dec(2)
eventus 3-dataset compilation and regressions.do:250
3-dataset compilation and regressions.do, line 250
outreg2 using eventus, replace word adjr2 tstat label addtext(Robust SE, YES, Bootstrap SE, YES) dec(3)
Table3.xls 3-dataset compilation and regressions.do:124
3-dataset compilation and regressions.do, line 124
outreg2 using Table3.xls, replace adjr2 tstat label addtext(Year FE, YES, Firm FE, YES) dec(3)
Table4.xls 3-dataset compilation and regressions.do:156
3-dataset compilation and regressions.do, line 156
outreg2 using Table4.xls, replace adjr2 tstat label addtext(Year FE, YES, Firm FE, YES) dec(3)
Table5.xls 3-dataset compilation and regressions.do:186
3-dataset compilation and regressions.do, line 186
outreg2 using Table5.xls, replace adjr2 tstat label addtext(Year FE, YES, Firm FE, YES) dec(3)
table6a.xls 3-dataset compilation and regressions.do:567
3-dataset compilation and regressions.do, line 567
outreg2 using table6a.xls, replace addstat(R-squared within,e(r2_within)) tstat label addtext(Year FE, YES, Firm FE, YES) dec(3)
table6b.xls 3-dataset compilation and regressions.do:607
3-dataset compilation and regressions.do, line 607
outreg2 using table6b.xls, replace addstat(R-squared within,e(r2_within)) tstat label addtext(Year FE, YES, Firm FE, YES) dec(3)
Table8.xls 3-dataset compilation and regressions.do:262
3-dataset compilation and regressions.do, line 262
outreg2 using Table8.xls, replace adjr2 tstat label addtext(Controls, YES, Year FE, YES, Firm FE, YES) dec(3)
Table9a.xls 3-dataset compilation and regressions.do:282
3-dataset compilation and regressions.do, line 282
outreg2 using Table9a.xls, replace adjr2 tstat label addtext(Year FE, YES, Firm FE, YES) dec(3)
Table9b.xls 3-dataset compilation and regressions.do:306
3-dataset compilation and regressions.do, line 306
outreg2 using Table9b.xls, replace adjr2 tstat label addtext(Year FE, YES, Firm FE, YES) dec(3)
Table10a.xls 3-dataset compilation and regressions.do:460
3-dataset compilation and regressions.do, line 460
outreg2 using Table10a.xls, replace adjr2 tstat label addtext(Year FE, YES, Firm FE, YES) dec(3)
Table10b.xls 3-dataset compilation and regressions.do:476
3-dataset compilation and regressions.do, line 476
outreg2 using Table10b.xls, replace adjr2 tstat label addtext(Year FE, YES, Firm FE, YES) dec(3)
Table11a.xls 3-dataset compilation and regressions.do:494
3-dataset compilation and regressions.do, line 494
outreg2 using Table11a.xls, replace adjr2 tstat label addtext(Year FE, YES, Firm FE, YES) dec(3)
Table11b.xls 3-dataset compilation and regressions.do:514
3-dataset compilation and regressions.do, line 514
outreg2 using Table11b.xls, replace adjr2 tstat label addtext(Year FE, YES, Firm FE, YES) dec(3)