Simulation · R

72,000 possible retirements, one clearer decision.

When does delaying Old Age Security improve lifetime benefits, and when can taxes change the answer?

Role
Financial modelling and simulation design
Format
Independent project
Tools
R · Monte Carlo · Tax modelling · Markov regimes
  • 72,000Retirement simulations
  • 6OAS claiming ages
  • 3Market regimes
  • 80%+RRSP cases with clawbacks

The problem

Claiming age depends on several uncertain systems at once.

The model runs 72,000 retirement scenarios across OAS start ages, account types, longevity assumptions, and market regimes. It follows the interaction between withdrawals, taxable income, and OAS clawbacks.

The best claiming age depends on several uncertain systems at once. A single average return or fixed lifespan would hide the cases where the recommendation changes.

The approach · 4 steps

Simulate the interaction between markets, taxes, and account type.

  1. Simulated 2,000 lifepaths for each condition from age 65 through 110.
  2. Used bull, bear, and neutral market regimes with changing return sequences.
  3. Applied federal and provincial tax logic to RRSP withdrawals.
  4. Compared RRSP and TFSA paths across OAS start ages from 65 to 70.

The result

There was no single best claiming age.

  • 72kSimulated retirement paths
  • 3Market regimes
  • 65–110Ages modelled

There was no single best age across every profile. Longevity, account type, and early market returns changed the outcome, which is exactly why simulation was useful here.

What I would do next

  • Let users enter their own account mix and income assumptions.
  • Update tax and clawback parameters from a maintained data source.
  • Turn the results into an interactive comparison tool.