Go to Post You can't lose if you submit an animation. Even if you don't win an award, your team wins by just doing it. - David Brinza [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 08-04-2015, 19:39
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,071
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: How many matches are really needed to determine final rankings?

Quote:
Originally Posted by tctc View Post
I started with the 10,000 Lakes and North Star Regionals since that is where I am located. But I expanded the analysis to include Colorado, Ventura (since they have 12 matches), Silicon Valley (since I heard the average qualification score was high), Wisconsin (close to MN), UNH District (12 matches), and New York City (many teams, only 8 matches).
I wonder how different the analysis would look if you looked at partial OPRs instead of partial average scores.

I put together partial OPRs for each of the 8 events you listed above, in case someone is interested enough to plot them or otherwise analyze/summarize them.

If this looks interesting/promising, I will generate partial OPRs for all 106 events thus far (Weeks 1 through 6).

Column A is team number, Column B is final OPR (after all Qual matches), Column C is partial OPR after all Qual matches less one, etc

Some of these events have surrogates and some have DQs. I ignored this information and included those scores in the OPR computations.


Attached Files
File Type: zip Partial OPR.zip (77.5 KB, 40 views)

Last edited by Ether : 08-04-2015 at 19:44.
Reply With Quote
  #2   Spotlight this post!  
Unread 08-04-2015, 21:35
dougwilliams's Avatar
dougwilliams dougwilliams is offline
Engineer - Controls, Electronics
FRC #2053 (TigerTronics)
Team Role: Mentor
 
Join Date: May 2013
Rookie Year: 2013
Location: Vestal, NY
Posts: 109
dougwilliams is on a distinguished road
Re: How many matches are really needed to determine final rankings?

Quote:
Originally Posted by Ether View Post
...
If this looks interesting/promising, I will generate partial OPRs for all 106 events thus far (Weeks 1 through 6).
...
It does look interesting and I'd be interested in seeing that. I'd also be interested in seeing what code/spreadsheet magic both you, and the original poster are using to process that match data.

I put together something the other day that calculated my team's average after every Qual match through the VA regional. The above graphs are updated after each match round. I only needed something quick, and that seemed to be quicker, but probably not following the official scoring methodology.
Reply With Quote
  #3   Spotlight this post!  
Unread 08-04-2015, 23:16
Dominick Ferone's Avatar
Dominick Ferone Dominick Ferone is offline
Registered User
FRC #5030 (The Second Mouse)
Team Role: College Student
 
Join Date: Dec 2012
Rookie Year: 2009
Location: Plainview NY
Posts: 250
Dominick Ferone is just really niceDominick Ferone is just really niceDominick Ferone is just really niceDominick Ferone is just really nice
Re: How many matches are really needed to determine final rankings?

I believe that especially with this years game ranking can jump a lot. I know at the Tech Valley regional we "lost" a lot of matches with our score being lower then the opponent that match. But in the end it doesn't matter just of who has the best bot but who plays the alliance they have the smartest and most effective. Three of the lower ranked bots can succeed if played correctly and this year it seemed if teams figured out what worked best for them from the get go and kept to their strategy they would usually have a lot of success.
__________________

2010-2013 Team 353 The POBots - Student, 2014-present Alumni.


2014- present Team 5030 The Second Mouse - Mentor and Founder.
Reply With Quote
  #4   Spotlight this post!  
Unread 09-04-2015, 14:19
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,071
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: How many matches are really needed to determine final rankings?


partial Final-Score OPRs for all 106 events weeks 1-6 can be found here:

http://www.chiefdelphi.com/media/papers/3125



Reply With Quote
  #5   Spotlight this post!  
Unread 09-04-2015, 15:22
Conor Ryan Conor Ryan is offline
I'm parking robot yacht club.
FRC #4571 (Robot Yacht Club)
Team Role: Mentor
 
Join Date: Nov 2004
Rookie Year: 2004
Location: Midtown, NYC
Posts: 1,893
Conor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond repute
Re: How many matches are really needed to determine final rankings?

I love this type of research, it really helps to tune those algorithmic scouting applications.

This type of work is incredibly similar to mathematical economics/econometrics type fields.

Fundamentally you'll see the law of averages dictate direction, but the real question is what was the Quality of the Other Alliance Members for each team based on the final ranking. The Strength of Schedule should be a good proxy for determining the quality of the match scheduling, which should help you determine the minimum number of matches needed to rank better.

But hey, we all have those days where we jump from 48th to 6th in the last 4 matches.
Reply With Quote
  #6   Spotlight this post!  
Unread 09-04-2015, 15:26
tctc's Avatar
tctc tctc is offline
Registered User
AKA: Dr. K, Make it so, Karel, Mr. Karl, Karl
FRC #2479 (The Phoenix)
Team Role: Coach
 
Join Date: Feb 2012
Rookie Year: 2003
Location: MN
Posts: 15
tctc is a glorious beacon of lighttctc is a glorious beacon of lighttctc is a glorious beacon of lighttctc is a glorious beacon of lighttctc is a glorious beacon of light
Re: How many matches are really needed to determine final rankings?

Fun comments. Thanks!

I decided to go ahead and look at the top seed alliance effect. That is, how does a team's rank change depending on if it is with or against the top seed team during a match, or not in a match at all with the top seed team? To do the analysis, I essentially took out every match that the top seed was in; marked which teams were with, against, or not in a match with the top seed; and then looked at how the new rankings changed versus the official rankings.

See below for the Silicon Valley (SV) and North Star (NS) Regionals. I took out team 254 from the SV Regional and 2826 from the NS Regional.

Click image for larger version

Name:	TopSeedEffect - SV.png
Views:	81
Size:	10.8 KB
ID:	18806 Click image for larger version

Name:	TopSeedEffect - NS.png
Views:	54
Size:	10.0 KB
ID:	18807

In the SV Regional, a team's overall rank increased by about 6.55+/-5.81 places if it was in an alliance with 254. But, a team's overall rank decreased by 5.87+/-3.49 places if the team did not have a match with 254.

In the NS Regional, a team's overall rank increased by about 8.05+/-8.68 places if it was in an alliance with 2826. But, a team's overall rank decreased by 5.79+/-2.58 places if the team did not have a match with 2826.

Ya, I would say this confirms the hypothesis that being in an alliance with the top team is going to boost a team's overall ranking. Likewise, not being in a match with the top team does not help.

Ether and Doug, I'll look into making some plots tomorrow with the OPR, including attaching the code for getting the data (just a heads up, it's not totally automated). But, ya, could be interesting.
__________________
FLL judge - 2008-present
FLL mentor/coach - 2003-2005, 2009-present
FTC coach - 2011
FRC judge - 2008-2010
FRC mentor/coach - 2010 (2989), 2011-2013 (3524), 2014-present (2479, 2500)
Reply With Quote
  #7   Spotlight this post!  
Unread 10-04-2015, 12:47
tctc's Avatar
tctc tctc is offline
Registered User
AKA: Dr. K, Make it so, Karel, Mr. Karl, Karl
FRC #2479 (The Phoenix)
Team Role: Coach
 
Join Date: Feb 2012
Rookie Year: 2003
Location: MN
Posts: 15
tctc is a glorious beacon of lighttctc is a glorious beacon of lighttctc is a glorious beacon of lighttctc is a glorious beacon of lighttctc is a glorious beacon of light
Re: How many matches are really needed to determine final rankings?

Quote:
Originally Posted by dougwilliams View Post
It does look interesting and I'd be interested in seeing that. I'd also be interested in seeing what code/spreadsheet magic both you, and the original poster are using to process that match data.
See attached for the code (ImportResultsData.txt) and spreadsheet (FRC Team Rankings Chart.xlsx) for computing match data. To run it yourself, you'd need to import the code file into an Excel macro and save the Excel file as macro-enabled. Then set up the Match Results and Team Scores spreadsheets as described in the comments (you can also see other sheets in the Excel file for examples of how the data looks and how they are named). Then run the macro, and it should import team scores for each match. It doesn't get matches if the team was disqualified, unfortunately; so those will need to be updated manually. Then, compute average scores and rankings with Excel's average() and sorting functions. It is a bit of work by hand; but once one gets the hang of it, I think it goes pretty quickly. I hope this helps, and let me know if you have any questions.
__________________
FLL judge - 2008-present
FLL mentor/coach - 2003-2005, 2009-present
FTC coach - 2011
FRC judge - 2008-2010
FRC mentor/coach - 2010 (2989), 2011-2013 (3524), 2014-present (2479, 2500)
Reply With Quote
  #8   Spotlight this post!  
