Sampling of traits and data in estimation of genetic parameters.