PDA

View Full Version : Ratings Calculator



Candy-Cane
12-06-2006, 11:20 PM
Hey I know theres a ratings calculator on Barry Cox's and Ian Rout's web pages but I can't seem to find the direct link...does anyone know?

Bereaved
13-06-2006, 01:08 AM
Hi Candy-Cane,

firstly in case you are just asking where the website's addresses are:

http://www.netspeed.com.au/ianandjan/IansPage/

and http://www.bjcox.com/modules.php? is offline at the moment; or at least my computer won't load it.

I have a copy of Barry's ratings calculator on my hard drive still; if no one you knows has it, let me know and I will email it to you, as Barry said that it was offline and that his site was down sometime this year. He would know best when this matter has changed.

Hope this is of some help.

Take care and God Bless, Macavity

Rincewind
13-06-2006, 11:19 PM
Yes it is true. Although Garvin has asked me about this and Ascaro spent most of the weekend bending my ear on the same topic. I guess I will have to spend some quality time with my web server sometime soon. It is on my list but just pretty busy between now and mid-July.

In case I forget, remind me sometime after July 9.

Sorry for the inconvenience. In the meantime you could look at the spreadsheet located here...

http://dreadnought.bjcox.com/downloads/glicko.xls

Though even this would have been unavailable over the weekend as my ISP and modem seem to be having a communication issue.

I promised Ascaro to list of RD values to use for the character values published by the ACF. The values I use are...

!! = 60
! = 95
space = 140
? = 205
?? = 300

which are just approximate values in the ranges specified by each RD designation.

Hope this helps. If you have further questions, please feel free to ask.

anyone4chess
19-06-2006, 03:42 AM
Hey I know theres a ratings calculator on Barry Cox's and Ian Rout's web pages but I can't seem to find the direct link...does anyone know?



<html>
<head>
<title>CALCULATOR</title>
<style type='text/css'>
body { background-color:#FFFFFF;color:#000000;font-size:10pt;font-family:Verdana; }
th { font-size:10pt;font-family:Verdana; }
</style>
<script language="JavaScript">
function CalculateELO(f)
{ var i, s, es, sumScore=0, sumExpectedScore=0, PlayersRating=1500, KValue=16, OpponentsRating;
if (f.PlayersOldRating.value) PlayersRating=parseInt(f.PlayersOldRating.value);
for (i=0; i<f.OpponentsRating.length; i++)
{ if (f.OpponentsRating[i].value)
{ OpponentsRating=parseInt(f.OpponentsRating[i].value);
s=parseFloat(f.Score[i].options[f.Score[i].selectedIndex].value);
es=ExpectedScore(PlayersRating,OpponentsRating);
f.ExpectedScore[i].value=Math.round(es*1000)/1000;
sumScore+=s;
sumExpectedScore+=es;
}
else f.ExpectedScore[i].value="";
}
f.SumScore.value=sumScore;
f.SumExpectedScore.value=Math.round(sumExpectedSco re*1000)/1000;
if (f.KValue.value) KValue=parseInt(f.KValue.value);
PlayersRating+=KValue*(sumScore-sumExpectedScore);
f.PlayersNewRating.value=Math.round(PlayersRating* 1000)/1000;
}
function ExpectedScore(PlayersRating,OpponentsRating)
{ return(1/(1+Math.pow(10,((OpponentsRating-PlayersRating)/400))));
}
</script>
</head>
<body>
<div align="center">
<form>
ExpectedScore=1/(1+10^((R_opponent-R_player)/400))<br>
R_new=R_old+K*(Sum(Score)-Sum(ExpectedScore))<br>
<br>
Player's old rating: <input size=8 name="PlayersOldRating"><br>
<br>
<table border=1 cellpadding=2 cellspacing=0 bgcolor=#dddddd>
<tr><th nowrap>Opponent's Rating</th>
<th nowrap>Score</th>
<th nowrap>Expected Score</th>
</tr>
<tr><th><input size=8 name="OpponentsRating"></th>
<th><select name="Score"><option value="0">loss</option><option value="0.5">draw</option><option value="1">win</option></select></th>
<th><input size=12 name="ExpectedScore" readonly></th>
</tr>
<tr><th><input size=8 name="OpponentsRating"></th>
<th><select name="Score"><option value="0">loss</option><option value="0.5">draw</option><option value="1">win</option></select></th>
<th><input size=12 name="ExpectedScore" readonly></th>
</tr>
<tr><th><input size=8 name="OpponentsRating"></th>
<th><select name="Score"><option value="0">loss</option><option value="0.5">draw</option><option value="1">win</option></select></th>
<th><input size=12 name="ExpectedScore" readonly></th>
</tr>
<tr><th><input size=8 name="OpponentsRating"></th>
<th><select name="Score"><option value="0">loss</option><option value="0.5">draw</option><option value="1">win</option></select></th>
<th><input size=12 name="ExpectedScore" readonly></th>
</tr>
<tr><th><input size=8 name="OpponentsRating"></th>
<th><select name="Score"><option value="0">loss</option><option value="0.5">draw</option><option value="1">win</option></select></th>
<th><input size=12 name="ExpectedScore" readonly></th>
</tr>
<tr><th>Sum</th>
<th><input size=8 name="SumScore" readonly></th>
<th><input size=12 name="SumExpectedScore" readonly></th>
</tr>
</table>
<br>
K-value (16=Master, 32=Beginner) <input size=4 name="KValue" value="16"><br>
<br>
Player's new rating: <input size=12 name="PlayersNewRating" readonly>
<input type="button" value="Calculate" onClick="CalculateELO(this.form)">
</form>
</div>
</body>
</html>

Your own web based ELO rating calculator.

I hope this is what you were asking for?

Thanks