Unread 10-04-2015, 13:20
tctc's Avatar
tctc tctc is offline
Registered User
AKA: Dr. K, Make it so, Karel, Mr. Karl, Karl
FRC #2479 (The Phoenix)
Team Role: Coach
 
Join Date: Feb 2012
Rookie Year: 2003
Location: MN
Posts: 15
tctc is a glorious beacon of lighttctc is a glorious beacon of lighttctc is a glorious beacon of lighttctc is a glorious beacon of lighttctc is a glorious beacon of light
Re: How many matches are really needed to determine final rankings?

Quote:
Originally Posted by Ether View Post
I wonder how different the analysis would look if you looked at partial OPRs instead of partial average scores.

I put together partial OPRs for each of the 8 events you listed above, in case someone is interested enough to plot them or otherwise analyze/summarize them.

...

Column A is team number, Column B is final OPR (after all Qual matches), Column C is partial OPR after all Qual matches less one, etc
I created a couple plots based on the OPR data you provided. It looks like each column represents a new match and not a round. For example, Silicon Valley has 95 matches but 10 rounds. If that is the case, the data has only the last 20 matches. It would be easier to compare if the OPR was computed at the end of each round. But, the OPR graphs are still a little interesting. First, let's look at North Star.

Click image for larger version

Name:	NS-OPRChart.png
Views:	66
Size:	100.0 KB
ID:	18814

The OPR for the final 20 matches seems to be fairly constant for teams. It looks like whenever a team has a match, there's a jump. And then in between matches, it might go back towards the mean. Beyond the top 10 teams, it gets very cluttered. That is, there aren't many OPR points distinguishing teams. So, for the Silicon Valley Regional, I took out all but the top 10 teams.

Click image for larger version

Name:	SV-OPRChart.png
Views:	50
Size:	34.0 KB
ID:	18815

This makes it a little easier to see how the team's OPR changes between matches.

I didn't dive too much into correlating the OPR with the ranking because of the different domains. But, it appears that the OPR is better able to account for the top seed effect, as I like to call it.

Speaking of which, I wanted to revise my analysis from a couple posts ago, where I looked at how the rankings would change if the top team wasn't at the competition. The three categories are not mutually exclusive. The With status could include teams that also have matches against the top seed. Likewise, the Against status could include teams that also have matches with the top seed. So, I filtered the results a little differently to look at Only With, With And Against, Only Against, and Neither. See below for the North Star and Silicon Valley Regionals.

Click image for larger version

Name:	TopSeedEffect2 - NS.png
Views:	31
Size:	10.6 KB
ID:	18816 Click image for larger version

Name:	TopSeedEffect2 - SV.png
Views:	25
Size:	11.6 KB
ID:	18817

I also computed a few statistics using the student t-test. For both the NS and SV Regionals, if a team was either against or not at all in a match with the top seed, that team ended up having a lower rank (p<0.001). On the flip side, if a team was with the top seed or with and against it, then it did have a higher rank (p=0.007 for NS With And Against, p<0.001 for all other cases).

So, the conclusion is the same - a team does better if it's with the top seed and worse if it's against or not with the top seed - but I think this method proves the point better.

Cheerio.
__________________
FLL judge - 2008-present
FLL mentor/coach - 2003-2005, 2009-present
FTC coach - 2011
FRC judge - 2008-2010
FRC mentor/coach - 2010 (2989), 2011-2013 (3524), 2014-present (2479, 2500)
Reply With Quote
  #9   Spotlight this post!  
Unread 10-04-2015, 14:51
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,071
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: How many matches are really needed to determine final rankings?

Quote:
Originally Posted by tctc View Post
Silicon Valley has 95 matches but 10 rounds. If that is the case, the data has only the last 20 matches.
No, the data uses all 95 matches, then the first 94 matches, then the first 93 matches, .... etc:

Quote:
Column A is team number, Column B is final OPR (after all Qual matches), Column C is partial OPR after all Qual matches less one, etc
Column B is the OPR using all 95 matches
Column C is the OPR using the first 94 matches
Column D is the OPR using the first 93 matches
.
.
.
Column U is the OPR using the first 76 matches


... so the progression from Column U to Column B shows how the OPR changed over the course of the last 20 matches.



