INBREED Procedure
The INBREED procedure calculates the covariance or inbreeding coefficients for a pedigree.
PROC INBREED is unique in that it handles very large populations.
The following are highlights of the procedure's features:
 supports two modes of operation:
 Mode 1: carries out analysis on the assumption that all the individuals belong to the same generation
 Mode 2: divides the population into nonoverlapping generations and analyzes each generation separately,
assuming that the parents of individuals in the current generation are defined in the previous generation.

 computes averages of the covariance or inbreeding coefficients within sex categories if the sex of individuals is known
 performs BY group processing, which enables you to obtain separate analyses on grouped observations
 creates a SAS data set that corresponds to any output table

For further details see the INBREED Procedure
Examples