Re: [R] hierarchical mixed model

2007-11-05 Thread Sandrine-et-Francois
an provide an answer to your question. Best regards François - Original Message - From: "Irene Mantzouni" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, November 04, 2007 10:48 PM Subject: [R] hierarchical mixed model > > I would like to fit a 2-

[R] hierarchical mixed model

2007-11-04 Thread Irene Mantzouni
I would like to fit a 2-level mixed model: yit=a+a[i]+a[it] +(b+b[i]+b[it])*xit+eps[it] However, the variance of the second level components should depend on the group, i.e. sigma for a[it] and b[it] should be [i] specific. I do not know whether this is conceptually right in the mixed model