Download ASReml User Guide
Transcript
8 Command file: Multivariate analysis SheepID Site Bloodline 0101 3 21 1 1 5.6 74.3 0101 3 21 1 2 6.0 71.2 0101 3 21 1 3 8.0 75.7 0102 3 21 1 1 5.3 70.9 0102 3 21 1 2 5.7 66.1 0102 3 21 1 3 6.8 70.3 0103 3 21 1 1 5.0 80.7 0103 3 21 1 2 5.5 75.5 0103 3 21 1 3 7.0 76.6 . . . 4013 4013 4013 4014 4014 4014 4015 4015 4015 8.2 3 3 3 3 3 3 3 3 3 43 43 43 43 43 43 43 43 43 35 35 35 35 35 35 35 35 35 1 2 3 1 2 3 1 2 3 7.9 7.8 9.0 8.3 7.8 9.9 6.9 7.6 8.5 141 75.9 70.3 76.2 66.5 63.9 69.8 75.1 71.2 78.1 Team Year GFW Yield FD 18.5 19.6 21.5 20.8 20.9 22.1 18.9 19.9 21.9 22.6 23.9 25.4 22.2 23.3 25.5 20.0 20.3 21.7 Model specification The syntax for specifying a multivariate linear model in ASReml is Y-variates ∼ fixed [!r random ] [!f sparse fixed ] • Y-variates is a list of traits, • fixed, random and sparse fixed are as in the univariate case (see Chapter 6) but involve the special term Trait and interactions with Trait. The design matrix for Trait has a level (column) for each trait. Trait by itself fits the mean for each variate, – In an interaction Trait.Fac fits the factor Fac for each variate and Trait.Cov fits the covariate Cov for each variate. – ASReml internally rearranges the data so that n data records containing t traits each becomes n sets of t analysis records indexed by the internal factor Trait i.e. nt analysis records ordered Trait within data record. If the data is already in this long form, use the !ASMV t qualifier to indicate that a multivariate analysis is required.