Methodology
The objective function this solves and the formulas behind it.
SpendingPath computes how much to spend, how much to save, and how much to hold in a risky asset at each year of an inputted scenario. It does this by solving a lifetime utility maximization problem rather than by applying a rule of thumb such as spending 4% a year. This page states that problem. For the ideas behind it, see the primer under the streamlined model. Nothing here is investment, tax, or legal advice. The Terms of Service state that formally.
Utility
Each year’s consumption C is scored with constant relative risk aversion (CRRA) utility.
u(C) = (C^(1−γ) − 1) / (1−γ) for γ ≠ 1 u(C) = ln(C) for γ = 1
The risk aversion coefficient γ sets how quickly utility falls as consumption falls. The time preference rate δ sets how much less a year of utility counts for each year it is delayed. Every dollar figure is in real terms, so all returns and growth rates are above inflation.
The objective
The model computes a consumption path that maximizes discounted lifetime utility over the horizon.
maximize Σₜ e^(−δt) · Sₜ · u(Cₜ) + terminal value
Sₜ is the probability of surviving to year t. It equals 1 in every year unless mortality weighting is on (see below).
The problem is solved by backward induction, following Bellman. Starting from the final year, the model computes the value V of every point on a grid of account balances, one year at a time, back to the first year.
Vₜ(W) = max over C, k, ρ of [ u(C) + e^(−δ) · sₜ · Vₜ₊₁(W′) ]
W is the state, made up of three account balances. C is consumption, k is the amount contributed, and ρ is the Roth share of that contribution. sₜ is the one year survival probability. The balances left after spending, taxes, and contributions grow at the portfolio’s certainty equivalent return (defined below) to give next year’s state.
W′ = (W − gross withdrawals + contributions) · (1 + CER)
This makes each year’s transition deterministic. Market risk enters through CER, which is lower than the portfolio’s expected return by a penalty that grows with γ and with volatility.
The model is a mathematical idealization. It has not been audited by an outside firm and does not replace a licensed financial, tax, or legal professional. See the Terms of Service.