Skip to content
Prev 4421 / 20628 Next

MCMCglmm: Within- versus between-individual covariances

Jarrod,
Thank you very much for getting back to me so promptly. I am curious about
your suggestion of modelling this within the random component of the model.
Assuming the same data structure as before but adding a fourth trait
measured at the same time as "2" below, would I then add a column
"test.block" with A's for 1&3 and B's for 2&4 and add the MCMCglmm
equivalent of "+ (1|test.block)"? Sorry, I realize this is a pretty basic
question but most of my mixed model experience has been restricted to
fitting random intercepts to individuals along with the occasional intercept
& slope model for individuals.

The whole issue of priors, their implications, and their proper
specification is something I'm still working through. In the priors for R
the covariances for the non-identified parameters were indeed 0 so it seems
like that may be the most straightforward way to deal with it in this case. 

Thanks a lot for your time.
Ned






-----Original Message-----
From: Jarrod Hadfield [mailto:j.hadfield at ed.ac.uk] 
Sent: Sunday, September 05, 2010 9:53 AM
To: Ned Dochtermann
Cc: r-sig-mixed-models at r-project.org
Subject: Re: [R-sig-ME] MCMCglmm: Within- versus between-individual
covariances

Hi Ned,

Currently it is not possible to specify covariance matrices with  
arbitrary covariances set to zero. If you can reorder the terms so  
that the covariance matrix has a block structure (eg swap trait 2 and  
3 in your example) then you can fit this is in the random terms.  
However, the residual term can only be specified by a single term so  
this is not possible. You can still run the model with a us structure  
of course, but as you are aware the posterior distribution for the  
non-identified covariances will simply be the prior distribution.

Cheers,

Jarrod

Quoting Ned Dochtermann <ned.dochtermann at gmail.com>:
the
behavioural
the
terms
based
in
as
certain
due
three
be
distributed
calculated
an
individual
actually
options
how