Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



Pseudocode / Algorithm for betainv (as defined in Excel)  Inverse Beta Distribution
Posted:
Jul 30, 2012 6:52 PM


Hi there. I am interested in seeing an implementation of the betainv function (as defined in MSFT Excel), either as pseudocode or implemented as a code sample (C, C++, C# or F# preferred).
The betainv function in Excel takes in exactly 5 arguments 1. Probability (random number between 0 and 1) 2. Alpha (distribution parameter) 3. Beta (distribution parameter) 4. Lower bound (optional parameter) 5. Upper bound (oprtional parameter)
I have seen a few code samples but none where the last two parameters are explicitly used.
If anyone can help I would be most grateful. Best, RT



