Market Expectations in the Cross-Section of Present Values

Market Expectations in the Cross-Section of Present Values#

Last updated: Mar 6, 2026, 12:01:12β€―AM

Table of Contents#

Pipeline Charts πŸ“ˆ

Pipeline Specs#

Pipeline Name

Market Expectations in the Cross-Section of Present Values

Pipeline ID

P01

Lead Pipeline Developer

Zara and Dylan

Contributors

Zara, Dylan

Git Repo URL

zaranip/p01_kelly_pruitt_2013

Pipeline Web Page

Pipeline Web Page

Date of Last Code Update

2026-03-05 23:55:41

OS Compatibility

Linked Dataframes

P01:crsp_monthly_stock
P01:crsp_market_returns
P01:compustat
P01:ccm_link
P01:ken_french_ff_factors
P01:ken_french_25_portfolios

Replication of Table 1 from:

Kelly, B. and Pruitt, S. (2013), β€œMarket Expectations in the Cross-Section of Present Values.” The Journal of Finance, 68: 1721-1756. https://doi.org/10.1111/jofi.12060

Overview#

This paper demonstrates that returns and cash flow growth for the aggregate US stock market are highly predictable using a single factor extracted from the cross-section of book-to-market ratios. The key methodology is partial least squares (PLS) / three-pass regression filter (3PRF).

Data Sources#

Source

Description

Access

CRSP

Monthly stock returns, prices, market cap

WRDS

Compustat

Annual accounting data (book equity)

WRDS

CRSP-Compustat Link

Crosswalk between CRSP and Compustat

WRDS

Project Structure#

p01_kelly_pruitt_2013/
Ò”œÒ”€Ò”€ src/
Γ’β€β€š   Ò”œÒ”€Ò”€ settings.py              # Project configuration
Γ’β€β€š   Ò”œÒ”€Ò”€ pull_CRSP_stock.py       # Pull CRSP stock data
Γ’β€β€š   Ò”œÒ”€Ò”€ pull_CRSP_Compustat.py   # Pull Compustat data
Γ’β€β€š   Ò””Ò”€Ò”€ generate_exploratory_charts.py
Ò”œÒ”€Ò”€ _data/                       # Downloaded data (gitignored)
Ò”œÒ”€Ò”€ _output/                     # Generated outputs
Ò”œÒ”€Ò”€ docs/                        # Chartbook site
Ò”œÒ”€Ò”€ dodo.py                      # PyDoit task runner
Ò”œÒ”€Ò”€ chartbook.toml               # Chartbook configuration
Ò”œÒ”€Ò”€ consultation.md              # Consultation meeting agenda
Ò””Ò”€Ò”€ README.md

Setup#

  1. Create environment:

    conda create -n kelly_pruitt python=3.11
    conda activate kelly_pruitt
    pip install -r requirements.txt
    
  2. Configure WRDS credentials:

    cp .env.example .env
    # Edit .env with your WRDS username
    
  3. Run the pipeline:

    doit
    

Tasks#

Task

Description

doit pull_CRSP_stock

Pull CRSP monthly stock data and market returns

doit pull_CRSP_Compustat

Pull Compustat fundamentals and CCM link table

doit exploratory_charts

Generate exploratory charts

doit build_chartbook_site

Build the chartbook documentation site

Team#

  • Zara: Data pipeline, CRSP data, chartbook setup, LaTeX report

  • Dylan: Book equity calculation, PLS implementation, statistics report

References#