Skip to content
Prev 181339 / 398502 Next

[correction] Animal Morphology: Deriving Classification Equation with

[Apologies -- I made an error (see at [***] near the end)]
On 24-May-09 19:07:46, Ted Harding wrote:
[***]
The above is incorrect! Apologies. I plotted the raw WT and ID
instead of their logs. In fact, if you do plot the logs:

  ## Plot log(WT) vs log(ID) (M & F)
  plot(lID,lWT)
  points(lID[ix.M],lWT[ix.M],pch="+",col="blue")
  points(lID[ix.F],lWT[ix.F],pch="+",col="red")

you now get what looks like much closer agreement between the
covariance cov(lID,lWT) then before. Hence, I would now suggest
that you do your limear discrimination on the logarithms of the
variables (since you also get agreement for the other pairs on
the log scale.

In fact:

[Raw]:
  [Male]:
  cov(cbind(WG,WT,ID)[ix.M,])
  #            WG         WT          ID
  # WG  2.2552465 0.11074710 -0.02202080
  # WT  0.1107471 0.33853450  0.06601287
  # ID -0.0220208 0.06601287  0.31979368

  [Female]:
  cov(cbind(WG,WT,ID)[ix.F,])
  #           WG        WT        ID
  # WG  2.4716912 0.1577307   0.6670657
  # WT  0.1577307 0.3183928   0.2973335
  # I D 0.6670657 0.2973335   2.8326520

[log]:
  [Male]:
  cov(cbind(lWG,lWT,lID)[ix.M,])
  #               lWG          lWT           lID
  # lWG  0.0006584465 0.0001813315 -0.0002133576
  # lWT  0.0001813315 0.0030368382  0.0030442356
  # lID -0.0002133576 0.0030442356  0.0693965979

  [Female]:
  cov(cbind(lWG,lWT,lID)[ix.F,])
  #              lWG          lWT         lID
  # lWG  0.0007244826 0.0002171885  0.001951343
  # lWT  0.0002171885 0.0019640076  0.003305884
  # lID  0.0019513428 0.0033058841  0.068406840
--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding at manchester.ac.uk>
Fax-to-email: +44 (0)870 094 0861
Date: 24-May-09                                       Time: 21:49:50
------------------------------ XFMail ------------------------------