[R] GLM Question

From: Mark Jankowski <mdjankowski_at_wisc.edu>
Date: Wed 20 Sep 2006 - 18:13:41 GMT


Hello,

I am trying to formulate a glm model with repeated measures of viral blood counts where animal weight is a covariate. Animal treatment group is the fixed effect and subject is the random effect. I'm thinking this situation calls for a mixed model in the Poisson family with data correlated to days post inoculation (DPI) where animal weight is factored out to not influence goodness of fit tests.

How might I alter the following code to reflect this situation?

glm(count~treatment,family=poisson)

If this is too much to ask, I understand! I realize I've got a ways to go in writing this...

Many thanks!
Mark



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu Sep 21 04:17:01 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 20 Sep 2006 - 19:30:05 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.