Hello again! Thank you all for your help. I have however another problem:
the AI matrix from model$ai is different from the matrix from .vvp file
from ASReml (for exactly the same model) - and provides estimates of SE
when applied within Delta method different than those returned after
running the .pin file in ASReml. Does anybody know how to rescale model$ai
so that it's equal to .vvp-one? I tried the .vvp matrix in my delta
function and it returns the same SE as in ASReml. Apparently the pincalc
function provided through the VSN Forum also uses model$ai - but clearly
something is wrong here (?)

Cheers,
sz.

-- 
Szymon Drobniak, PhD. || Population Ecology Group
Institute of Environmental Sciences, Jagiellonian University
ul. Gronostajowa 7, 30-387 Kraków, POLAND
tel.: +48 12 664 51 79 fax: +48 12 664 69 12
szymek.drobniak@uj.edu.pl
www.eko.uj.edu.pl/drobniak


---------- Forwarded message ----------
From: Jarrod Hadfield <j.hadfield@ed.ac.uk>
Date: 9 October 2012 17:07
Subject: Re: [R-sig-ME] ASReml - heritability errors
To: Szymek Drobniak <geralttee@gmail.com>
Cc: r-sig-mixed-models@r-project.org


Hi,

Do you mean the `(co)variance matrix for random effects' or the approximate
sampling (co)variance matrix of the estimates of the (co)variance
parameters?  If the latter,  I think you can find it in asreml.model$ai

Cheers,

Jarrod




Quoting Szymek Drobniak <geralttee@gmail.com> on Tue, 9 Oct 2012 16:46:45
+0200:

 Hi everyone,
>
> I'm starting to use ASReml-R in my analyses and I'm wondering if it's
> possible to compute using is's procedures approximate errors for variance
> functions such as heritability? Or - if the previous one isn't possible -
> to extract (co)variance matrix for random effects that could be used in
> delta method (e.g. inside the 'msm' library).
>
> Cheers,
> sz.
>
> --
> Szymon Drobniak, PhD. || Population Ecology Group
> Institute of Environmental Sciences, Jagiellonian University
> ul. Gronostajowa 7, 30-387 Kraków, POLAND
> tel.: +48 12 664 51 79 fax: +48 12 664 69 12
> szymek.drobniak@uj.edu.pl
> www.eko.uj.edu.pl/drobniak
>
>         [[alternative HTML version deleted]]
>
>
>


-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

	[[alternative HTML version deleted]]

