Example 10.3 Pedigree Analysis with BY Groups
This example demonstrates the structure of the OUTCOV= data set created by PROC INBREED. Note that the first BY group has three individuals, while the second has five. Therefore, the covariance matrix for the second BY group is broken up into two panels. The following statements produce Output 10.3.1.
data Swine;
input Group Swine_Number $ Sire $ Dam $ Sex $;
datalines;
1 2789 3504 3514 F
2 2501 2200 3112 .
2 3504 2501 3782 M
;
proc inbreed data=Swine covar noprint outcov=Covariance
init=0.4;
var Swine_Number Sire Dam;
gender Sex;
by Group;
run;
title 'Printout of OUTCOV= data set';
proc print data=Covariance;
format Col1-Col3 4.2;
run;
Output 10.3.1
Pedigree Analysis with BY Groups
1 |
M |
COV |
1 |
COL1 |
3504 |
|
|
1.20 |
0.40 |
0.80 |
1 |
F |
COV |
1 |
COL2 |
3514 |
|
|
0.40 |
1.20 |
0.80 |
1 |
F |
COV |
1 |
COL3 |
2789 |
3504 |
3514 |
0.80 |
0.80 |
1.20 |
2 |
M |
COV |
1 |
COL1 |
2200 |
|
|
1.20 |
0.40 |
0.80 |
2 |
F |
COV |
1 |
COL2 |
3112 |
|
|
0.40 |
1.20 |
0.80 |
2 |
M |
COV |
1 |
COL3 |
2501 |
2200 |
3112 |
0.80 |
0.80 |
1.20 |
2 |
F |
COV |
1 |
|
3782 |
|
|
0.40 |
0.40 |
0.40 |
2 |
M |
COV |
1 |
|
3504 |
2501 |
3782 |
0.60 |
0.60 |
0.80 |
2 |
M |
COV |
2 |
|
2200 |
|
|
0.40 |
0.60 |
. |
2 |
F |
COV |
2 |
|
3112 |
|
|
0.40 |
0.60 |
. |
2 |
M |
COV |
2 |
|
2501 |
2200 |
3112 |
0.40 |
0.80 |
. |
2 |
F |
COV |
2 |
COL1 |
3782 |
|
|
1.20 |
0.80 |
. |
2 |
M |
COV |
2 |
COL2 |
3504 |
2501 |
3782 |
0.80 |
1.20 |
. |
Copyright © SAS Institute Inc. All rights reserved.