Kendall's Tau

Discussion in 'SP9' started by Viki2010, Aug 26, 2014.

  1. Viki2010

    Viki2010 Member

    Can someone explain to me how to calculate the discordant and condordant pairs? I don't know how the C(++) or D(-+) etc are really derived. Sweeting doesn't show it. page 132
     
  2. Viki2010

    Viki2010 Member

    Don't you guys think there is an error in ActEd notes on the empirical calculation of C and D? page 15 of chapter 11.

    Example is ok until I get to the calculation of

    (64 - 72) - this gives me a negative sign (-)
    (85 - 45) - this gives me a positve sign (+)

    so the answer should be D(-,+) instead of C(+,+).
     
  3. Shillington

    Shillington Member

    Let X and Y be random variables.

    Then for a sample x, y of X and Y the paid are concordant is

    x-E(X) >=0 and y-E(Y)>=0 or x-E(X) <=0 and y-E(Y)<=0

    and discordant otherwise.
     
  4. Viki2010

    Viki2010 Member

    Thanks, I understand the definition, but can you refer to my example in the post? I think the ActEd contains an error....
     
  5. Viki2010

    Viki2010 Member

    Actually, it would be helpful if someone could show a numerical example, as I can't work it out from Sweeting page 132.
     
  6. Simon James

    Simon James ActEd Tutor Staff Member

    The pairs you are quoting are t=4 vs t=3 hence the bottom right cell in the table which is indeed D(-,+)?
     
  7. Simon James

    Simon James ActEd Tutor Staff Member

    A concordant pair is one where the pairs are in the same order relative to each other, so if we consider the ranks:

    X Y
    1 4
    2 6

    Then for X: 1-2=-1 and for Y: 4-6=-2 so we have (-,-) and a concordant pair

    If we have:

    X Y
    3 4
    2 6

    Then for X: 3-2=+1 and for Y: 4-6=-2 so we have (+,-) and a discordant pair.
     
  8. Viki2010

    Viki2010 Member

    This example is very simple. I just don't agree with the ActEd calculation in ActEd notes.

    With the example in sweeting, I don't know how he is getting his C and D.

    But I googled another method of calculation where

    Kendall's Tau = (C-D)/(C+D) and the calculation is by re-ranking one variable in ascending or descending order. AcdEd excercises also show this method.

    Is that acceptable for an exam?
     
  9. Simon James

    Simon James ActEd Tutor Staff Member

    It would be fine to sort first (as this simplifies the process somewhat!)

    I hope I dealt with that one in an earlier post? Let me know if you still disagree.

    (p132) He is using the same method.

    eg t=3 vs t=2

    t X Y
    2 95 25
    3 15 10

    15-95 = neg
    10-25 = neg

    hence C(-,-)

    eg t=4 vs t=1

    t X Y
    1 10 20
    4 35 15

    35-10 = pos
    15-20 = neg

    hence D(+,-)
     
  10. Viki2010

    Viki2010 Member


    Thank you. This is clear now. I was doing my calc. differently at first.
     

Share This Page