Re: RRM in ASReml

From: Arthur <asremlforum_at_VSNI.CO.UK>
Date: Fri, 14 Nov 2008 04:33:43 +0000

Dear Tomasz,

The ASReml tutorial session C4 discusses random regression.
You can find it on the VSN website at http://www.vsni.co.uk/software/asreml/user-area/tutorials/

One way of doing it based on your example would be for a data file with the fields
  cow dim milk

BNasic Random Regression
 Cow * # Assumes coded 1 to n as in your example
 DIM # covariate -
 milk
Milk.dat
 milk ~ mu DIM DIM.DIM !r !{ Cow Cow.DIM Cow.DIM.DIM !}
0 0 1
Cow
3 0 US !GP
.1 .01 .1 .01 .01 .1
Cow

Now there are many variations on this theme possible
such as using leg(DIM,2).Cow i.e.

milk ~ mu DIM DIM.DIM !r leg(DIM,2).Cow
0 0 1
leg(DIM,2).Cow 2
3 0 US !GP
.1 .01 .1 .01 .01 .1
Cow

------------------------
Arthur Gilmour

Principal Research Scientist (Biometrics)
NSW Dept Primary Industries

-------------------- m2f --------------------

Sent using Mail2Forum (http://www.mail2forum.com).

Read this topic online here:
http://www.vsni.co.uk/forum/viewtopic.php?p=302#302

-------------------- m2f --------------------
Received on Sun Nov 14 2008 - 04:33:43 EST

This webpage is part of the ASReml-l discussion list archives 2004-2010. More information on ASReml can be found at the VSN website. This discussion list is now deprecated - please use the VSN forum for discussion on ASReml. (These online archives were generated using the hypermail package.)