Skip to content

update forgets about offset() (PR#6656)

1 message · Brian Ripley

#
On Mon, 15 Mar 2004 Mark.Bravington@csiro.au wrote:

            
No, it should not have been.  In neither R nor S does - offset remove an 
offset term.  For specials, - is equivalent to +.
Call:  glm(formula = y ~ offset(x) + z - offset(x), data = df)

Coefficients:
(Intercept)            z
    -1.3660       0.1610

is the same as fit1.