Author Topic: FI Calc: a new retirement calculator  (Read 15866 times)

jamesplease

  • 5 O'Clock Shadow
  • *
  • Posts: 57
FI Calc: a new retirement calculator
« on: April 16, 2020, 12:19:02 AM »
In my free time I've been working on a new calculator that simulates retirements using historical data. The idea is similar to the esteemed firecalc or cFIREsim calculators, if you're familiar with them. My calculator is still early on (it's come a long way and has a lot of features now), but I'd love to get your feedback!

You can check it out here: https://ficalc.app

Here are the main reasons I made it:

- The existing calculators don't have mobile support. This one is designed to work on phones as well as laptops/desktops
- I wanted to improve the user experience. Existing calculators have amazing functionality – but you first need to learn how to use them to unlock their potential. I find it to be the case that mastering these apps can be a challenging task. Part of this is the inherent complexity of what they offer, but I also think the design of the apps contributes to the challenge. I hope that the design of FI Calc helps make the process of mastering it easier.

There are still a lot of features I need to add. Here's some (but not all) of what I'm planning:

- additional portfolio asset types (i.e.; bonds, cash) (all added)
- additional withdrawal plans, including:
  - VPW (added)
  - CAPE/CAEY-based (added 4/16/20)
  - Hebeler Autopilot (added 5/31/20)
- Min/max withdrawals for all %-based sims (added 4/16/20)
- the ability to share/save simulations (added 5/31/20)
- export the results to a CSV file (added 4/16/20)
- restrict results to certain years. For instance, if you only want to consider the period from 1920 - 2020 in your simulations, rather than from 1871 - 2020 (added 4/18/20)
- additional withdrawals for specific years, such as a future college expense, or other large purchases that may not be factored into a yearly withdrawal (added 4/19/20)
- additional income for specific years (added 4/20/20)
- a Monte-Carlo option (as an alternative to historical data)
- real estate investment support (guides added on the website explaining current support)
- user-customizable analysis. This will allow you to do basic analysis within the app of the things that matter to you
- US state/federal tax support

Potential future ideas (what do you think of these?):

- Additional data sources. While researching these withdrawal plans, I noticed that different studies use different data sources. It's not completely fair to compare any two studies without using the same exact data for them. I don't think that everybody will care to get this detailed, but it might be useful to someone.

If you have time to check this app out, give any feedback, or suggest new ideas, I would appreciate it! @themagicman has already helped a ton by giving me a few suggestions :)

Update on the following section: the app currently supports "saving" simulations through bookmark able URLs.

One thing I'm curious to know from you all: adding the ability to save simulations would give me a monthly cost. Although I'm not looking to make money from this project, I would want to at least cover upkeep if I were to add this feature, so that it's sustainable for me to keep the app running over the long run. Is that a feature you would potentially consider paying a small, one-time amount to gain access to? If so, what do you think would be a fair price for that?

If it helps you to pick a number, I'm anticipating the monthly costs to be $10-$20, plus $20 a year for the domain. Ads are another option to support the feature, but my preference would be to keep this thing ad-free.
« Last Edit: June 01, 2020, 02:12:43 AM by jamesplease »

themagicman

  • Bristles
  • ***
  • Posts: 401
  • Age: 33
  • Location: Atlanta, GA
Re: FI Calc: a new retirement calculator
« Reply #1 on: April 16, 2020, 12:33:16 PM »
The changes are looking good! A couple of additional things that would be nice! I was going to suggest the CSV file export, so I am glad it is on your list already!

All have the variable spending methods having a floor or ceiling. For example, Guyton Klinger or 95% rule having an inflation adjusted floor that the spending would never go below.

I think the additional data sources would be useful. Also, I am not sure how difficult it is to implement but I would find a monte carlo simulator option very useful (I have never come across a calculator that allows for variable spending with a monte carlo simulator)

One option is to have ads and pay a one time donation to remove those ads of $x

jamesplease

  • 5 O'Clock Shadow
  • *
  • Posts: 57
Re: FI Calc: a new retirement calculator
« Reply #2 on: April 16, 2020, 01:17:40 PM »
Just released an update: a CAPE-based withdrawal plan has been introduced



The changes are looking good!

Hey, thanks :)

All have the variable spending methods having a floor or ceiling. For example, Guyton Klinger or 95% rule having an inflation adjusted floor that the spending would never go below.

Seems reasonable. Added to the list!

I think the additional data sources would be useful.

Awesome!

Also, I am not sure how difficult it is to implement but I would find a monte carlo simulator option very useful (I have never come across a calculator that allows for variable spending with a monte carlo simulator)

This is totally doable. I had actually been considering it, but I figured I'd omit it from my todo list unless someone brought it up. I'll probably work on some more "core" features first and then revisit this.

One option is to have ads and pay a one time donation to remove those ads of $x

I like this idea a lot 👍

Thanks for the great suggestions, @themagicman !

themagicman

  • Bristles
  • ***
  • Posts: 401
  • Age: 33
  • Location: Atlanta, GA
Re: FI Calc: a new retirement calculator
« Reply #3 on: April 16, 2020, 06:40:09 PM »
Just used it on my phone for the first time! Love the interface on mobile. It was quick and very easy to use!

jamesplease

  • 5 O'Clock Shadow
  • *
  • Posts: 57
Re: FI Calc: a new retirement calculator
« Reply #4 on: April 16, 2020, 11:55:32 PM »
Just used it on my phone for the first time! Love the interface on mobile. It was quick and very easy to use!

That's what I want to hear! :)



Here are a few updates from tonight:

- all %-based withdrawal plans now support min/max withdrawals
- results can now be exported as CSV files
« Last Edit: April 17, 2020, 12:02:08 AM by jamesplease »

themagicman

  • Bristles
  • ***
  • Posts: 401
  • Age: 33
  • Location: Atlanta, GA
Re: FI Calc: a new retirement calculator
« Reply #5 on: April 19, 2020, 12:45:01 PM »
I saw the CSV output. It is clean and easy to read. One suggestion (stop me if my suggestions are annoying you ha), is to have this CSV output as well as a more detailed output for CSV. I would like to have a csv output like cfiresim, it shows the year by year withdrawal amount and the investment balance each year for each starting year.
I use this for two reasons,
1) To ensure that the software is preforming the way that I expected. I can see that the floor is being following or my guyton klinger guardrails are being followed, how I interpret it.
2) I can run some analysis outside of the system. For example, on variable spending plans, I like to look at what percentage of the overall time I spend within 10% of my starting amount, how much within 20% and how much is more than 30%

jamesplease

  • 5 O'Clock Shadow
  • *
  • Posts: 57
Re: FI Calc: a new retirement calculator
« Reply #6 on: April 19, 2020, 02:54:14 PM »
(stop me if my suggestions are annoying you ha)

Please, keep them coming!!! They've been great, and I appreciate them a ton!

One suggestion is to have this CSV output as well as a more detailed output for CSV.

Great idea. I'll add it!



The latest feature lets you restrict the calculator to only use some of the historical data. For instance, if you want you can only run sims between 1920-2020.

The next big features will be:

- additional withdrawals (added!)
- additional income (added!)
- supporting bonds in your portfolio
« Last Edit: April 20, 2020, 07:05:06 PM by jamesplease »

themagicman

  • Bristles
  • ***
  • Posts: 401
  • Age: 33
  • Location: Atlanta, GA
Re: FI Calc: a new retirement calculator
« Reply #7 on: April 21, 2020, 09:21:12 PM »
There might be an issue with your additional withdraw feature. I can't tell easily what the issue is, because I am not sure the total amount each year. but it is not working as expected. I am getting much larger fail rates then I expected . It could be user error but wanted to see if you were seeing any abnormalities with it


jamesplease

  • 5 O'Clock Shadow
  • *
  • Posts: 57
