Skip to content
Back to formatted view

Raw Message

Message-ID: <XFMail.051213161837.Ted.Harding@nessie.mcc.ac.uk>
Date: 2005-12-13T16:18:37Z
From: (Ted Harding)
Subject: Incomplete Beta
In-Reply-To: <Pine.LNX.4.64.0512130642070.28169@homer21.u.washington.edu>

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 at nessie.mcc.ac.uk>
Fax-to-email: +44 (0)870 094 0861
Date: 13-Dec-05                                       Time: 16:18:35
------------------------------ XFMail ------------------------------