Skip to content
Back to formatted view

Raw Message

Message-ID: <x290f836n1.fsf@blueberry.kubism.ku.dk>
Date: 1999-01-12T14:30:58Z
From: Peter Dalgaard
Subject: glm families in R
In-Reply-To: "Francisco Cribari"'s message of Tue, 12 Jan 1999 09:59:27 -0000

"Francisco Cribari" <cribari at de.ufpe.br> writes:

> Is the following difference between S+ and R normal or is it a bug? 
> Thanks. FC. 
> 
> PS: S+ 4.5 for Windows and R 0.63.1 for Windows. 
> 
> S-PLUS output:
> 
> > inverse.gaussian()$deriv
> > function(mu)
> > -2/mu^3
>  
> R output:
> 
> > inverse.gaussian()$deriv
> > NULL

This is normal, R doesn't use $deriv in glm families. However,

> inverse.gaussian()$mu.eta
function (eta) 
-1/(2 * eta^1.5)
<environment: 0x4059d28c>


-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._