[R] returned values of glim() in S PLus and glm() in R
Thomas Lumley
tlumley at u.washington.edu
Tue Jan 15 22:43:01 CET 2002
On Tue, 15 Jan 2002 Liu.Chunhua at epamail.epa.gov wrote:
> Dear Experts,
>
> In glim() of S Plus, one of the returned values is "var", the estimated
> variance matrix of coefficients. However, in glm() of R (there is no
> glim() in R), "var" is not one of the returned values. Anyone know what
> could I get the varience matrix of coefficients in glm() in R?
>
The variance matrix can be obtained from the summary object
summary(a.glm)$cov.scaled
or without scaling by the dispersion
summary(a.glm)$cov.unscaled
If you just want the standard errors they are
summary(a.glm)$coefficients[,2]
BTW: There's no glim() in Splus any more, either (it's in the 'Defunct'
library).
-thomas
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list