[R] random effects mixed model, different regressors

From: Fensis <mirresimons_at_gmail.com>
Date: Thu, 31 Jul 2008 02:31:26 -0700 (PDT)

Hi everybody,

I have built a model that includes subject ID as a random effect, and has a continous variable (time) and I want to test whether the slope of this line differs between treatments (this is tested with the interaction between treatment and "time").

My question now is that I also want to include regressors that might explain variation in this slope between subjects (and of which I have this one estimate for the whole time period). How do I do this? If I just code it as the same number for all the time points I have measured I am overestimating my sample size don't I? (because I have not measured it for each time point).

I am curious as to what you think about this

Thank you very much


View this message in context: http://www.nabble.com/random-effects-mixed-model%2C-different-regressors-tp18750857p18750857.html
Sent from the R help mailing list archive at Nabble.com.

R-help_at_r-project.org mailing list
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 31 Jul 2008 - 10:43:30 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 31 Jul 2008 - 11:33:02 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.

list of date sections of archive