Hello, I am trying to recreate a BLUP animal model from Tempelman, R. J. and Rosa, G. J. M. Empirical Bayes Approaches to Mixed Model Inference in Quantitative Genetics. In: Genetic Analysis of Complex Traits Using SAS. Saxton, A. (Editor). Cary, NC: SAS Institute Inc., 2004. They used a pedigree of 306 animals, out of which 282 animals have phenotypic records (y). The model has one fixed effect (generation) and one random effect (animal) with a covariance structure given by a relationship matrix (306x306). The most important bit of the code is: proc mixed data=meyer noprofile;
class generation animal;
model y = generation /solution noint covb;
random animal /type=lin(1) LDATA=L2data solution; *L2data is an adjusted output from proc inbreed;
parms (40) (50) /noiter;
run; The code works, but the problem is that I am getting only 282 solutions (breeding values), whereas the original contains 306 solutions. Original dimensions: Covariance Parameters 2 Columns in X 2 Columns in Z 306 Subjects 1 Max Obs Per Subject 306 Observations Used 282 Observations Not Used 24 My dimensions: Covariance Parameters 2 Columns in X 2 Columns in Z 282 Subjects 1 Max Obs Per Subject 282 Number of Observations Read 306 Number of Observations Used 282 Number of Observations Not Used 24 So, the real question is if I can make SAS to create the Z matrix with all 306 columns. Also, is this a version issue? I am using SAS 9.4, but I guess the authors created the code about 25 years ago. Thank you!
... View more