We can obtain these heritability estimates using the VPREDICT !DEFINE command directly in the ASReml program. For complex models like the one in this example, however, it is often not obvious how the variance components are named or ordered in the output. When in doubt, simply write the VPREDICT !DEFINE command with no subsequent definition lines, and a .pvc file will be created that includes the covariance components with the names that should be used in the definitions of functions of the variance components. For example, if no variance component functions are defined after the VPREDICT !DEFINE directive in !PART 2 of Code04-‐5_AnimalModel.as, the resulting .pvc output file is created:
Code04-‐5_AnimalModel.pvc