Skip to main content

401(k) Forecaster

So I've been meaning to get around to creating this for a while. The idea spawned from my search for a 401(k) calculator that didn't just assume one given future. By that I mean, I wanted a calculator that didn't calculate the return on my investment based on just one average annual return. I wanted a calculator that showed me lots of different futures, based on the standard deviation, a.k.a. the risk, of what I've invested my money in. I want to see the most pessimistic futures, you know the ones where all my investments bite the dust, as well as the most optimistic futures where everything is rainbows and bunny rabbits, as well as everything in between. So in that sense, I wanted a forecaster, not a calculator, similar to the hurricane landfall maps you see on the Weather Channel where the most likely landfall is that red wedge in the middle while wider is an orange wedge and even less likely is the widest yellow wedge. So last week I threw together this 401(k) forecaster that shows you the 10th through 90th percentile of the probable futures. The graph is based on several factors:

  • what you'll be putting into your 401(k),

  • what you're investing in and how it is expected to grow,

  • and what you'll be withdrawing once you retire.


So now you've looked at it and are wondering, what do all the lines mean? Well, you can read the graph several ways:

  • you have a 90% chance of doing better than the 10th percentile line,

  • 50% chance of doing better than the 50th percentile line,

  • and a 10% chance of doing better than the 90th percentile.


I think from that you start to see the pattern. Play around with the variables to see how different things change your forecasted outcome. Don't miss that you can right-click on the graph to print it and change the view. You can also drag on the graph to change the view window (though the logarithmic scale seems to be buggy, try it with the log scale turned off, under Chart Info). The graph is drawn using the free open-source library JFreeChart.

Comments

jaxzin said…
I'm opened the source to this applet on github at http://jaxz.in/fcxFVN

Popular posts from this blog

3D Photo Viewer for Looking Glass

The Looking Glass I created my first Chrome extension, which is now live on the Chrome Web Store ! It's built for the Looking Glass , a holographic display that let's you view three-dimensional objects without glasses. I've also opened the source to the extension on GitHub. The Chrome extension allows you to view Facebook's "3D Photos", a feature they added in 2018 for displaying photos that include a depth map like those from phones with dual cameras, such as Apple's "Portrait Mode". Getting Started To use the extension, connect your Looking Glass to your computer, navigate to Facebook and open the viewer from the extension's popup menu. This will open a browser window on the Looking Glass display's screen in fullscreen mode. Opening the Viewer Once the viewer is open, the extension watches for any 3D Photo files being downloaded, so browse around Facebook looking for 3D Photos.  I recommend some of the Facebook groups de...

Simplifying logging with Maven and SLF4J (Part 2)

So in my  previous post  I explained how to simplify your logging with Maven and SLF4J. If you haven't read it yet, please do before reading more.  Since then I've discovered an easier and cleaner way to remove the secondary frameworks from your Maven dependency tree. Here's a revised overview of the steps: Decided which logging framework will be your primary, aka who will actually write to your log file. Define the dependency scope of all the secondary frameworks to be ' provided '. Configure your project to depend on drop-in replacements of each secondary framework from SLF4J. Define secondary frameworks as provided Use the dependencyManagement section for this. Its used when you might have a dependency transitively. Add dependency on SLF4J Add the following to your pom.xml Conclusion So now in only 3 steps you can redirect all your logging to your primary logging framework without changing a line of code!

First Impressions from NoSQL Live

Today I drove up to Boston for the day to attend NoSQL Live . My experience so far within the NoSQL community has been limited to what we've built in-house at Disney and ESPN over the past decade to solve our scaling issues, more recently has been ESPN's use of Websphere eXtreme Scale , and the very latest has been my own experimentation with HBase which hasn't gotten much further than setting up a four node cluster. I've read a little about Cassandra, memcached, Tokyo Cabinet and that's about it. So before the sandman wipes away most of my first impressions of the technologies discussed today, I wanted to record my thoughts for posterity or, at the very least, tomorrow. Cassandra Cassandra seems to be the hottest NoSQL solution this month with press about both Twitter and Digg running implementations. My impression, I'm wary of "eventual consistency". I don't feel I understand the risk and ramifications well enough to design a system properly...