Re: [R] interpreting Weibull survival regression

From: Prof Brian Ripley <>
Date: Mon 27 Jun 2005 - 17:59:44 EST

On Mon, 27 Jun 2005, Göran Broström wrote:

> On Sun, Jun 26, 2005 at 11:28:04PM +0100, Prof Brian Ripley wrote:
>>> Here gamma is the usual gamma function, see ?gamma. (I notice in the R
>>> documentation of the Weibull distribution that "E(X) = b Gamma(1+1/a)",
>>> which is an error; the G should be g (lowercase).)
>> It is not an error. R's function gamma() is said to implement
>> \eqn{\Gamma}{Gamma}: `see ?gamma'!
> I see; it's supposed to be mathematics, not R code (of course, since a
> '*' otherwise is missing!). But then the documentation is at least
> somewhat inconsistent, because in the variance expression, 'gamma' is used.

Yes, in the variance expression \Gamma is transliterated as 'gamma'. That is the only case I can find (e.g. the Beta,Chiqsuare,Fdist,GammaDist, NegBinomial,Tdist Rd files). I've made the variance expression consistent.

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list PLEASE do read the posting guide!

Received on Mon Jun 27 18:04:22 2005

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