Shiller S&P 500 Long-Run Monthly Data (ie_data.xls – Yale) (Month)
- Rows
- 1,833
- Columns
- 22
- Data range
- 1871-01-01 to 2023-09-01
- Auto-refresh
- Re-checks its source every 14 days
- Last refreshed with new data
- 2026-10-10
Original Shiller Excel dataset with monthly S&P 500 price, dividends, earnings, CPI, interest rates, real values, and CAPE ratio from 1871. Academic source used in the book Irrational Exuberance.
AI analysis
Analysis: Shiller S&P 500 Long-Run Monthly Data
1. Dataset Overview and Value for Correlation Studies
This dataset is sourced directly from Yale economist Robert Shiller's publicly maintained Excel file (econ.yale.edu/~shiller/data/iedata.xls), the same dataset underlying his book Irrational Exuberance and the widely-cited CAPE (Cyclically Adjusted P/E) ratio. The academic pedigree and Yale hosting suggest high reliability, though the API-pull nature means freshness depends on Shiller's own update cadence (data extends through September 2023). With 1,834 monthly observations spanning 1871–2023 — over 150 years — this is an unusually long time series, making it extremely valuable for macro-financial correlation studies, secular trend analysis, and regime-change detection (e.g., comparing pre/post gold standard, post-1971 Bretton Woods collapse, or post-2008 QE eras).
2. Data Quality Observations
Overall null density is low relative to size: 4,182 null cells across 22 columns and 1,834 rows (~40,348 cells total), roughly a 10% null rate — but this is heavily concentrated in a few columns rather than evenly distributed. Two columns are essentially unusable as-is: Column14 (100% null, 1,834/1,834) and Column16 (99.9% null, 1,832/1,834, only 2 distinct values) — these appear to be artifacts of the original Excel formatting (likely blank spacer columns or footnote fields) and should be dropped. The Yield column and the three annualized return columns (Stock, Bonds, Excess) share an identical null count of 121 (6.6%), suggesting these are calculated fields requiring a trailing window (e.g., 10-year forward returns) that cannot be computed for the most recent rows — an expected structural gap, not a data error. Core price/earnings/dividend columns (P, D, E, CPI) have only 1–4 nulls, indicating a very clean primary series. Notably, CAPE, TR CAPE, and Yield are typed as String rather than Decimal despite being numeric-looking, which is a type-mismatch worth flagging — likely due to embedded text (e.g., "NA" placeholders) in early years before enough trailing data existed to compute CAPE.
3. Key Columns and Distributions
The core price series show strong right-skew consistent with long-run exponential market growth: P (nominal S&P price) ranges from 2.73 to 4,674.77, mean 376.97 vs. median 18.07 — a massive mean/median gap and skew of 2.96 reflecting how modern index levels dwarf 19th-century values. Real Total Return Price is even more extreme (mean 279,219 vs. median 12,314, skew 2.83), by construction since it compounds reinvested dividends since 1871. CPI is comparatively less skewed (1.34, mean 65.3 vs. median 21.9), useful as a deflator/normalizer for other series. Rate GS10 (10-year Treasury yield) is well-behaved for a financial series — mean 4.49%, median 3.80%, Q1–Q3 of 3.16–5.10%, skew 1.8 — suitable for direct correlation with equity valuation metrics. The Annualized Stock Real Return column stands out as the most "normal" distribution in the set: near-zero skew (-0.113), mean 6.93% vs. median 6.95%, tight IQR (3.75%–10.59%), making it ideal for regression/correlation work without heavy transformation.
4. Recommended Join Keys
Date is the clear primary join key (monthly grain, only 1 null, 1,833 distinct values covering the full range) and should be used for any time-series merge. Fraction (decimal year, e.g., 1871.04) is a secondary numeric-encoded date key that could simplify joins with datasets using fractional-year timestamps rather than ISO dates, but Date should be the canonical key after parsing/cleaning.
5. Complementary Datasets for Correlation Discovery
Strong pairing candidates include: (a) NBER recession/business cycle dating to test CAPE/valuation behavior around downturns; (b) Federal Reserve monetary policy data (Fed funds rate, M2 money supply) to examine Rate GS10 and P/E co-movement across policy regimes; (c) Global equity indices (FTSE, Nikkei) for international valuation comparisons; (d) Gold/commodity price series as inflation hedges against the CPI column; (e) U.S. GDP and productivity data to relate Total Real Earnings to broader economic output; and (f) VIX or historical volatility proxies to study the relationship between CAPE valuation extremes and subsequent market volatility/drawdowns.
Columns
- Date (date)
- P (decimal)
- D (decimal)
- E (decimal)
- CPI (decimal)
- Fraction (decimal)
- Rate GS10 (decimal)
- Consumer — Long — Real — Price (decimal)
- Dividend (decimal)
- Real — Total — Return — Price (decimal)
- Total — Real — Earnings (decimal)
- TR — Scaled — Earnings (decimal)
- CAPE (string)
- Column14 (string)
- TR CAPE (string)
- Column16 (string)
- Yield (string)
- Monthly — Total — Bond — Returns (decimal)
- Real — Total — Bond — Returns (integer)
- Annualized Stock — Real Return (decimal)
- Annualized Bonds — Real Return (decimal)
- Real — Real 10 Year — Excess Annualized — Returns (decimal)