tennis_prob: Probability of winning

View source: R/functions.R

tennis_probR Documentation

Probability of winning

Description

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

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

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

Usage

tennis_prob(i, j)

Arguments

i

WElo or Elo rates for player i

j

WElo or Elo rates for player j

Value

Probability that player i wins the match against player j

Examples

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

welo documentation built on Jan. 6, 2023, 1:17 a.m.

Related to tennis_prob in welo...