Partial OPRs for all 106 events in Weeks 1 through 6 are posted here:

http://www.chiefdelphi.com/media/papers/3125



Last edited by Ether : 10-04-2015 at 23:26.
Reply With Quote
  #10   Spotlight this post!  
Unread 13-04-2015, 11:40
tctc's Avatar
tctc tctc is offline
Registered User
AKA: Dr. K, Make it so, Karel, Mr. Karl, Karl
FRC #2479 (The Phoenix)
Team Role: Coach
 
Join Date: Feb 2012
Rookie Year: 2003
Location: MN
Posts: 15
tctc is a glorious beacon of lighttctc is a glorious beacon of lighttctc is a glorious beacon of lighttctc is a glorious beacon of lighttctc is a glorious beacon of light
Re: How many matches are really needed to determine final rankings?

Quote:
Originally Posted by Ether View Post
... so the progression from Column U to Column B shows how the OPR changed over the course of the last 20 matches.
Okay, I see. Thank you for clarifying. Is it at all possible to get the OPR for all matches, not just the last 20? I understand that the algorithm needs every team to compete at least once before the OPR can be computed, which means I don't expect the OPR for the first 10 or so matches. But, ya, it could be interesting to see a bigger picture of how the OPR changes over the course of the competition. Cheers.
__________________
FLL judge - 2008-present
FLL mentor/coach - 2003-2005, 2009-present
FTC coach - 2011
FRC judge - 2008-2010
FRC mentor/coach - 2010 (2989), 2011-2013 (3524), 2014-present (2479, 2500)
Reply With Quote
  #11   Spotlight this post!  
Unread 13-04-2015, 20:18
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,071
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: How many matches are really needed to determine final rankings?

Quote:
Originally Posted by tctc View Post
Is it at all possible to get the OPR for all matches, not just the last 20?
Attached is a ZIP file containing partial OPRs for all 109 events in Weeks 1 through 7. Would you like fries with that?

Just kidding.

Let M be the number of qual matches at an event, and T be the number of teams.

The analysis proceeds as follows for each event:

for (k=M; k>T/2;k--){computeOPR(); deleteMostRecentMatch();}


PS - forgot to mention: I can transpose the rows and columns if that would make it easier for you to do your plotting.


Attached Files
File Type: zip Weeks 1-7 partial OPRs.zip (2.52 MB, 11 views)
Reply With Quote
  #12   Spotlight this post!  
Unread 13-04-2015, 23:18
tctc's Avatar
tctc tctc is offline
Registered User
AKA: Dr. K, Make it so, Karel, Mr. Karl, Karl
FRC #2479 (The Phoenix)
Team Role: Coach
 
Join Date: Feb 2012
Rookie Year: 2003
Location: MN
Posts: 15
tctc is a glorious beacon of lighttctc is a glorious beacon of lighttctc is a glorious beacon of lighttctc is a glorious beacon of lighttctc is a glorious beacon of light
Re: How many matches are really needed to determine final rankings?

Oooooohhhh.... preettttyyyy....

Had time for just a couple plots. But these really show what I was expecting: lots of movement/changing early on and then a leveling-out. However, the leveling-out really isn't that level. It seems like there are still jumps after teams have matches later in qualifications. Perhaps because of good alliance partners, or perhaps the team had a good match.

The first chart has all teams plotted from the Silicon Valley Regional, and the second plot has just the top ten OPR teams from the North Star Regional.

Click image for larger version

Name:	OPR during Qualifications - SV.png
Views:	63
Size:	176.7 KB
ID:	18837 Click image for larger version

Name:	OPR during Qualifications - NS.png
Views:	50
Size:	70.4 KB
ID:	18836

Thank you for all the number crunching to get all the OPR scores, Ether. Perhaps later there will be time for more analysis with reference to rankings instead of just graphical. Or, has this analysis gone on long enough? What else would be interesting?
__________________
FLL judge - 2008-present
FLL mentor/coach - 2003-2005, 2009-present
FTC coach - 2011
FRC judge - 2008-2010
FRC mentor/coach - 2010 (2989), 2011-2013 (3524), 2014-present (2479, 2500)
Reply With Quote
  #13   Spotlight this post!  
Unread 14-04-2015, 03:22
Alex2614's Avatar
Alex2614 Alex2614 is offline
Scapegoat Mentor
AKA: Alex Stout
FRC #2614 (MARS)
Team Role: Mentor
 
