Skip to content
Prev 635 / 20628 Next

need help with mixed effects model

On Wed, 5 Mar 2008, Nick Isaac wrote:

            
I don't know if smatr supports multiple groups (so you can have unbalanced 
type data).  We generally use the Mx SEM package, which allows both 
multiple groups as well as "irregular" data, and our main interest is always
in partitioning the variance.  Every mixed model (indeed 
every linear model) is expressible as a SEM (it just runs slower ;)).

Generally, if you want to include a random effect you set up a latent 
variable with appropriate path(s) to the observed value(s).  Your
relationships will be between the latent variables.  Often, you'll fix
the path coefficient to unity.  Have a look at Mx book/manual (Mike Neale and
Hermine Maes) and you'll get some ideas.

For the expression example, one model would be something like
                              +--------------------------+
                 Strain1-Rg1  |                          |
              --------------------------    Rat16        |
              |               |        |                 |
                    r1        |                 r1       |
Latent    Gene111 <-->  Gene112       Gene161 <-->  Gene162
          /b1   | \b3   b4/ | \       /b1    | \ 
Manif  Tissue1 T2 T3               Tissue1 T2 T3

With appropriate equality constraints (r1=r1..=r1, b1=b1..) or 
random regressions on the path coefficientsi and covariance matrix of latent
variables.  So this model states (and
can test) that tissue expressions are imperfect measures of
overall gene expression in the ith animal.

But after saying that, for this particular example, I would use a
program such as ASREML or Wombat or MENDEL that easily fit multivariate
mixed models.  Our group has used ASREML to fit mixture models to
deal with error in DNA pooling experiments for 50000 SNPs.

Hope that's clear (and even right), David Duffy.