The cyclically adjusted price-to-earnings ratio (CAPE) values stocks using inflation-adjusted earnings averaged across the prior ten years. This smooths business-cycle fluctuations that can distort a standard P/E ratio based on recent earnings. section 3.1.3
A practical CAPE workflow:
- Download annual adjusted returns for the S&P 500 proxy VFINX. section 3.1.3
- Read Robert Shiller’s CAPE spreadsheet, convert its year-month values into dates, and resample observations annually. section 3.1.3
- Calculate annual CAPE changes and regress excess stock returns on those changes using ordinary least squares. section 3.1.3
Estimating valuation-adjusted stock returns
Align annual VFINX returns, risk-free rates, and CAPE observations on common dates, then estimate the relationship between excess returns and percent changes in CAPE. section 3.1.3

