[R] mixed model question and using lmer

2011-06-01 Thread Wiggin
i am analyzing some data and have a question i hope someone can answer. i want to use this sort of model: lmer( y ~ x + (1 | ID ), family=binomial, weight=w) so i want to explore the relationship between y and x, with a random effect for each patient. my question is this. is this a sensible

Re: [R] mixed model question and using lmer

2011-06-01 Thread Ben Bolker
Wiggin wiggin.peters at gmail.com writes: i am analyzing some data and have a question i hope someone can answer. i want to use this sort of model: [quoting snipped to fool gmane into letting me post a short answer] lmer( y ~ x + (1 | ID ), family=binomial, weight=w) so i want to

Re: [R] Mixed model question.

2008-07-28 Thread Douglas Bates
On Sun, Jul 27, 2008 at 9:06 PM, Rolf Turner [EMAIL PROTECTED] wrote: I continue to struggle with mixed models. The square zero version of the problem that I am trying to deal with is as follows: A number (240) of students are measured (tested; for reading comprehension) on 6 separate

Re: [R] Mixed model question.

2008-07-28 Thread Rolf Turner
Thanks for the response. I ***think*** I'm making a bit of progress On 29/07/2008, at 10:14 AM, Douglas Bates wrote: On Sun, Jul 27, 2008 at 9:06 PM, Rolf Turner [EMAIL PROTECTED] wrote: snip What I *don't* understand is the correlation structure of the estimates

[R] Mixed model question.

2008-07-27 Thread Rolf Turner
I continue to struggle with mixed models. The square zero version of the problem that I am trying to deal with is as follows: A number (240) of students are measured (tested; for reading comprehension) on 6 separate occasions. Initially (square zero) I want to treat the test time as a