[R] se from predict.glm
Thomas Lumley
thomas at biostat.washington.edu
Thu Feb 17 22:51:16 CET 2000
On Thu, 17 Feb 2000, Chong Gu wrote:
>
> I am not sure whether it is a design decision or just an oversight.
>
> When I ask for the standard errors of the predictions with
>
> predict(budwm.lgt,se=TRUE)
>
> where budwm.lgt is a logistic fit of the budworm data in MASS, I got
>
> Error in match.arg(type) : ARG should be one of response, terms
>
> If one is to construct a CI for the fitted binomial probability,
> wouldn't it be more natural to do it on the link scale before
> transforming to the probability scale?
>
> Of course, knowing a bit about what's going on inside glm, I could use
> predict.lm to get what I want, but I am curious why se is not made
> available for the link prediction in predict.glm.
It's a bug. It's been fixed.
-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