Sub topic 3
Testing a rate with Monte Carlo simulation
This chapter assumes you know how stock and bond returns change a portfolio's value, that you understand inflation-adjusted (real) returns, and that you can read percentages and simple charts.
Testing a rate with Monte Carlo simulation
A historical backtest uses only the return sequences that actually occurred. A Monte Carlo simulation is a method that runs thousands of randomly generated return sequences to test a withdrawal rate. The success rate is the share of runs in which the money lasts for the full period.
import random
def survives(real_returns, withdrawal_rate=0.04, start=1_000_000):
balance = start
withdrawal = start * withdrawal_rate
for r in real_returns:
balance -= withdrawal
if balance <= 0:
return False
balance *= 1 + r
return True
def success_rate(rate, years=30, mean=0.05, stdev=0.12, trials=10_000, seed=1):
rng = random.Random(seed)
wins = 0
for _ in range(trials):
returns = [rng.gauss(mean, stdev) for _ in range(years)]
if survives(returns, rate):
wins += 1
return wins / trials
print(success_rate(0.04))Assumptions and limits of the rule
The 4 percent rule rests on several assumptions. The table shows what happens when each one fails.
| Assumption | Risk if it fails |
|---|---|
| Retirement lasts about 30 years | Longer retirements need a lower rate |
| Past US returns are a fair guide | Lower future returns shrink the safety margin |
| Fees and taxes are small | Each cost reduces the amount you can spend |
| Spending rises with inflation | Costs that grow faster than inflation can outrun the portfolio |
Flexible spending strategies
A fixed rule withdraws the same inflation-adjusted amount every year. A dynamic strategy changes withdrawals as markets change. Cutting spending after a poor market year lowers the chance of running out.
Guardrail rules such as Guyton-Klinger
Guardrails set upper and lower limits on your current withdrawal rate. If a market drop pushes the rate above the upper limit, you cut spending by a set percentage. If the rate falls below the lower limit, you may raise spending. Guyton-Klinger is a widely cited set of these rules.
Social Security, pensions, and other income
Guaranteed income, such as Social Security (a US government retirement benefit) or a pension, reduces how much you must withdraw from the portfolio. Subtract it from your yearly spending before you apply the withdrawal rate.
Putting together a personal withdrawal plan
Work through these steps in order:
- Add up your yearly spending.
- Subtract guaranteed income.
- Divide the remaining amount by your portfolio to get your starting rate.
- Run the simulation and check the success rate.
- Write down the guardrails for spending cuts and raises.
Exercise
Exercise
A retiree needs 50,000 a year, and Social Security pays 20,000 a year. What portfolio does a 4 percent starting rate require?
Show answer
The portfolio must cover 30,000 a year. Dividing 30,000 by 0.04 gives 750,000.