(12C) Financial Management Rate of Return - FMRR - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (12C) Financial Management Rate of Return - FMRR (/thread-13155.html) |
(12C) Financial Management Rate of Return - FMRR - Joe_H - 06-20-2019 05:22 PM I went through a program I wrote some days ago to calculate the Modified IRR of a proposed investment cashflow (https://www.hpmuseum.org/forum/thread-13133.html?highlight=%2812c%29). This is seen as an improvement on standard IRR as the investment returns are not compounded at the rate of return of the investment itself but rather a more normal rate of return that the company normally makes (i.e. IRR is often too optimistic). A 'criticism' of MIRR is that the investment outflows in the future (i.e. negative net cashflows in the CF sequence) get discounted back to the present whereas it is argued they really should be funded by intermediate positive cashflows in the sequence. This means they shouldn't be discounted back to the present but only as far back as the next positive cashflow. This is called the Financial Management Rate of Return (FMRR) and is used in the finance industry, particularly in real estate for some reason. The only financial desktop calculator model that calculates it, that I know of, is the HP-30b of which I am a proud owner since around 2011. The TI BAII+ Professional doesn't calculate it and no other one I can find, so it appears it isn't available in any current models. So, enter the 1981 HP-12C which will out perform the rest of the currently available financial models on the market! Given the difficulty I had with stackrobatics in the MIRR program, I knew that this more complex algorithm was unlikely to be do-able without use of R registers (most are used in the CF itself). Like the MIRR program, the R0-R6 are the CF and I used R7&8 for the interest variables. That gives me 85 steps to get it all done. Code:
I'll put some results in the next post. RE: (12C) Financial Management Rate of Return - Joe_H - 06-20-2019 06:04 PM Running this on the cashflow used for MIRR: CF0 -€105,222 CF1 +€8,792 CF2 +€9,700 CF3 +€10,480 CF4 -€2,472 CF5 +€12,093 CF6 +€182,188 with i=i*=10% IRR calculated as 15.0% and MIRR as 14.25% & FMRR now as 14.31%. Trying now on a significantly longer and more complex cashflow: CF0 -€25,000 * 1 CF1 +€10,000 * 1 CF2 -€7,000 * 1 CF3 +€5,000 * 8 CF4 -€4,000 * 12 CF5 +€35,000 * 2 CF6 +€29,000 * 2 Safe rate i=3.75%; re-investment rate i*=8.35%; N=26 IRR = 11.08%; MIRR = 7.87%; and finally........FMRR = 8.47%. I have checked these results against the HP-30b and also Excel for some simpler ones. It's surprisingly hard to do right in Excel and I kept making mistakes The HP-30b ran it instantly and the HP-12C ran it in less than a second. However, the HP-12C platinum took 26 seconds!! I didn't realise it was such a poor performer compared to its little brother. Overall, this was an interesting algorithm that took me a while to debug as I was doing it on the 12C and 12CP at the same time and didn't realise that the 12C disables the stack lift for a STO to TVM register but the 12CP doesn't (on another thread here). While the 12CP is simpler to understand the program is 7 steps shorter for 12C with the disabled stack lift. As before, the CF is limited to 7 entries including 0th period. 10 would be about acceptable and I will set it up for that on the 12CP. RE: (12C) Financial Management Rate of Return - FMRR - fhub - 06-20-2019 08:00 PM (06-20-2019 05:22 PM)Joe_H Wrote: The only financial desktop calculator model that calculates it, that I know of, is the HP-30b ...Do you know my program TVM-Calc Pro 2015, that I've written a few years ago? It's a PC program (not for calculators), but it also does all those financial calculations, so if you're interested (maybe to test some examples?) - you can find it on my website: https://fhub.jimdo.com/ Regards, Franz RE: (12C) Financial Management Rate of Return - FMRR - rprosperi - 06-21-2019 01:30 PM (06-20-2019 06:04 PM)Joe_H Wrote: [snip] The most recent 12C machines are dramatically faster than the early 12C's and the 12CP's as well. Here are some results of a very simple performance test (adding 1's for 1 minute): Original 12C: 500 2003 12C (1x20332): 571 30th Ann 12C: 72,680 Initial Silver 12CP (no undo): 3150 Silver 12CP w/Undo: 1425 Recent 12CP (w/2x2032): 1378 So, yeah there is a huge variation of the performance of the 12C family members as the production configuration has matured. For more info, read these threads: https://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/archv021.cgi?read=217927 https://www.hpmuseum.org/forum/thread-5180.html?highlight=12c Jose's thread and the document therein contains LOTS of info on the 12C evolution. RE: (12C) Financial Management Rate of Return - FMRR - Joe_H - 06-21-2019 04:08 PM Thanks fhub wish I had known about TVM-Calc Pro 2015 as it would have saved me some hassle! I'll download it now. Bob - I ran the following on mine for 1 minute: 01 STO + 1 02 g GTO 01 and got the following results: HP-12C 83,464 HP-12CP 2,771 HP-30b 68,659 (however GTO has to use a label so maybe this is an extra step) The 12C is about 30 times faster than the 12CP (corresponds with the results of the FMRR program as the 12C was somewhat less than a second). I'm surprised the 30b wasn't a lot higher - it is supposed to be a very fast calculator. RE: (12C) Financial Management Rate of Return - FMRR - Gene - 06-21-2019 10:04 PM These discussions really don't belong in the Software Library section of the forum. The goal is to post software here and comments on how to run it. The discussion is fine :-) but please consider starting a thread for things not specifically related to the original program. |