Data consisting of 9,374 test day milk yield records from 302 first lactations of Alpina goats were analyzed by random regression models using the Wilmink and Ali and Schaeffer functions and Legendre orthogonal polynomials of third and fifth orders. Models including animal additive genetic, permanent environmental and homogeneous or heterogeneous (three or four classes) residual random effects were compared by Akaike information criterion (AIC), Schwarz Bayesian information criterion (BIC), likelihood ratio test (Ln L), phenotypic, permanent environmental, genetic and residual […]