Skip to content
Prev 69866 / 398506 Next

setting value arg of pdSymm() in nlme

Hi,
Oh... I had a feeling I was doing something wrong there.
I would like to use batch.mat to specify a correlation structure for the 
batches A, B and C. Specifically, I wish to work out the contribution to 
the variance of the batch random effect, given that I know some pairs of 
batches (eg, A and B) are going to be more similar than other pairs (eg, A 
and C) and how similar they are likely to be. My (mis?)reading of P&B p165 
suggested this may be possible turning some of the pdIdents into 
pdSymms.

I was hoping to use this test example as a prelude to using genetic 
relationship data to impose a correlation structure on a subject-level or 
family-level effect. I understand from an earlier post (Jarrod Hadfield, 
2003) that lme is not really optimized for this, but I would nontheless 
like to evaluate to what extent it can do it anyway. The example used in 
that post was extreme: each case was effectively a different realization 
of a random effect where the correlation between levels is known. My needs 
are simpler: in the example I gave above, batches A, B and C might 
represent three families related by different degrees.
Thanks for pointing this out as I had missed this article. I know lmer is 
under development and am very interested in what it can do. Having found 
lme/lmer useful for more standard problems I would like to use it for 
genetic-type analysis where possible rather than resort to a different 
language (eg SAS) or specialized proprietary software (eg, ASREML). 
However, I understand that may not be possible.

William

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Dr William Valdar               ++44 (0)1865 287 717
Wellcome Trust Centre           valdar at well.ox.ac.uk
for Human Genetics, Oxford      www.well.ox.ac.uk/~valdar