ANOTHER Ghost Rating formula (possibly) incorrect description!

Post a reply

Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
Smilies
:points: :-D :eyeroll: :neutral: :nmr: :razz: :raging: :-) ;) :( :sick: :o :? 8-) :x :shock: :lol: :cry: :evil: :?: :smirk: :!:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is OFF
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Expand view Topic review: ANOTHER Ghost Rating formula (possibly) incorrect description!

Re: ANOTHER Ghost Rating formula (possibly) incorrect description!

by echidna » Tue Jul 25, 2023 11:59 pm

You are correct - this is for case "Sum-of-squares". My apologies, I should have made that clear.

Re: ANOTHER Ghost Rating formula (possibly) incorrect description!

by Doug7878 » Tue Jul 25, 2023 9:28 pm

Is it possible that this is the case only if the scoring system is SOS?, because I have calculated the expected changes in GRs a few times in DSS scoring and the GR changes made sense to me (not squared).

ANOTHER Ghost Rating formula (possibly) incorrect description!

by echidna » Tue Jul 25, 2023 1:59 am

The description of Ghost Rating calculations on page https://webdiplomacy.net/ghostRatings.php states:
expectedScore = yourGR / sumOfEachPlayersGR

However in the code, it seems to involve the ratings SQUARED:

$expectedResult[$userID] = $expectedSquare[$userID] / $expectedSum;
where
$expectedSquare[$userID] = $rating * $rating;
and
$expectedSum is the sum of all the players' $expectedSquare values.

My apologies in advance if I am misunderstanding the code.

Top