Kristofer Munsterhjelm wrote:
[snip]

Oops, let's try those tables again.

            desired        actual            diff
    100: A B C D    r(100/41) = 2    2 (B and D) << L    0
     68: A B D    r(68/41) = 2    2 (B and D)        0
     32: A C D    r(32/41) = 1    1 (D)            0
     34: A D    r(34/41) = 1    1 (D)            0
     33: B D    r(33/41) = 1    2 (B and D)        1
     32: C D    r(32/41) = 1    1 (D)            0
     33: A        1        0            1
     33: B        1        0            1
     32: C        1        0            1
      2: D        0        1            1

should be

                    desired         actual            diff
     100: A B C D   r(100/41) = 2   2 (B and D) << L  0
      68: A B D     r(68/41) = 2    2 (B and D)       0
      32: A C D     r(32/41) = 1    1 (D)             0
      34: A D       r(34/41) = 1    1 (D)             0
      33: B D       r(33/41) = 1    2 (B and D)       1
      32: C D       r(32/41) = 1    1 (D)             0
      33: A         1               0                 1
      33: B         1               0                 1
      32: C         1               0                 1
       2: D         0               1                 1

The squared error is 5, and so the RMSE is sqrt(0.5) ~ 0.7. This is, incidentally, the best score for BD.

Another example, this time with the council {B, C} and divisor 47:


                    desired         actual            diff
     100: A B C D   r(100/47) = 2   2 (B and C) << L  0
      68: A B D     r(68/47) = 1    1 (B)             0
      32: A C D     r(32/47) = 1    1 (C)             0
      34: A D       r(34/47) = 1    0                 1
      33: B D       r(33/47) = 1    1 (B)             0
      32: C D       r(32/47) = 1    1 (C)             0
      33: A         1               0                 1
      33: B         1               1                 0
      32: C         1               1                 0
       2: D         0               0                 0
----
Election-Methods mailing list - see http://electorama.com/em for list info

Reply via email to