Mega Search
23.2 Million


Sign Up

Make a donation  
Beta Distribution SourceCode?  
News Group: embarcadero.public.delphi.language.delphi.general

I am attempting to build an application that requires a Beta Distribution as part of a prediction package.  Can anyone direct me to a source for Delphi code (Delphi XE, Windows 7, 64 bits) for a Beta Distribution.  I have tried using the procedures and functions in “Numerical Recipes In Pascal” but without success.  Every test case I attempt blows up.  Thank you in advance.  John Shyer

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 20-Jan-2015, at 10:18 AM EST
From: John Shyer
 
Re: Beta Distribution SourceCode?  
News Group: embarcadero.public.delphi.language.delphi.general
John,

I don't know if it would help (it's 40+ years since I was playing with Beta and Gamma 
functions (for Weibull analysis of automobile radiators), but the ESBPCS suite includes Beta 
& Gamma routines based on Abramowitz & Stegun (A Handbook of Mathematical Functions with 
Formulas, Graphs and Mathematical Tables by Milton Abramowitz and Irene Stegun, ), the same 
book I used in '74. My copy was published by Dover, priced at $5.00 though I bought it in 
Cambridge UK.

In the ESBPCS source I spotted:

"Gamma, LnGamma, Inverse Gamma, Beta, Incomplete Beta, Gaussian Hypergeometric Function (2F1) 
and other Special Functions"

Best regards,
 ... Joe

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 23-Jan-2015, at 8:56 AM EST
From: Joe Griffin