← Audit Quality

Big 4 Auditor

Indicator for whether the firm's auditor is one of the Big 4. The simplest and most common audit quality proxy.

Textbook formula: 1 if audited by Deloitte, EY, KPMG, or PwC
22
replication packages compute it
34
code statements found computing it
0%
of packages read winsorize or trim it

How the code actually computes it

This measure is recognised by its formula, estimation or data source rather than a variable name. Open the row for the statements that compute it, as written, each with its file and line.

Recognised by its construction and data source — the lines below 22 packages
34 statements
Statement in the code, as writtenPackages
0 if strpos(auditor_name, "ernst") 1
1 if au==01 1
1 if au==02 1
1 if au>=1&au<=8 1
1 if auditor_fkey<=4 1
1 if auditor_fkey==3|auditor_fkey==2|auditor_fkey==1|auditor_fkey==4 1
1 if Grant==1 | KPMG==1 | Deloitte==1 | PWC==1 1
1 if lead_auditor_fkey<=4&audit_ident_alternative==999999 1
1 if string5 == "Deloi" | string5 == "Ernst" | string5 == "KPMG " | string5 == "Price" 1
1 if strpos(auditor_name, "ernst") 1
1 if strpos(auditor_name, "kpmg") 1
1 if strpos(csrauditor, "ernst") 1
1 if strpos(csrauditor, "kpmg") 1
1 if strpos(csrauditor, "pwc") 1
1 if strpos(lower(comp),"coopers") > 0 & BigN == 0 1
1 if strpos(lower(comp),"deloi")>0 | strpos(lower(comp),"touch")>0 | strpos(lower(comp),"pwc")>0| strpos(lower(comp),"pricew")>0| strpos(lower(comp)," ey ")>0 | strpos(lower(comp),"ernst ")>0| strpos(lower(comp),"& youn… 1
1 if strpos(surname, "DELOITTE")>0 | strpos(surname, "ERNST")>0 | strpos(surname, "RECONTA")>0 | strpos(surname, "KPMG")>0 | strpos(surname, "PRICE")>0 1
au < 9, 1
au > 0, 1
BIG_N_1*BIG_N_2, 1
forAnalysis_s_auditor_dist %>% dplyr::mutate(big4 = grepl(pattern = "pricewaterhouse|KPMG|deloitte|ernst & young|ernst and young|kpmg|pwc", x = auditorname)) 1
if 0 < au < 9 then big_n = 1 1
if 0 < au <= 8 then big4 = 1 1
if 1<=au<=8 then bign=1 1
if 1<=auditor_fkey<=4 and auditor_fkey ne . then big4=1; else big4=0 1
if 1<=Auditor_Key<=4 then Big4=1 1
if AU = 4 or AU = 5 or AU = 6 or AU = 7 then big_four = 1 1
if auditor > 0 and auditor < 9 then Big5 =1; else Big5=0 1
if auditor_fkey in (1,2,3,4) then Big4 = 1; else Big4 = 0 1
if Auditor_Key<=4 then BIG4=1;else BIG4=0 1
if AUDITOR_STATE in('NJ', 'NY', 'CT') and big4=1 then national_office=1; else if 1
if auditor in ('1' '4' '5' '6' '7') then bign = 1; else bign = 0 1
if au in ("1","2","3","4","5","6","7","8") then big4=1; run 1
price==1 | kpmg==1 | ey==1 | deloitte==1 1
forAnalysis_s_auditor_dist=forAnalysis_s_auditor_dist %>% dplyr::mutate(big4 = grepl(pattern = "pricewaterhouse|KPMG|deloitte|ernst & young|ernst and young|kpmg|pwc", x = auditorname));

Missing observations

Among the 22 of 22 packages we have read: what the code does when this measure, or an input it is built from, is missing. A package can do more than one.

0 · 0%
Drop the observation
rows with the measure or an input missing are deleted
0 · 0%
Set missing to 0
an imputation: missing read as zero (typical for R&D)
0 · 0%
Fill from elsewhere
an alternative definition, another source, a carried or interpolated value
22 · 100%
Nothing explicit
missing values fall out in estimation (listwise)

Outliers: winsorizing and trimming

0 of the 22 packages we have read (0%) winsorize or trim this variable. The rest leave it as computed.

Used as outcome vs control

Of the packages that compute this measure and put its variable in a model, how many estimate it as the outcome (dependent variable) and how many use it as a regressor (a control, or the variable of interest) — in all their estimations, and within each design's models. A package can do both; one count per package.

modelspackages outcome ▮ vs regressor ▮as outcomeas regressor
all estimations 7
43% · 3
7 models
3 outcome models in the code
57% · 4
75 models
4 regressor models in the code
Difference-in-differences 1
0% · 0
0 models
100% · 1
20 models
1 regressor model in the code
Panel fixed effects 4
50% · 2
5 models
2 outcome models in the code
50% · 2
25 models
2 regressor models in the code

A lag of the outcome on its own right-hand side (roa on L.roa) is not counted as a regressor use. A measure found by its estimation, formula or data source (a CAR summed over an event window, a beta kept from a regression, a KZ index) is looked up by the variable that code produces (car126d_ff4, beta); a generic output such as _rmse or resid is not. Designs are the recipe designs; "all estimations" covers every model in the package.

As a regressor (control or variable of interest)
In those models, counted in packages (53% of the models are in one package):
Fixed effects: fyear (2), bank (1), ctyr (1), ff17 (1), fyear_stacked (1), gvkey (1)
Clustering: gvkey (2), court (1), ct (1), nation (1)
Estimators: panel_fe (4), binary (1), ols (1)
As the outcome (dependent variable)
In those models, counted in packages (57% of the models are in one package):
Fixed effects: gvkeycohort (1), style (1)
Clustering: stateyear (1)
Estimators: binary (1), ols (1), panel_fe (1)

Foundational works

What the papers whose code computes this measure cite most (share of those papers citing each).

Papers whose code computes it