The INBREED Procedure

Example 65.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 65.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 65.3.1: Pedigree Analysis with BY Groups

Printout of OUTCOV= data set

ObsGroupSex_TYPE__PANEL__COL_Swine_NumberSireDamCOL1COL2COL3
11MCOV1COL13504  1.200.400.80
21FCOV1COL23514  0.401.200.80
31FCOV1COL32789350435140.800.801.20
42MCOV1COL12200  1.200.400.80
52FCOV1COL23112  0.401.200.80
62MCOV1COL32501220031120.800.801.20
72FCOV1 3782  0.400.400.40
82MCOV1 3504250137820.600.600.80
92MCOV2 2200  0.400.60.
102FCOV2 3112  0.400.60.
112MCOV2 2501220031120.400.80.
122FCOV2COL13782  1.200.80.
132MCOV2COL23504250137820.801.20.