Lets take Example B)Laskos wrote:Sorry, I didn't quite get your win_prob and draw_prob. Besides that, yourEdmund wrote:...
Lets calculate an example and you tell me please where I am going wrong:
Test A: 1/1/0
Test B: 1/2/0
A)
win_prob = 1 / 4
draw_prob = 1 / 2
P(score_dif = 0) = N! / (W! D! L!) win_prob^W draw_prob^D win_prob^L
= 2! / (0! 2! 0!) 0.25^0 * 0.5^2 * 0.25^0 = 0.5^2 = 0.25
P(score_dif = 1) = 2! / (1! 1! 0!) 0.25^1 * 0.5^1 * 0.25^0 = 2 * 0.25 * 0.5 = 0.25
LOS ( A ) = 1 - (P(score_dif = 0) + P(score_dif = 1) /2) = 62.5%
B)
win_prob = 1 / 6
draw_prob = 2 / 3
P(score_dif = 0) = 3! / (0! 3! 0!) (1/6)^0 * (2/3)^3 * (1/6)^0 = (2/3)^3 = 0.296296296
P(score_dif = 1) = 3! / (1! 2! 0!) (1/6)^1 * (2/3)^2 * (1/6)^0 = (1/6) * (2/3)^2 = 0.222222222
LOS ( B ) = 1 - (P(score_dif = 0) + P(score_dif = 1) /2) = 59.26%
---
So the LOS for the Test B is lower although the score difference is equal.
P(score_dif = 0) = N! / (W! D! L!) win_prob^W draw_prob^D win_prob^L assumes already a normal distribution. If you would get a sum over trinomials, that would get you to correct result. Try to compare to the precise formula.
Kai
W = 1
D = 2
L = 0
so having just this prior information one would assume a draw ratio between those two engine of 2/3;
That means 1/3 of the games have to be non draws;
as the calculation assumes two equally strong opponents, the win ratio for each of them will be the remaining 1/3 divided by 2 = 1/6
in what sense does P(score_dif = 0) assume a normal distribution. I was giving the formula for a trinomial distribution
regarding the test A where N=2
I see now that I made a mistake in the calculation .. the correct should be:
P(score_dif = -2) =
P(W=0 D=0 L=2) = 2! / (0! 0! 2!) * 0.25^2 = 0.25^2
P(score_dif = -1) =
P(W=0 D=1 L=1) = 2! / (0! 1! 1!) * 0.5 * 0.25 = 0.25
P(score_dif = 0) =
P(W=0 D=2 L=0) = 2! / (0! 2! 0!) * 0.5^2 = 0.25
+P(W=1 D=0 L=1) = 2! / (1! 0! 1!) * 0.25^2 = 2 * 0.25^2
P(score_dif = 1) =
P(W=1 D=1 L=0) = 2! / (1! 1! 0!) * 0.25 * 0.5 = 0.25
P(score_dif = 2) =
P(W=2 D=0 L=0) = 2! / (2! 0! 0!) * 0.25^2 = 0.25^2
the sum of all those = 1:
0.25^2 + 0.25 + 0.25 + 2 * 0.25^2 + 0.25 + 0.25^2 = 1
and to get the LOS =
P(score_dif = -2) + P(score_dif = -1) + P(score_dif = 0) + P(score_dif = 1) / 2 = 0.25^2 + 0.25 + 0.25 + 2 * 0.25^2 + 0.25 / 2 = 81.25%