← Firm Size

Log Total Assets Curated

Natural logarithm of book value of total assets. The dominant size measure in the literature — used in over 1,200 papers.

Textbook formula: ln(Total Assets)
Curated note

Firm size as the log of book total assets. Almost every package takes the log of total assets; the variants differ only in how zeros are handled (the log of one plus assets), in units (assets rescaled to thousands or millions, which only moves the intercept), and in timing: lagged size is used when size must be predetermined relative to the outcome. Quarterly panels use quarterly total assets, the same measurement at quarterly frequency.

  • log(at) — the default control for firm size in corporate-finance and accounting regressions
  • log(1+at) — when very small or zero asset values would otherwise drop out of the sample
  • log(LAG(at)) — when size must be measured before the outcome period (predetermined control)
287
replication packages compute it
2
distinct measurements, written 49 ways
29%
of packages read winsorize or trim it

How the code actually computes it

Each row is one measurement. The many ways code writes a lagged value are one measurement, quarterly items are the annual measurement at quarterly frequency, and percent / log / rescaling are tags, not new measurements. Open a row for the spellings, each shown as written in its example.

Total assets 287 packages
annual 260 · quarterly 42 · 48 spellingslog · 293log(1+x) · 41used lagged · 21rescaled · 8×100 (percent) · 1
Spelling in the code, as writtenFrequencyPackages
log(at)log annual119
log(assets)log annual42
log(atq)log quarterly37
log(total_assets)log annual20
log(TotalAssets)log annual15
log(1+at)log(1+x) annual13
log(asset)log annual11
log(lag(b.at))logused lagged annual8
ln(1+atq)log(1+x) quarterly6
ln(TA)log annual5
log(tot_assets)log annual5
log(1+assets)log(1+x) annual4
ln(assets+1)log(1+x) annual4
ln(at + 1)log(1+x) annual3
log(lag_AT)logused lagged annual3
log(TotalAssets+1)log(1+x) annual3
ln(assets/1000)logrescaled annual2
log(AT*1000)logrescaled annual2
log(at * 1000000)logrescaled annual2
ln(ta+1)log(1+x) annual2
100*log(data$atq)log×100 (percent) quarterly1
log(1+l.at)log(1+x)used lagged annual1
log(1+Tot_Assets)log(1+x) annual1
log(1 + total_assets)log(1+x) annual1
ln(1+totalassets)log(1+x) annual1
ln(asset*10000)logrescaled annual1
log(asset + 1)log(1+x) annual1
log(asset/1000)logrescaled annual1
log(Assets_bill)log annual1
log(assets_comp)log annual1
ln(assets_mil)log annual1
ln(assets_mill)log annual1
log(at+.00001)log annual1
ln(at_US)log annual1
ln(atq_1)logused lagged quarterly1
log(attivof+1.0001)log annual1
log(emp_size250)log annual1
ln(l2.at)logused lagged annual1
log(L.atq)logused lagged quarterly1
log(L.total_assets)logused lagged annual1
log(LagAT)logused lagged annual1
log(Lasset)logused lagged annual1
log(lassets)logused lagged annual1
ln(lat + 1)log(1+x)used lagged annual1
ln(pr_at)log annual1
ln(ta_lag)logused lagged annual1
ln(total_size)log annual1
ln(Totalassets2)log annual1
gen log_assets = log(tot_assets)
Mean(total assets) 1 package
annual 1 · quarterly 0 · 1 spellinglog · 1
Spelling in the code, as writtenFrequencyPackages
log(at_avg)log annual1
gen logat =log(at_avg)

Missing observations

Among the 287 of 287 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.

58 · 20%
Drop the observation
rows with the measure or an input missing are deleted
at (66), assets (20), atq (17), size (7), total_assets (5)
comp_vars = comp_vars.dropna(subset=required_cols, how='all').dropna(
7 · 2%
Set missing to 0
an imputation: missing read as zero (typical for R&D)
at (2), ta (2), size (1), logassets (1), k (1)
replace `var' = 0 if `var' ==.
12 · 4%
Fill from elsewhere
an alternative definition, another source, a carried or interpolated value
at (4), totalassets (3), assets (3), k (3), total_assets (2)
replace `var' = `var'[_n-1] if plan_id==plan_id[_n-1] & `var'==.
214 · 75%
Nothing explicit
missing values fall out in estimation (listwise)

Outliers: winsorizing and trimming

83 of the 287 packages we have read (29%) winsorize or trim this variable — 3 of them trim (delete) rather than winsorize; 13 do it within groups (by year, typically). The rest leave it as computed.

Cuts are percentiles (1/99 = the 1st and 99th). "default cuts" = the command's default, e.g. winsor2 uses 1/99. A package that cuts the variable two ways counts once under each.

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 133
11% · 15
113 models
4 outcome models in the code
95% · 126
2859 models
4 regressor models in the code
Difference-in-differences 5
0% · 0
0 models
100% · 5
36 models
4 regressor models in the code
Instrumental variables 7
0% · 0
0 models
100% · 7
23 models
4 regressor models in the code
Regression discontinuity 1
100% · 1
1 models
1 outcome model in the code
0% · 0
0 models
Matching 9
0% · 0
0 models
100% · 9
49 models
4 regressor models in the code
Panel fixed effects 55
13% · 7
66 models
4 outcome models in the code
91% · 50
1240 models
4 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:
Fixed effects: year (24), gvkey (13), fyear (9), ind (5), firmid (4), id (4)
Clustering: gvkey (16), year (7), permno (6), sic2 (5), firmid (4), rssdid (4)
Estimators: panel_fe (80), ols (53), binary (24), matching (9), iv (7), count (4)
As the outcome (dependent variable)
In those models, counted in packages (55% of the models are in one package):
Fixed effects: year (3), companies (1), ff48 (1), firm_fe (1), fyear (1), gp (1)
Clustering: cgp (1), companyid (1), entity (1), gp (1), id_rssd (1), industryyeargroup (1)
Estimators: panel_fe (9), ols (7), rd (1)

Foundational works

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

Papers whose code computes it