[vsni.co.uk] Contact us
Author Message
Post new topic

  ASReml  ~  Functional specification for !NAME and !USE

andrew
Posted: Wed Mar 06, 2019 3:33 pm Reply with quote
Joined: 11 Aug 2011 Posts: 11
Can someone please advise the equivalent functional specification for the !NAME and !USE coding that works for me in the following (structural specification):

Code:
Y ~ mu site !r site.treeid  site.family
3 1 2
3000 0 iden #resid site 1
3000 0 iden #resid site 2
3000 0 iden #resid site 3

site.treeid 2
site 0 diag !NAME 'addvar'  #fit treeid to each site
30 10 60     
treeid 0 AINV

site.family 2
site 0 diag !USE 'addvar'   #fit family to each site
family 0 idv 0.2


The intention is to fit the family variance at each site as a constant proportion of the additive variance (starting value 0.2).

Thank you! Andrew.
View user's profile Send private message
Arthur
Posted: Wed Apr 10, 2019 3:36 pm Reply with quote
Joined: 05 Aug 2008 Posts: 471 Location: Orange, NSW
Dear Andrew,

Try diag(site 30 10 60 !name 'addvar').nrm(treeid) + diag(site !USE 'addvar').idv(family 0.2)

If that does not work, try writing diag(site).nrm(treeid) + diag(site).idv(family) and after the residual line write

modify diag(site).nrm(treeid);diag(site) !INIT 30 10 60 !name 'addvar'
modify diag(site).idv(family);diag(site) !use 'addvar'
modify diag(site).idv(family);idv(family) !INIT 0.2

and if that fails, send me the job and I will work it out.

_________________
Arthur Gilmour

Retired Principal Research Scientist (Biometrics)
View user's profile Send private message Send e-mail Visit poster's website

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