Log Market Cap Curated
Natural logarithm of market capitalization. Preferred when market-based size is more relevant than book size.
ln(Share Price x Shares Outstanding)
Firm size as the log of market equity: shares outstanding times the share price, taken either at the fiscal year end from the accounting data or from the stock-price files (where the absolute value of the price is used, because a bid-ask midpoint is reported as a negative price). Asset-pricing code usually takes it LAGGED — size at portfolio formation, or at the end of the prior month — so that returns are not mechanically related to it. A few packages flip its sign so that sorting runs from large to small.
- log(me) — the size control in cross-sectional return and corporate regressions
- log(LAG(me)) — asset pricing: size known at formation, before the return is measured
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.
Market equity
146 packages
annual 138 · quarterly 9 · 76 spellingslog · 142log(1+x) · 18used lagged · 17rescaled · 5sign flipped · 1
| Spelling in the code, as written | Frequency | Packages |
|---|---|---|
log(me)log
|
annual | 21 |
LOG(MCAP)log
|
annual | 13 |
log(mv)log
|
annual | 13 |
log(Mktcap)log
|
annual | 12 |
log(mve)log
|
annual | 10 |
log( MarketCap)log
|
annual | 6 |
ln(prcc_f*csho)log
|
annual | 6 |
ln(csho*prcc_f)log
|
annual | 4 |
log(mkvalt)log
|
annual | 3 |
log(shrout*abs(prc))log
|
annual | 3 |
np.log(1+data.mcap)log(1+x)
|
annual | 2 |
np.log(1+weight['me'])log(1+x)
|
annual | 2 |
log(abs(prcc_f*csho))log
|
annual | 2 |
LOG(CSHOQ*PRCCQ)log
|
quarterly | 2 |
ln(lag_MV)logused lagged
|
annual | 2 |
log(prc*shrout)log
|
annual | 2 |
-1*log(me)logsign flipped
|
annual | 1 |
ifelse(csho * prcc_f != 0, log(csho * prcc_f), NA)
|
annual | 1 |
ifelse(cshoq * prccq != 0, log(cshoq * prccq), NA)
|
quarterly | 1 |
ifelse(me > 0, -1 * log(me), NA)
|
annual | 1 |
log(1 + csho * prcc_f)log(1+x)
|
annual | 1 |
log(1+mktcap)log(1+x)
|
annual | 1 |
log(1+mv)log(1+x)
|
annual | 1 |
log(1+mve)log(1+x)
|
annual | 1 |
log(1+prccq*cshoq)log(1+x)
|
quarterly | 1 |
log(abs(PRCC_F)*CSHO)log
|
annual | 1 |
log(c.csho*c.prcc_f+1)log(1+x)
|
annual | 1 |
ln(CGD_MV)log
|
annual | 1 |
log(crsp_mktcap)log
|
annual | 1 |
log(csho*abs(prcc_f))log
|
annual | 1 |
log(initialsample$csho*initialsample$prcc_f+1)log(1+x)
|
annual | 1 |
log(csho_lag*prcc_f_lag)logused lagged
|
annual | 1 |
log(fyme)log
|
annual | 1 |
log(l.me)logused lagged
|
annual | 1 |
log(lagged_mktcap)logused lagged
|
annual | 1 |
log(lagmcap)logused lagged
|
annual | 1 |
log(lagmcap+1)log(1+x)used lagged
|
annual | 1 |
ln(Lagmktcap)logused lagged
|
annual | 1 |
log(lcsho*lprcc_f)logused lagged
|
annual | 1 |
ln(Lmarketcap)logused lagged
|
annual | 1 |
np.log(crsp_w['lme'])logused lagged
|
annual | 1 |
ln(Lmktcap)logused lagged
|
annual | 1 |
log(lmv)logused lagged
|
annual | 1 |
ln(LmvE)logused lagged
|
annual | 1 |
ln(market_cap)log
|
annual | 1 |
log(market_capitalization+1)log(1+x)
|
annual | 1 |
ln(market_eq)log
|
annual | 1 |
log(dataset.MARKETCAP*1000)logrescaled
|
annual | 1 |
ln(mcap*10^6)logrescaled
|
annual | 1 |
ln(mcap+1)log(1+x)
|
annual | 1 |
log(MCap_USD)log
|
annual | 1 |
np.log(main0['ME_2019'])log
|
annual | 1 |
log(me_lag1)logused lagged
|
annual | 1 |
log(meq)log
|
annual | 1 |
Log(MkCap)log
|
annual | 1 |
log(MkCapm)log
|
annual | 1 |
ln(mkt_capq)log
|
quarterly | 1 |
log(mkt_equity)log
|
annual | 1 |
log(mktcap/1000000)logrescaled
|
annual | 1 |
ln(mktcap1)logused lagged
|
annual | 1 |
ln(mktcap_crsp)log
|
quarterly | 1 |
ln(mktsize + 1)log(1+x)
|
mixed | 1 |
log(mktvalue)log
|
quarterly | 1 |
ln(mkvaltq)log
|
quarterly | 1 |
log(mv + 1)log(1+x)
|
annual | 1 |
ln(mv_c+1)log(1+x)
|
annual | 1 |
log(mv_equity)log
|
annual | 1 |
log(mve_c)log
|
annual | 1 |
log(mve_compustat)log
|
annual | 1 |
log(mve_m)logused lagged
|
annual | 1 |
log(MVEQ)log
|
quarterly | 1 |
ln(pr_mv)log
|
annual | 1 |
ln(prccq*csho)log
|
mixed | 1 |
log(revenue+1)log(1+x)
|
annual | 1 |
log(shrout * 10^3 * abs(prc))logrescaled
|
annual | 1 |
ln(shrout*prc*1000)logrescaled
|
annual | 1 |
gen size = log(mktcap/1000000)
Total(market equity)
1 package
annual 1 · quarterly 0 · 1 spellinglog · 1
| Spelling in the code, as written | Frequency | Packages |
|---|---|---|
ln(Tot)log
|
annual | 1 |
gen lnmcap=ln(Tot)
Missing observations
Among the 147 of 147 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.
me (12), prc (4), prcc_f (2), mktcap1 (2), size (2)drop if marketcap==0 | marketcap==.
lnmv (2)replace lnmv=0 if lnmv==. & dummy_failed_sop==1
mv (4), size (3), mktvalue (3), ln_mktcap (1), mkvaltq (1)replace size=l.size if missing(size) & ~missing(sizelag)
Outliers: winsorizing and trimming
41 of the 147 packages we have read (28%) winsorize or trim this variable — 1 of them trim (delete) rather than winsorize; 13 do it within groups (by year, typically). The rest leave it as computed.
winsorize 1/99— 26 packageswinsorize 1/99 by year (fiscal or calendar)— 5 packagestrim 1/99 by year (fiscal or calendar)— 1 packagelist
12646winsorize 0.5/99.5— 1 packagelist
15970winsorize 1/99 by d— 1 packagelist
12624winsorize 1/99 by date— 1 packagelist
113231- other cuts — 7 packages
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.
| models | packages | outcome ▮ vs regressor ▮ | as outcome | as regressor |
|---|---|---|---|---|
| all estimations | 49 | 6% · 3 4 models
3 outcome models in the code
|
94% · 46 752 models
4 regressor models in the code
| |
| Difference-in-differences | 2 | 0% · 0 0 models |
100% · 2 19 models
2 regressor models in the code
| |
| Instrumental variables | 2 | 0% · 0 0 models |
100% · 2 3 models
2 regressor models in the code
| |
| Matching | 1 | 0% · 0 0 models |
100% · 1 3 models
1 regressor model in the code
| |
| Panel fixed effects | 30 | 3% · 1 2 models
1 outcome model in the code
|
97% · 29 453 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.
gvkey (7), fyear (5), date (4), permno (4), year (4), sic2 (3)permno (13), date (4), gvkey (3), fyear (2), year (2), `naics_temp' (1)panel_fe (34), ols (14), binary (4), fama_macbeth (3), count (2), iv (2)fyear (1), gvkey (1)rolling_regression (2), panel_fe (1)Foundational works
What the papers whose code computes this measure cite most (share of those papers citing each).
- Common risk factors in the returns on stocks and bonds — Eugene F. Fama; Kenneth R. French (1993), Journal of Financial Economics30 · 21%
- A five-factor asset pricing model — Eugene F. Fama; Kenneth R. French (2015), Journal of Financial Economics27 · 18%
- On Persistence in Mutual Fund Performance — Mark M. Carhart (1997), The Journal of Finance22 · 15%
- Risk, Return, and Equilibrium: Empirical Tests — Eugene F. Fama; James D. MacBeth (1973), Journal of Political Economy16 · 11%
- Illiquidity and stock returns: cross-section and time-series effects — Yakov Amihud (2002), Journal of Financial Markets15 · 10%
- The Cross‐Section of Expected Stock Returns — Eugene F. Fama; Kenneth R. French (1992), The Journal of Finance13 · 9%
- Measuring Mutual Fund Performance with Characteristic‐Based Benchmarks — KENT DANIEL; MARK GRINBLATT; SHERIDAN TITMAN; RUSS WERMERS (1997), The Journal of Finance13 · 9%
- A Simple, Positive Semi-Definite, Heteroskedasticity and Autocorrelation Consistent Covariance Matrix — Whitney K. Newey; Kenneth D. West (1987), Econometrica13 · 9%
- Liquidity Risk and Expected Stock Returns — Ľuboš Pástor; Robert F. Stambaugh (2003), Journal of Political Economy12 · 8%
- Digesting Anomalies: An Investment Approach — Kewei Hou; Xue Chen; Lu Zhang (2015), Review of Financial Studies12 · 8%
- Continuous Auctions and Insider Trading — Albert S. Kyle (1985), Econometrica10 · 7%
- Returns to Buying Winners and Selling Losers: Implications for Stock Market Efficiency — NARASIMHAN JEGADEESH; SHERIDAN TITMAN (1993), The Journal of Finance9 · 6%
Papers whose code computes it
- ESG Shocks in Global Supply Chains — Emilio Bisetti; Guoman She; Alminas Žaldokas · Review of Financial Studies 2026
- What Drives Momentum and Reversal? Evidence from Day and Night Signals — Yashar H Barardehi; Vincent Bogousslavsky; Dmitriy Muravyev · Review of Financial Studies 2026
- The Covenant-Defeasance Option in Corporate Bonds — Carsten Bienz; Zsuzsanna Fluck; Karin S Thorburn · Review of Financial Studies 2026
- Paving the Road to the Buy‐Side — Biwen Zhang · Journal of Accounting Research 2026
- Macroeconomic Information Acquisition Around Earnings Clusters — Elia Ferracuti; Gary Lind · Journal of Accounting Research 2026
- Do Earnings Announcements Affect Employee Spending? Evidence from Transaction Data — Ben Lourie; Alexander Nekrasov; Phong Truong; Chenqi Zhu · Journal of Accounting Research 2026
- Generative AI in Financial Reporting — ELIZABETH BLANKESPOOR; ED DEHAAN; QIANQIAN LI · Journal of Accounting Research 2026
- Beyond Old Boys' Clubs: Financial Analysts' Utilization of Professional Connections — MENGQIAO DU; RACHEL XI ZHANG · Journal of Accounting Research 2026
- Do Investors Value Auditor Involvement in Non‐GAAP Reporting? — Phillip T. Lamoreaux; Lauren Matkaluk; Amy Sheneman · Journal of Accounting Research 2026
- Price-Path Convexity and Short-Horizon Return Predictability — Huseyin Gulen; Michael Woeppel · Journal of Financial and Quantitative Analysis 2026
- The Epidemiology of Financial Constraints and Corporate Investment — William Grieser; Ioannis Spyridopoulos; Morad Zekhnini · Journal of Financial and Quantitative Analysis 2026
- Active Mutual Fund Common Owners’ Returns and Proxy Voting Behavior — Ben Charoenwong; Zhenghui Ni; Qiaozhi Ye · Journal of Financial and Quantitative Analysis 2026
- Mispricing and Risk Compensation in Cryptocurrency Returns — Mykola Babiak; Daniele Bianchi · Journal of Financial and Quantitative Analysis 2026
- A Catering Theory of Earnings Guidance: Empirical Evidence and Stock Market Implications — Nils Lohmeier; Hannes Mohrschladt · Journal of Financial and Quantitative Analysis 2026
- Star Firms, Information Spillovers, and Predictable Industry-Level Outcomes — Vidhi Chhaochharia; Alok Kumar; Mehrshad Motahari; Ville Rantala · Journal of Financial and Quantitative Analysis 2026
- CEO Compensation Changes Following Acquisitions — Leonce Bargeron; David J. Denis · Journal of Financial and Quantitative Analysis 2026
- Insiders' information advantage: Evidence from competition with short sellers — Harold Contreras; Jana P. Fidrmuc; Roman Kozhan · Journal of Financial and Quantitative Analysis 2026
- Swimming Against the Current: Contrarian Retail Trading — Brad Cannon; Hannes Mohrschladt · Journal of Financial and Quantitative Analysis 2026
- Decoding Momentum Spillover Effects — Huaixin Wang · Journal of Financial and Quantitative Analysis 2026
- Glass box machine learning and corporate bond returns — Sebastian Bell; Ali Kakhbod; Martin Lettau; Abdolreza Nazemi · Journal of Financial Economics 2026
- Corporate ESG Profiles and Investor Horizons — LAURA T. STARKS; PARTH VENKAT; QIFEI ZHU · The Journal of Finance 2026
- The Drivers and Implications of Retail Margin Trading — Jiangze Bian; Zhi Da; ZHIGUO HE; DONG LOU; Kelly Shue; HAO ZHOU · The Journal of Finance 2026
- Cash Heterogeneity and the Payout Channel of Monetary Policy — Altan Pazarbaşı · The Journal of Finance 2026
- Inflation Risk and the Finance-Growth Nexus — Alexandre Corhay; Jincheng Tong · Review of Economic Studies 2026
- The Real Effects of Environmental Activist Investing — Naaraayanan, S Lakshmi; Sachdeva, Kunal; Sharma, Varun · Review of Financial Studies 2026
- Biased Inference due to Prior Beliefs: Evidence from the Field — Martin Kapons; Peter Kelly · Journal of Political Economy Microeconomics 2026
- Superstar Firms and College Major Choice — Darwin Choi; Dong Lou; Abhiroop Mukherjee · Journal of Political Economy Microeconomics 2026
- A Q-Theory of Banks — Juliane Begenau; Saki Bigio; Jeremy Majerovitz; Matias Vieyra · Review of Economic Studies 2026
- Hurdle rate buffers and bargaining power in asset acquisition — John W. Barry; Bruce I. Carlin; Alan D. Crane; John R. Graham · Journal of Financial Economics 2026
- Identifying Price Informativeness — Eduardo Dávila; Cecilia Parlatore · Review of Financial Studies 2026
- Face-to-face social interactions and local informational advantage — Robin Y. Lee · Journal of Financial Economics 2026
- Rewriting CRSP’s History: Impact of Altered Monthly Returns on Asset Pricing — Patrick Schwarz; Dominik Walter; Patrick Weiss · Journal of Financial and Quantitative Analysis 2026
- Past is prologue: Inference from the cross section of returns around an event — Jonathan B. Cohn; Travis L. Johnson; Zack Liu; Malcolm I. Wardlaw · Journal of Financial Economics 2026
- Climate-Triggered Institutional Price Pressure: Does It Affect Firms’ Cost of Equity? — George Skiadopoulos; Cheng Xue · Journal of Financial and Quantitative Analysis 2026
- Foundational processes and growth — Wing Wah Tham; Salomé Baslandze; Elvira Sojli; Leo Liu · Journal of Financial Economics 2026
- Monetary transmission and portfolio rebalancing: A cross-sectional approach — Xu Lu; Lingxuan Wu · Journal of Financial Economics 2026
- Market Feedback Effect on CEO Pay: Evidence from Peers’ Say-on-Pay Voting Failures — C.S. Agnes Cheng; Iftekhar Hasan; Feng Tang; Jing Xie · Journal of Financial and Quantitative Analysis 2026
- Short Selling Around News in International Stock Markets — Arseny Gorbenko · Review of Asset Pricing Studies 2026
- Tail risk exposure and the cross section of expected stock returns — Maxime L.D. Nicolas · Journal of Banking & Finance 2026
- The Anchoring CEO: Cross-Domain Behavioral Consistency in Financial Decision Making — Fengfei Li; Tse-Chun Lin · Review of Corporate Finance Studies 2026
- Too Good to Be True: Look-Ahead Bias in Empirical Options Research — Jefferson Duarte; Christopher S Jones; Mehdi Khorram; Haitao Mo; Junbo L Wang · Review of Financial Studies 2026
- Corporate Green Pledges — Michael Bauer; Daniel Huber; Eric Offner; Ole Wilms · Review of Financial Studies 2026
- Do Banks Overreact to Disaster Risk? — Qianqian Huang; Feng Jiang; Yuhai Xuan; Tao Yuan · Journal of Financial and Quantitative Analysis 2026
- Does Stakeholder Outrage Determine Executive Pay? — Attila Balogh; Danika Wright; Jason Zein · Review of Corporate Finance Studies 2026
- Do Consumers Vote with Their Feet in Response to Negative ESG News? Evidence from Foot Traffic to Retail Locations — SVENJA DUBE; HYE SEUNG (GRACE) LEE; DANYE WANG · Journal of Accounting Research 2026
- AI Democratization and Trading Inequality — ANNE YANRU CHANG; XI DONG; XIUMIN MARTIN; CHANGYUN ZHOU · Journal of Accounting Research 2026
- Competition and Debt Conservatism — Seth Armitage; Woon Sau Leung · Journal of Financial and Quantitative Analysis 2026
- Speculative and Informative: Lessons from Market Reactions to Speculation Cues — J Anthony Cookson; S Katie Moon; Joonki Noh · Review of Corporate Finance Studies 2025
- Tax Policy Expectations and Investment — John Gallemore; Stephan Hollander; Martin Jacob; Xiang Zheng · Journal of Accounting Research 2025
- Just Friends? Managers’ Connections to Judges — STERLING HUANG; SUGATA ROYCHOWDHURY; EWA SLETTEN; YANPING XU · Journal of Accounting Research 2025
- What Happens to Partners Who Issue Adverse Internal Control Opinions? — ASHLEIGH L. BAKKE; ELIZABETH N. COWLE; STEPHEN P. ROWE; MICHAEL S. WILKINS · Journal of Accounting Research 2025
- Racial Disparities in Financial Complaints and the Role of Corporate Social Attitudes — RACHEL M. HAYES; FENG JIANG; YIHUI PAN; HUAYI TANG · Journal of Accounting Research 2025
- ESG Rating Competition and Rating Quality — CAI CHEN; SVENJA DUBE; SHIRAN FROYMOVICH · Journal of Accounting Research 2025
- Does U.S. Immigration Policy Facilitate Financial Misconduct? — Ruiting Dai; Xuanjun Dong; Nemit Shroff; Qin Tan · Journal of Accounting Research 2025
- To Interact or Not? On the Benefits of Interacting with Unfavorable Analysts During Earnings Calls — JARED FLAKE · Journal of Accounting Research 2025
- Poison Pills in the Shadow of the Law — Martijn Cremers; Simone M. Sepe; Michał Zator; Lubomir P. Litov · Journal of Financial and Quantitative Analysis 2025
- Finance without exotic risk — Pedro Bordalo; Nicola Gennaioli; Rafael La Porta; Andrei Shleifer · Journal of Financial Economics 2025
- Empirical determinants of momentum: a perspective using international data — Amit Goyal; Narasimhan Jegadeesh; Avanidhar Subrahmanyam · Review of Finance 2025
- Are CEOs Rewarded for Luck? Evidence from Corporate Tax Windfalls — Martina Andreani; Atif Ellahie; Lakshmanan Shivakumar · The Journal of Finance 2025
- ESG News, Future Cash Flows, and Firm Value — François Derrien; Philipp Krüger; Augustin Landier; Tianhao Yao · The Journal of Finance 2025