# Rating Calculation

The algorithm used to calculate the ratings is the Glicko
rating system,

variation of the famous chess rating system Elo rating system.

For each player two parameters are calculated: rating (r) and ratings deviation
(RD).

The RD measures the accuracy of a player's rating. For example, a player with a
rating of 1200 and an RD of 50 has a real strength between 1100 and 1300 with
95% confidence. After a game, the amount the rating changes depends on the RD:
the change is smaller when the player's RD is low (since their rating is
already considered accurate), and also when their opponent's RD is high (since
the opponent's true rating is not well known, so little information is being
gained).

The RD itself decreases after playing a game, and increases with
period of time.

Each player starts with rating of 1200 and rating deviation
of 350.

After a round each player is compared to other players.

**Step 1.**

Determine a rating and RD for each player at the onset of the rating period.

**(a)**

If the player is unrated, set the rating to 1200 and the RD to 350.

**(b)**

Otherwise, use the player's most recent rating, and calculate the new RD from the old RD () by the formula

where is
the number of rounds skiped since last competition (e.g., if the player
competed in the most recent round, )
and is
a constant that governs the increase in uncertainty over time.
The formula above ensures that an RD at the beginning of a
rating period is never larger than 350, the RD for an unrated player.

**Step 2.**

Carry out the following updating calculations for each player separately:

Assume that the player's pre-period rating is , and the ratings deviation is . Let the pre-period ratings of the opponents be and the ratings deviations be . Also let be the outcome against each opponent, with an outcome being either 1, 1/2, or 0 for a win, draw and loss.

Let and denote the post-period rating and ratings deviation for the player. The updating formulas are given by

where

If the rating
change rc = r ¿ r¿ is bigger than 400, the rating
change is limited to 400.

Also if the rating change is lower than -150 it is
limited to -150.

The rating of a competitor can go up by maximum of 400 and go down by a maximum of 150.

These calculations are carried out for every player competing in the round.

## Comments

Please login to post comment.