Effective Duration of a Prepayment-Sensitive MBS

Finance · Hard · Free problem

You hold a mortgage-backed security (MBS) whose monthly cash flows depend on a constant prepayment rate $\text{CPR}(y)$ that itself varies with the prevailing yield $y$. When rates drop, homeowners prepay faster, shortening the bond's life; when rates rise, prepayments slow and the bond extends.

  1. Write the finite-difference formula for effective duration using a small parallel yield shock $\Delta y$.
  1. Explain the steps you would take to compute $P(y + \Delta y)$ and $P(y - \Delta y)$, given that the cash flows must be regenerated at each shifted yield because $\text{CPR}$ changes.
  1. Why can effective duration differ materially from Macaulay or modified duration for this instrument, even though all three are "duration" measures?

Hints

  1. Duration measures price sensitivity to yield changes. When cash flows themselves depend on yields, the standard formulas that assume fixed cash flows break down.
  2. Use a finite-difference approximation: bump yields up and down by $\Delta y$, recompute the full cash flow schedule (including updated prepayment rates) at each shifted yield, then difference the resulting prices.
  3. The key distinction is the prepayment option: $\text{CPR}(y)$ rises when rates fall, shortening effective maturity and capping price appreciation -- this is negative convexity that Macaulay/modified duration completely ignores.

Worked Solution

How to Think About It: The whole point of effective duration is that it handles bonds whose cash flows change when yields move. A plain vanilla bond has fixed coupons -- push yields up or down and only the discount factors change. An MBS is fundamentally different: changing yields changes prepayment behavior, which changes the cash flows themselves. Macaulay and modified duration assume fixed cash flows, so they miss this entirely. Before writing any formulas, the key economic picture is: when rates drop, prepayments spike, you get your principal back early (just when you least want it -- reinvestment rates are low), and the bond shortens. When rates rise, prepayments slow, and the bond extends (locking you into below-market coupons longer). This asymmetry is negative convexity, and effective duration is the tool that captures it.

Quick Sanity Checks: - For a plain fixed-coupon bond with no embedded options, effective duration should converge to modified duration as $\Delta y \to 0$. - MBS effective duration should be shorter than modified duration when rates are low (fast prepayments shorten the bond). - MBS effective duration should be longer than modified duration when rates are high (slow prepayments extend the bond). - The sign is always positive for a long bond position (price falls when yields rise).

Derivation:

The finite-difference formula for effective duration is:

$D_{\text{eff}} = \frac{P(y - \Delta y) - P(y + \Delta y)}{2 \cdot P(y) \cdot \Delta y}$

where: - $P(y)$ is the price at the current yield $y$, - $P(y \pm \Delta y)$ are prices computed after a parallel shift of $\pm \Delta y$ (typically 25-50 bps), - Crucially, each price $P(y \pm \Delta y)$ is computed by regenerating the full cash flow schedule at the shifted yield.

The computation procedure for each shifted price is:

1. Shift the yield curve by $\pm \Delta y$ in parallel. 2. Recompute $\text{CPR}(y \pm \Delta y)$ using a prepayment model (e.g., PSA model, or a more sophisticated logistic/econometric model that maps mortgage rates to prepayment speeds). 3. Convert CPR to SMM (single monthly mortality): $\text{SMM} = 1 - (1 - \text{CPR})^{1/12}$. 4. Generate the monthly cash flows $\text{CF}_t(y \pm \Delta y)$ for each month $t$. Each month's cash flow is the sum of: - Scheduled principal payment - Interest on the remaining balance - Prepaid principal $= \text{SMM} \times (\text{remaining balance after scheduled payment})$ 5. Discount the regenerated cash flows at the shifted yield to get $P(y \pm \Delta y)$: $P(y \pm \Delta y) = \sum_{t=1}^{T} \frac{\text{CF}_t(y \pm \Delta y)}{(1 + (y \pm \Delta y)/12)^t}$ 6. Plug into the finite-difference formula above.

Why Effective Duration Differs from Macaulay/Modified Duration:

Macaulay duration is the weighted-average time to cash flows (weights = PV of each cash flow / price). Modified duration equals Macaulay duration divided by $(1 + y/k)$ and measures price sensitivity under the assumption that cash flows are fixed. Both treat the bond's cash flow schedule as a constant.

For an MBS, this assumption is badly wrong. The key differences:

  • Cash flow feedback loop: When $y$ drops, $\text{CPR}$ rises, principal returns faster, and the effective maturity shortens. Modified duration does not see this -- it would overstate the price gain from a rate decline because it assumes the long-dated cash flows remain intact.
  • Negative convexity: A plain bond has positive convexity (price gains from rate drops exceed losses from equal rate rises). An MBS can have negative convexity: rate drops trigger prepayments that cap price appreciation. Effective duration computed at $y - \Delta y$ and $y + \Delta y$ captures this asymmetry because it re-prices with the actual shifted cash flows.
  • Magnitude: In a low-rate environment, MBS effective duration can be 2-4 years while modified duration of the underlying collateral might suggest 6-8 years. The difference is entirely due to the prepayment option embedded in the mortgage.

Practical Interpretation: On a trading desk, you would never hedge an MBS position using modified duration -- you would massively over-hedge. Effective duration (often called option-adjusted duration, OAD) is the right risk measure because it reflects how the position actually behaves when the curve shifts. The choice of $\Delta y$ matters: too small and numerical noise dominates; too large and you miss the local slope. Most practitioners use 25-50 bps.

Answer: The effective duration formula is $D_{\text{eff}} = [P(y - \Delta y) - P(y + \Delta y)] / [2 \cdot P(y) \cdot \Delta y]$, where each shifted price is computed by regenerating the cash flow schedule with the updated $\text{CPR}(y \pm \Delta y)$. It differs from Macaulay/modified duration because those measures assume fixed cash flows, while effective duration accounts for the prepayment option that causes the bond's cash flows -- and effective maturity -- to change with yields. This is why MBS exhibit negative convexity and require option-adjusted duration for proper hedging.

Intuition

The core lesson here is that duration is only as good as the assumptions behind it. Macaulay and modified duration were designed for bonds with contractually fixed cash flows -- they answer the question "how much does my price change if yields move, holding everything else constant?" For an MBS, "everything else" does not stay constant: the homeowner's prepayment option is a short call on rates that you, the bondholder, have sold. When rates drop, that option goes in the money, borrowers refinance, and your high-coupon cash flows vanish exactly when they are most valuable. Effective duration captures this feedback loop by actually re-running the cash flow model at shifted yields, rather than pretending the schedule is fixed.

This concept generalizes far beyond MBS. Any instrument with embedded optionality -- callable bonds, putable bonds, floating-rate notes with caps/floors, convertibles -- requires effective (option-adjusted) duration rather than modified duration. On a trading desk, confusing the two is a classic mistake that leads to over-hedging or under-hedging. The finite-difference approach is also a workhorse technique in numerical finance: whenever you cannot differentiate a pricing function analytically, bump-and-reprice gives you the sensitivity you need.

Open the full interactive solver →