Quote:
Originally Posted by speedbuggy76
Can you provide the algorithm to calculate it for a given team at a given regional? I realize that it would be too difficult to do for everyone at Peachtree since the data isn't on Twitter, but we'd love to calculate it for ourselves to see where we stand.
Thanks!
|
Well to get your ETC you have to go through almost every team...
but in case your feeling ambitious:
As each match gets added to a DB, add the alliance points to a running sum for each team.
Team's total average = teams total / num matches
Then once all the matches have been added
loop back through all the matches again, but this time
calculate your portion of the contribution:
so say for red1:
red alliances average = ( red 1's avg + red2's avg + red 3s avg ) / 3
red 1's contribution = redScore * (red 1's avg / red alliances avg)
then add up all of your contributions and divide by the number of matches.
note I am working on a script to get the matches from the first site for events not tweeted...
however for those events you will only see etc
erc and emc can only be calculated with the twitter feed.