Re: [R] interpreting Weibull survival regression

From: Göran Broström <gb_at_stat.umu.se>
Date: Mon 27 Jun 2005 - 13:35:36 EST

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.

>
> --
> Brian D. Ripley, ripley@stats.ox.ac.uk
> Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
> University of Oxford, Tel: +44 1865 272861 (self)
> 1 South Parks Road, +44 1865 272866 (PA)
> Oxford OX1 3TG, UK Fax: +44 1865 272595

-- 
Göran Broström                    tel: +46 90 786 5223
Professor and Head
Department of Statistics          fax: +46 90 786 6614
Umeå University                   http://www.stat.umu.se/~goran.brostrom/
SE-90187 Umeå, Sweden             e-mail: gb@stat.umu.se

______________________________________________
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 Mon Jun 27 13:44:02 2005

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