Join Date: Mar 2009
Rookie Year: 2008
Location: Morgantown, WV
Posts: 393
Alex2614 has much to be proud ofAlex2614 has much to be proud ofAlex2614 has much to be proud ofAlex2614 has much to be proud ofAlex2614 has much to be proud ofAlex2614 has much to be proud ofAlex2614 has much to be proud ofAlex2614 has much to be proud ofAlex2614 has much to be proud of
Send a message via AIM to Alex2614
Re: How many matches are really needed to determine final rankings?

Quote:
Originally Posted by tctc View Post
What else would be interesting?
I'd like to see an analysis of how much different things would be if the old W-L-T structure was still there. Because I know that my team would not have been in the top 10 at our regionals if the old structure was still in place.

Some say this structure is harder to win because you have to out score every team, not just your opponents. But I think it really does ensure that the best teams come out on top, if at the expense of a less exciting rank-watching time during the events.
__________________
MARS - Mountaineer Area RoboticS Team 2614, Morgantown, West Virginia Website Facebook Page
2016 season in memory of Phil Tucker
We came to be inspired. We stay because we are. We will become the inspiration.


2016 Championship - Newton quarter-finalist, Hopper-Newton Gracious Professionalism Award
2016 Regionals - Finalists (x2), Chairman's Award, Gracious Professionalism (x2), Industrial Design
2015 Championship - Hopper Finalists
2015 Regionals - Chairman's Award, Regional Champions, Gracious Professionalism, Woodie Flowers Finalist
2014 Championship - Innovation in Controls Award
2014 Regionals - Chairman's Award, Champions, Finalist, Entrepreneurship, Gracious Professionalism, Dean's List Finalist, Creativity
2013 Championship - Entrepreneurship Award
2013 Regionals - Engineering Inspiration Award, Entrepreneurship, Dean's List Finalist
2012 Championship - Woodie Flowers Award
2012 Regionals - Champions, Chairman's Award, Finalist, Innovation in Controls
Reply With Quote
  #14   Spotlight this post!  
Unread 14-04-2015, 20:16
tctc's Avatar
tctc tctc is offline
Registered User
AKA: Dr. K, Make it so, Karel, Mr. Karl, Karl
FRC #2479 (The Phoenix)
Team Role: Coach
 
Join Date: Feb 2012
Rookie Year: 2003
Location: MN
Posts: 15
tctc is a glorious beacon of lighttctc is a glorious beacon of lighttctc is a glorious beacon of lighttctc is a glorious beacon of lighttctc is a glorious beacon of light
Re: How many matches are really needed to determine final rankings?

Quote:
Originally Posted by Alex2614 View Post
I'd like to see an analysis of how much different things would be if the old W-L-T structure was still there. Because I know that my team would not have been in the top 10 at our regionals if the old structure was still in place.
Which regional were you at? Also, what should be used as the 2nd order tie-breaker? Since average score is handy, I think I would prefer to use that. If not that, are coopertition and auto points available for each match? Do you know where one would go to find them?

Quote:
Originally Posted by Ether View Post
The actual elapsed time to get from raw data to those reports for all 109 events (6398 partial OPR reports) was only 17 seconds on a single core of a Pentium D in an 8-year-old machine running XP Pro SP3, using AWK to wrangle the data and Octave to crunch the linear algebra.
Nice!
__________________
FLL judge - 2008-present
FLL mentor/coach - 2003-2005, 2009-present
FTC coach - 2011
FRC judge - 2008-2010
FRC mentor/coach - 2010 (2989), 2011-2013 (3524), 2014-present (2479, 2500)
Reply With Quote
  #15   Spotlight this post!  
Unread 14-04-2015, 10:46
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,071
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: How many matches are really needed to determine final rankings?

Quote:
Originally Posted by tctc View Post
Thank you for all the number crunching to get all the OPR scores, Ether.
You're quite welcome.

The actual elapsed time to get from raw data to those reports for all 109 events (6398 partial OPR reports) was only 17 seconds on a single core of a Pentium D in an 8-year-old machine running XP Pro SP3, using AWK to wrangle the data and Octave to crunch the linear algebra.



Last edited by Ether : 14-04-2015 at 12:21.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 14:20.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi