Bivariate Analysis

Wether trial data

Three key traits for the Australian wool industry are the weight of wool grown per year, the cleanness and the diameter of that wool. Much of the wool is produced from wethers and most major producers have traditionally used a particular strain or 'bloodline'. To assess the importance of bloodline differences, many wether trials were conducted. One trial was conducted from 1984 to 1988 at Borenore near Orange. It involved 35 teams of wethers representing 27 bloodlines. The file wether.dat shown below contains greasy fleece weight (kg), yield (percentage of clean fleece weight to greasy fleece weight) and fibre diameter (microns). The code ( wether.as ) below performs a basic bivariate analysis of this data.
 Orange Wether Trial 1984-8
  SheepID !I
  TRIAL !I
  BloodLine !I
  TEAM *
  YEAR *
  GFW YLD FDIAM
 wether.dat !skip 1
 GFW FDIAM ~ Trait Trait.YEAR !r Trait.TEAM Trait.SheepID
 1 2 2
 1485 0 ID
 Trait 0 US .2 .2 .4
 Trait.TEAM 2
 Trait 0 US
  0.4
  0.3 1.3
 TEAM 0 ID
 Trait.SheepID 2
 Trait 0 US
  0.2 0.2 2
 SheepID 0 ID
 predict YEAR Trait
This is an extract of the data file wether.dat.
 SheepID Site Bloodline Team Year GFW Yield FD
 0101 3  21  1 1  5.6 74.3 18.5
 0101 3  21  1 2  6.0 71.2 19.6
 0101 3  21  1 3  8.0 75.7 21.5
 0102 3  21  1 1  5.3 70.9 20.8
 0102 3  21  1 2  5.7 66.1 20.9
 0102 3  21  1 3  6.8 70.3 22.1
 0103 3  21  1 1  5.0 80.7 18.9
 0103 3  21  1 2  5.5 75.5 19.9
 0103 3  21  1 3  7.0 76.6 21.9
 :::
 4013 3  43 35 1  7.9 75.9 22.6
 4013 3  43 35 2  7.8 70.3 23.9
 4013 3  43 35 3  9.0 76.2 25.4
 4014 3  43 35 1  8.3 66.5 22.2
 4014 3  43 35 2  7.8 63.9 23.3
 4014 3  43 35 3  9.9 69.8 25.5
 4015 3  43 35 1  6.9 75.1 20.0
 4015 3  43 35 2  7.6 71.2 20.3
 4015 3  43 35 3  8.5 78.1 21.7

Return to start