[vsni.co.uk] Contact us | Site map
Forum | VSN International Forum Index
Author Message
Post new topic

<  ASReml  ~  Correlations between estimated variance components

lrn
Posted: Tue Aug 14, 2012 12:45 pm Reply with quote
Joined: 09 Aug 2012 Posts: 1
ASReml produces standard errors for the variance component estimates, but can I also retrieve the covariances between the estimates of the variance components? I want to check whether the estimates of two variance components might be highly correlated.

/Lars
View user's profile Send private message
Peter Thomson
Posted: Wed Aug 15, 2012 2:25 am Reply with quote
Joined: 20 Mar 2010 Posts: 4
Hi Lars,
I think you will find these values in the .VVP output file (in the standalone version)
Cheers, Peter
View user's profile Send private message
bcullis
Posted: Wed Aug 15, 2012 3:46 am Reply with quote
Joined: 22 Oct 2010 Posts: 45
Lars
If you are using ASReml-R these can also be found in the returned object list under $ai. This gives the matrix in lower triangle form, but there is a utility to produce the full (symmetric) variance matrix from this. It is given here below

Vmat <- asreml:::asreml.ltri2mat(obj$ai)

and if you wish to check this then you can simply do this

cbind(summary(obj)$varcomp[,'std.error'],sqrt(diag(Vmat)))

which should produce two identical columns. I hope there are no typos here & that this is helpful
cheers
brian
View user's profile Send private message Send e-mail

Display posts from previous:  

All times are GMT
Page 1 of 1
Post new topic

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum