# tennis_prob: Probability of winning In welo: Weighted and Standard Elo Rates

## 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

 1 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

 1 2 tennis_prob(2000,2000) tennis_prob(2500,2000) 

welo documentation built on Oct. 12, 2021, 5:08 p.m.