← Growth

Sales Growth

Annual growth rate of net sales (or revenue). A growth-opportunity and life-cycle control; also written as the log difference or as the gross ratio.

Textbook formula: Sales_t / Sales_{t-1} - 1
77
replication packages compute it
7
distinct measurements, written 62 ways
40%
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.

Sales / lagged sales − 1 53 packages
annual 50 · quarterly 6 · 39 spellings
Spelling in the code, as writtenFrequencyPackages
(sale - sale[_n-1])/sale[_n-1] annual7
SALE / lag(SALE) -1 annual6
(sale-lag_sale)/lag_sale annual4
sale/sale[_n-1] annual4
(sale-sale_lag)/sale_lag annual3
(sale-sale_1)/sale_1 annual2
(sale-sale_l1)/sale_l1 annual2
(a.SALE/lag(b.SALE) - 1) annual2
((sale - lag_sale)/lag_sale) annual1
((sale-sale_lag1)/sale_lag1) annual1
(ind_sale/l_ind_sale)-1 annual1
(sale - l1_sale) / l1_sale annual1
(sale-lag1sale)/lag1sale annual1
(SALE - lagsale)/lagsale annual1
(SALE-LSALE)/LSALE annual1
(sale-sale_lag1)/sale_lag1 annual1
(sale - salel1) / salel1 annual1
(sale/l_sale)-1 annual1
(a.sale/lag(b.sale))-1 annual1
(sale /lag_sale) - 1 annual1
(sale/lagSale)-1 annual1
(sale/salelag)-1 annual1
(sale_adj - sale_lag)/sale_lag annual1
(saleq-L.saleq)/L.saleq quarterly1
(saleq/l.saleq)-1 quarterly1
(sales / lag_sales) - 1 annual1
(sales_ind - sales_ind_lag) / sales_ind_lag annual1
d.sale/l.sale annual1
sale/l12.sale -1 annual1
SALE/lag_SALE - 1 annual1
sale/lagsale-1 annual1
sale/lagsale1-1 annual1
sale/sale1-1 annual1
comp['sale']/comp['sale_l1'] - 1 annual1
sale/sale_lag - 1 annual1
data.SALEQ./data.lagSALEQ - 1 quarterly1
saleq/l.saleq - 1 quarterly1
SALEQ/SALEQ_lag - 1 quarterly1
saleq/saleq_tm1 - 1 quarterly1
sale_growth=(sale-sale_1)/sale_1;
Sales / lagged sales 14 packages
annual 12 · quarterly 3 · 8 spellingslog · 16
Spelling in the code, as writtenFrequencyPackages
log(sale) - log(L.sale)log annual5
log(sale/L.sale)log annual5
log((a.sale)/(lag(b.sale)))log annual1
ln(sale/lag_sale)log annual1
log(sale/sale_L1)log annual1
ln(saleq)-ln(l.saleq)log quarterly1
log(saleq/l.saleq)log quarterly1
log(saleq/lag_saleq)log quarterly1
qui gen sale_g = log(sale/sale_L1)
Revenue / lagged revenue − 1 8 packages
annual 8 · quarterly 0 · 8 spellings
Spelling in the code, as writtenFrequencyPackages
(revt-l.revt)/(l.revt) annual1
(revt-revt[_n-3])/revt[_n-3] annual1
(revt-revt_l1)/revt_l1 annual1
(REVT-REVT_lag1)/REVT_lag1 annual1
(a.REVT/lag(b.REVT) - 1) annual1
revt/l.revt annual1
revt/lag(revt)-1 annual1
revt/Lrevt - 1 annual1
Example: stata · HLSW_Code.do:639 · pkg 12521
gen salesgrowth = (revt-revt[_n-3])/revt[_n-3]
Sales / sales lagged 4 periods − 1 4 packages
annual 0 · quarterly 4 · 4 spellings
Spelling in the code, as writtenFrequencyPackages
(comp_q['saleq'] - comp_q['saleq_lag4']) / comp_q['saleq_lag4'] quarterly1
saleq / L4.saleq quarterly1
saleq/L4.saleq - 1 quarterly1
saleq/saleqm4-1 quarterly1
Example: stata · lv_jar_stata_code.do:722 · pkg 12547
gen salesgr=saleq/saleqm4-1
Revenue / revenue lagged 4 periods − 1 1 package
annual 0 · quarterly 1 · 1 spelling
Spelling in the code, as writtenFrequencyPackages
(comp_q['revtq'] - comp_q['revtq_lag4']) / comp_q['revtq_lag4'] quarterly1
Example: python · 0_data_fundamentals.py:90 · pkg 14153
comp_q['Revenue_Growth'] = (comp_q['revtq'] - comp_q['revtq_lag4']) / comp_q['revtq_lag4']
Sales / sales lagged 2 periods − 1 1 package
annual 1 · quarterly 0 · 1 spelling
Spelling in the code, as writtenFrequencyPackages
(sale/L2.sale) - 1 annual1
Example: stata · Table2_3_&Figure2.do:73 · pkg 46734
by GlobalCompanyKey (DataYearFiscal): ///
    gen double sales_g2 = (sale/L2.sale) - 1 if L2.sale!=.