Re: FI Calc: a new retirement calculator
« Reply #8 on: April 21, 2020, 09:46:45 PM »
It’s entirely possible that there’s a bug with the algorithm right now. I need to write more tests around these new features so that I have more confidence in them.

If you have time, could you share with me some of the settings that you’re using that are producing unexpected results? i.e.; how many withdrawals and for how long? Also the fail rate that you’re seeing, and what might expect? If you’re busy, though, no worries – I’ll take a closer look.

Thanks for the report!

Edit: I also plan to update the CSV exports both with the feature you suggested above, as well as detailed info related to additional income/withdrawals, which should help with understanding what’s going on each year.
« Last Edit: April 21, 2020, 10:17:20 PM by jamesplease »

themagicman

  • Bristles
  • ***
  • Posts: 401
  • Age: 33
  • Location: Atlanta, GA
Re: FI Calc: a new retirement calculator
« Reply #9 on: April 22, 2020, 08:21:11 AM »
See attached! It might just be the plan actually fails and the tool has helped me discover that but just seems odd to me that these would not be relatively close. They both allow for $15k of drop at the same rate but one has the mortgage as an additional withdraw (for 25 years) and the other just has it in the normal spending amount. I guess the mortgage portion does not drop by the 3% in the second one, but it is also not inflation adjusted, so I am not sure. I could just be missing something as to why but I just do not understand how the chance of success would vary by that much.

Yes, for sure the CSV file will help! If I could see what it is doing year by year it would confirm that it is functioning how I thought the plan would or not!

themagicman

  • Bristles
  • ***
  • Posts: 401
  • Age: 33
  • Location: Atlanta, GA
Re: FI Calc: a new retirement calculator
« Reply #10 on: April 22, 2020, 08:22:42 AM »
Also, CFIRESIM does not have the option to do the 95% rule with an overall floor (thank you for putting that in! I have not seen that anywhere else) , so I am unable to verify there.

jamesplease

  • 5 O'Clock Shadow
  • *
  • Posts: 57
Re: FI Calc: a new retirement calculator
« Reply #11 on: April 22, 2020, 11:03:36 AM »
Amazing, thanks for the screenshots @themagicman ! I'll dig into this tonight to see what's up. And I might have time to do the CSV update, too.

Edit: quick update. Pretty sure this is a bug with my 95% Rule algorithm when combined with additional withdrawals. I'll release a fix tonight if it is, and write up a more detailed report here explaining what's going on :P
« Last Edit: April 22, 2020, 03:40:43 PM by jamesplease »

jamesplease

  • 5 O'Clock Shadow
  • *
  • Posts: 57
Re: FI Calc: a new retirement calculator
« Reply #12 on: April 22, 2020, 10:16:06 PM »
Alright, a fix should be deployed. Let me know if the results that you're seeing now are lining up more with your expectations.

Here's a summary of what was going on, if you're interested in reading about it:

The way I wrote the Guyton-Klinger and 95% rule implementation was creating a runaway withdrawal effect when combined with additional withdrawals. Your 25 year mortgage was a long enough retirement length that this runaway withdrawal caused nearly every simulation to fail.

Here's what was happening in more detail to create the runaway effect:

- Additional withdrawals are added to whatever the yearly withdrawal is determined to be. So first I run the 95% Rule, Guyton-Klinger, or whatever, and then tack on extra money. In your case, that was an extra $12k each year for the mortgage.
- With GK and 95% rule, each year's withdrawal is sometimes determined by the previous years' withdrawal. For the 95% rule, you can withdraw 95% of the previous year's withdrawal if it's greater than the % of your portfolio that you specify.

The combination of these two behaviors led to the runaway effect. For your calculation, 95% of (previousYearWithdrawal + $12k) was always bigger than 3.7% of the current portfolio value, so that was the path being taken each time. And so the spending just rose and rose until the portfolio was exhausted.

The fix that I implemented is that GK/95% rule are calculated using the "base" withdrawal of the previous year, which is the value of the previous year's withdrawal without additional withdrawals.



Also, a few CSV export updates:

- from the overview page, the CSV export is now a full export. I'll add back in a summary export soon.
- the CSV exports now include information about additional withdrawals (but not additional income. That and other information will be added soon)
« Last Edit: April 22, 2020, 11:17:22 PM by jamesplease »

themagicman

  • Bristles
  • ***
  • Posts: 401
  • Age: 33
  • Location: Atlanta, GA
Re: FI Calc: a new retirement calculator
« Reply #13 on: April 23, 2020, 06:38:06 AM »
That makes sense! The changes look much better now! Went from a 20% success rate to 95% ha.

I like the way the detail comes out in the csv. Not sure if you have seen CFIRESIMs or not but I like this much better. I like that it has continuous rows (without blanks) and theirs does not. They also have a lot more data then I feel is needed on the export which makes it not as clean.

The only suggestion that I would have (and this is nit picking) on the CSV is either replacing "simulation number" or adding an additional column with the starting year for the simulation. So the year that you click on, on the right "simulations by starting year" would be listed 30 times down that column, if that makes sense. Again, this is not really a big deal and something I (or anyone) could easily do themself after dumping to CSV (and I do it myself on the CFIRESIM CSV), but I find it useful because I can make more sense of the data when viewing in excel. For example, in my withdraw plan, the only time my spending would hit the spending floor is in the 1930's and 1970's or something like that.


As a side note, I am not sure why others have not been commenting on this calc yet. I am honestly a little perplexed ha. Maybe it is because it is in the welcome part, or maybe people have just not gone to the site yet.
This is already the best retirement calculator out there I have seen IMHO (and I have searched for a lot) and you are still adding to it and making improvements. I will make some posts about it on reddit. I think you have a really good opportunity to be "the fi calculator" that people use and bloggers talk about in their analysis.

jamesplease

  • 5 O'Clock Shadow
  • *
  • Posts: 57
Re: FI Calc: a new retirement calculator
« Reply #14 on: April 23, 2020, 12:04:55 PM »
That makes sense! The changes look much better now! Went from a 20% success rate to 95% ha.

Nice! :)

I like the way the detail comes out in the csv. Not sure if you have seen CFIRESIMs or not but I like this much better. I like that it has continuous rows (without blanks) and theirs does not. They also have a lot more data then I feel is needed on the export which makes it not as clean.

Yeah, I did reference cFIREsim's export after you mentioned it, and thought about how I could improve upon it in FI Calc.

The only suggestion that I would have (and this is nit picking) on the CSV is either replacing "simulation number" or adding an additional column with the starting year for the simulation. So the year that you click on, on the right "simulations by starting year" would be listed 30 times down that column, if that makes sense. Again, this is not really a big deal and something I (or anyone) could easily do themself after dumping to CSV (and I do it myself on the CFIRESIM CSV), but I find it useful because I can make more sense of the data when viewing in excel. For example, in my withdraw plan, the only time my spending would hit the spending floor is in the 1930's and 1970's or something like that.

No detail is too small or nitpicky. This is great feedback, and I agree that it should be there. I'll add it tonight!

As a side note, I am not sure why others have not been commenting on this calc yet. I am honestly a little perplexed ha. Maybe it is because it is in the welcome part, or maybe people have just not gone to the site yet.
This is already the best retirement calculator out there I have seen IMHO (and I have searched for a lot) and you are still adding to it and making improvements. I will make some posts about it on reddit. I think you have a really good opportunity to be "the fi calculator" that people use and bloggers talk about in their analysis.

Hey, thanks a lot! I've put a ton of effort into this already, and I plan to put a lot more. I was (and still am) a little bit worried that people won't be interested. I'm hoping over time, as I add more features, interest will grow...we'll see, I guess.

Feel free to post it on Reddit btw. I was planning to do the same once I added a few more "key" features (like supporting bonds), but I think it's in a good enough state if you wanted to share it. If you do end up posting it, ya gotta share the link here so I can see all of the comments! (hopefully they're not too mean)

Btw, your awesome suggestions have definitely gone a long way to getting this calculator to where it is today. I really appreciate you taking the time to let me know what things can be improved...so...thank you! :D
« Last Edit: April 23, 2020, 12:16:19 PM by jamesplease »

Shaz_Au

  • 5 O'Clock Shadow
  • *
  • Posts: 59
  • Location: Australia
Re: FI Calc: a new retirement calculator
« Reply #15 on: April 23, 2020, 09:59:40 PM »
I've just given it a try, looks very slick, thanks for sharing it.

Is there an issue with the Historical Data?  When I use the tick box "Use all available historical data" I get data from 1871 to 1975.  If I set "Only use data between" 1900-2000 I only get data from 1900 to 1955 displayed?  I had Length of Retirement set to 45 years, changing this variable changes how much data is displayed... Have I missed something or is it broken?
« Last Edit: April 23, 2020, 10:06:33 PM by Shaz_Au »

jamesplease

  • 5 O'Clock Shadow
  • *
  • Posts: 57
Re: FI Calc: a new retirement calculator
« Reply #16 on: April 23, 2020, 11:01:53 PM »
I've just given it a try, looks very slick, thanks for sharing it.

Is there an issue with the Historical Data?  When I use the tick box "Use all available historical data" I get data from 1871 to 1975.  If I set "Only use data between" 1900-2000 I only get data from 1900 to 1955 displayed?  I had Length of Retirement set to 45 years, changing this variable changes how much data is displayed... Have I missed something or is it broken?

Hey @Shaz_Au ! Thanks for trying it out.

The behavior that you're seeing is expected. Let me explain it a bit more:

The calculator can only run simulations when there is enough historical data to cover the entire retirement length. What this means is that for a retirement that's 45 years long, the latest start year that you will see is 1975 (2020 - 45 years = 1975) when you're using all of the available data. Similarly, if you restrict the years to be 1900-2000, then the latest start year that you'll see will be 2000 - 45 = 1955.

If you click into one of the years that you are seeing (which, again, represents the start year of a particular retirement simulation), you will see more details, and it will show how the portfolio evolves over the duration of the specified retirement. So clicking into, say, the 1975 year from your first calculation will show a retirement spanning 1975 - 2020.

One other thing that might help you understand what is going on is to set the length of retirement to be 1 years. Then you'll see start dates all of the way up until 2019. But, again, 2020 won't be displayed because if that one-year retirement started in January 2019 then it ended in January 2020.

Does that help clarify things?
« Last Edit: April 24, 2020, 12:42:35 AM by jamesplease »

themagicman

  • Bristles
  • ***
  • Posts: 401
  • Age: 33
  • Location: Atlanta, GA
Re: FI Calc: a new retirement calculator
« Reply #17 on: April 26, 2020, 06:44:52 AM »
I've just given it a try, looks very slick, thanks for sharing it.

Is there an issue with the Historical Data?  When I use the tick box "Use all available historical data" I get data from 1871 to 1975.  If I set "Only use data between" 1900-2000 I only get data from 1900 to 1955 displayed?  I had Length of Retirement set to 45 years, changing this variable changes how much data is displayed... Have I missed something or is it broken?

Hey @Shaz_Au ! Thanks for trying it out.

The behavior that you're seeing is expected. Let me explain it a bit more:

The calculator can only run simulations when there is enough historical data to cover the entire retirement length. What this means is that for a retirement that's 45 years long, the latest start year that you will see is 1975 (2020 - 45 years = 1975) when you're using all of the available data. Similarly, if you restrict the years to be 1900-2000, then the latest start year that you'll see will be 2000 - 45 = 1955.

If you click into one of the years that you are seeing (which, again, represents the start year of a particular retirement simulation), you will see more details, and it will show how the portfolio evolves over the duration of the specified retirement. So clicking into, say, the 1975 year from your first calculation will show a retirement spanning 1975 - 2020.

One other thing that might help you understand what is going on is to set the length of retirement to be 1 years. Then you'll see start dates all of the way up until 2019. But, again, 2020 won't be displayed because if that one-year retirement started in January 2019 then it ended in January 2020.

Does that help clarify things?

I was actually thinking about this a week ago. I feel like analysis that I do is somewhat flaws because it is not including those years, some of which are most likely going to be failures in my plans (2000,2001,2002,2007). This is how all calculators work, not just yours, but it would be nice to have an idea on those. One idea that I was thinking was a box that would fill in historical data for returns and inflation for the years that we do not have data for. For example, on a 30 year time horizon and that boxed checked. The year 2000 scenario would use 2000-2020 actual data and then from 2021-2030 it would use the historical average (or even a user input number) for returns and inflation. Thoughts?

swashbucklinstache

  • Pencil Stache
  • ****
  • Posts: 630
  • Location: Midwest U.S.
Re: FI Calc: a new retirement calculator
« Reply #18 on: April 26, 2020, 08:11:08 AM »
I've just given it a try, looks very slick, thanks for sharing it.

Is there an issue with the Historical Data?  When I use the tick box "Use all available historical data" I get data from 1871 to 1975.  If I set "Only use data between" 1900-2000 I only get data from 1900 to 1955 displayed?  I had Length of Retirement set to 45 years, changing this variable changes how much data is displayed... Have I missed something or is it broken?

Hey @Shaz_Au ! Thanks for trying it out.

The behavior that you're seeing is expected. Let me explain it a bit more:

The calculator can only run simulations when there is enough historical data to cover the entire retirement length. What this means is that for a retirement that's 45 years long, the latest start year that you will see is 1975 (2020 - 45 years = 1975) when you're using all of the available data. Similarly, if you restrict the years to be 1900-2000, then the latest start year that you'll see will be 2000 - 45 = 1955.

If you click into one of the years that you are seeing (which, again, represents the start year of a particular retirement simulation), you will see more details, and it will show how the portfolio evolves over the duration of the specified retirement. So clicking into, say, the 1975 year from your first calculation will show a retirement spanning 1975 - 2020.

One other thing that might help you understand what is going on is to set the length of retirement to be 1 years. Then you'll see start dates all of the way up until 2019. But, again, 2020 won't be displayed because if that one-year retirement started in January 2019 then it ended in January 2020.

Does that help clarify things?

I was actually thinking about this a week ago. I feel like analysis that I do is somewhat flaws because it is not including those years, some of which are most likely going to be failures in my plans (2000,2001,2002,2007). This is how all calculators work, not just yours, but it would be nice to have an idea on those. One idea that I was thinking was a box that would fill in historical data for returns and inflation for the years that we do not have data for. For example, on a 30 year time horizon and that boxed checked. The year 2000 scenario would use 2000-2020 actual data and then from 2021-2030 it would use the historical average (or even a user input number) for returns and inflation. Thoughts?
This is a complicated problem that all of these calculators must examine in some way (including truncating like this one does which is the easiest way to code it), but one worth thinking about. If you read EarlyRetirementNow's safe withdrawal rate series you can see that they've done this experiment you described (via spreadsheets) to get a lot more data. It's useful, particularly since this is the most recent and probably most relevant data.

A thing to consider though, is that you might want a way to tell the user / weigh results based on e.g. "95% of this run's results are using averages, not actuals" because as we all know that makes a huge difference. I.e. if you started a simulation retiring in 2017, 27 of the 30 (n, really) years or whatever from that run will be historical average and it's pretty straightforward to say it will succeed with 7% real returns and 4% withdrawals every year since you're skipping sequence of returns risk. Once you move away from "these actual returns that happened in this actual order" you're on a spectrum between all-actuals and monte carlo.

I think my preferred way to do this is, though I haven't thought too much, done the arithmetic, nor had any coffee today, is a hybrid approach:
1) if you have a full 30 years use those 30 years. e.g. 1900-1929. If this fails, it fails, if it passes, it passes. Add 1 or 0 to the numerator, and 1 to the denominator to calculate "% of times these inputs fail."
2) if you only have x (x < 30) years use those x years then pull every (30 - x) year segment and run the simulation out to 30 years and use results from that. Separate from your main "% of times these inputs fail" add up the percentage of simulations that pass or fail here. Add that number as a percentage of 1 to the global numerator, and 1 to the global denominator* to calculate the "% of times these inputs fail."**
An example:
You want to include the data from 1995-2019, but you're missing 5 years, so you can't know if the 1995 start year is a pass or a fail so you can't contribute a 1 or 0 to the numerator. Have a sub-calculation aimed at saying "if you have 1995 results for the first 25 years*** of retirement, what percentage of the time would you have failed in the last 5 years?****". Do that by modeling 1995-2019 then 1900-1904. Repeat using 1901-1905. etc. Looks like 97% of those 25 + 5 year models pass? Add 0.97 to the global numerator (so not 1 or 0, 0.97 to reflect uncertainty).

That makes the global success rate a little harder to interpret or reverse engineer, but maybe it bridges the gap between assumptions of independence of monte carlo simulations and the non-independence of the real world? In my head I guess I'm assuming you won't get a 5 year run of returns like 1929, 2008, 1929, 1929, 2008 and by bucketing into x year buckets we avoid that monte carlo result structurally while also providing a more realistic model than "6.97% real returns 5 years in a row" which is also very unlikely (although much less meaningfully unlikely than the other example in this paragraph).

* should this be weighted somehow? I don't know enough about this to answer the question of "how much should I care about this run given that x (or y or z) of these years didn't actually happen in this order".
** I haven't actually thought this through enough. I'm getting a nagging feeling that this is going to be arithmetically the same as 'use the average return rate for those years' making this all a waste of time =).
*** imo we can basically ignore this problem usually, because SORR tells us that you usually know in the first 10 years if you're going to fail or not. I think it is worth thinking this through though for people who want to model e.g. a large lump sum payment 15 years into retirement (kid goes to college, buying kid a house etc.). Even still, this is in danger of dipping into way too small to matter territory.
**** naturally of course this is kind of the same of truncating, just truncating at one level more recursive, so maybe there's not much value here. I.e. you're searching only for complete 5 year periods so you're not counting any of the years from 2015-2019. I guess that's better than ignoring 1995-2019.

In conclusion, this sounds like a lot of work for not much gain and might also have been covered in the ERN series above anyway =).
« Last Edit: April 26, 2020, 08:50:23 AM by swashbucklinstache »

Blindsquirrel

  • Pencil Stache
  • ****
  • Posts: 690
  • Age: 6
  • Location: Flyover country
Re: FI Calc: a new retirement calculator
« Reply #19 on: April 26, 2020, 08:18:46 AM »
   Would love to see real estate investment options added. A bunch of folks have between a few and a whole bunch of properties to fund retirement.

swashbucklinstache

  • Pencil Stache
  • ****
  • Posts: 630
  • Location: Midwest U.S.
Re: FI Calc: a new retirement calculator
« Reply #20 on: April 26, 2020, 08:41:14 AM »
To add further ideas:
1) incorporating other features of popular calculators like graphing make a lot of sense as you get there =).
2) A down the road thing might be allowing users to customize the color coding - yellow for you might mean "money left at the end, but not much" and for me I might want to model it with yellow to mean "you've dropped below 75% of your inflation-adjusted stash" a.k.a. adjust the definition of failure. This gets away from the trinity study mindset but drifts towards real-world use of the calculator. Read through ERN to get a better sense for this (and for why things like "i'll just get a part time job if my stash drops below X%" aren't as great as they sound). It also blends the line between calculator and something more than that, e.g. the portfolio visualizer website.
3) This one depends on the core intention of the calculator. If this calculator exists to help people see how much they can withdraw each year, ignore this. If instead it exists to help them estimate how successful they'll be in retirement, I think we can do more.
[motivation]
In general these calculators are all built around entering your inputs and implicitly dealing with the 50%+ uncertainty inherit in modeling real life. That's why stressing while aiming for 100% success rates can be kind of silly - capital gains taxes might go up 10%, you might decide to add x$ in expense, maybe a war happens and everything changes etc. and all that calculation is for naught kind of thing. That said, they still have value because people have trouble envisioning long term stock returns and how much those matter for outcomes when withdrawing, and we can "server-side" model that helpfully because they are global/non-personal. However, none of these calculators really go any further on the spending side. Users come to the table with assumptions, but can we helpfully "server-side" model scenarios reflecting real life?
[/motivation]
All of this is non-vanilla of course and getting deep into too many features territory. But there might be simple things we could look at, such as asking people to input their previous 5 years of expenses and then model various scenarios based on that rather than just a simple mean - if I have 3 straight expensive years 5 years into retirement in 1929 that matters right? Can't we do better than "no one knows, just use the average"? In some ways that's the counterpart to the "7% returns means 7% SWR" argument on the savings side. Sequence-of-spending-risk (SOSR) matters (though it matters much less). "Use a buffer" is fine, but how much buffer? what if users don't think to include a buffer? Can we tell them "your mean withdrawal rate works in 87% of scenarios. If you get 30th percentile expenses results, it works in 32% of scenarios" and is there value in doing so?

On the "they can model that themselves with the inputs" side of things:
Certainly, but can we help? Maybe we could model real-life spending where x% of the years, distributed uniformly, someone has an unexpected one time x% increase in spending. Or maybe most people's spending goes up in their 40s and 50s, down from 70-80, and back up from 95-100. Of course, people can enter all of this themselves, but maybe a simple "real life population spending simulation" checkbox might be helpful to do this on the "server side" and protect ignorant users - no buffer, no black swan expenses etc. while making it easier for sophisticated users to model (instead of making them manually add 2 expensive years and run it for e.g. year 1 & year 2, then year 1 & year 3, etc.).
« Last Edit: April 26, 2020, 08:59:35 AM by swashbucklinstache »

tk2356

  • 5 O'Clock Shadow
  • *
  • Posts: 51
Re: FI Calc: a new retirement calculator
« Reply #21 on: April 26, 2020, 11:05:33 AM »
Love it!!! The only add-on thing I recommend is being able to adjust for taxes, so we can adjust for higher federal/state/city tax rates as appropriate (especially given all the deficit spending going on now).
« Last Edit: April 26, 2020, 11:07:51 AM by tk2356 »

jamesplease

  • 5 O'Clock Shadow
  • *
  • Posts: 57
Re: FI Calc: a new retirement calculator
« Reply #22 on: April 26, 2020, 11:57:10 AM »
Thanks for all of the thoughtful discussion, everyone!

I was actually thinking about this a week ago. I feel like analysis that I do is somewhat flaws because it is not including those years, some of which are most likely going to be failures in my plans (2000,2001,2002,2007). This is how all calculators work, not just yours, but it would be nice to have an idea on those. One idea that I was thinking was a box that would fill in historical data for returns and inflation for the years that we do not have data for. For example, on a 30 year time horizon and that boxed checked. The year 2000 scenario would use 2000-2020 actual data and then from 2021-2030 it would use the historical average (or even a user input number) for returns and inflation. Thoughts?

I've been thinking about this, too. I think it's OK to use averages. In fact – and you may already know this – William Bengen (who invented this style of retirement planning analysis afaik) did this in his original study for some of the retirement durations (he describes this in "Appendix: Assumptions of Computations of Portfolio Values" in "Determining Withdrawal Rates Using Historical Data" - William P. Bengen, 1994).

I agree with @swashbucklinstache that incorporating this steps the calculator in a direction toward becoming a Monte Carlo calculator. You suggested adding a full Monte Carlo option earlier, and I think that is a great idea, so I'm not sure if it makes sense to add this partial option. Does it provide much more value over a full Monte Carlo option? Would it make the UI overly complicated? I'm undecided right now, but I absolutely think it's worth considering further. Right now I'd say I'm leaning in the direction of having all 3 options:

- real data only
- real data + averages to fill in the gaps
- full Monte Carlo

A thing to consider though, is that you might want a way to tell the user / weigh results based on e.g. "95% of this run's results are using averages, not actuals" because as we all know that makes a huge difference.

Completely agree. If the results ever included average data, then that would need to be clearly stated.

I think my preferred way to do this is, though I haven't thought too much, done the arithmetic, nor had any coffee today, is a hybrid approach:

I really appreciate you taking the time to write out this algorithm in such detail! Thank you! I'm going to sit down in a bit and walk through it really make sure I fully understand it before giving a reply. I'll let you know if I have any questions.

   Would love to see real estate investment options added. A bunch of folks have between a few and a whole bunch of properties to fund retirement.

Great idea, @Blindsquirrel ! I'll add this to the todo list. Thank you!

1) incorporating other features of popular calculators like graphing make a lot of sense as you get there =).

What kinds of graphs would you like to see? Other than the graphs that currently exist (portfolio over time and withdrawals over time), I was thinking of adding one to show the stock market performance over the period. i.e.; a chart showing how $1,000 that is 100% invested in the S&P 500 changes over the retirement, with no withdrawals/additions to it (kind of like Vanguard's performance charts for its funds).

At the moment I'm not considering adding in a graph that shows the portfolio values of the simulations on top of one another. I'm not really sure what information those graphs provide, but I'm open to hearing how others use that particular graph if anyone feels strongly that it should be a part of FI Calc!

2) A down the road thing might be allowing users to customize the color coding - yellow for you might mean "money left at the end, but not much" and for me I might want to model it with yellow to mean "you've dropped below 75% of your inflation-adjusted stash" a.k.a. adjust the definition of failure. This gets away from the trinity study mindset but drifts towards real-world use of the calculator. Read through ERN to get a better sense for this (and for why things like "i'll just get a part time job if my stash drops below X%" aren't as great as they sound). It also blends the line between calculator and something more than that, e.g. the portfolio visualizer website.

Yeah! I love this idea, and it's been the long-term vision for the color-coded years. It's definitely a down-the-road thing, but I'd love for users to be able to write their own little "algorithms" to color code years according to the things that they're interested in. Although I'm skeptical that I could ever cover all of the custom analysis folks do in spreadsheet apps, I think I might be able to get a good chunk of those use cases in the app? It's a cool feature to think about.

3) This one depends on the core intention of the calculator.

This is an interesting idea. It sounds kind of like Monte Carlo, but on the spending side rather than the market performance side? Is that right? I'll need to think more about it. If you have more thoughts on it over time ya gotta keep me updated! I'm definitely curious to hear more.

Love it!!! The only add-on thing I recommend is being able to adjust for taxes, so we can adjust for higher federal/state/city tax rates as appropriate (especially given all the deficit spending going on now).

Absolutely, this is a great idea @tk2356 . My main concern is getting the tax code for all 50 states + the federal government for as many years as possible. If I spend a long time reading the tax docs that they publish, I can usually figure them out, but doing it 51 times across 100+ years (or however many years are available)...that might take me ages, and I'm worried I would make some mistakes. I need to do more research into the feasibility of implementing this feature, but it is a really good idea. Maybe it's not even as complicated as I'm thinking. Either way, I'll add it to the list!



Other things I'm working on:

- Alternative withdrawal schedules. Right now, it is set to 1 year, but I am working on rewriting the algorithm to support monthly, quarterly, and twice-yearly.
- Customizing the CSV export columns. i.e.; you can add/remove columns based on what you find useful. These settings would be saved, so once you configure it once you don't have to change them again (unless you want to). In the distant future you might even be able to write calculations for custom columns (using a similar system to the custom color-coded years described above).
- an optional summary CSV export. Rather than year-by-year results, you would just see 1 row for each year.

I'm also likely to add a "Guides" section that goes into extreme detail how all of the algorithms in the calculator work.

One example of a guide could describe what happens in a simulation year. Bengen's analysis worked like this:

1. Year starts with a given portfolio value
2. Adjust portfolio for gains/losses
3. Withdrawal occurs based on initial portfolio value
4. Portfolio is rebalanced

FI Calc swaps 2 and 3, but there's no way for anyone to know that unless they're reading this thread. So I want to write that in a guide somewhere. Also, I think it might be interesting in an advanced setting to allow users to customize this order of things.

tk2356

  • 5 O'Clock Shadow
  • *
  • Posts: 51
Re: FI Calc: a new retirement calculator
« Reply #23 on: April 26, 2020, 12:07:55 PM »
I was thinking more along the lines of an "average tax rate" like on this calculator: https://engaging-data.com/will-money-last-retire-early/

Then, the income listed will be pre-tax, and the individuals can set the tax rate at what's appropriate to them. This allows someone to see how far one's stache goes (tax-wise) in NYC versus, say, Texas or Florida.

I'm not sure how difficult that is to include though!

BikeFanatic

  • Pencil Stache
  • ****
  • Posts: 826
Re: FI Calc: a new retirement calculator
« Reply #24 on: April 26, 2020, 12:10:07 PM »
I tried out the calculator and just want to confirm, the  extra income section that is extra yearly income not monthly correct?

Thank you for this.

jamesplease

  • 5 O'Clock Shadow
  • *
  • Posts: 57
Re: FI Calc: a new retirement calculator
« Reply #25 on: April 26, 2020, 12:22:20 PM »
I was thinking more along the lines of an "average tax rate" like on this calculator: https://engaging-data.com/will-money-last-retire-early/

Then, the income listed will be pre-tax, and the individuals can set the tax rate at what's appropriate to them. This allows someone to see how far one's stache goes (tax-wise) in NYC versus, say, Texas or Florida.

I'm not sure how difficult that is to include though!

Oh nice, that makes sense. Totally doable. Added to the todo list!

I tried out the calculator and just want to confirm, the  extra income section that is extra yearly income not monthly correct?

Thank you for this.

That's correct, everything in the calculator is yearly. I'll update the extra income/withdrawal sections to make this more clear.

Thanks @BikeFanatic !

Edit: I updated the "additional income" help dialog to explicitly state that these are yearly sums. I also updated the add/edit income dialog to label the input as "Annual Amount" rather than "Amount". I hope that helps clarify things in the app, @BikeFanatic ! Let me know what you think.
« Last Edit: April 26, 2020, 12:35:09 PM by jamesplease »

Steeze

  • Handlebar Stache
  • *****
  • Posts: 1205
  • Age: 36
  • Location: NYC Area of Earth
Re: FI Calc: a new retirement calculator
« Reply #26 on: April 26, 2020, 04:41:19 PM »
I just messed around with this thing for the better part of an hour.

Things I wist I had:
  • Reoccurring withdraws (ie. new car every 10 years)
  • Visual of which year is the "best" year and more importantly "worst" year
  • Ability to set a floor on the portfolio value which causes a "Fail" or "near failure" - if I start with 1,000,000 and get below 500,000 I am having a panic attack and getting a job.
  • Wasn't clear how the income / withdraws were changing the results, had to put in very large values to 'see' the difference. Maybe a less dedicated person wouldn't take the time.
  • ability to adjust portfolio

Also noted that if I had a "max/min" set from one withdraw style and switched to another style it would keep those max/min unless I manually went back and unchecked it. Probably should automatically un-check when the combo box value changes.

Looks good - congrats

Shaz_Au

  • 5 O'Clock Shadow
  • *
  • Posts: 59
  • Location: Australia
Re: FI Calc: a new retirement calculator
« Reply #27 on: April 26, 2020, 05:32:54 PM »
I've just given it a try, looks very slick, thanks for sharing it.

Is there an issue with the Historical Data?  When I use the tick box "Use all available historical data" I get data from 1871 to 1975.  If I set "Only use data between" 1900-2000 I only get data from 1900 to 1955 displayed?  I had Length of Retirement set to 45 years, changing this variable changes how much data is displayed... Have I missed something or is it broken?

Hey @Shaz_Au ! Thanks for trying it out.

The behavior that you're seeing is expected. Let me explain it a bit more:

The calculator can only run simulations when there is enough historical data to cover the entire retirement length. What this means is that for a retirement that's 45 years long, the latest start year that you will see is 1975 (2020 - 45 years = 1975) when you're using all of the available data. Similarly, if you restrict the years to be 1900-2000, then the latest start year that you'll see will be 2000 - 45 = 1955.

If you click into one of the years that you are seeing (which, again, represents the start year of a particular retirement simulation), you will see more details, and it will show how the portfolio evolves over the duration of the specified retirement. So clicking into, say, the 1975 year from your first calculation will show a retirement spanning 1975 - 2020.

One other thing that might help you understand what is going on is to set the length of retirement to be 1 years. Then you'll see start dates all of the way up until 2019. But, again, 2020 won't be displayed because if that one-year retirement started in January 2019 then it ended in January 2020.

Does that help clarify things?
Yes, thank you for your reply, a typical "ID Ten T" (IDIOT) error! Exactly as you thought I didn't recognise the year represented the start year.

jamesplease

  • 5 O'Clock Shadow
  • *
  • Posts: 57
Re: FI Calc: a new retirement calculator
« Reply #28 on: April 26, 2020, 07:04:36 PM »
I just messed around with this thing for the better part of an hour.

Things I wist I had:

This is awesome! Thank for you the detailed list!

  • Reoccurring withdraws (ie. new car every 10 years)

Makes sense. I also thought about adding this. I'm still open to it; I just want to be mindful that the add/edit dialog for these things doesn't get too complicated/confusing. I'll keep thinking about it and let you know if I come up with a way to add it in.

  • Visual of which year is the "best" year and more importantly "worst" year

I definitely want to add more analytics to the results page. This is a cool idea, I'll jot it down. What do you think might factor into what determined the best/worst year?

One idea is end portfolio value. Another is average spending over the retirement. Others might be whether the portfolio dipped or not. Maybe a custom algorithm that factors all of these in, and maybe more, to get some kind of "score"? I'm just spitballing here – did you have something specific in mind with this suggestion?

  • Ability to set a floor on the portfolio value which causes a "Fail" or "near failure" - if I start with 1,000,000 and get below 500,000 I am having a panic attack and getting a job.

Agreed. This will be added (although it might take some time)

Quote
  • Wasn't clear how the income / withdraws were changing the results, had to put in very large values to 'see' the difference. Maybe a less dedicated person wouldn't take the time.

I also noticed that lot of the withdrawal strategies are remarkably resilient to a couple of big purchases here and there, so yeah, I totally hear you on this one. Maybe there's an indicator I can add to the year pills that represents additional spending or income for that year, so that it's more easy to dig into the years when those withdrawals/income occur. (I just realized this suggestion makes no sense lol)

Quote
  • ability to adjust portfolio

Absolutely. I'm working on this now, and support for bonds is nearly done.

Quote
Also noted that if I had a "max/min" set from one withdraw style and switched to another style it would keep those max/min unless I manually went back and unchecked it. Probably should automatically un-check when the combo box value changes.

Agreed, I'll update this.

Quote
Looks good - congrats

Thank you!

Yes, thank you for your reply, a typical "ID Ten T" (IDIOT) error! Exactly as you thought I didn't recognise the year represented the start year.

Ha, nah, you're not an idiot. All of these calculators have a steep learning curve, because what they're doing is inherently complicated. This just indicates to me that I have more work to do on my end to make the information more clear.

I'm glad we got it sorted out, though ✌️
« Last Edit: April 27, 2020, 12:07:11 PM by jamesplease »

Steeze

  • Handlebar Stache
  • *****
  • Posts: 1205
  • Age: 36
  • Location: NYC Area of Earth
Re: FI Calc: a new retirement calculator
« Reply #29 on: April 27, 2020, 12:38:11 PM »

I definitely want to add more analytics to the results page. This is a cool idea, I'll jot it down. What do you think might factor into what determined the best/worst year?

One idea is end portfolio value. Another is average spending over the retirement. Others might be whether the portfolio dipped or not. Maybe a custom algorithm that factors all of these in, and maybe more, to get some kind of "score"? I'm just spitballing here – did you have something specific in mind with this suggestion?


My initial thought was to have a gradient color scale on the year boxes that would visually express best to worst instead of a static green/yellow/red. That way if they all pass you still have an idea of what the trouble years were, and if you have multiple red you know which is the worst year.

Probably a multi-factor approach is most appropriate as you suggested. Me personally, I wasn't concerned with the ending portfolio amount - I was looking at how many consecutive years I was hitting my minimum withdraw amount, and what the minimum portfolio value was as % of initial value. My thought being that if I have a year or two when I live on a tight budget then that isn't too bad - but if it is 10 years in a row that is a structural problem with my plan. 10 years spaced out is way better than 10 years in a row. - I could tell my wife, "we can't go visit your parents this year" ... but I can't tell her, "we can't go visit your parents this decade!"

ETA - Your average casual user probably only cares about ending portfolio amount.

I like the average/median withdraw stats too - that would be helpful when comparing different withdraw strategies.

jamesplease

  • 5 O'Clock Shadow
  • *
  • Posts: 57
Re: FI Calc: a new retirement calculator
« Reply #30 on: April 27, 2020, 04:25:31 PM »
My initial thought was to have a gradient color scale on the year boxes that would visually express best to worst instead of a static green/yellow/red. That way if they all pass you still have an idea of what the trouble years were, and if you have multiple red you know which is the worst year.

Probably a multi-factor approach is most appropriate as you suggested. Me personally, I wasn't concerned with the ending portfolio amount - I was looking at how many consecutive years I was hitting my minimum withdraw amount, and what the minimum portfolio value was as % of initial value. My thought being that if I have a year or two when I live on a tight budget then that isn't too bad - but if it is 10 years in a row that is a structural problem with my plan. 10 years spaced out is way better than 10 years in a row. - I could tell my wife, "we can't go visit your parents this year" ... but I can't tell her, "we can't go visit your parents this decade!"

ETA - Your average casual user probably only cares about ending portfolio amount.

I like the average/median withdraw stats too - that would be helpful when comparing different withdraw strategies.

This is awesome, thanks for sharing it. The current analysis is definitely leaning toward ending portfolio values, primarily because the Bengen/Trinity study do, as does cFIREsim, but a goal of mine is to allow folks to be able to customize the app to focus on the things that they care about. What you described here seems totally reasonable, so I'm going to note is as a use case that I want the app to support.

Realistically, it'll probably be awhile before I can add this kind of thing as I still have some fundamentals to add, like more portfolio options.

Thanks for writing that up for me!

markbike528CBX

  • Handlebar Stache
  • *****
  • Posts: 1906
  • Location: the Everbrown part of the Evergreen State (WA)
Re: FI Calc: a new retirement calculator
« Reply #31 on: April 27, 2020, 06:12:04 PM »
PTF

As a color confused person, a more distinctive difference between the not-so-good and the awful start years would be nice.

Maybe a brighter not-so-good notation.  This might also help in mobile usage in brighter ambient light.
 

jamesplease

  • 5 O'Clock Shadow
  • *
  • Posts: 57
Re: FI Calc: a new retirement calculator
« Reply #32 on: April 27, 2020, 11:59:26 PM »
PTF

As a color confused person, a more distinctive difference between the not-so-good and the awful start years would be nice.

Maybe a brighter not-so-good notation.  This might also help in mobile usage in brighter ambient light.

Great feedback. Question: do you have a particular type of color blindness, or do you see all colors and it's just that you find it difficult to distinguish between those two colors in the app right now?
« Last Edit: April 28, 2020, 12:29:53 AM by jamesplease »

stylesjl

  • 5 O'Clock Shadow
  • *
  • Posts: 68
  • Age: 34
  • Location: Sydney, Australia
Re: FI Calc: a new retirement calculator
« Reply #33 on: April 28, 2020, 01:04:28 AM »
An idea that might be of interest but I have noticed that many calculators don't take into account the notion of Means Tested Income/Assets. Basically if the stash is reduced below a certain level the Retiree might have the right to a certain amount of income from the government.

I know this is the case in Australia where an old age pension is provided after age 66 but it decreases the more your income increases. I suppose it might be a bit complex to model though. So maybe something like:

If Assets less than X, additional income increases by Y.
But also
If withdrawal from assets less than X, boost Additional Income by fraction Y of reduced income below the threshold (X) up to maximum Z (where income does not increase further).

markbike528CBX

  • Handlebar Stache
  • *****
  • Posts: 1906
  • Location: the Everbrown part of the Evergreen State (WA)
Re: FI Calc: a new retirement calculator
« Reply #34 on: April 28, 2020, 11:22:42 AM »
PTF

As a color confused person, a more distinctive difference between the not-so-good and the awful start years would be nice.

Maybe a brighter not-so-good notation.  This might also help in mobile usage in brighter ambient light.

Great feedback. Question: do you have a particular type of color blindness, or do you see all colors and it's just that you find it difficult to distinguish between those two colors in the app right now?

My formal diagnosis is red-green.  I can see, identify high saturation colors including fire engine red or Kelly green.  Pastels are a big source of confusion, although I can see the color (not just grey).
Mom found out when I was in kindergarten, and the teacher and I had a disagreement on the color of a man's overall I was drawing. I said blue, she said purple.

I still have my last school art from 9th grade. I explained my issues to that teacher, who seemed ok with it.

Since you are using a black background, just turning up the RGB or hex values on the "yellow" would be good enough for me.  YMMV

I usually only get to the first page of the Ishihara test. https://www.colour-blindness.com/colour-blindness-tests/ishihara-colour-test-plates/

On well kept, newer paper copies of the test, sometimes I can guess correctly on other pages.


« Last Edit: April 28, 2020, 11:29:59 AM by markbike528CBX »

jamesplease

  • 5 O'Clock Shadow
  • *
  • Posts: 57
Re: FI Calc: a new retirement calculator
« Reply #35 on: April 28, 2020, 07:27:29 PM »
My formal diagnosis is red-green.  I can see, identify high saturation colors including fire engine red or Kelly green.  Pastels are a big source of confusion, although I can see the color (not just grey).
Mom found out when I was in kindergarten, and the teacher and I had a disagreement on the color of a man's overall I was drawing. I said blue, she said purple.

I still have my last school art from 9th grade. I explained my issues to that teacher, who seemed ok with it.

Since you are using a black background, just turning up the RGB or hex values on the "yellow" would be good enough for me.  YMMV

I usually only get to the first page of the Ishihara test. https://www.colour-blindness.com/colour-blindness-tests/ishihara-colour-test-plates/

On well kept, newer paper copies of the test, sometimes I can guess correctly on other pages.

Whoa, this is incredibly useful. Thank you so much for writing all of this up for me!

I'd love to get your thoughts on this idea I have: I'm not sure if one set of colors will provide the best experience for everybody, and I want this app to be the best experience for everybody. So rather than pick one set up of colors for everyone, what I can do is create different color schemes, so there will be an option that looks the best for, say, red-green. Once you set that once, the setting will be stored in your browser so you'll never need to set it again.

What do you think of that? If you agree that it could work, I can add it the app and then I'd love to get your feedback on the color choices.

Thanks again for sharing such useful feedback, @markbike528CBX !

An idea that might be of interest but I have noticed that many calculators don't take into account the notion of Means Tested Income/Assets. Basically if the stash is reduced below a certain level the Retiree might have the right to a certain amount of income from the government.

I know this is the case in Australia where an old age pension is provided after age 66 but it decreases the more your income increases. I suppose it might be a bit complex to model though.

This seems doable. One thing to note is I am focusing on the US use-case right now (since the stock market data that I have is US-based, I am in the US, and I also have limited time to add features 😬), but I'm going to add a note to myself to revisit this idea. Thanks for sharing!
« Last Edit: April 28, 2020, 07:29:22 PM by jamesplease »

sakura

  • 5 O'Clock Shadow
  • *
  • Posts: 35
Re: FI Calc: a new retirement calculator
« Reply #36 on: April 28, 2020, 10:26:44 PM »
Beautiful job! Congratulations and thanks for making it available to us!

markbike528CBX

  • Handlebar Stache
  • *****
  • Posts: 1906
  • Location: the Everbrown part of the Evergreen State (WA)
Re: FI Calc: a new retirement calculator
« Reply #37 on: April 28, 2020, 11:09:28 PM »
My formal diagnosis is red-green.  I can see, identify high saturation colors including fire engine red or Kelly green.  Pastels are a big source of confusion, although I can see the color (not just grey).
Mom found out when I was in kindergarten, and the teacher and I had a disagreement on the color of a man's overall I was drawing. I said blue, she said purple.

I still have my last school art from 9th grade. I explained my issues to that teacher, who seemed ok with it.

Since you are using a black background, just turning up the RGB or hex values on the "yellow" would be good enough for me.  YMMV

I usually only get to the first page of the Ishihara test. https://www.colour-blindness.com/colour-blindness-tests/ishihara-colour-test-plates/

On well kept, newer paper copies of the test, sometimes I can guess correctly on other pages.

Whoa, this is incredibly useful. Thank you so much for writing all of this up for me!

I'd love to get your thoughts on this idea I have: I'm not sure if one set of colors will provide the best experience for everybody, and I want this app to be the best experience for everybody. So rather than pick one set up of colors for everyone, what I can do is create different color schemes, so there will be an option that looks the best for, say, red-green. Once you set that once, the setting will be stored in your browser so you'll never need to set it again.

What do you think of that? If you agree that it could work, I can add it the app and then I'd love to get your feedback on the color choices.

Thanks again for sharing such useful feedback, @markbike528CBX !
If the colors are right next to each other, it is clearer.  The problem is if the are few and scattered various colors (success can be confusing?).
I tried grey scale and then the very dark and the OK (black) blend too much.
If you make the lightest color too light then you blend with the button color.
I checked out the colors
ca1010 (failed) and B36300 (warning/near fail) at https://htmlcolorcodes.com/color-picker/ and they have similar attributes (RGB, CYMK values)
mmmm...... not sure what I can suggest....

Not so relevant to the current discussion but a good thinking book, and a Great coffee table book for geeks is:
The Visual Display of Quantitative Information
https://www.edwardtufte.com/tufte/books_vdqi

jamesplease

  • 5 O'Clock Shadow
  • *
  • Posts: 57
Re: FI Calc: a new retirement calculator
« Reply #38 on: May 24, 2020, 12:40:11 PM »
Lots of updates since my last post here:

- the results page now show some statistics on your portfolio and withdrawals (more to come!)
- bonds are supported now
- you can choose to rebalance your portfolio, as well as specify the frequency of rebalancing
- you can specify a glide path. Right now, only a linear glide path is supported, but I'm working to add more options
- many more withdrawal strategies
- lots of guides have been written that explain how the calculator works. More are on the way

   Would love to see real estate investment options added. A bunch of folks have between a few and a whole bunch of properties to fund retirement.

@Blindsquirrel , if you have time, I'm curious to hear how you're imagining real estate properties to work in this calculator. One way is that you could specify how much you expect to earn in cash flow from the properties. If this is all that you need, then the Additional Income feature may support it? Or do you think other features specific to real estate could be useful?

Also, if anyone else has real estate and would like to see it added to this calculator, I'm curious to hear what you like to see as well!

Goatee Joe

  • 5 O'Clock Shadow
  • *
  • Posts: 64
Re: FI Calc: a new retirement calculator
« Reply #39 on: May 25, 2020, 06:14:24 AM »
Just wanted to say a HUGE thank you, Jamesplease.  Your app is AMAZING!  Thank you so much for sharing it with us.

jamesplease

  • 5 O'Clock Shadow
  • *
  • Posts: 57
Re: FI Calc: a new retirement calculator
« Reply #40 on: May 29, 2020, 12:49:19 AM »
I wouldn't normally post for a single feature, but I've been working toward today's update for weeks now, so I'm really excited about it and want to share it!

You can now configure your glide path. Choose between "evenly", "quickly," or "slowly" to determine the rate at which your assets move from their start allocation values to their end allocation values. The application shows you the different rates in a chart. I've attached an image showing a portfolio that's configuring to rebalance from 80/20 to 50/50 "slowly".

Just wanted to say a HUGE thank you, Jamesplease.  Your app is AMAZING!  Thank you so much for sharing it with us.

Thank you @Goatee Joe ! I appreciate your kind words!

nereo

  • Senior Mustachian
  • ********
  • Posts: 17582
  • Location: Just south of Canada
    • Here's how you can support science today:
Re: FI Calc: a new retirement calculator
« Reply #41 on: May 29, 2020, 04:53:19 AM »
PTF

jamesplease

  • 5 O'Clock Shadow
  • *
  • Posts: 57
Re: FI Calc: a new retirement calculator
« Reply #42 on: May 29, 2020, 09:43:24 AM »
PTF

Hi Nereo! I hope you’re doing well. Is this an acronym? If so I don’t know what it stands for!

themagicman

  • Bristles
  • ***
  • Posts: 401
  • Age: 33
  • Location: Atlanta, GA
Re: FI Calc: a new retirement calculator
« Reply #43 on: May 30, 2020, 06:46:24 AM »
The site has been looking great! I am loving the new changes and the glidepath option! Looking forward to trying out all of the new withdrawal options!

By the way PTF means posting to follow!

jamesplease

  • 5 O'Clock Shadow
  • *
  • Posts: 57
Re: FI Calc: a new retirement calculator
« Reply #44 on: May 31, 2020, 12:48:01 PM »
Two more updates. One small, one big:

Small: Hebeler Autopilot II has been introduced. This is distinct from the Autopilot used in cFIREsim (which is Autopilot I).
Big: you can now share/save simulations. I know a lot of people have wanted this, so I'm glad to finally have it released!

The site has been looking great! I am loving the new changes and the glidepath option! Looking forward to trying out all of the new withdrawal options!

Yooo! @themagicman ! Good to hear from you again :) Thanks for the kind words. I'm curious to know: what feature could I add next that would be most impactful for you? Also, if anyone else wants to chime in feel free. I've got a long to-do list but I'm more motivated when I know someone will use a feature.

By the way PTF means posting to follow!

Oooh, good to know. Thanks for clarifying that for me :)

Raeon

  • 5 O'Clock Shadow
  • *
  • Posts: 90
  • Location: Arizona
  • Comparison is the thief of joy
Re: FI Calc: a new retirement calculator
« Reply #45 on: May 31, 2020, 01:33:48 PM »
Simply wonderful work! Easy to read and input. I especially like the ability to add secondary deposit and withdrawals for set periods of time to account for social security or loans. I can't think of any real suggestions at this point that aren't already on your list. Thank you for building this and sharing!

themagicman

  • Bristles
  • ***
  • Posts: 401
  • Age: 33
  • Location: Atlanta, GA
Re: FI Calc: a new retirement calculator
« Reply #46 on: June 01, 2020, 07:08:35 AM »
Two more updates. One small, one big:

Small: Hebeler Autopilot II has been introduced. This is distinct from the Autopilot used in cFIREsim (which is Autopilot I).
Big: you can now share/save simulations. I know a lot of people have wanted this, so I'm glad to finally have it released!

The site has been looking great! I am loving the new changes and the glidepath option! Looking forward to trying out all of the new withdrawal options!

Yooo! @themagicman ! Good to hear from you again :) Thanks for the kind words. I'm curious to know: what feature could I add next that would be most impactful for you? Also, if anyone else wants to chime in feel free. I've got a long to-do list but I'm more motivated when I know someone will use a feature.


Yeah I was MIA for a while (work got too busy). Hopefully should be getting back normal now.

The most impactful feature for me right now would definitely be a monte carlo simulation aspect to the calculator! I would find that extremely valuable!

jamesplease

  • 5 O'Clock Shadow
  • *
  • Posts: 57
Re: FI Calc: a new retirement calculator
« Reply #47 on: June 01, 2020, 10:19:37 AM »
Simply wonderful work! Easy to read and input. I especially like the ability to add secondary deposit and withdrawals for set periods of time to account for social security or loans. I can't think of any real suggestions at this point that aren't already on your list. Thank you for building this and sharing!

Thanks for the kind words, @Raeon ! I'm glad it's working well for you! If you come up with any features that you'd like to see, or if you find something that could be improved, don't hesitate to send me a message.

Yeah I was MIA for a while (work got too busy). Hopefully should be getting back normal now.

Cool, cool, I'm glad things are chilling out for you over there :)

The most impactful feature for me right now would definitely be a monte carlo simulation aspect to the calculator! I would find that extremely valuable!

Good to know. Even though it's not usable yet, I've been working toward supporting this under-the-hood, and I'm already most of the way toward having it done. I'll put finishing it up on my shortlist of todo's.

nereo

  • Senior Mustachian
  • ********
  • Posts: 17582
  • Location: Just south of Canada
    • Here's how you can support science today:
Re: FI Calc: a new retirement calculator
« Reply #48 on: June 02, 2020, 10:22:13 AM »
First of all, ***thank you*** for making downloadable *.csv files that are import-ready for programs such as R and Matlab.  As a data-wrangler that's been my biggest beef with other retirement calculators (it's takes a lot of data-massaging to do any further analysis).

A few things I would like to see
  • Highlight/focus on years that resulted in failures in the "Results" section.  That's really what people care most about, and it can be enlightening to see under what conditions (e.g. market returns, inflation, SORR) these failures occurred
  • In the 'Results' section generate a single graph with the median return as a thick, red line and the CI from that return as a gray area, and the SD within as a blue area.  That will quickly show how fast a portfolio will grow/shrink with 'average' conditions, as well as the spread throughout the period.

Just my 2¢. 
BTW, as others have said "PTF" means "Posting to Follow".  Basically I did that because I wanted to come back and spend more time looking at your calculator and giving constructive feedback, but I didn't have the time to do a proper job when I first came across your thread. 

BicycleB

  • Walrus Stache
  • *******
  • Posts: 5269
  • Location: Coolest Neighborhood on Earth, They Say
  • Older than the internet, but not wiser... yet
Re: FI Calc: a new retirement calculator
« Reply #49 on: June 02, 2020, 10:55:54 AM »
Thanks for doing this!

Chuckling that I'm posting right after a discussion of PTF. I haven't had time to read all the details yet, am indeed posting so I can easily catch up later. :)

Fwiw, skimming, I was going to ask for downloadable results. It looks like you're doing that already; thumbs up.

If you want a light income stream to cover possible expenses, maybe you could set up a Patreon account for it?