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


Math Forum
»
Discussions
»
sci.math.*
»
sci.stat.math
Notice: We are no longer accepting new posts, but the forums will continue to be readable.
Topic:
Pseudocode / Algorithm for betainv (as defined in Excel)  Inverse Beta Distribution
Replies:
2
Last Post:
Aug 10, 2012 7:05 PM




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



