Skip to content

Random effect with two contributions for each record

1 message · David Duffy

#
On Mon, 31 May 2010, Albart Coster wrote:

            
No, they can take any value, and this would be one approach to your 
setup.
If you were fitting a genotypic model, you would have P ~ (1|g), where g 
is a factor with six levels or six binary indicator variables.  If there 
were parent of origin effects, then your model as stated would be 
appropriate.  For the model under exchangability, you need three indicator 
variables representing the count of each allele type for each individual 
(just the same as in the fixed effects type model).

Cheers, David Duffy.