Learn R Programming

EloRating (version 0.46.8)

winprob: expected probability of winning

Description

calculate expected probability of winning given known strength of both opponents

Usage

winprob(elo1, elo2, normprob = TRUE)

Arguments

elo1

Elo rating from individual for which the winning probability should be calculated

elo2

Elo rating of the opponent

normprob

logical (by default TRUE). Should a normal curve be assumed for calculating the winning/losing probablities, or a logistic curve.

Value

numeric, expected chance of first individual to win an interacation with the second individual

Details

Elo (1978) proposed three ways of calculating winning probabilities (section 8.73), one of which (the `linear' approach) is ignored here because it ``lacks the sophistication and flexibility to express the limitation on D [rating difference] and the deflation controls required for integrity of the ratings''. Between the two remaining approaches (normal and logistic), Elo favored initially the normal over the logistic function, though he writes that the logistic function ``better reflects large deviations in an extended series''. Because of Elo's initial preference, the default approach taken by the package's functions is the normal one, though it can be changed to the logistic one if desired.

References

elo1978EloRating

Examples

Run this code
# NOT RUN {
winprob(1200,1000)
winprob(1000,1200)
winprob(1000,1000)

# }

Run the code above in your browser using DataLab