Displaying 1 result from an estimated 1 matches for "chicks1".
Did you mean:
chicks
2008 Oct 13
0
Re : using predict() or fitted() from a model with offset; unsolved, included reproducible code
...seen below in the code.
> I have also tried to use predict, with exactly the same result: the
> offset is ignored. This applies to both lms and glms.
>
> Am I missing something here?
> Thank you
> Samuel Riou
>
> CODE
> #no offset lmA<-lm(MassChange24h~DATEN1, subset(Chicks1, Year==2007? &
> AGE>10), na.action=na.exclude)
> summary(lmA)
>
> #linear offset
> lmAO<-lm(MassChange24h~DATEN1+offset(-0.37356*AGE), subset(Chicks1,
> Year==2007? & AGE>10), na.action=na.exclude)
> summary(lmAO)
>
>
> print(Chicks$DATEN1[Year==200...