Description Usage Arguments Details Value References See Also Examples
Implements the Stephenson rating system for estimating the relative skill level of players in two-player games such as chess. It extends the Glicko method by including a second parameter controlling player deviation across time, a bonus parameter, and a neighbourhood parameter.
1 2 3 |
x |
A data frame containing four variables: (1) a numeric vector denoting the time period in which the game took place (2) a numeric or character identifier for player one (3) a numeric or character identifier for player two and (4) the result of the game expressed as a number, typically equal to one for a player one win, zero for a player two win and one half for a draw. |
status |
A data frame with the current status of the
system. If not |
init |
The rating vector at which to initialize a new player
not appearing in |
gamma |
A player one advantage parameter; either a single
value or a numeric vector equal to the number of rows in
|
cval |
The c parameter, which controls the increase in the
player deviations across time. Must be a single non-negative number.
Note that both |
hval |
The h parameter, which also controls the increase in the player deviations across time. Must be a single non-negative number. |
bval |
The bonus parameter, which gives a per game bonus to each player on the basis that players who play more often may improve irrespective of whether they win or lose. A single non-negative number. Note that this will create ratings inflation (i.e. ratings will increase over time). |
lambda |
The neighbourhood parameter, which shrinks player ratings towards their opponents. A single non-negative number. |
history |
If |
sort |
If |
rdmax |
The maximum value allowed for the rating deviation. |
... |
Not used. |
The Stephenson rating system is a method for evaluating the skill of players. It was developed by Alec Stephenson in 2012 as a variant of his winning entry in a competition to find the most useful practical chess rating system, organized by Jeff Sonas on Kaggle, a platform for data prediction competitions. The precise details are given in the file doc/ChessRatings.pdf.
This implementation is written so that Glicko is obtained as a
special case upon setting all of the parameters hval
,
bval
and lambda
to zero. Default values are roughly
optimized for the chess data analyzed in the file
doc/ChessRatings.pdf, using the binomial deviance criterion.
A list object of class "rating"
with the following
components
ratings |
A data frame of the results at the end of the
final time period. The variables are self explanatory except
for |
history |
A three dimensional array, or |
gamma |
The player one advantage parameter. |
cval |
The c parameter. |
hval |
The h parameter. |
bval |
The bonus parameter. |
lambda |
The neighbourhood parameter. |
type |
The character string |
Glickman, M.E. (1999) Parameter estimation in large dynamic paired comparison experiments. J. R. Stat. Soc. Ser. C: Applied Statistics, 48(3), 377-394.
Glickman, M.E. (2001) Dynamic paired comparison models with stochastic variances. Journal of Applied Statistics, 28, 673-689.
1 2 3 4 5 6 7 |
Stephenson Ratings For 18 Players Playing 675 Games
Player Rating Deviation Games Win Draw Loss Lag
1 Collingwood Magpies 2390 78.14 88 68 2 18 0
2 Geelong Cats 2306 77.51 87 68 0 19 0
3 Hawthorn Hawks 2299 74.60 82 48 1 33 1
4 West Coast Eagles 2285 74.85 81 39 0 42 0
5 Sydney Swans 2274 74.29 82 44 1 37 0
6 Adelaide Crows 2224 75.21 80 40 0 40 0
7 Essendon Bombers 2224 75.69 80 37 2 41 0
8 St Kilda Saints 2205 74.68 86 57 3 26 1
9 Carlton Blues 2191 74.24 82 45 1 36 1
10 Richmond Tigers 2171 75.62 78 25 2 51 1
11 North Melbourne Kangaroos 2170 75.75 78 34 1 43 0
12 Fremantle Dockers 2160 74.92 80 35 0 45 0
13 Western Bulldogs 2141 75.08 84 45 0 39 0
14 Brisbane Lions 2107 77.06 80 30 1 49 0
15 Port Adelaide Power 2071 76.12 78 26 0 52 1
16 Melbourne Demons 2070 77.67 78 22 2 54 0
17 Gold Coast Suns 1889 87.06 34 3 0 31 1
18 Greater Western Sydney 1884 117.86 12 1 0 11 0
Stephenson Ratings For 18 Players Playing 675 Games
Player Rating Deviation Games Win Draw Loss Lag
1 Collingwood Magpies 2390 78.14 88 68 2 18 0
2 Geelong Cats 2306 77.51 87 68 0 19 0
3 Hawthorn Hawks 2299 74.60 82 48 1 33 1
4 West Coast Eagles 2285 74.85 81 39 0 42 0
5 Sydney Swans 2274 74.29 82 44 1 37 0
6 Adelaide Crows 2224 75.21 80 40 0 40 0
7 Essendon Bombers 2224 75.69 80 37 2 41 0
8 St Kilda Saints 2205 74.68 86 57 3 26 1
9 Carlton Blues 2191 74.24 82 45 1 36 1
10 Richmond Tigers 2171 75.62 78 25 2 51 1
11 North Melbourne Kangaroos 2170 75.75 78 34 1 43 0
12 Fremantle Dockers 2160 74.92 80 35 0 45 0
13 Western Bulldogs 2141 75.08 84 45 0 39 0
14 Brisbane Lions 2107 77.06 80 30 1 49 0
15 Port Adelaide Power 2071 76.12 78 26 0 52 1
16 Melbourne Demons 2070 77.67 78 22 2 54 0
17 Gold Coast Suns 1889 87.06 34 3 0 31 1
18 Greater Western Sydney 1884 117.86 12 1 0 11 0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.