FIREcalc rewrite - suggestions?

dory36

Early-Retirement.org Founder, Developer of FIRECal
Joined
Jun 23, 2002
Messages
1,841
I'm probably going to rewrite some portions of FIREcalc (http://www.early-retirement.org/fire) over the next couple of months or so.

I've had a handful of suggestions, mostly related to clarifying the instructions and explanations, and will be incorporating those.

What would you like to see added or changed?

Dory36
 
Some ideas (some easy, some not):

1) I think the entry fields for the out-year revenue streams are counter-intuitive, but otherwise the calculator is terrific!

2) Even cooler would be a calculator that asked the following:

2a) How old are you & your SO currently?

2b) Whaddya need to live on in today's dollars?

2c) Any out-year revenue streams? If so, how much & when?

2d) How much have you got now? How much can you add per year?

2e) Review & adjust the following defaults: 77/23, 100% SWR, etc, etc.

With that info the calculator could tell the user the following:

Based on actuarial tables (or user-defined drop-dead ages), a 77/23 allocation, etc, etc you:

-will require a nest-egg of $x.xM in today's $$ to allow a 100% SWR of $xx,xxx annually until you meet your maker in 20xx

-you're a bit short, Bunky. At your present rate of savings you'll be able to punch out in another xxx months, with an inflation adjusted nest-egg of $x.xM, to enable a SWR of $xx,xxx (adjusted for inflation) etc

Knowwhatimean?

Cb
 
Wow -- thanks CB!

I had been trying to think about how to make the whole thing more understandable, but hadn't been making progress, as I had been focusing more on the individual items rather than the whole approach, as your suggestions do.

Your thoughts help tremendously! You'll probably recognize your thoughts in the final result.

Dory36
 
First of all thanks for creating the FIRECalc tool and for enhancing it!

Enhancement suggestion: In addition to the existing inflation adjustments, add the ability to specify a specific % (this could be a range from say 0 to 20%). The reason why is because I find that most of my expenses grow at a rate less than CPI/PPI. Health insurance, however is growing a lot faster than CPI/PPI. So it would be great to run through the two groups of expenses seperately in order to potentially fund them differently.
 
1. Please include the best and worst result here, in addition to the average:

The average (mean) portfolio balance following the withdrawal in year xx was $.

2. Allow the calculator to come up with the optimal asset allocation for the assets mentioned, instead of letting people experiment with the amounts.

3. Allow people to input asset allocations for each of the following:
Stocks
TIPS
Commercial Paper
5 Year Treasury
30 Year Treasury


Thanks!!!
 
Good suggestions! #1 and #2 can be done readily with available data, and I'll add them to the list for the next version.

Since the calculator is based on historical results rather than speculation about what might happen, #3 requires data on how any alternative investments performed since 1871 (or would have performed, if it's possible to calculate from existing data, as Intercst did for TIPS).

Dory36
 
I think that FIRECalc is the best calculator that I have seen in terms of its inherent provision for accounting for historical inflation, and its provisions for inputting changes in assets and expenditures. However, I have cautioned in other posts that past market performance does not guarantee future results. In this regard it is especially worth noting that the economic growth that the U.S. economy experienced from 1871 to recently, which was responsible for the generally high real rates of return on financial assets, was virtually unequalled anywhere else in the world at any time in history.

What I'm getting at is that attempting to "fine tune" FIRECalc too much may be counterproductive in that it will create the mistaken impression that it is better than it can possibly be at predicting future returns on financial assets.

Having said that, it would be nice if a couple of other asset categories could be included, such as high yield bonds and REIT's. The problem is, of course, that these asset classes have only been in existence for a couple of decades, and I can't think of a good way to create "synthetic" past returns for them the way that it is possible to do for TIPs.

Anyway, in modifying FIRECalc, please remember the dictum that doctors are supposed to follow: "First, do no harm."
 
Ted is certainly right that "past market performance does not guarantee future results" and about some of the remarkable results seen in the past.

That's why it's important to keep in mind that FIRECalc is a safety-oriented calculator, not one that purports to predict future returns.

It tries to predict what the market will not do, based on what it has never done. Sort of like predicting that a specific runner will not take over 15 minutes to run a mile, based on the fact that the same runner has never taken more than 12 minutes to run a mile, in 130 past races.

That's a whole lot easier to predict than how fast he will actually run the mile!

FIRECalc makes just one assumption: The next 30 years (or so) will not be any worse than the worst performance we've ever seen in this country for a term of the same duration, no matter when it started.  

And FIRECalc asks just one question: Would my withdrawal strategy and asset allocation have survived the worst we've ever seen?

Good years do nothing to improve success in FIRECalc, since a positive portfolio of $1 is treated exactly the same as a portfolio in the billions.

This brings into question the asset allocation exploration idea.  Now we're into looking for the best strategy rather than one that would have survived all the financial disasters of the past 130 years.

I did some preliminary playing around, but the only algorithm I can think of off the top of my head is to optimize for ending portfolio balance. But this would heavily weight those years when inflation was high, and discount those years when inflation was low. That doesn't produce useful information for someone trying to allocate their investments for tomorrow.

Logical: Something that would have worked in each of the past 130 xx year terms has a high probability of working in the 131st xx year term.

Illogical: The strategy that would have produced the best average results in 130  xx year terms will produce the best results in the 131st xx year term.

So, I'm now thinking it's a bad idea to add some search tool for best asset allocation...

Thoughts?

Dory36
 
dory36 asks,

This brings into question the asset allocation exploration idea. Now we're into looking for the best strategy rather than one that would have survived all the financial disasters of the past 130 years.

I did some preliminary playing around, but the only algorithm I can think of off the top of my head is to optimize for ending portfolio balance. But this would heavily weight those years when inflation was high, and discount those years when inflation was low. That doesn't produce useful information for someone trying to allocate their investments for tomorrow.

Logical: Something that would have worked in each of the past 130 xx year terms has a high probability of working in the 131st xx year term.

Illogical: The strategy that would have produced the best average results in 130 xx year terms will produce the best results in the 131st xx year term.

So, I'm now thinking it's a bad idea to add some search tool for best asset allocation...

Thoughts?

------------------------------

There's a whole group of disaffected former TMF posters engaged in just such an exercise over on the www.nofeeboards.com

I'm sure we'll hear about it if anything of value emerges.

intercst
 
In terms of maximizing the probable return, the "best" asset allocation is 100% high risk stocks!

But the "catch," of course, is that the higher the probable return, the higher the "risk" of loss -- which for retirees could be devastating. Thus, the challenge for most retirees is to select a portfolio mix in which the "reasonable worst case" scenario would allow their last dollar to be spent on their funeral.

The past results of different hypothetical asset mixes that FIRECalc analyzes presumably provide a reasonable means of estimating the probability that a particular asset mix will finance a particular level of real (inflation adjusted) expenditure for a particular number of years in the future. But the returns provided by FIRECalc, in my opinion, are not inherently "conservative," in that they are based on a period of extraordinary economic growth. So if FIRECalc says that a particular strategy would have succeeded in 99 percent of past periods, I would guess that its probability of future success would be more like, say, 85%. (The exception is that a portfolio of 100% TIPS would have nearly a 100% chance of providing a real rate of return equal to their current pre-inflation yield.)

Fortunately, retirees today have the option of diversifying their assets more than in the past, in a way that it is reasonable to believe will reduce downside risk.
TIPS are a particularly safe bet, and REITs and even high yield bonds have the likelihood of delivering higher total returns than conventional bonds, with less risk than stocks.

I think that the best planning strategy is to test various allocations between stocks and bonds with FIRECalc, and then to partially substitute some of these other assets for stocks and bonds in a person's real portfolio, realizing that there is no "ideal" asset allocation that can be predicted in advance.
 
Please include more options on the re-balancing period. Currently, the calculator re-balances annually. I have seen two sources that suggest that less frequent re-balancing is a better idea.

If you wanted to get fancy, you could introduce all sorts of thresholds (e.g., the portfolio got out of balance by xx% or the total portfolio increased or decreased by yy% from the previous year). But the more basic...re-balance every zz years...kind of re-balancing is the most important.

Thanks. Have fun.

John R.
 
I see danger here. Have you heard of paralysis by analysis? I never use anything more advanced than a
pencil and the back of an envelope. Keep it simple
 
The worst feature of safe withdrawal rate calculators in general is how they treat withdrawals. The same withdrawal amount (in real dollars) is taken every year. This is the equivalent of dollar cost averaging...but during distribution instead of accumulation. In a sideways market this would normally reduce the average cost of shares sold by 5% to 10%.

In real life, you have four or five or more years of cash equivalents available. To a limited extent, it makes sense to reduce withdrawals when the market has fallen.

A constant annual withdrawal rate is great for academic purposes. It makes a study transparent. You can understand why things happen. With a real life portfolio it is costly.

There is an opportunity along these lines. Quite a few retirees have already adopted a similar approach. They are holding on to their stocks and drawing down their cash equivalents as long as possible in the hope that stocks will do better...eventually.

Have fun.

John R.
 
I see danger heRe: FIREcalc rewrite - suggestions?

johngalt
I see danger here. Have you heard of paralysis by analysis? I never use anything more advanced than a
pencil and the back of an envelope. Keep it simple


Our thoughts are not very different along these lines.

The very nature of any safe withdrawal rate calculator means that we are engaged in a form of datamining. It is OK to draw attention to various relationships in the data. But it is not OK...dangerous even...to rely on them unless you can identify credible and reasonable underlying causes and effects. Then you rely on that underlying causes and their effects, not on the data.

There is a tremendous amount of uncertainty behind any projection. To the extent that we can identify causes and effects, we reduce uncertainty. To the extent that we just look at numbers, we are fooling ourselves.

Have fun.

John R.
 
It appears that johngalt and JWR1945 appreciate the limitations that are inherent in using any analysis of past investment returns to predict the future, although, as I have said, I think that FIRECalc can provide a better estimate than others because of its flexibility in allowing changes in assets invested, and inflation-adjusted withdrawals, to be made at selected future times.

A basic characteristic of human nature is that many people are forever searching for a financial "guru" who will tell them how to invest their money for maximum gain. Most of the financial services industry earns unwarranted returns at the expense of investors by implying an ability to "beat the market." (They often push the limits of legality in doing this. A major exception is Vanguard, although even they seem tempted to depart from strict adherence to the efficient markets concept since John Bogle is no longer in charge.) Some people might therefore be tempted to regard FIRECalc as their "guru," when, unfortunately, it's not.

JWR1945 mentioned the desirability of retirees reducing their expenditures when the market is down. While I agree that this is a desirable strategy for individuals, the paradox is that when everyone does the same thing, it causes economic activity to slow (i.e., a recession to occur) to everyone's detriment. This is one reason why I oppose the idea of "privatizing" social security, thereby shifting more of people's assets into stocks and bonds. It would probably accentuate business cycles and market fluctuations, and in the process cause a lot more people to be wiped out financially. Back in the "good old days" (when elderly people were relatively few) their families or the county poor farm took care of them, but that's not a very practical approach any longer.
 
Okay. I laid aside my stubby pencil and tried FIREcalc.
I'll admit it is pretty cool. I expected it would tell me
that I had to go back to work immediately. Happily,
it looks like smooth sailing. Think I'll buy a boat :).
 
In real life, yRe: FIREcalc rewrite - suggestions?

Oops! Ted, I misspoke.

Instead of saying In real life, you have four or five or more years of cash equivalents available. To a limited extent, it makes sense to reduce withdrawals when the market has fallen, I should have said...to reduce the portion of each withdrawal that comes from stocks.

In general, this would be difficult to do. But it may be possible to do something.

OTOH, I have seen a study with withdrawal amounts based on a constant percentage of the portfolio balance. It looked promising.

Have fun.

John R.
 
This brings into question the asset allocation exploration idea. Now we're into looking for the best strategy rather than one that would have survived all the financial disasters of the past 130 years.

Why not define best as the best survival rate? I think that is more in line with what Firecalc is - and I thought that is where some of the allocation % numbers came from.

Wayne
 
The best overall long term asset allocation is a pretty well-studied issue. They use the same data as FIRECalc.

The published reports indicate optimal stock allocations of 48%, 66%, 74%, 77%, 82%, and 85% for pay out periods of 10 Yrs, 20 Yrs, 30 Yrs, 40 Yrs, 50 Yrs, and 60 Yrs respectively.

recht1.jpg


(From http://www.retireearlyhomepage.com/restud1.html.)

FWIW, I went through several days of exploration with the data I acquired for use with FIRECalc, and found that, surprise surprise, the calculated results matched the publlished numbers.

Dory36
 
oops....think my tongue got stuck in my cheek there.. I was thinking that Firecalc was using the allocation numbers automatically, but just went and looked and realized I had been putting them in myself, by copying from that very page.

REWRITE suggestion (since that is the topic), and it's an easy one - put the numbers you just quoted on the form as help!


Wayne
 
Here's a suggestion that I suspect would be easy to implement:  allow a different "expense ratio" to be entered for each category of asset.

For many investors, the expenses of the "stock" portion of their portfolio are substantially higher than for the "fixed income" part.  Crediting these higher expenses to stocks will tend to shift their "preferred" asset mix towards the fixed income part.

I have another reason for wanting this feature that is a little "devious."  (I love to try to outwit computer programs!)  ;)

I expect that, in the future, average returns on stocks will be less than they have been in the past -- I would guess by about 1.5% per year.  It is possible to incorporate this pessimistic guess into FIRECalc by "inflating" the expense ratio by that amount.  In other words, I expect my actual stock management expenses to be 0.3%, so I would actually enter 1.8%.
 
I like Ted's suggestion (2-3-03). More flexibility on expenses is a great idea.

Have fun.

John R.
 
In a different thread, a suggestion that I'll look at implementing next time I look at the code...
...For discussion, if we just use the default input values ($30,000 Withdrawal, 30 Years, 650,000 dollars, etc.) and looking at the spreadsheet created, the last totally complete period starts at 1971 (so it ends at 2001). For the row starting in 1972, the last year (2002) is empty. For the row starting in 1973, the last two years are empty, etc. etc. continuing up to the present.

So starting out in a bad year like 1973, for example, is missed, although 1973 is included as an intermediate or ending year of rows starting 30 or less years previous. But we know that starting out in a bad year should have a much more negative effect than having a bad year in the middle or the end.

When I put in 40 or 45 years, the effect grows.

Are there any suggestions of what I could do with the data of incomplete rows into the present? I can't really create future yearly data to complete them. But it seems I am just losing a lot of start and early years for data. For a 45 year period, the latest start row that completes is 1956.

Is there anything I can mine out of the incomplete rows?

I did have a horrible idea... If there was, say, five years incomplete on the end of a row, take the last useful cell's data from that row, then successively feed it into 1871 for 5 years on, then into 1872 for 5 years on, etc. etc. In effect, re-using existing data successively for the missing data. And on and on for all of the rows that did not complete. My gut feel is that the size of the thing would become monstrous :p

I'm interested in any and all comments!
Dory36
 
Don't do it :eek: ! You will cause the program to double-count the data from the earliest years. Aside from the fact that this is completely unacceptable from a statistical standpoint, it would also be giving extra "weight" to the period of time which is presumably the least representative of "modern" economic conditions.

It is not so bad that the FIRECalc data will not consider a hypothetical period of greater than 29 years starting in 1973/74, because the FIRECalc data set does include some other periods that were probably even worse, such as the 1920s/1930s into the 1960s/1970s.

Another thing to consider about FIRECalc, in being aware of its limited ability to predict future financial outcomes, is this. Imagine that a person ran FIRECalc in the year 2000, assuming a relatively high allocation to stocks of, say, 70%, with the data set that then extended through 1999. It would have suggested that a relatively high wiothdrawal rate could have been sustained.

Now, imagine that the same data is input to FIRECalc today. FIRECalc's data set now extends through 2002, and as the result will indicate that, with a 70% stock allocation, a somewhat lower withdrawal rate will be sustainable. This is because the data set is now influenced by the large drop in the stock market that occurred in the years 2000 through 2002.

But (barring a future meltdown of the financial system) it is reasonable to believe that a person retiring today could actually sustain a higher withdrawal rate with a 70% stock allocation than they could have if their retirement had started in 2000. In other words, FIRECalc would have been excessively "optimistic" in the year 2000. It may still be too optimistic, but probably not to as great a degree as it was then.

As I have often noted, FIRECalc is potentially a very useful tool, but to use it wisely a person needs to understand the limitations that are inherent in using historical data to estimate future outcomes ;).
 
Excellent point, Ted -- the best bet is to allow people to make their own inferences from the available data.

OK, it's off the plate!

Dory36
 
Back
Top Bottom