covariance_structure_of_correlated_random_effects_for_multiple_traits
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
covariance_structure_of_correlated_random_effects_for_multiple_traits [2018/03/29 18:51] – andres | covariance_structure_of_correlated_random_effects_for_multiple_traits [2018/03/29 18:55] – andres | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | The documentation is bit confusing on how to declare several correlated effects for several traits. Whereas '' | + | The documentation is bit confusing on how to declare several correlated effects for several traits. Whereas '' |
For instance terminal crosses models (e.g. [[https:// | For instance terminal crosses models (e.g. [[https:// | ||
- | * trait_pure: **y = u + e** (animal) | + | * trait_pure: **y = hys u + e** (animal) |
- | * trait_crossbred : **y = s + e** (sire of crossbred) | + | * trait_crossbred : **y = hys s + e** (sire of crossbred) |
- | Thus we have two traits, purebred and crossbred performance, | + | Thus we have two traits, purebred and crossbred performance, |
< | < | ||
- | ... | + | 1 0 12 cross |
+ | 0 2 25 cross | ||
4 0 3084 cross | 4 0 3084 cross | ||
0 5 3084 cross | 0 5 3084 cross | ||
... | ... | ||
RANDOM_GROUP | RANDOM_GROUP | ||
- | 4 5 | + | 3 4 |
RANDOM_TYPE | RANDOM_TYPE | ||
add_animal | add_animal | ||
Line 27: | Line 28: | ||
Where we have a 4x4 matrix for covariances. In fact this corresponds to | Where we have a 4x4 matrix for covariances. In fact this corresponds to | ||
- | ^ ^ |Effect 4| |Effect | + | ^ ^ ^Effect 3^Effect 3^Effect 4^Effect |
- | ^ ^ |Trait 1 |Trait2|Trait1 | + | ^ ^ ^Trait 1 ^Trait2^Trait1 |
- | ^Effect | + | ^Effect |
- | ^ ^Trait 2 |0 | 0 | 0| 0| | + | ^Effect 3^Trait 2 |0 | 0 | 0| 0| |
- | ^Effect | + | ^Effect |
- | ^ ^Trait 2|Cov(s, | + | ^Effect 4^Trait 2|Cov(s, |
covariance_structure_of_correlated_random_effects_for_multiple_traits.txt · Last modified: 2024/03/25 18:22 by 127.0.0.1