Log5

From testwiki
Revision as of 13:37, 30 June 2023 by imported>MRB16th
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Log5 is a method of estimating the probability that team A will win a game against team B, based on the odds ratio between the estimated winning probability of Team A and Team B against a larger set of teams.

Let pA and pB be the average winning probabilities of team A and B and let pA,B be the probability of team A winning over team B, then we have the following odds ratio equation

pA,B1pA,B=pA1pA×1pBpB.

One can then solve

pA,B=pApA×pBpA+pB2×pA×pB.

The name Log5 is due to Bill James[1] but the method of using odds ratios in this way dates back much farther. This is in effect a logistic rating model and is therefore equivalent to the Bradley–Terry model used for paired comparisons, the Elo rating system used in chess and the Rasch model used in the analysis of categorical data.[2]

The following notable properties exist:

  • If pA=1, Log5 will give A a 100% chance of victory.
  • If pA=0, Log5 will give A a 0% chance of victory.
  • If pA=pB, Log5 will give each team a 50% chance of victory.
  • If pA=1/2, Log5 will give A a 1pB probability of victory.
  • If pA+pB=1, Log5 will give A a (pA)2/((pA)2+(pB)2) chance of victory.

Additional applications

In addition to head-to-head winning probability, a general formula can be applied to calculate head-to-head probability of outcomes such as batting average in baseball.[3]

Sticking with our batting average example, let pB be the batter's batting average (probability of getting a hit), and let pPbe the pitcher's batting average against (probability of allowing a hit). Let pL be the league-wide batting average (probability of anyone getting a hit) and let pB,P be the probability of batter B getting a hit against pitcher P.

pB,P=pB×pPpLpB×pPpL+(1pB)×1pP1pL.

Or, simplified as

pB,P=pB×pP×(1pL)(pB×pP)(pL×pB)(pL×pP)+pL.

References

Template:Reflist

Template:Sports rating systems