Heritability from Random Regression models

heritability

ASReml does not have a built in procedure to calculate the heritability at a particular AGE based on a random regression model.
You will need to do it manually using a matrix manpulation program (such as R).

If you have only only 5 ages, you should use an unstructered model rather than a quartic random regression.
It will give the variances directly.

To calculate the genetic variance under the random regression model, you need to identify the pol()
coefficients used by ASReml (they are reported in the .res file) for the particular age of interest.

Then use these to pre and post multiply the variance matrix.

polcoeff
t(polcoeff) %*% rrmat %*% polcoeff
[,1]
[1,] 8.463358

Thus you have the genetic variance for the age corresponding to the coefficients used.
Then proceed with the heritability depending on the structure of the rest of the model.