A local-first personal finance app
:chart_with_upwards_trend: Monte carlo - pair each year with its historical inflation on historic simulations (#8852)
Michael Clarkeea17e543d75
diff --git a/packages/desktop-client/src/components/reports/reports/monte-carlo/MonteCarlo.tsx b/packages/desktop-client/src/components/reports/reports/monte-carlo/MonteCarlo.tsxindex b096fd59f8..814ded4da1 100644--- a/packages/desktop-client/src/components/reports/reports/monte-carlo/MonteCarlo.tsx+++ b/packages/desktop-client/src/components/reports/reports/monte-carlo/MonteCarlo.tsx@@ -615,7 +615,9 @@ export function MonteCarlo() {Returns are actual US market years ({{ firstYear }}–{{ lastYear }}, S&P 500 / 10-year Treasuries / T-bills,Damodaran data) drawn in random order for each pot's- allocation mix. Real crash years are included, but multi-year+ allocation mix. Each sampled year brings its own actual US+ inflation with it, so high-inflation markets stay+ high-inflation. Real crash years are included, but multi-yearmomentum is lost by shuffling, fees and taxes are only asaccurate as the rates you enter, and US history has beenunusually good, so results may be optimistic for globally@@ -626,7 +628,8 @@ export function MonteCarlo() {Each scenario replays actual US market history ({{ firstYear }}–{{ lastYear }}, S&P 500 / 10-year Treasuries /T-bills, Damodaran data) starting from a different year,- wrapping around the end of the data. This preserves real crashes+ wrapping around the end of the data. Each replayed year brings+ its own actual US inflation with it. This preserves real crashesand recoveries, but there are only as many scenarios as startyears, fees and taxes are only as accurate as the rates youenter, and US history may be optimistic for globally diversifieddiff --git a/packages/desktop-client/src/components/reports/reports/monte-carlo/MonteCarloConfiguration.tsx b/packages/desktop-client/src/components/reports/reports/monte-carlo/MonteCarloConfiguration.tsxindex 9ee8082f40..c7f9ba9a39 100644--- a/packages/desktop-client/src/components/reports/reports/monte-carlo/MonteCarloConfiguration.tsx+++ b/packages/desktop-client/src/components/reports/reports/monte-carlo/MonteCarloConfiguration.tsx@@ -18,6 +18,7 @@ import type {import { css } from '@emotion/css';import { v4 as uuidv4 } from 'uuid';+import { LabeledCheckbox } from '#components/forms/LabeledCheckbox';import { MonteCarloContributions } from '#components/reports/reports/monte-carlo/MonteCarloContributions';import { MonteCarloHelpTooltip } from '#components/reports/reports/monte-carlo/MonteCarloHelpTooltip';import { MonteCarloNumberInput } from '#components/reports/reports/monte-carlo/MonteCarloNumberInput';@@ -254,74 +255,6 @@ export function MonteCarloConfiguration({</View></View>- <View style={{ gap: 10 }}>- <Text style={GROUP_HEADING_STYLE}>- <Trans>Inflation</Trans>- </Text>- <View style={PLAN_GROUP_FIELDS_STYLE}>- <View style={FIELD_STYLE}>- <View style={FIELD_LABEL_ROW_STYLE}>- <Text style={FIELD_LABEL_STYLE}>- <Trans>Mean (%)</Trans>- </Text>- <MonteCarloHelpTooltip>- <Trans>- The average yearly rise in prices. When set, your planned- spending grows with it so your spending power is- maintained.- <br />- <br />- Leave blank to keep withdrawals flat.- </Trans>- </MonteCarloHelpTooltip>- </View>- <MonteCarloNumberInput- value={config.inflationMean}- aria-label={t('Inflation mean (%)')}- scale={100}- allowEmpty- min={0}- max={100}- placeholder={t('None')}- onCommit={newValue =>- onConfigChange({ inflationMean: newValue })- }- />- </View>-- <View style={FIELD_STYLE}>- <View style={FIELD_LABEL_ROW_STYLE}>- <Text style={FIELD_LABEL_STYLE}>- <Trans>Std dev (%)</Trans>- </Text>- <MonteCarloHelpTooltip>- <Trans>- Real-world inflation bounces around from year to year- rather than staying fixed. When set, each simulated year- draws its own inflation rate around the mean.- <br />- <br />- Around 2% matches how much US inflation has varied in- recent decades. Set to 0 to use the fixed mean rate every- year.- </Trans>- </MonteCarloHelpTooltip>- </View>- <MonteCarloNumberInput- value={config.inflationStdDev}- aria-label={t('Inflation std dev (%)')}- scale={100}- min={0}- max={50}- disabled={config.inflationMean == null}- onCommit={newValue =>- onConfigChange({ inflationStdDev: newValue ?? 0 })- }- />- </View>- </View>- </View>-<View style={{ gap: 10 }}><Text style={GROUP_HEADING_STYLE}><Trans>Simulation</Trans>@@ -399,6 +332,118 @@ export function MonteCarloConfiguration({</View></View></View>++ <View style={{ gap: 10 }}>+ <Text style={GROUP_HEADING_STYLE}>+ <Trans>Inflation</Trans>+ </Text>+ {config.returnModel === 'normal' ? (+ <View style={PLAN_GROUP_FIELDS_STYLE}>+ <View style={FIELD_STYLE}>+ <View style={FIELD_LABEL_ROW_STYLE}>+ <Text style={FIELD_LABEL_STYLE}>+ <Trans>Mean (%)</Trans>+ </Text>+ <MonteCarloHelpTooltip>+ <Trans>+ The average yearly rise in prices. When set, your+ planned spending grows with it so your spending power is+ maintained.+ <br />+ <br />+ Leave blank to keep withdrawals flat.+ </Trans>+ </MonteCarloHelpTooltip>+ </View>+ <MonteCarloNumberInput+ value={config.inflationMean}+ aria-label={t('Inflation mean (%)')}+ scale={100}+ allowEmpty+ min={0}+ max={100}+ placeholder={t('None')}+ onCommit={newValue =>+ onConfigChange({ inflationMean: newValue })+ }+ />+ </View>++ <View style={FIELD_STYLE}>+ <View style={FIELD_LABEL_ROW_STYLE}>+ <Text style={FIELD_LABEL_STYLE}>+ <Trans>Std dev (%)</Trans>+ </Text>+ <MonteCarloHelpTooltip>+ <Trans>+ Real-world inflation bounces around from year to year+ rather than staying fixed. When set, each simulated year+ draws its own inflation rate around the mean.+ <br />+ <br />+ Around 2% matches how much US inflation has varied in+ recent decades. Set to 0 to use the fixed mean rate+ every year.+ </Trans>+ </MonteCarloHelpTooltip>+ </View>+ <MonteCarloNumberInput+ value={config.inflationStdDev}+ aria-label={t('Inflation std dev (%)')}+ scale={100}+ min={0}+ max={50}+ disabled={config.inflationMean == null}+ onCommit={newValue =>+ onConfigChange({ inflationStdDev: newValue ?? 0 })+ }+ />+ </View>+ </View>+ ) : (+ // Historical models take each sampled year's actual inflation,+ // so the only real choice is on/off - an honest checkbox+ // instead of number inputs whose values would be ignored. An+ // empty label-row spacer seats the checkbox on the same+ // baseline as the neighboring inputs.+ <View style={{ width: 250 }}>+ <View style={FIELD_LABEL_ROW_STYLE} />+ <View+ style={{+ minHeight: 28,+ flexDirection: 'row',+ alignItems: 'center',+ justifyContent: 'space-between',+ }}+ >+ <LabeledCheckbox+ id="mc-inflation-adjust"+ checked={config.inflationMean != null}+ onChange={event =>+ onConfigChange({+ inflationMean: event.target.checked+ ? MONTE_CARLO_DEFAULTS.inflationMean+ : null,+ })+ }+ style={{ flex: 'unset', minHeight: 'auto' }}+ >+ <Text style={FIELD_LABEL_STYLE}>+ <Trans>Adjust spending with inflation</Trans>+ </Text>+ </LabeledCheckbox>+ <MonteCarloHelpTooltip>+ <Trans>+ Historical models pair each sampled year's market+ returns with that same year's actual US inflation,+ keeping the two correlated the way they really were.+ Untick to keep withdrawals flat instead.+ </Trans>+ </MonteCarloHelpTooltip>+ </View>+ </View>+ )}+ </View></View>)}diff --git a/packages/desktop-client/src/components/reports/reports/monte-carlo/MonteCarloRunDetailTable.tsx b/packages/desktop-client/src/components/reports/reports/monte-carlo/MonteCarloRunDetailTable.tsxindex 00903d13aa..0d309a323f 100644--- a/packages/desktop-client/src/components/reports/reports/monte-carlo/MonteCarloRunDetailTable.tsx+++ b/packages/desktop-client/src/components/reports/reports/monte-carlo/MonteCarloRunDetailTable.tsx@@ -62,6 +62,8 @@ export function MonteCarloRunDetailTable({const lastRow = rows[rows.length - 1];const hasSurvived = lastRow != null && lastRow.endBalance > 0;+ // Present whenever the plan has inflation enabled+ const showInflation = rows.some(row => row.inflation != null);const allExpanded = rows.length > 0 && expandedYears.size === rows.length;function toggleYear(year: number) {@@ -199,6 +201,17 @@ export function MonteCarloRunDetailTable({><Trans>Return (%)</Trans></Text>+ {showInflation && (+ <Text+ style={{+ ...GROUP_HEADING_STYLE,+ width: 110,+ textAlign: 'right',+ }}+ >+ <Trans>Inflation (%)</Trans>+ </Text>+ )}<Text style={{ ...GROUP_HEADING_STYLE, ...AMOUNT_CELL_STYLE }}><Trans>Ending balance</Trans></Text>@@ -305,6 +318,17 @@ export function MonteCarloRunDetailTable({<FinancialText as="span">{`${growthPct.toFixed(2)}%`}</FinancialText>)}</Text>+ {showInflation && (+ // Deliberately neutral: coloring deflation "good" or+ // inflation "bad" would oversimplify+ <Text style={{ width: 110, textAlign: 'right' }}>+ {row.inflation != null && (+ <FinancialText as="span">+ {`${(row.inflation * 100).toFixed(2)}%`}+ </FinancialText>+ )}+ </Text>+ )}<Text style={AMOUNT_CELL_STYLE}><PrivacyFilter><FinancialText as="span">diff --git a/packages/desktop-client/src/components/reports/reports/monte-carlo/monteCarloHistoricalReturns.ts b/packages/desktop-client/src/components/reports/reports/monte-carlo/monteCarloHistoricalReturns.tsindex 503f56dbb5..05ae5cf7ba 100644--- a/packages/desktop-client/src/components/reports/reports/monte-carlo/monteCarloHistoricalReturns.ts+++ b/packages/desktop-client/src/components/reports/reports/monte-carlo/monteCarloHistoricalReturns.ts@@ -1,10 +1,16 @@// Historical annual nominal returns for US asset classes, used by the// historical return models. stocks = S&P 500 total return (incl. dividends),-// bonds = US 10-year Treasury total return, cash = 3-month T-bill.+// bonds = US 10-year Treasury total return, cash = 3-month T-bill,+// inflation = US CPI-U annual average over annual average (BLS; not the+// Dec-over-Dec rate, which differs in some years) - sampled jointly with+// the returns so each simulated year keeps its own inflation.//-// Source: Aswath Damodaran, NYU Stern - 'Historical Returns on Stocks,-// Bonds and Bills', https://pages.stern.nyu.edu/~adamodar/New_Home_Page/datafile/histretSP.html-// Data range: 1928-2025. Regenerate by re-extracting that table.+// Returns source: Aswath Damodaran, NYU Stern - 'Historical Returns on+// Stocks, Bonds and Bills', https://pages.stern.nyu.edu/~adamodar/New_Home_Page/datafile/histretSP.html+// Inflation source: BLS CPI-U annual averages, via+// https://www.usinflationcalculator.com/inflation/historical-inflation-rates/+// (cross-checked against https://www.minneapolisfed.org/about-us/monetary-policy/inflation-calculator/consumer-price-index-1913-).+// Data range: 1928-2025. Regenerate by re-extracting those tables.//// Note: this is US data - the best freely available long-run series. It// likely overstates outcomes for globally diversified portfolios.@@ -14,105 +20,299 @@ export type HistoricalAnnualReturn = {stocks: number;bonds: number;cash: number;+ /** CPI-U annual-average inflation for the year, as a decimal fraction */+ inflation: number;};export const HISTORICAL_ANNUAL_RETURNS: HistoricalAnnualReturn[] = [- { year: 1928, stocks: 0.4381, bonds: 0.0084, cash: 0.0308 },- { year: 1929, stocks: -0.083, bonds: 0.042, cash: 0.0316 },- { year: 1930, stocks: -0.2512, bonds: 0.0454, cash: 0.0455 },- { year: 1931, stocks: -0.4384, bonds: -0.0256, cash: 0.0231 },- { year: 1932, stocks: -0.0864, bonds: 0.0879, cash: 0.0107 },- { year: 1933, stocks: 0.4998, bonds: 0.0186, cash: 0.0096 },- { year: 1934, stocks: -0.0119, bonds: 0.0796, cash: 0.0028 },- { year: 1935, stocks: 0.4674, bonds: 0.0447, cash: 0.0017 },- { year: 1936, stocks: 0.3194, bonds: 0.0502, cash: 0.0017 },- { year: 1937, stocks: -0.3534, bonds: 0.0138, cash: 0.0028 },- { year: 1938, stocks: 0.2928, bonds: 0.0421, cash: 0.0007 },- { year: 1939, stocks: -0.011, bonds: 0.0441, cash: 0.0005 },- { year: 1940, stocks: -0.1067, bonds: 0.054, cash: 0.0004 },- { year: 1941, stocks: -0.1277, bonds: -0.0202, cash: 0.0013 },- { year: 1942, stocks: 0.1917, bonds: 0.0229, cash: 0.0034 },- { year: 1943, stocks: 0.2506, bonds: 0.0249, cash: 0.0038 },- { year: 1944, stocks: 0.1903, bonds: 0.0258, cash: 0.0038 },- { year: 1945, stocks: 0.3582, bonds: 0.038, cash: 0.0038 },- { year: 1946, stocks: -0.0843, bonds: 0.0313, cash: 0.0038 },- { year: 1947, stocks: 0.052, bonds: 0.0092, cash: 0.006 },- { year: 1948, stocks: 0.057, bonds: 0.0195, cash: 0.0105 },- { year: 1949, stocks: 0.183, bonds: 0.0466, cash: 0.0112 },- { year: 1950, stocks: 0.3081, bonds: 0.0043, cash: 0.012 },- { year: 1951, stocks: 0.2368, bonds: -0.003, cash: 0.0152 },- { year: 1952, stocks: 0.1815, bonds: 0.0227, cash: 0.0172 },- { year: 1953, stocks: -0.0121, bonds: 0.0414, cash: 0.0189 },- { year: 1954, stocks: 0.5256, bonds: 0.0329, cash: 0.0094 },- { year: 1955, stocks: 0.326, bonds: -0.0134, cash: 0.0172 },- { year: 1956, stocks: 0.0744, bonds: -0.0226, cash: 0.0262 },- { year: 1957, stocks: -0.1046, bonds: 0.068, cash: 0.0322 },- { year: 1958, stocks: 0.4372, bonds: -0.021, cash: 0.0177 },- { year: 1959, stocks: 0.1206, bonds: -0.0265, cash: 0.0339 },- { year: 1960, stocks: 0.0034, bonds: 0.1164, cash: 0.0287 },- { year: 1961, stocks: 0.2664, bonds: 0.0206, cash: 0.0235 },- { year: 1962, stocks: -0.0881, bonds: 0.0569, cash: 0.0277 },- { year: 1963, stocks: 0.2261, bonds: 0.0168, cash: 0.0316 },- { year: 1964, stocks: 0.1642, bonds: 0.0373, cash: 0.0355 },- { year: 1965, stocks: 0.124, bonds: 0.0072, cash: 0.0395 },- { year: 1966, stocks: -0.0997, bonds: 0.0291, cash: 0.0486 },- { year: 1967, stocks: 0.238, bonds: -0.0158, cash: 0.0429 },- { year: 1968, stocks: 0.1081, bonds: 0.0327, cash: 0.0534 },- { year: 1969, stocks: -0.0824, bonds: -0.0501, cash: 0.0667 },- { year: 1970, stocks: 0.0356, bonds: 0.1675, cash: 0.0639 },- { year: 1971, stocks: 0.1422, bonds: 0.0979, cash: 0.0433 },- { year: 1972, stocks: 0.1876, bonds: 0.0282, cash: 0.0406 },- { year: 1973, stocks: -0.1431, bonds: 0.0366, cash: 0.0704 },- { year: 1974, stocks: -0.259, bonds: 0.0199, cash: 0.0785 },- { year: 1975, stocks: 0.37, bonds: 0.0361, cash: 0.0579 },- { year: 1976, stocks: 0.2383, bonds: 0.1598, cash: 0.0498 },- { year: 1977, stocks: -0.0698, bonds: 0.0129, cash: 0.0526 },- { year: 1978, stocks: 0.0651, bonds: -0.0078, cash: 0.0718 },- { year: 1979, stocks: 0.1852, bonds: 0.0067, cash: 0.1005 },- { year: 1980, stocks: 0.3174, bonds: -0.0299, cash: 0.1139 },- { year: 1981, stocks: -0.047, bonds: 0.082, cash: 0.1404 },- { year: 1982, stocks: 0.2042, bonds: 0.3281, cash: 0.1109 },- { year: 1983, stocks: 0.2234, bonds: 0.032, cash: 0.0895 },- { year: 1984, stocks: 0.0615, bonds: 0.1373, cash: 0.0992 },- { year: 1985, stocks: 0.3124, bonds: 0.2571, cash: 0.0772 },- { year: 1986, stocks: 0.1849, bonds: 0.2428, cash: 0.0615 },- { year: 1987, stocks: 0.0581, bonds: -0.0496, cash: 0.0596 },- { year: 1988, stocks: 0.1654, bonds: 0.0822, cash: 0.0689 },- { year: 1989, stocks: 0.3148, bonds: 0.1769, cash: 0.0839 },- { year: 1990, stocks: -0.0306, bonds: 0.0624, cash: 0.0775 },- { year: 1991, stocks: 0.3023, bonds: 0.15, cash: 0.0554 },- { year: 1992, stocks: 0.0749, bonds: 0.0936, cash: 0.0351 },- { year: 1993, stocks: 0.0997, bonds: 0.1421, cash: 0.0307 },- { year: 1994, stocks: 0.0133, bonds: -0.0804, cash: 0.0437 },- { year: 1995, stocks: 0.372, bonds: 0.2348, cash: 0.0566 },- { year: 1996, stocks: 0.2268, bonds: 0.0143, cash: 0.0515 },- { year: 1997, stocks: 0.331, bonds: 0.0994, cash: 0.052 },- { year: 1998, stocks: 0.2834, bonds: 0.1492, cash: 0.0491 },- { year: 1999, stocks: 0.2089, bonds: -0.0825, cash: 0.0478 },- { year: 2000, stocks: -0.0903, bonds: 0.1666, cash: 0.06 },- { year: 2001, stocks: -0.1185, bonds: 0.0557, cash: 0.0348 },- { year: 2002, stocks: -0.2197, bonds: 0.1512, cash: 0.0164 },- { year: 2003, stocks: 0.2836, bonds: 0.0038, cash: 0.0103 },- { year: 2004, stocks: 0.1074, bonds: 0.0449, cash: 0.014 },- { year: 2005, stocks: 0.0483, bonds: 0.0287, cash: 0.0322 },- { year: 2006, stocks: 0.1561, bonds: 0.0196, cash: 0.0485 },- { year: 2007, stocks: 0.0548, bonds: 0.1021, cash: 0.0448 },- { year: 2008, stocks: -0.3655, bonds: 0.201, cash: 0.014 },- { year: 2009, stocks: 0.2594, bonds: -0.1112, cash: 0.0015 },- { year: 2010, stocks: 0.1482, bonds: 0.0846, cash: 0.0014 },- { year: 2011, stocks: 0.021, bonds: 0.1604, cash: 0.0005 },- { year: 2012, stocks: 0.1589, bonds: 0.0297, cash: 0.0009 },- { year: 2013, stocks: 0.3215, bonds: -0.091, cash: 0.0006 },- { year: 2014, stocks: 0.1352, bonds: 0.1075, cash: 0.0003 },- { year: 2015, stocks: 0.0138, bonds: 0.0128, cash: 0.0005 },- { year: 2016, stocks: 0.1177, bonds: 0.0069, cash: 0.0032 },- { year: 2017, stocks: 0.2161, bonds: 0.028, cash: 0.0095 },- { year: 2018, stocks: -0.0423, bonds: -0.0002, cash: 0.0197 },- { year: 2019, stocks: 0.3121, bonds: 0.0964, cash: 0.0211 },- { year: 2020, stocks: 0.1802, bonds: 0.1133, cash: 0.0036 },- { year: 2021, stocks: 0.2847, bonds: -0.0442, cash: 0.0004 },- { year: 2022, stocks: -0.1804, bonds: -0.1783, cash: 0.0209 },- { year: 2023, stocks: 0.2606, bonds: 0.0388, cash: 0.0528 },- { year: 2024, stocks: 0.2488, bonds: -0.0164, cash: 0.0518 },- { year: 2025, stocks: 0.1778, bonds: 0.078, cash: 0.0421 },+ {+ year: 1928,+ stocks: 0.4381,+ bonds: 0.0084,+ cash: 0.0308,+ inflation: -0.017,+ },+ { year: 1929, stocks: -0.083, bonds: 0.042, cash: 0.0316, inflation: 0 },+ {+ year: 1930,+ stocks: -0.2512,+ bonds: 0.0454,+ cash: 0.0455,+ inflation: -0.023,+ },+ {+ year: 1931,+ stocks: -0.4384,+ bonds: -0.0256,+ cash: 0.0231,+ inflation: -0.09,+ },+ {+ year: 1932,+ stocks: -0.0864,+ bonds: 0.0879,+ cash: 0.0107,+ inflation: -0.099,+ },+ {+ year: 1933,+ stocks: 0.4998,+ bonds: 0.0186,+ cash: 0.0096,+ inflation: -0.051,+ },+ {+ year: 1934,+ stocks: -0.0119,+ bonds: 0.0796,+ cash: 0.0028,+ inflation: 0.031,+ },+ { year: 1935, stocks: 0.4674, bonds: 0.0447, cash: 0.0017, inflation: 0.022 },+ { year: 1936, stocks: 0.3194, bonds: 0.0502, cash: 0.0017, inflation: 0.015 },+ {+ year: 1937,+ stocks: -0.3534,+ bonds: 0.0138,+ cash: 0.0028,+ inflation: 0.036,+ },+ {+ year: 1938,+ stocks: 0.2928,+ bonds: 0.0421,+ cash: 0.0007,+ inflation: -0.021,+ },+ {+ year: 1939,+ stocks: -0.011,+ bonds: 0.0441,+ cash: 0.0005,+ inflation: -0.014,+ },+ { year: 1940, stocks: -0.1067, bonds: 0.054, cash: 0.0004, inflation: 0.007 },+ {+ year: 1941,+ stocks: -0.1277,+ bonds: -0.0202,+ cash: 0.0013,+ inflation: 0.05,+ },+ { year: 1942, stocks: 0.1917, bonds: 0.0229, cash: 0.0034, inflation: 0.109 },+ { year: 1943, stocks: 0.2506, bonds: 0.0249, cash: 0.0038, inflation: 0.061 },+ { year: 1944, stocks: 0.1903, bonds: 0.0258, cash: 0.0038, inflation: 0.017 },+ { year: 1945, stocks: 0.3582, bonds: 0.038, cash: 0.0038, inflation: 0.023 },+ {+ year: 1946,+ stocks: -0.0843,+ bonds: 0.0313,+ cash: 0.0038,+ inflation: 0.083,+ },+ { year: 1947, stocks: 0.052, bonds: 0.0092, cash: 0.006, inflation: 0.144 },+ { year: 1948, stocks: 0.057, bonds: 0.0195, cash: 0.0105, inflation: 0.081 },+ { year: 1949, stocks: 0.183, bonds: 0.0466, cash: 0.0112, inflation: -0.012 },+ { year: 1950, stocks: 0.3081, bonds: 0.0043, cash: 0.012, inflation: 0.013 },+ { year: 1951, stocks: 0.2368, bonds: -0.003, cash: 0.0152, inflation: 0.079 },+ { year: 1952, stocks: 0.1815, bonds: 0.0227, cash: 0.0172, inflation: 0.019 },+ {+ year: 1953,+ stocks: -0.0121,+ bonds: 0.0414,+ cash: 0.0189,+ inflation: 0.008,+ },+ { year: 1954, stocks: 0.5256, bonds: 0.0329, cash: 0.0094, inflation: 0.007 },+ {+ year: 1955,+ stocks: 0.326,+ bonds: -0.0134,+ cash: 0.0172,+ inflation: -0.004,+ },+ {+ year: 1956,+ stocks: 0.0744,+ bonds: -0.0226,+ cash: 0.0262,+ inflation: 0.015,+ },+ { year: 1957, stocks: -0.1046, bonds: 0.068, cash: 0.0322, inflation: 0.033 },+ { year: 1958, stocks: 0.4372, bonds: -0.021, cash: 0.0177, inflation: 0.028 },+ {+ year: 1959,+ stocks: 0.1206,+ bonds: -0.0265,+ cash: 0.0339,+ inflation: 0.007,+ },+ { year: 1960, stocks: 0.0034, bonds: 0.1164, cash: 0.0287, inflation: 0.017 },+ { year: 1961, stocks: 0.2664, bonds: 0.0206, cash: 0.0235, inflation: 0.01 },+ { year: 1962, stocks: -0.0881, bonds: 0.0569, cash: 0.0277, inflation: 0.01 },+ { year: 1963, stocks: 0.2261, bonds: 0.0168, cash: 0.0316, inflation: 0.013 },+ { year: 1964, stocks: 0.1642, bonds: 0.0373, cash: 0.0355, inflation: 0.013 },+ { year: 1965, stocks: 0.124, bonds: 0.0072, cash: 0.0395, inflation: 0.016 },+ {+ year: 1966,+ stocks: -0.0997,+ bonds: 0.0291,+ cash: 0.0486,+ inflation: 0.029,+ },+ { year: 1967, stocks: 0.238, bonds: -0.0158, cash: 0.0429, inflation: 0.031 },+ { year: 1968, stocks: 0.1081, bonds: 0.0327, cash: 0.0534, inflation: 0.042 },+ {+ year: 1969,+ stocks: -0.0824,+ bonds: -0.0501,+ cash: 0.0667,+ inflation: 0.055,+ },+ { year: 1970, stocks: 0.0356, bonds: 0.1675, cash: 0.0639, inflation: 0.057 },+ { year: 1971, stocks: 0.1422, bonds: 0.0979, cash: 0.0433, inflation: 0.044 },+ { year: 1972, stocks: 0.1876, bonds: 0.0282, cash: 0.0406, inflation: 0.032 },+ {+ year: 1973,+ stocks: -0.1431,+ bonds: 0.0366,+ cash: 0.0704,+ inflation: 0.062,+ },+ { year: 1974, stocks: -0.259, bonds: 0.0199, cash: 0.0785, inflation: 0.11 },+ { year: 1975, stocks: 0.37, bonds: 0.0361, cash: 0.0579, inflation: 0.091 },+ { year: 1976, stocks: 0.2383, bonds: 0.1598, cash: 0.0498, inflation: 0.058 },+ {+ year: 1977,+ stocks: -0.0698,+ bonds: 0.0129,+ cash: 0.0526,+ inflation: 0.065,+ },+ {+ year: 1978,+ stocks: 0.0651,+ bonds: -0.0078,+ cash: 0.0718,+ inflation: 0.076,+ },+ { year: 1979, stocks: 0.1852, bonds: 0.0067, cash: 0.1005, inflation: 0.113 },+ {+ year: 1980,+ stocks: 0.3174,+ bonds: -0.0299,+ cash: 0.1139,+ inflation: 0.135,+ },+ { year: 1981, stocks: -0.047, bonds: 0.082, cash: 0.1404, inflation: 0.103 },+ { year: 1982, stocks: 0.2042, bonds: 0.3281, cash: 0.1109, inflation: 0.062 },+ { year: 1983, stocks: 0.2234, bonds: 0.032, cash: 0.0895, inflation: 0.032 },+ { year: 1984, stocks: 0.0615, bonds: 0.1373, cash: 0.0992, inflation: 0.043 },+ { year: 1985, stocks: 0.3124, bonds: 0.2571, cash: 0.0772, inflation: 0.036 },+ { year: 1986, stocks: 0.1849, bonds: 0.2428, cash: 0.0615, inflation: 0.019 },+ {+ year: 1987,+ stocks: 0.0581,+ bonds: -0.0496,+ cash: 0.0596,+ inflation: 0.036,+ },+ { year: 1988, stocks: 0.1654, bonds: 0.0822, cash: 0.0689, inflation: 0.041 },+ { year: 1989, stocks: 0.3148, bonds: 0.1769, cash: 0.0839, inflation: 0.048 },+ {+ year: 1990,+ stocks: -0.0306,+ bonds: 0.0624,+ cash: 0.0775,+ inflation: 0.054,+ },+ { year: 1991, stocks: 0.3023, bonds: 0.15, cash: 0.0554, inflation: 0.042 },+ { year: 1992, stocks: 0.0749, bonds: 0.0936, cash: 0.0351, inflation: 0.03 },+ { year: 1993, stocks: 0.0997, bonds: 0.1421, cash: 0.0307, inflation: 0.03 },+ {+ year: 1994,+ stocks: 0.0133,+ bonds: -0.0804,+ cash: 0.0437,+ inflation: 0.026,+ },+ { year: 1995, stocks: 0.372, bonds: 0.2348, cash: 0.0566, inflation: 0.028 },+ { year: 1996, stocks: 0.2268, bonds: 0.0143, cash: 0.0515, inflation: 0.03 },+ { year: 1997, stocks: 0.331, bonds: 0.0994, cash: 0.052, inflation: 0.023 },+ { year: 1998, stocks: 0.2834, bonds: 0.1492, cash: 0.0491, inflation: 0.016 },+ {+ year: 1999,+ stocks: 0.2089,+ bonds: -0.0825,+ cash: 0.0478,+ inflation: 0.022,+ },+ { year: 2000, stocks: -0.0903, bonds: 0.1666, cash: 0.06, inflation: 0.034 },+ {+ year: 2001,+ stocks: -0.1185,+ bonds: 0.0557,+ cash: 0.0348,+ inflation: 0.028,+ },+ {+ year: 2002,+ stocks: -0.2197,+ bonds: 0.1512,+ cash: 0.0164,+ inflation: 0.016,+ },+ { year: 2003, stocks: 0.2836, bonds: 0.0038, cash: 0.0103, inflation: 0.023 },+ { year: 2004, stocks: 0.1074, bonds: 0.0449, cash: 0.014, inflation: 0.027 },+ { year: 2005, stocks: 0.0483, bonds: 0.0287, cash: 0.0322, inflation: 0.034 },+ { year: 2006, stocks: 0.1561, bonds: 0.0196, cash: 0.0485, inflation: 0.032 },+ { year: 2007, stocks: 0.0548, bonds: 0.1021, cash: 0.0448, inflation: 0.028 },+ { year: 2008, stocks: -0.3655, bonds: 0.201, cash: 0.014, inflation: 0.038 },+ {+ year: 2009,+ stocks: 0.2594,+ bonds: -0.1112,+ cash: 0.0015,+ inflation: -0.004,+ },+ { year: 2010, stocks: 0.1482, bonds: 0.0846, cash: 0.0014, inflation: 0.016 },+ { year: 2011, stocks: 0.021, bonds: 0.1604, cash: 0.0005, inflation: 0.032 },+ { year: 2012, stocks: 0.1589, bonds: 0.0297, cash: 0.0009, inflation: 0.021 },+ { year: 2013, stocks: 0.3215, bonds: -0.091, cash: 0.0006, inflation: 0.015 },+ { year: 2014, stocks: 0.1352, bonds: 0.1075, cash: 0.0003, inflation: 0.016 },+ { year: 2015, stocks: 0.0138, bonds: 0.0128, cash: 0.0005, inflation: 0.001 },+ { year: 2016, stocks: 0.1177, bonds: 0.0069, cash: 0.0032, inflation: 0.013 },+ { year: 2017, stocks: 0.2161, bonds: 0.028, cash: 0.0095, inflation: 0.021 },+ {+ year: 2018,+ stocks: -0.0423,+ bonds: -0.0002,+ cash: 0.0197,+ inflation: 0.024,+ },+ { year: 2019, stocks: 0.3121, bonds: 0.0964, cash: 0.0211, inflation: 0.018 },+ { year: 2020, stocks: 0.1802, bonds: 0.1133, cash: 0.0036, inflation: 0.012 },+ {+ year: 2021,+ stocks: 0.2847,+ bonds: -0.0442,+ cash: 0.0004,+ inflation: 0.047,+ },+ {+ year: 2022,+ stocks: -0.1804,+ bonds: -0.1783,+ cash: 0.0209,+ inflation: 0.08,+ },+ { year: 2023, stocks: 0.2606, bonds: 0.0388, cash: 0.0528, inflation: 0.041 },+ {+ year: 2024,+ stocks: 0.2488,+ bonds: -0.0164,+ cash: 0.0518,+ inflation: 0.029,+ },+ { year: 2025, stocks: 0.1778, bonds: 0.078, cash: 0.0421, inflation: 0.026 },];diff --git a/packages/desktop-client/src/components/reports/reports/monte-carlo/monteCarloSimulation.test.ts b/packages/desktop-client/src/components/reports/reports/monte-carlo/monteCarloSimulation.test.tsindex 6c91f6f20b..fe6b658bc8 100644--- a/packages/desktop-client/src/components/reports/reports/monte-carlo/monteCarloSimulation.test.ts+++ b/packages/desktop-client/src/components/reports/reports/monte-carlo/monteCarloSimulation.test.ts@@ -406,7 +406,7 @@ describe('runMonteCarloSimulation', () => {{returnModel: 'historical-bootstrap',historicalReturns: [- { year: 2000, stocks: 0.05, bonds: 0.02, cash: 0.01 },+ { year: 2000, stocks: 0.05, bonds: 0.02, cash: 0.01, inflation: 0 },],annualWithdrawal: 3_000,horizonYears: 30,@@ -433,8 +433,8 @@ describe('runMonteCarloSimulation', () => {{returnModel: 'historical-sequence',historicalReturns: [- { year: 2000, stocks: 1, bonds: 0, cash: 0 },- { year: 2001, stocks: -0.5, bonds: 0, cash: 0 },+ { year: 2000, stocks: 1, bonds: 0, cash: 0, inflation: 0 },+ { year: 2001, stocks: -0.5, bonds: 0, cash: 0, inflation: 0 },],annualWithdrawal: 10,horizonYears: 2,@@ -451,13 +451,98 @@ describe('runMonteCarloSimulation', () => {expect(result.medianEndingBalance).toBe(78); // midpoint of 70 and 85});+ it("historical models use each sampled year's own inflation", () => {+ // Two flat-return years with very different inflation; in today's+ // money the untouched balance shrinks by exactly each year's rate+ const jointInflationParams = makeParams(+ {+ returnModel: 'historical-sequence',+ historicalReturns: [+ { year: 2000, stocks: 0, bonds: 0, cash: 0, inflation: 0.1 },+ { year: 2001, stocks: 0, bonds: 0, cash: 0, inflation: 0.25 },+ ],+ annualWithdrawal: 0,+ horizonYears: 2,+ inflationMean: 0.025,+ inflationStdDev: 0,+ deflateToTodaysMoney: true,+ captureRunDetail: 0,+ },+ { startingBalance: 100_000, allocationPreset: 'equity-100' },+ );+ const result = runMonteCarloSimulation(jointInflationParams);++ // 100,000 / 1.1 then / (1.1 x 1.25)+ expect(result.runDetail!.map(row => row.endBalance)).toEqual([+ 90_909, 72_727,+ ]);+ // Each captured year reports the sampled year's rate+ expect(result.runDetail!.map(row => row.inflation)).toEqual([0.1, 0.25]);++ // The user's inflation settings are inert under historical models -+ // only the sampled years' inflation matters+ const differentSettings = runMonteCarloSimulation({+ ...jointInflationParams,+ inflationMean: 0.9,+ inflationStdDev: 0.5,+ });+ expect(differentSettings.percentileBands).toEqual(result.percentileBands);+ });++ it('disabling inflation keeps historical models flat', () => {+ // An explicit opt-out (blank mean) wins over the sampled years'+ // inflation - withdrawals and balances stay nominal+ const result = runMonteCarloSimulation(+ makeParams(+ {+ returnModel: 'historical-sequence',+ historicalReturns: [+ { year: 2000, stocks: 0, bonds: 0, cash: 0, inflation: 0.5 },+ { year: 2001, stocks: 0, bonds: 0, cash: 0, inflation: 0.5 },+ ],+ annualWithdrawal: 0,+ horizonYears: 2,+ inflationMean: null,+ captureRunDetail: 0,+ },+ { startingBalance: 100_000, allocationPreset: 'equity-100' },+ ),+ );++ expect(result.runDetail!.map(row => row.endBalance)).toEqual([+ 100_000, 100_000,+ ]);+ expect(result.runDetail!.map(row => row.inflation)).toEqual([null, null]);+ });++ it('reports the fixed inflation rate on captured rows under the normal model', () => {+ const result = runMonteCarloSimulation(+ makeParams(+ {+ annualWithdrawal: 0,+ horizonYears: 3,+ inflationMean: 0.025,+ inflationStdDev: 0,+ captureRunDetail: 0,+ },+ { startingBalance: 100_000, expectedReturnMean: 0, returnStdDev: 0 },+ ),+ );++ expect(result.runDetail!.map(row => row.inflation)).toEqual([+ 0.025, 0.025, 0.025,+ ]);+ });+it('keeps custom pots on normal draws in historical modes', () => {// An absurd history that would explode the balance if it were usedconst historical = runMonteCarloSimulation(makeParams({returnModel: 'historical-bootstrap',- historicalReturns: [{ year: 2000, stocks: 9, bonds: 9, cash: 9 }],+ historicalReturns: [+ { year: 2000, stocks: 9, bonds: 9, cash: 9, inflation: 0 },+ ],},{ expectedReturnMean: 0.05, returnStdDev: 0 },),@@ -817,10 +902,10 @@ describe('runMonteCarloSimulation', () => {returnModel: 'historical-sequence',captureRunDetail: 0,historicalReturns: [- { year: 2001, stocks: -0.5, bonds: 0, cash: 0 },- { year: 2002, stocks: 1, bonds: 0, cash: 0 },- { year: 2003, stocks: -0.5, bonds: 0, cash: 0 },- { year: 2004, stocks: 1, bonds: 0, cash: 0 },+ { year: 2001, stocks: -0.5, bonds: 0, cash: 0, inflation: 0 },+ { year: 2002, stocks: 1, bonds: 0, cash: 0, inflation: 0 },+ { year: 2003, stocks: -0.5, bonds: 0, cash: 0, inflation: 0 },+ { year: 2004, stocks: 1, bonds: 0, cash: 0, inflation: 0 },],pots: [makePot({diff --git a/packages/desktop-client/src/components/reports/reports/monte-carlo/monteCarloSimulation.ts b/packages/desktop-client/src/components/reports/reports/monte-carlo/monteCarloSimulation.tsindex 06651395f4..fe30561672 100644--- a/packages/desktop-client/src/components/reports/reports/monte-carlo/monteCarloSimulation.ts+++ b/packages/desktop-client/src/components/reports/reports/monte-carlo/monteCarloSimulation.ts@@ -426,6 +426,9 @@ export type MonteCarloRunDetailRow = {/** Start-of-year balance per pot, before contributions and the* withdrawal, same order */potStartBalances: number[];+ /** The year's realized inflation rate as a decimal fraction; null when+ * inflation is disabled */+ inflation: number | null;/** Contributions paid in at the start of this year */contributions: number;/** Contribution each pot received at the start of the year, same order */@@ -1070,6 +1073,18 @@ export function runMonteCarloSimulation(}}}+ // Every pot experiences the same market year: historical models+ // pick one history year for all pots (normally-drawn pots share+ // one market shock scaled by their own volatility), and the same+ // sampled year supplies this year's inflation below - keeping the+ // historical correlation between returns and inflation+ let historyIndex = -1;+ if (returnModel === 'historical-bootstrap') {+ historyIndex = Math.floor(random() * historyCount);+ } else if (returnModel === 'historical-sequence') {+ historyIndex = (simulationIndex + year - 1) % historyCount;+ }+let withdrawal: number;// Only pots that have reached their access age can fund this year's@@ -1298,16 +1313,6 @@ export function runMonteCarloSimulation(captureTaxables(capturedPotTaxables);}- // Every pot experiences the same market year: historical models- // pick one history year for all pots, and normally-drawn pots- // share one market shock scaled by their own volatility. Pots- // holding the same investments therefore earn the same return.- let historyIndex = -1;- if (returnModel === 'historical-bootstrap') {- historyIndex = Math.floor(random() * historyCount);- } else if (returnModel === 'historical-sequence') {- historyIndex = (simulationIndex + year - 1) % historyCount;- }const marketShock = hasNormalDrawPot ? nextNormal() : 0;total = 0;@@ -1343,14 +1348,20 @@ export function runMonteCarloSimulation(}}- // Realize this year's inflation, drawing a random rate when- // volatility is set (fixed mean otherwise)+ // Realize this year's inflation. Historical models take the+ // sampled year's actual US inflation - the same year that set the+ // returns - so high-inflation years keep their high-inflation+ // markets. The normal model draws from the user's settings+ // (random around the mean when volatility is set, fixed otherwise)+ let yearInflationRate: number | null = null;if (inflationMean != null) {- const yearInflation =- inflationStdDev > 0- ? Math.max(-0.9, inflationMean + inflationStdDev * nextNormal())- : inflationMean;- cumulativeInflation *= 1 + yearInflation;+ yearInflationRate =+ historyIndex >= 0+ ? history[historyIndex].inflation+ : inflationStdDev > 0+ ? Math.max(-0.9, inflationMean + inflationStdDev * nextNormal())+ : inflationMean;+ cumulativeInflation *= 1 + yearInflationRate;}// Management fees come out at the end of the year, after growth@@ -1446,6 +1457,8 @@ export function runMonteCarloSimulation(const base = {year,startBalance,+ // A rate, not an amount - passed through undeflated+ inflation: yearInflationRate,contributions,potContributions: emitParts(capturedPotContributions,diff --git a/packages/docs/docs/experimental/monte-carlo-analysis.md b/packages/docs/docs/experimental/monte-carlo-analysis.mdindex ba7b881932..a74bbc8fbd 100644--- a/packages/docs/docs/experimental/monte-carlo-analysis.md+++ b/packages/docs/docs/experimental/monte-carlo-analysis.md@@ -42,16 +42,16 @@ The configuration area at the top of the report is organized into five tabs.-The tab is organized into three small groups - **Your plan**, **Inflation** and **Simulation**:+The tab is organized into three small groups - **Your plan**, **Simulation** and **Inflation**:- **Your current age** and **Pot must last until age** - these two numbers define the period being tested. If you're 40 and want the money to last until you're 95, the report simulates 55 years.- **Return model** - how the simulation invents each year's investment returns:- **Random (normal distribution)**: each year's return is drawn randomly around the expected return and volatility you set on each pot. Think of it as a weighted coin flip, year after year. Every pot lives through the same simulated market year - a good year is good for all your pots, scaled by each pot's volatility - so two pots holding the same investments earn the same return.- - **Historical returns, shuffled**: instead of invented numbers, each simulated year is a real year from US market history (1928 onwards), picked in random order. Real crashes like 1931 and 2008 are in the deck.- - **Historical sequences (replay)**: each replay is actual history, played in order from a different starting year - "what if you retired in 1929?", "what if you retired in 1972?", and so on. This is the strictest test of bad timing, because real crashes and recoveries happen in their true order.-- **Inflation - Mean (%)** - the average yearly rise in prices. When set, your planned spending grows with it so your spending power keeps up. Leave it blank to take exactly the same amount every year.-- **Inflation - Std dev (%)** - real-world inflation bounces around from year to year rather than staying fixed. When set, each simulated year draws its own inflation rate around the mean, separately in every replay. The default of 2% is roughly how much US inflation has varied in recent decades; set it to 0 to use the fixed mean rate every year.+ - **Historical returns, shuffled**: instead of invented numbers, each simulated year is a real year from US market history (1928 onwards), picked in random order. Real crashes like 1931 and 2008 are in the deck, and each sampled year brings its own actual US inflation with it, so high-inflation years keep their high-inflation markets.+ - **Historical sequences (replay)**: each replay is actual history, played in order from a different starting year - "what if you retired in 1929?", "what if you retired in 1972?", and so on. Each replayed year brings its own actual US inflation with it. This is the strictest test of bad timing, because real crashes and recoveries happen in their true order.- **Simulations** - how many replays to run (1,000 to 10,000). More replays give steadier numbers but take slightly longer. When using historical sequences, this field is disabled because there is exactly one replay per historical starting year.+- **Inflation - Mean (%)** - the average yearly rise in prices. When set, your planned spending grows with it so your spending power keeps up. Leave it blank to take exactly the same amount every year. With a historical return model, the two inflation inputs are replaced by an **Adjust spending with inflation** checkbox: each simulated year then uses that year's actual US inflation, keeping inflation and market returns paired the way they really were.+- **Inflation - Std dev (%)** - real-world inflation bounces around from year to year rather than staying fixed. When set, each simulated year draws its own inflation rate around the mean, separately in every replay. The default of 2% is roughly how much US inflation has varied in recent decades; set it to 0 to use the fixed mean rate every year. Only used by the random return model.### Investment Pots@@ -186,7 +186,7 @@ This bar chart only counts the replays that failed, showing at which age they ra-Switch the results view from **Chart** to **Runs** to see every replay listed from worst outcome to best. Rather than paging through thousands of runs, use the **Jump to** dropdown to go straight to the worst, median or best run - or the 25th/75th percentile for a typically-bad or typically-good outcome - with the run highlighted so you can click into it. Click any run to walk through it year by year: the balance at the start of each year, the contributions paid in (when your plan has any), the withdrawal taken, the investment growth in that year (as money and as a percentage), and the balance at the end. Expand a year with the arrow at the start of its row (or use **Expand all years**) for the fully labeled breakdown: the withdrawal split into gross, tax and money to spend; the contributions added; the fees paid; and a small table showing each pot's balance at the start of the year, what was contributed into it, what it contributed to the withdrawal, how much of that counted as taxable income, the tax paid on its share, the fee it was charged that year, its return that year, and its ending balance - so you can watch, for example, the cash pot covering spending after a crash while the stock pots are left alone. With the tax-bands model, the per-pot tax is the year's tax bill shared out in proportion to each pot's taxable income.+Switch the results view from **Chart** to **Runs** to see every replay listed from worst outcome to best. Rather than paging through thousands of runs, use the **Jump to** dropdown to go straight to the worst, median or best run - or the 25th/75th percentile for a typically-bad or typically-good outcome - with the run highlighted so you can click into it. Click any run to walk through it year by year: the balance at the start of each year, the contributions paid in (when your plan has any), the withdrawal taken, the investment growth in that year (as money and as a percentage), the year's inflation rate (when inflation is enabled), and the balance at the end. Expand a year with the arrow at the start of its row (or use **Expand all years**) for the fully labeled breakdown: the withdrawal split into gross, tax and money to spend; the contributions added; the fees paid; and a small table showing each pot's balance at the start of the year, what was contributed into it, what it contributed to the withdrawal, how much of that counted as taxable income, the tax paid on its share, the fee it was charged that year, its return that year, and its ending balance - so you can watch, for example, the cash pot covering spending after a crash while the stock pots are left alone. With the tax-bands model, the per-pot tax is the year's tax bill shared out in proportion to each pot's taxable income.diff --git a/packages/docs/static/img/experimental/monte-carlo-analysis/monte-carlo-overview.png b/packages/docs/static/img/experimental/monte-carlo-analysis/monte-carlo-overview.pngindex 7bc1ea7ac6..c98fea0294 100644Binary files a/packages/docs/static/img/experimental/monte-carlo-analysis/monte-carlo-overview.png and b/packages/docs/static/img/experimental/monte-carlo-analysis/monte-carlo-overview.png differdiff --git a/packages/docs/static/img/experimental/monte-carlo-analysis/monte-carlo-plan-details.png b/packages/docs/static/img/experimental/monte-carlo-analysis/monte-carlo-plan-details.pngindex fc00155414..b49bfc245d 100644Binary files a/packages/docs/static/img/experimental/monte-carlo-analysis/monte-carlo-plan-details.png and b/packages/docs/static/img/experimental/monte-carlo-analysis/monte-carlo-plan-details.png differdiff --git a/packages/docs/static/img/experimental/monte-carlo-analysis/monte-carlo-run.png b/packages/docs/static/img/experimental/monte-carlo-analysis/monte-carlo-run.pngindex 32c0ae329b..4c63ab23b2 100644Binary files a/packages/docs/static/img/experimental/monte-carlo-analysis/monte-carlo-run.png and b/packages/docs/static/img/experimental/monte-carlo-analysis/monte-carlo-run.png differdiff --git a/upcoming-release-notes/monte-carlo-historical-inflation.md b/upcoming-release-notes/monte-carlo-historical-inflation.mdnew file mode 100644index 0000000000..e4a5953cac--- /dev/null+++ b/upcoming-release-notes/monte-carlo-historical-inflation.md@@ -0,0 +1,6 @@+---+category: Enhancements+authors: [MikesGlitch]+---++Pair each simulated year with its actual historical inflation in the Monte Carlo historical return models