Sales / sales lagged 4 periods 1 package
annual 0 · quarterly 1 · 1 spellinglog · 1
Spelling in the code, as writtenFrequencyPackages
log(saleq/l4.saleq)log quarterly1
Example: stata · EquipmentWatch.do:234 · pkg 7590
gen salegr = log(saleq/l4.saleq) if l4.saleq>0

Missing observations

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

17 · 22%
Drop the observation
rows with the measure or an input missing are deleted
sale (14), sales_g2 (9), salesgr (6), salesgrowth (4), salesg (2)
compu = compu.dropna(subset=['revt', 'sale'])
3 · 4%
Set missing to 0
an imputation: missing read as zero (typical for R&D)
sale (2), revt (1)
replace `v' = 0 if missing(`v') == 1
1 · 1%
Fill from elsewhere
an alternative definition, another source, a carried or interpolated value
saleg (1)
replace `x' = `x'[_n-1] if missing(`x') & group == group[_n-1]
56 · 73%
Nothing explicit
missing values fall out in estimation (listwise)

Outliers: winsorizing and trimming

31 of the 77 packages we have read (40%) winsorize or trim this variable — 1 of them trim (delete) rather than winsorize; 8 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 14
36% · 5
15 models
4 outcome models in the code
71% · 10
179 models
4 regressor models in the code
  • The Present Value of Future Market Power Review of Financial Studies 2026 · pkg 257
    reghdfe ps_L1 ps salegrowth mu fci r [aweight = vwmf], `fe' vce(robust) // This is the regression that generates the 98% R^2 we refer to in the text for Equation (9)
    As we read it — macros filled in / loop expanded (an interpretation, not the file's text):
    reghdfe ps_L1 ps salegrowth mu fci r [aweight = vwmf], noabsorb vce(robust)
  • Non-GAAP Earnings Disclosure in Loss Firms Journal of Accounting Research 2018 · pkg 12547
    psmatch2 treatment timedum_* lnta btm lnage salesgr lnsdearn spdum rnd div cfo acc expsc inta depr, n(1) common caliper(0.01) logit noreplace
  • What Role Do Boards Play in Companies with Visionary CEOs? Journal of Accounting Research 2024 · pkg 12685
    2_stata.do:47 · sale_gr
    reghdfe restatehlm_lead1 searchfunda searchinc ${control_em}, absorb(nb fyear) vce(cluster nb) keepsin
    As we read it — macros filled in / loop expanded (an interpretation, not the file's text):
    reghdfe restatehlm_lead1 searchfunda searchinc size btm leverage roa return retvol capital intangibles financing acq ic sale_gr numest instown shortint, absorb(nb fyear) vce(cluster nb) keepsin
  • On the EPA's Radar: The Role of Financial Reports in Environmental Regulatory Oversight Journal of Accounting Research 2024 · pkg 12696
    ppmlhdfe edgar $enforce $controls, a(gvkey date_monthly) cl(gvkey date_monthly) separation(simplex)
    As we read it — macros filled in / loop expanded (an interpretation, not the file's text):
    ppmlhdfe edgar dum_discover dum_investigate dum_resolve dum_review log_resolve_3yr log_mve btm cash tangibility lev zscore_qtl roa sg filings log_filings, a(gvkey date_monthly) cl(gvkey date_monthly) …
Difference-in-differences 1
0% · 0
0 models
100% · 1
6 models
1 regressor model in the code
Matching 1
0% · 0
0 models
100% · 1
12 models
1 regressor model in the code
Panel fixed effects 9
56% · 5
15 models
4 outcome models in the code
56% · 5
37 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: fyear (4), gvkey (2), _temp1 (1), _temp2 (1), co_per_rol (1), date_monthly (1)
Clustering: gvkey (3), fyear (2), cik (1), date_monthly (1), fund_id (1), nb (1)
Estimators: panel_fe (9), binary (1), count (1), matching (1)
As the outcome (dependent variable)
In those models, counted in packages:
Fixed effects: firmid (1), fyear (1), gvkey (1), gvkey2 (1), gvkey_junk (1), indsic2 (1)
Clustering: fyear (2), permno (2), firmid (1), gvkey (1), gvkey2 (1), year_quarter (1)
Estimators: panel_fe (5)

Foundational works

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

Papers whose code computes it