Journal of Accounting Research · 2024 · 10.1111/1475-679x.12519
The Impact of Credit Market Development on Auditor Choice: Evidence from Banking Deregulation
GUS DE FRANCO; YUYAN GUAN; YIBIN ZHOU; XINDONG ZHU
Review history
Received 3 Apr 2022 → accepted 17.5 months later.
Received: 3 Apr 2022Accepted: 18 Sep 2023
Received → accepted. Journal of Accounting Research, papers printed 2023–2026: median 23.1 months (middle half 16.8–33.1), 182 papers measured. This paper: 17.5 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
—
sample period in the code
0
keep/drop statements
0
winsorizations
0
missing-data rules
0
de-duplications
1
distinct estimations
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 (8)
and keep/drop statements plus winsorized variables (0).
1 · Data and structure
Databases read: Compustat (North America)
Panel declared as:
none
2 · How the sample is built
- no filters recorded
3 · Design and validation
Identification: —
Standard measures:
Asset Turnover, Audit Fees, Big 4 Auditor, Book Leverage, Discretionary Accruals (Jones Model), Earnings Surprise, Log Total Assets, Loss Indicator, Operating Cash Flow, Return on Assets (ROA) (2 variables), Sales Growth, Tobin's Q / Market-to-Book
4 · What it estimates
| Command | Method | Fixed effects absorbed | Inference | File |
|---|---|---|---|---|
|
ols | gvkeycohort | cluster by stateyear | BDAC STATA program.do |
How the code gets from data to results own page
2
scripts
11
input files
1
file hand-offs
16
merges
0
sample steps
8
estimations
1 · Data in — files the code reads and no script of the package writes
Datasets this package uses (item detector / README):
Compustat
WRDS Bank Regulatory Database
11 files
bank.auditorkeySASBDAC SAS program.sas:527
BDAC SAS program.sas, line 527 set bank.auditorkey;bank.compustat19882010SASBDAC SAS program.sas:10
BDAC SAS program.sas, line 10 set bank.compustat19882010;bank.cusipusSASBDAC SAS program.sas:469
BDAC SAS program.sas, line 469 set bank.cusipus;bank.goingconcernSASBDAC SAS program.sas:628
BDAC SAS program.sas, line 628 set bank.goingconcern;bank.historicalstateSASBDAC SAS program.sas:42
BDAC SAS program.sas, line 42 set bank.historicalstate;bank.ibesSASBDAC SAS program.sas:438
BDAC SAS program.sas, line 438 set bank.ibes;bank.populationSASBDAC SAS program.sas:378
BDAC SAS program.sas, line 378 set bank.population;bank.restatementSASBDAC SAS program.sas:648
BDAC SAS program.sas, line 648 set bank.restatement;
3 more
bank.sedolintSASBDAC SAS program.sas:464
BDAC SAS program.sas, line 464 set bank.sedolint;bank.segmentSASBDAC SAS program.sas:282
BDAC SAS program.sas, line 282 set bank.segment;bank.unemploymentSASBDAC SAS program.sas:361
BDAC SAS program.sas, line 361 data b5; set bank.unemployment;
2 · The file pipeline — which script writes which file that a later script reads
2 scripts, in data lineage — a script that writes a file comes before the scripts that read it; 1 hand-offs through 2 intermediate files; 1 files written and never read back (outputs).
-
1.
BDAC SAS program.sasreads 11 input files · 55 merges ·writesdatabign.dta→ read byBDAC STATA program.dowritesdataindexp.dta→ read byBDAC STATA program.dowrites (not read again):bank.rawdata1 -
2.
BDAC STATA program.do8 estimationsreads whatBDAC SAS program.saswrote
3 · Merges — 16 joins, 0 followed by a check of the merge result; 39 appends
| Joins | How | On keys | Check that follows | Where |
|---|---|---|---|---|
sorted_rawdata1 ← sorted_aafee9616 |
join (left) | cik=COMPANY_FKEY fyear=fiscal_year |
none | BDAC SAS program.sas:31BDAC SAS program.sas, line 31
left join sorted_aafee9616
on sorted_rawdata1.cik = sorted_aafee9616.COMPANY_FKEY
and sorted_rawdata1.fyear=sorted_aafee9616.fiscal_year; |
rawdata2_updated ← state_data |
join (left) | gvkey year |
none | BDAC SAS program.sas:58BDAC SAS program.sas, line 58
left join state_data
on rawdata2_updated.gvkey=state_data.gvkey
and rawdata2_updated.year=state_data.year; |
a9 ← seg4a |
join (left) | gvkey year |
none | BDAC SAS program.sas:337BDAC SAS program.sas, line 337
left join seg4a
on a9.gvkey = seg4a.gvkey and a9.year = seg4a.year; |
a10 ← seg4b |
join (left) | gvkey year |
none | BDAC SAS program.sas:345BDAC SAS program.sas, line 345
left join seg4b
on a10.gvkey = seg4b.gvkey and a10.year = seg4b.year; |
b4 ← b5 |
join (left) | state yearmonth |
none | BDAC SAS program.sas:373BDAC SAS program.sas, line 373
left join b5
on b4.state=b5.state and b4.yearmonth=b5.yearmonth; |
b6 ← b8 |
join (left) | state=stateid year |
none | BDAC SAS program.sas:397BDAC SAS program.sas, line 397
left join b8
on b6.state=b8.stateid and b6.year=b8.year; |
mergedata1 ← sedol4 |
join (left) | gvkey year |
none | BDAC SAS program.sas:504BDAC SAS program.sas, line 504
left join sedol4
on mergedata1.gvkey=sedol4.gvkey and mergedata1.year= sedol4.year; |
mergedata2 ← ibes6 |
join (left) | sedolcusip year |
none | BDAC SAS program.sas:520BDAC SAS program.sas, line 520
left join ibes6
on mergedata2.sedolcusip=ibes6.sedolcusip and mergedata2.year=ibes6.year; |
mergedata3 ← auditorkey_copy |
join (left) | gvkey year |
none | BDAC SAS program.sas:542BDAC SAS program.sas, line 542
left join auditorkey_copy
on mergedata3.gvkey=auditorkey_copy.gvkey and mergedata3.year=auditorkey_copy.year; |
y6 ← gc |
join (left) | cik=COMPANY_FKEY fyear=FISCAL_YEAR_OF_OP |
none | BDAC SAS program.sas:643BDAC SAS program.sas, line 643
left join gc
on y6.cik = gc.COMPANY_FKEY and y6.fyear=gc.FISCAL_YEAR_OF_OP; |
y7 ← y8 |
join (left) | COMPANY_FKEY fiscal_year |
none | BDAC SAS program.sas:663BDAC SAS program.sas, line 663
left join y8
on y7.COMPANY_FKEY=y8.COMPANY_FKEY
and y7.fiscal_year=y8.fiscal_year; |
d2 ← d3 |
merge | year industry |
none | BDAC SAS program.sas:696BDAC SAS program.sas, line 696
merge d2 d3; |
d1 ← d6 |
join (left) | industry year auditor |
none | BDAC SAS program.sas:728BDAC SAS program.sas, line 728
left join d6
on d1.industry=d6.industry and d1.year=d6.year and d1.auditor=d6.auditor; |
e1 ← e2 |
join (left) | gvkey |
none | BDAC SAS program.sas:1217BDAC SAS program.sas, line 1217
left join e2
on e1.gvkey=e2.gvkey; |
d2a ← d3a |
merge | year industry |
none | BDAC SAS program.sas:1247BDAC SAS program.sas, line 1247
merge d2a d3a; |
d1a ← d6a |
join (left) | industry year auditor |
none | BDAC SAS program.sas:1279BDAC SAS program.sas, line 1279
left join d6a
on d1a.industry=d6a.industry and d1a.year=d6a.year and d1a.auditor=d6a.auditor; |
4 · The sample — 0 keep/drop steps, 0 variables winsorized or trimmed
Filters, by kind
No sample filters recorded.
Outliers
No winsorizing or trimming recorded.
5 · Key variables — what enters the models, and where the code builds it
Standard measures computed here:
Asset Turnover (), Audit Fees (), Big 4 Auditor (), Book Leverage (), Discretionary Accruals (Jones Model) (), Earnings Surprise (), Log Total Assets (), Loss Indicator (), Operating Cash Flow (), Return on Assets (ROA) (), Sales Growth (), Tobin's Q / Market-to-Book ()
saleat BDAC SAS program.sas:169
BDAC SAS program.sas, line 169
saleat= sale/lag(at);
auditfee BDAC SAS program.sas:241
BDAC SAS program.sas, line 241
auditfee = log(AUDIT_FEES);
BDAC SAS program.sas:1190
BDAC SAS program.sas, line 1190
if 1<=au<=8 then bign=1;
lev BDAC SAS program.sas:244
BDAC SAS program.sas, line 244
lev = lt/at;
BDAC SAS program.sas:221
BDAC SAS program.sas, line 221
model total_acc = iat iiat iiiat lroa/noint;
error BDAC SAS program.sas:444
BDAC SAS program.sas, line 444
error = (ACTUAL-MEANEST);
size BDAC SAS program.sas:243
BDAC SAS program.sas, line 243
size= log(at);
loss BDAC SAS program.sas:247
BDAC SAS program.sas, line 247
if ni<0 and ni^=. then loss=1; if loss=. then loss=0;
cfoat BDAC SAS program.sas:168
BDAC SAS program.sas, line 168
cfoat=OANCF/lag(at);
lroa BDAC SAS program.sas:184
BDAC SAS program.sas, line 184
lroa= ni/lag(at);
sales_growth BDAC SAS program.sas:248
BDAC SAS program.sas, line 248
sales_growth = (sale-lag(sale))/lag(sale);
mb BDAC SAS program.sas:245
BDAC SAS program.sas, line 245
mb = abs((CSHO*PRCC_C)/ceq);
| Variable | Used in models as | Built by |
|---|---|---|
bign |
outcome in 4 | bign = 1 (assign) BDAC SAS program.sas:1190BDAC SAS program.sas, line 1190
if 1<=au<=8 then bign=1; bign = 0 (assign) BDAC SAS program.sas:1191BDAC SAS program.sas, line 1191
if bign=. then bign=0; |
indexp |
outcome in 4 | indexp = 1 (assign) BDAC SAS program.sas:712BDAC SAS program.sas, line 712
if last.year and share1^=. then indexp= 1; indexp = 0 (assign) BDAC SAS program.sas:713BDAC SAS program.sas, line 713
else if share1^=. then indexp=0; indexp = 1 (assign) BDAC SAS program.sas:1263BDAC SAS program.sas, line 1263
if last.year and share1^=. then indexp= 1; +1 more statements set it |
fyearcohort |
regressor in 8 | fyearcohort = fyear + cohort*10000 (assign) BDAC SAS program.sas:1161BDAC SAS program.sas, line 1161
fyearcohort = fyear + cohort*10000; fyearcohort = fyear + cohort*10000 (assign) BDAC SAS program.sas:1489BDAC SAS program.sas, line 1489
data jj2; set jj1; gvkeycohort = gvkey + cohort*1000000; fyearcohort = fyear + cohort*10000; |
finance |
regressor in 4 | finance = 1 (assign) BDAC SAS program.sas:275BDAC SAS program.sas, line 275
if merge=0 and ltdin>=0.2 then finance=1; finance = 1 (assign) BDAC SAS program.sas:276BDAC SAS program.sas, line 276
if merge=0 and cshoin>=0.1 then finance=1; finance = 0 (assign) BDAC SAS program.sas:277BDAC SAS program.sas, line 277
if finance=. then finance=0; +1 more statements set it |
invrec |
regressor in 4 | invrec = (invt+rect)/at (assign) BDAC SAS program.sas:263BDAC SAS program.sas, line 263
invrec= (invt+rect)/at; invrec = invrecp1 (assign) BDAC SAS program.sas:583BDAC SAS program.sas, line 583
if invrec<invrecp1 and not missing(invrec) then invrec=invrecp1; invrec = invrecp99 (assign) BDAC SAS program.sas:584BDAC SAS program.sas, line 584
if invrec>invrecp99 then invrec=invrecp99; |
lev |
regressor in 4 | lev = lt/at (assign) BDAC SAS program.sas:244BDAC SAS program.sas, line 244
lev = lt/at; lev = levp1 (assign) BDAC SAS program.sas:587BDAC SAS program.sas, line 587
if lev<levp1 and not missing(lev) then lev=levp1; lev = levp99 (assign) BDAC SAS program.sas:588BDAC SAS program.sas, line 588
if lev>levp99 then lev=levp99; |
loss |
regressor in 4 | loss = 1 (assign) BDAC SAS program.sas:247BDAC SAS program.sas, line 247
if ni<0 and ni^=. then loss=1; if loss=. then loss=0; loss = 0 (assign) BDAC SAS program.sas:247BDAC SAS program.sas, line 247
if ni<0 and ni^=. then loss=1; if loss=. then loss=0; |
mb |
regressor in 4 | mb = abs((CSHO*PRCC_C)/ceq) (assign) BDAC SAS program.sas:245BDAC SAS program.sas, line 245
mb = abs((CSHO*PRCC_C)/ceq); mb = mbp1 (assign) BDAC SAS program.sas:585BDAC SAS program.sas, line 585
if mb<mbp1 and not missing(mb) then mb=mbp1; mb = mbp99 (assign) BDAC SAS program.sas:586BDAC SAS program.sas, line 586
if mb>mbp99 then mb=mbp99; |
merge |
regressor in 4 | no statement builds it — a column of an input file, or made by a reshape/merge we do not trace |
nbs |
regressor in 4 | nbs = log(1 + busn) (assign) BDAC SAS program.sas:304BDAC SAS program.sas, line 304
nbs = log(1 + busn); |
ngs |
regressor in 4 | ngs = log(1 + geon) (assign) BDAC SAS program.sas:326BDAC SAS program.sas, line 326
ngs = log(1 + geon); |
open |
regressor in 4 | open = -index (assign) BDAC SAS program.sas:735BDAC SAS program.sas, line 735
open = -index; open = -index (assign) BDAC SAS program.sas:1286BDAC SAS program.sas, line 1286
open = -index; |
population |
regressor in 4 | population = population1 (rename) BDAC SAS program.sas:385BDAC SAS program.sas, line 385
rename population1=population; |
size |
regressor in 4 | size = log(at) (assign) BDAC SAS program.sas:243BDAC SAS program.sas, line 243
size= log(at); size = sizep1 (assign) BDAC SAS program.sas:581BDAC SAS program.sas, line 581
if size<sizep1 and not missing(size) then size=sizep1; size = sizep99 (assign) BDAC SAS program.sas:582BDAC SAS program.sas, line 582
if size>sizep99 then size=sizep99; |
sposttreat |
regressor in 4 | sposttreat = spost*streat (assign) BDAC SAS program.sas:1166BDAC SAS program.sas, line 1166
sposttreat = spost*streat; sposttreat = spost*streat (assign) BDAC SAS program.sas:1492BDAC SAS program.sas, line 1492
data jj2; set jj2; sposttreat = spost*streat; run; |
unemploy |
regressor in 4 | unemploy = ur (assign) BDAC SAS program.sas:362BDAC SAS program.sas, line 362
unemploy = ur; |
6 · Models, by the table or figure they feed — 8 estimations, 0 traced into 0 exhibits
Estimations not traced to a table or figure · 8
| Command | Outcome | Regressors | Fixed effects | Standard errors | Where |
|---|---|---|---|---|---|
aregols |
indexp |
sposttreat i.fyearcohort
|
gvkeycohort | cluster: stateyear | BDAC STATA program.do:13BDAC STATA program.do, line 13
areg indexp sposttreat i.fyearcohort, absorb (gvkeycohort) robust cluster (stateyear) //without control variables |
aregols |
indexp |
sposttreat size invrec nbs ngs mb loss lev merge finance unemploy population +1 more
|
gvkeycohort | cluster: stateyear | BDAC STATA program.do:15BDAC STATA program.do, line 15
areg indexp sposttreat size invrec nbs ngs mb loss lev merge finance unemploy population i.fyearcohort, absorb (gvkeycohort) robust cluster (stateyear) //with control variables |
aregols |
indexp |
open i.fyearcohort
|
gvkeycohort | cluster: stateyear | BDAC STATA program.do:20BDAC STATA program.do, line 20
areg indexp open i.fyearcohort, absorb (gvkeycohort) robust cluster (stateyear) //without control variables |
aregols |
indexp |
open size invrec nbs ngs mb loss lev merge finance unemploy population +1 more
|
gvkeycohort | cluster: stateyear | BDAC STATA program.do:22BDAC STATA program.do, line 22
areg indexp open size invrec nbs ngs mb loss lev merge finance unemploy population i.fyearcohort, absorb (gvkeycohort) robust cluster (stateyear) //with control variables |
aregols |
bign |
sposttreat i.fyearcohort
|
gvkeycohort | cluster: stateyear | BDAC STATA program.do:36BDAC STATA program.do, line 36
areg bign sposttreat i.fyearcohort, absorb (gvkeycohort) robust cluster (stateyear) //without control variables |
aregols |
bign |
sposttreat size invrec nbs ngs mb loss lev merge finance unemploy population +1 more
|
gvkeycohort | cluster: stateyear | BDAC STATA program.do:38BDAC STATA program.do, line 38
areg bign sposttreat size invrec nbs ngs mb loss lev merge finance unemploy population i.fyearcohort, absorb (gvkeycohort) robust cluster (stateyear) //with control variables |
aregols |
bign |
open i.fyearcohort
|
gvkeycohort | cluster: stateyear | BDAC STATA program.do:43BDAC STATA program.do, line 43
areg bign open i.fyearcohort, absorb (gvkeycohort) robust cluster (stateyear) //without control variables |
aregols |
bign |
open size invrec nbs ngs mb loss lev merge finance unemploy population +1 more
|
gvkeycohort | cluster: stateyear | BDAC STATA program.do:45BDAC STATA program.do, line 45
areg bign open size invrec nbs ngs mb loss lev merge finance unemploy population i.fyearcohort, absorb (gvkeycohort) robust cluster (stateyear) //with control variables |