-------- Original Message -------- Subject: [AGDG-LIST:405] R Computing Contest Date: Sat, 21 Oct 2006 12:08:13 -0400 From: Larry Schaeffer <lrs at uoguelph.ca> Reply-To: lrs at uoguelph.ca To: Animal Geneticist's Discussion <agdg-list at colostate.edu> For those that are interested only: R Computer Programming Challenge Given: y = Factor A + Factor B + b1(Covariate1) + b2(Covariate2) + ... + bp(Covariate p) + animal + e where y is a single trait - vector of observations, Factors A and B are fixed with ma and mb levels respectively, Covariates 1 to p are fixed regressions and p is a general number but less than 20. Heritability is a variable and should be requested by the program. You are given a list of the animal IDs of animals with records, and their sires and dams. Sire and dam IDs are smaller than the IDs of their progeny, and all IDs go from 1 to n where n can be up to 10 million animals. Tasks: 1) Estimate the EBVs of all animals using BLUP and mixed model equations and list the top 10 largest EBVs with associated animal IDs, first ten levels of Factor A with solutions, first ten levels of Factor B with solutions, and all estimated regression coefficients. Submit your R program to Bill Szkotnicki (bszk at uoguelph.ca) by January 5, 2007. Submissions will be dated by their arrival date. Provide any special functions or details that might be needed to run your program. All R programs will be run on the same test data sets, computer (Linux), and timed. Winner: Earliest submitted R program that runs the fastest and gives the correct answers. Prize: Free registration for the Kennedy Conference in 2008 in Guelph. -- Lep pozdrav / With regards, Gregor Gorjanc ---------------------------------------------------------------------- University of Ljubljana PhD student Biotechnical Faculty Zootechnical Department URI: http://www.bfro.uni-lj.si/MR/ggorjan Groblje 3 mail: gregor.gorjanc <at> bfro.uni-lj.si SI-1230 Domzale tel: +386 (0)1 72 17 861 Slovenia, Europe fax: +386 (0)1 72 17 888 ---------------------------------------------------------------------- "One must learn by doing the thing; for though you think you know it, you have no certainty until you try." Sophocles ~ 450 B.C.