Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » sci.math.* » sci.stat.math.independent

Topic: Pseudocode / Algorithm for betainv (as defined in Excel) - Inverse
Beta Distribution

Replies: 2   Last Post: Aug 10, 2012 7:05 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
ragnartorfi@gmail.com

Posts: 3
Registered: 7/30/12
Pseudocode / Algorithm for betainv (as defined in Excel) - Inverse
Beta Distribution

Posted: Jul 30, 2012 6:52 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.