tennis_prob {welo}R Documentation

Probability of winning

Description

Calculates the probability that player ii wins over player jj for match at time t+1t+1 using the WElo or Elo rates at time tt. Formally:

p^i,j(t+1)=11+10(Ej(t)Ei(t))/400,\hat{p}_{i,j}(t+1) = \frac{1}{1+10^{\left(E_j(t)-E_i(t)\right)/400}},

where Ei(t)E_{i}(t) and Ej(t)E_j(t) are the WElo or Elo rates at time tt.

Usage

tennis_prob(i, j)

Arguments

i

WElo or Elo rates for player ii

j

WElo or Elo rates for player jj

Value

Probability that player ii wins the match against player jj

Examples

tennis_prob(2000,2000) 
tennis_prob(2500,2000)

[Package welo version 0.1.4 Index]