User Tools

Site Tools


covariance_structure_of_correlated_random_effects_for_multiple_traits

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
covariance_structure_of_correlated_random_effects_for_multiple_traits [2018/03/29 18:54]
andres
covariance_structure_of_correlated_random_effects_for_multiple_traits [2018/04/09 16:13]
andres
Line 1: Line 1:
-The documentation is  bit confusing on how to declare several correlated effects for several traits. Whereas ''​renumf90''​ does this automatically for maternal effects models, it is not so obvious if one does it by itself. ​+The documentation is  bit confusing on how to declare several correlated effects for several traits. Whereas ''​renumf90''​ does this automatically for maternal effects models, it is not so obvious if one does it by itself. Llibertat Tusell and I put this together.
  
 For instance terminal crosses models (e.g. [[https://​gsejournal.biomedcentral.com/​articles/​10.1186/​s12711-016-0211-3||here]]) use: For instance terminal crosses models (e.g. [[https://​gsejournal.biomedcentral.com/​articles/​10.1186/​s12711-016-0211-3||here]]) use:
  
-  * trait_pure: **y = hys u + e** (animal)  +  * trait_pure: **y = herd-year-season + u + e** (animal)  
-  * trait_crossbred : **y = hys s + e** (sire of crossbred)+  * trait_crossbred : **y = herd-year-season + s + e** (sire of crossbred)
  
 Thus we have two traits, purebred and crossbred performance,​ but effect **u** only affects purebreds and effect **s** only affects crossbreds. Data file has "​animal"​ in column 4 and "​sire"​ in column 5. Effect **hys** has respectively 12 and 25 levels. ​ Thus we have two traits, purebred and crossbred performance,​ but effect **u** only affects purebreds and effect **s** only affects crossbreds. Data file has "​animal"​ in column 4 and "​sire"​ in column 5. Effect **hys** has respectively 12 and 25 levels. ​
covariance_structure_of_correlated_random_effects_for_multiple_traits.txt · Last modified: 2018/04/09 16:13 by andres