Re: [R] Incomplete Beta

From: Ted Harding <Ted.Harding_at_nessie.mcc.ac.uk>
Date: Wed 14 Dec 2005 - 03:18:37 EST


On 13-Dec-05 Thomas Lumley wrote:
> On Tue, 13 Dec 2005, Albert Sorribas wrote:
>

>>
>> Is there any function available in R for computing the incomplete Beta
>> function?

>
> pbeta(). The incomplete Beta function is the cdf of the Beta
> distribution

But don't forget to multiply by beta(,):

  ibeta(x,a,b) <- function(x,a,b){ pbeta(x,a,b)*beta(a,b) }

!

Best wishes,
Ted.



E-Mail: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk> Fax-to-email: +44 (0)870 094 0861
Date: 13-Dec-05                                       Time: 16:18:35
------------------------------ XFMail ------------------------------

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Dec 14 04:30:36 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:41:36 EST