elo: Elo’s Method for Rating and Ranking

Description Usage Arguments Details Author(s) References Examples

View source: R/Rfun_elo.R

Description

Calculate ratings and provide rankings using Elo's system

Usage

1
2
3
4
5
6
7
8
9
elo(
  jpMat,
  method = "elow",
  Kfactor = 32,
  xiparameter = 400,
  initScore = 2000,
  round = 100,
  ties.method = "average"
)

Arguments

jpMat

a Judge-Presenter matrix, or a User-Movie matrix

method

a character string specifying Elo's method, including "elo", "elow", "elos"

Kfactor

a parameter to properly balance the deviation between actual and expected scroes against prior ratings

xiparameter

a parameter affects the spread of the reatings in the logistic function

initScore

a parameter describe the average rating

round

a parameter indicates the number of iterations

ties.method

a character string specifying how ties are treated, including "average", "first", "last", "random", "max", "min", from base::rank

Details

  1. elo: Elo's system, using win-tie-loss, equivalent to elow

  2. elow: Elo's system, using win-tie-loss

  3. elos: Elo's system, using game scores (each pair has one pair of scores)

Author(s)

Jiangtao Gou

References

Elo, A. E. (1978). The Rating of Chessplayers, Past and Present. Arco Publishing Company, New York.

Gou, J. and Wu, S. (2020). A Judging System for Project Showcase: Rating and Ranking with Incomplete Information. Technical Report.

Langville, A. N. and Meyer, C. D. (2012). Who's Number 1?: The Science of Rating and Ranking. Princeton University Press.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
jpMat <- matrix(data=c(5,4,3,0, 5,5,3,1, 0,0,0,5, 0,0,2,0, 4,0,0,3, 1,0,0,4),
nrow=6,
byrow=TRUE)
result <- elo(jpMat, 
method='elow', 
Kfactor=32, 
xiparameter=400, 
initScore=2000, 
round=10, 
ties.method='average')
print(result)

raincin documentation built on July 1, 2020, 5:53 p.m.

Related to elo in raincin...