offsets again (PR#159)

ripley@stats.ox.ac.uk ripley@stats.ox.ac.uk
Wed, 7 Apr 1999 10:38:33 +0200


On Wed, 7 Apr 1999 jlindsey@alpha.luc.ac.be wrote:

> 1. Try the following in 63.3
> 
> y <- rnorm(20)
> y1 <- y[2:20]
> y2 <- y[1:19]
> summary(glm(y1~offset(y2)))
> summary(glm(y1-y2~1))
> 
> Both are the same model, but the first gives the wrong s.e.
> I don't believe this was a problem in 63.2

raw residuals from a glm with offset were wrong: fixed for 0.64.

-- 
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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._