Code and data for the article A New Stock Market Valuation Measure with Applications to Equity-Linked Annuities
This article is available on arXiv:1905.04603
data4.xlsx contains annual data 1871-2023
Three Python files: explore.py (basic graphs), dividends.py (for dividends as fundamentals), earnings.py (for earnings as fundamentals). Change W = 1 or W = 5 in each of the latter two files to study the annual or 5-year trailing averaged earnings/dividends.