Skip to content

nested random effects

1 message · Doran, Harold

#
It should be random=~1|FAM/ID indicating individuals are nested within
families. 

-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Federico Calboli
Sent: Wednesday, March 23, 2005 12:34 PM
To: Shaw, Philip (NIH/NIMH)
Cc: r-help
Subject: Re: [R] nested random effects
On Wed, 2005-03-23 at 11:58 -0500, Shaw, Philip (NIH/NIMH) wrote:
other.
An interaction random effect/fixed effect is noted as 

random ~1|random/fixed

in your case random =~1|ID/FAM (but I don't uderstand why indiviuals
withing families are fixed and and families are random, but there you
go).

Check out Pinheiro and Bates Ch1, especially pg 23 onwards.

Cheers,

F