Download example13.tar.gz
This example illustrates multivariate analyses with repeated records per trait – this can be tricky to model if same records for different traits are taken at the same time and others are not.
New features have been implemented to assist with this:
RPTCOV
is specified in the parameter file!RPTCOV TSELECT
– to specify which records are measured at the same time and thus have a non-zero error covariance and which are not.The data are simulated records - obtained by simulating records for 4 traits recorded on 800 animals at 5 different times. A missing value indicator (999) is used to create different pattern of missing records - note that analyses in the different sub-directories analyze different columns in the data file.
ALIGNED
option is appropriate.ALIGNED
is still appropriate.TSELECT
together with the name of the column in the data file which contains the time variable.
     
For this example, we use records taken at times 1 to 4 for trait 1, and records taken at time 5 for traits 2 to 4. For this case a model fitting a permanent environmental effects due to the animal for trait 1 only together with the INDESCR
option is appropriate. Estimates of the error covariances between trait 1 and traits 2, 3 and 4 then reflect the permanent environmental covariance, while estimates of the (co)variances among the latter represent the sum of temporary and permanent environmental covariances.
TSELECT
option to model this properly. In addition, we need to use the equivalent model invoked via the PEQ option in order to separate temporary and permanent nvironmental covariances between trait 1 and the other traits. Note that permanent environmental effects are fitted for all 4 traits, but that only the corresponding covariance components which can be disentangled from the environmental covariances are reported.