[R-sig-ME] offset in glmmPQL
ONKELINX, Thierry
Thierry.ONKELINX at inbo.be
Tue Feb 23 16:14:29 CET 2010
Dear Ben,
I think the problem might be rather with lme() than with glmmPQL(). I
posted a reproducible example two weeks ago:
https://stat.ethz.ch/pipermail/r-sig-mixed-models/2010q1/003290.html
Any ideas?
Best regards,
Thierry
------------------------------------------------------------------------
----
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek
team Biometrie & Kwaliteitszorg
Gaverstraat 4
9500 Geraardsbergen
Belgium
Research Institute for Nature and Forest
team Biometrics & Quality Assurance
Gaverstraat 4
9500 Geraardsbergen
Belgium
tel. + 32 54/436 185
Thierry.Onkelinx at inbo.be
www.inbo.be
To call in the statistician after the experiment is done may be no more
than asking him to perform a post-mortem examination: he may be able to
say what the experiment died of.
~ Sir Ronald Aylmer Fisher
The plural of anecdote is not data.
~ Roger Brinner
The combination of some data and an aching desire for an answer does not
ensure that a reasonable answer can be extracted from a given body of
data.
~ John Tukey
> -----Oorspronkelijk bericht-----
> Van: r-sig-mixed-models-bounces at r-project.org
> [mailto:r-sig-mixed-models-bounces at r-project.org] Namens Ben Bolker
> Verzonden: vrijdag 19 februari 2010 16:47
> Aan: Maarten de Groot
> CC: r-sig-mixed-models at r-project.org
> Onderwerp: Re: [R-sig-ME] offset in glmmPQL
>
>
> It's surprising that your example doesn't work, because
> this example (which is a hidden example in the ?glmmPQL help
> page - it doesn't appear when you type ?glmmPQL, but it gets
> run when you say example(glmmPQL)) does ...
>
> library(MASS)
> library(nlme)
> summary(glmmPQL(y ~ trt + week + offset(week), random = ~ 1 | ID,
> family = binomial, data = bacteria))
>
> Can you provide a reproducible example of what doesn't work?
>
> Maarten de Groot wrote:
> > Dear all,
> >
> > I have a small question about including an offset value
> into a glmmPQL
> > with a poisson distribution. I want to compare the number
> of songs of
> > an animal between treatments. Because the experiment time is not
> > always the same I want to include this as an offset in my formula
> >
> ("mod<-glmmPQL(nosongs~offset(experiment.time)+treatment,rando
> m=~1|block/malenr,family=poisson,data=mcrs)").
> >
> >
> > However R seems not to recognize the command"offset" when
> using a glmmPQL.
> >
> > Hopefully some one can help me.
> >
> > Kind regards,
> >
> > Maarten
> >
> > _______________________________________________
> > R-sig-mixed-models at r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
>
>
> --
> Ben Bolker
> Associate professor, Biology Dep't, Univ. of Florida
> bolker at ufl.edu / people.biology.ufl.edu/bolker GPG key:
> people.biology.ufl.edu/bolker/benbolker-publickey.asc
>
> _______________________________________________
> R-sig-mixed-models at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
>
Druk dit bericht a.u.b. niet onnodig af.
Please do not print this message unnecessarily.
Dit bericht en eventuele bijlagen geven enkel de visie van de schrijver weer
en binden het INBO onder geen enkel beding, zolang dit bericht niet bevestigd is
door een geldig ondertekend document. The views expressed in this message
and any annex are purely those of the writer and may not be regarded as stating
an official position of INBO, as long as the message is not confirmed by a duly
signed document.
More information about the R-sig-mixed-models
mailing list