The Museum of HP Calculators

HP Forum Archive 19

[ Return to Index | Top of Index ]

The mother of all distributions with HP SOLVER?
Message #1 Posted by Peter A. Gebhardt on 29 July 2010, 8:00 a.m.

Dear fellow forists,

although the headline might be exaggerating, the Gamma Distribution is nowadays heavily used in financial problem solving (eg. insurance) - besides its many uses in engineering & operations research.

Therefore I'm kindly asking you: Has anybody already tried to implement a Gamma Distribution with the HP17bII+ (or compatible) SOLVER routines?

I have a working solution already, but because of it's implementor (me), it's far from being a quick to enter formula - albeit working correctly, as far as I can tell (I used Gauss Integration & coefficients from Stegun).

Somebody able to reach a helping hand?

TIA!

Peter A. Gebhardt

Edited: 29 July 2010, 8:28 a.m.

      
Re: The mother of all distributions with HP SOLVER?
Message #2 Posted by Martin Pinckney on 29 July 2010, 11:38 a.m.,
in response to message #1 by Peter A. Gebhardt

I remember seeing that Viktor T. Toth has a Gamma function for the 17BII on his site at:

http://www.rskey.org/detail.asp?manufacturer=Hewlett-Packard&model=HP-17BII

Perhaps this can help? (Sorry, I am not very literate in statistical mathematics).

      
Re: The mother of all distributions with HP SOLVER?
Message #3 Posted by Vieira, Luiz C. (Brazil) on 29 July 2010, 1:33 p.m.,
in response to message #1 by Peter A. Gebhardt

Hi, Peter;

I know that the Gamma Distribution implies some hard brainjob (see here or the Wikipedia's way), but I do not recall seeing the implementations you mention. Not an excuse of mine, at the time I was studying at the engineer's course, I did not have the inclination to go deeper in math and research tools. If I only could tell how I regret...

Can you point me to some reference? I am always digging to find information, it is easy when we know where to dig.

Thanks.

Luiz (Brazil)

            
Re: The mother of all distributions with HP SOLVER?
Message #4 Posted by Angel Martin on 29 July 2010, 3:30 p.m.,
in response to message #3 by Vieira, Luiz C. (Brazil)

Here's the obvious (and obligued) reference for the Gamma distribution:

http://en.wikipedia.org/wiki/Gamma_distribution

Having a Gamma function takes you half way there, the rest is just achievable with a little further effort.

cheers, 'AM

      
Re: The mother of all distributions with HP SOLVER?
Message #5 Posted by Peter A. Gebhardt on 29 July 2010, 7:27 p.m.,
in response to message #1 by Peter A. Gebhardt

Luiz, Angel,

could you pls. send me your PM address, so I can enclose not only the ASCII .EQN code of my trial but also the .STA files for the 200LX (needed for the GAUSS method of integration).

Both can be used either on a native 200LX or on HPCALC under DOS.

Thanks to all of you for your kind responses!

Peter A. Gebhardt

PS: A final (hopefully optimized) solution will be provided as an article here, if we are successful ;-)

Edited: 29 July 2010, 7:29 p.m.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall