Skip to content
Prev 12661 / 20628 Next

Offset() in gls() in nlme

Hi,

I am trying to use the following model formula in gls() in the nlme package:

R ~ Turb + offset(ssb)

Unfortunately, gls() seems to ignore the offset argument and give results
that are identical to

R ~ Turb

This is not the case when I use lm() - however, I would like to include a
corAR1() term as well, which is why I am using gls().

Is this known and intended behaviour? If so, is there a recommended
workaround/alternative?

Best wishes,

Mark