Go to Post You're not on your own, use your team members. They are the most valuable source of ideas that you have. - fr05ty27355 [more]
Home
Go Back   Chief Delphi > Competition > Rules/Strategy > Scouting
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 09-03-2009, 01:34
Ed Law's Avatar
Ed Law Ed Law is offline
Registered User
no team (formerly with 2834)
 
Join Date: Apr 2008
Rookie Year: 2009
Location: Foster City, CA, USA
Posts: 752
Ed Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond repute
Re: Help on OPR and DPR

Quote:
Originally Posted by Zholl View Post
Ed, I don't have access to a computer with Excel at the moment, so I figure I might ask if you're referring to the 2009 or the 2008 Suffield Shakedown. I ran those numbers with the data on TBA for the 2008 Shakedown.

Oh, also, a note on how I'm running my calculations. In Excel, I created the matrix of the matches played with each team, took the inverse of it, and multiplied it by the total score vector as was my understanding and as Excel allowed. I have the file here on my thumb drive, so I've uploaded the spreadsheet here.It should be on a sheet named Match Matrix, I believe, though I don't know if the test matrix is in there. There should be vectors in there as well to enter the scores for OPR, the margins, and it should spit out WM and OPR next to them. I think I just used letters to label them, and can't remember using anything really obscure, so they should be easy to identify. If my test matrix isn't there, there will be an empty matrix for match data, and then it'll spit out its inverse next to it or below it. I've done both, and can't be sure which...
If I've done something wrong, it'd most likely be in the math there, I'd think.
Hi,

The data I used was from whatever link to TBA you had in your post so I think it is 2008. I would be glad to take a look at your spreadsheet and see what possibly could be wrong. I can output the matrix and vector from my program and compare to yours. It is getting very late here in Michigan and I need to get up in about 5 hours. I will look at it tomorrow. By the way, I saw that you downloaded my spreadsheet. The program is fixed now so the corrected week two data is available for you to download. Sorry for the inconvenience.

Ed Law
__________________
Please don't call me Mr. Ed, I am not a talking horse.
  #17   Spotlight this post!  
Unread 09-03-2009, 11:21
kirtar kirtar is offline
Alumnus
FRC #0461 (Westside Boiler Invasion)
Team Role: Alumni
 
Join Date: Jan 2008
Rookie Year: 2007
Location: West Lafayette, IN
Posts: 169
kirtar will become famous soon enough
Re: Help on OPR and DPR

Quote:
Originally Posted by Ed Law View Post
Because of the way our matrices are assembled, as long as every team has played at least one match, the matrix is invertable. That is because the diagonal terms are the number of matches that team played, which is why OPR can not be calculated until you have some matches done. Otherwise you will have some zeroes at the diagonal terms and it will make your matrix become singular and can not be inverted.

Ed
Ah that would be it. The matrix in the pdf has a team which has played no matches.
__________________
  #18   Spotlight this post!  
Unread 09-03-2009, 13:58
Zholl Zholl is offline
Registered User
AKA: Chris Sherwood
FRC #2996 (Cougars Gone Wired)
Team Role: Alumni
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Colorado Springs
Posts: 267
Zholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to behold
Re: Help on OPR and DPR

Lol, yeah, I had that same problem. That's why I had to create a matrix from TBA data. Didn't stop me from running his example 8 different ways though.

Also, tracked down my test matrix for the Shakedown. I've attached it below if you'd like to take a look at what actually generated that data.

Suffield Shakedown Test.xls
  #19   Spotlight this post!  
Unread 10-03-2009, 15:52
Ed Law's Avatar
Ed Law Ed Law is offline
Registered User
no team (formerly with 2834)
 
Join Date: Apr 2008
Rookie Year: 2009
Location: Foster City, CA, USA
Posts: 752
Ed Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond repute
Re: Help on OPR and DPR

Quote:
Originally Posted by Zholl View Post
Lol, yeah, I had that same problem. That's why I had to create a matrix from TBA data. Didn't stop me from running his example 8 different ways though.

Also, tracked down my test matrix for the Shakedown. I've attached it below if you'd like to take a look at what actually generated that data.

Attachment 7645
Hi,

I looked at your spreadsheet Suffield Shakedown Test.xls. I think you assembled your matrix A incorrectly. For example, the diagonal terms represents the number of matches each team played. They should all be 4. Team 126 and Team 181 did not play 9 matches. Also Team 40 never played with Team 173 so that term should be 0 but you have a 2 there. You must have entered the numbers wrong by hand.

I am attaching the matrix A and vector B. You can try it out and see if you get the same OPR number.

I also looked at your spreadsheet Scout_System_beta_v.5.xls. Even though I am already posting a similar one for everyone to us, I would strongly encourage you to continue to develop yours and customize it for your team. You will learn a lot from doing it. If you need any help or have any questions, just let me know and I will do my best to help.

Regards,

Ed Law
Attached Files
File Type: xls Suffield Shakedown.xls (56.0 KB, 61 views)
__________________
Please don't call me Mr. Ed, I am not a talking horse.
  #20   Spotlight this post!  
Unread 10-03-2009, 22:37
Zholl Zholl is offline
Registered User
AKA: Chris Sherwood
FRC #2996 (Cougars Gone Wired)
Team Role: Alumni
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Colorado Springs
Posts: 267
Zholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to behold
Re: Help on OPR and DPR

Thanks Ed. So my question now is, should I have only based this matrix on the qualifying rounds? If so, I think that may have been my mistake....
  #21   Spotlight this post!  
Unread 10-03-2009, 23:31
Ed Law's Avatar
Ed Law Ed Law is offline
Registered User
no team (formerly with 2834)
 
Join Date: Apr 2008
Rookie Year: 2009
Location: Foster City, CA, USA
Posts: 752
Ed Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond reputeEd Law has a reputation beyond repute
Re: Help on OPR and DPR

Quote:
Originally Posted by Zholl View Post
Thanks Ed. So my question now is, should I have only based this matrix on the qualifying rounds? If so, I think that may have been my mistake....
Sorry, I didn't realize you were adding the elimination matches also. That explains why some teams had more than 4 matches. Can you try doing it with qualifying matches only and see if you get the same results as mine? You probably would. I think there were quite a bit of discussions a year ago about whether to include elimination matches into calculating OPR and the consensus on CD is not to include them. The reason is it will bias the results because some teams will have a lot more matches than others. I need to come up with a better explanation when I have time.

Ed
__________________
Please don't call me Mr. Ed, I am not a talking horse.
  #22   Spotlight this post!  
Unread 11-03-2009, 00:05
Zholl Zholl is offline
Registered User
AKA: Chris Sherwood
FRC #2996 (Cougars Gone Wired)
Team Role: Alumni
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Colorado Springs
Posts: 267
Zholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to behold
Re: Help on OPR and DPR

Yeah, that's what I was starting to think. Well, this at least explains why my numbers weren't right. Thanks Ed. I'll run it again tomorrow and compare what I get with your data. Right now, though, I should probably go to sleep. Thanks again for your help
  #23   Spotlight this post!  
Unread 13-03-2009, 02:39
Zholl Zholl is offline
Registered User
AKA: Chris Sherwood
FRC #2996 (Cougars Gone Wired)
Team Role: Alumni
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Colorado Springs
Posts: 267
Zholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to behold
Re: Help on OPR and DPR

Well, I just tested the numbers again, and they seem to match up with what you have Ed. There is only a very, very slight difference in a number of them, but it is incredibly minuscule (in the ballpark of 10^-14), so it shouldn't affect the numbers in any significant way. I've also figured out how to have excel rank everything, so I'll update the search on my system to include ranks as well as stats, and I'll make a few minor tweaks as well and should have it up here by Sunday.

Did I mention I have nothing better to do right now than to calculate these minuscule differences and make tweaks to the system while I watch recorded tv in the middle of the night?
  #24   Spotlight this post!  
Unread 16-03-2009, 23:43
Zholl Zholl is offline
Registered User
AKA: Chris Sherwood
FRC #2996 (Cougars Gone Wired)
Team Role: Alumni
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Colorado Springs
Posts: 267
Zholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to behold
Re: Help on OPR and DPR

Ok, so to clarify one thing before I actually finalize this, low DPR is good, right? Since it's how many points a robot can be expected to contribute to the other team, I'm pretty sure that a low positive is good, a negative better, right? This should be the last question I have, since going through it the only other things I'm not entirely sure how to do I can look up on excel tutorials.
  #25   Spotlight this post!  
Unread 11-04-2009, 23:42
Q. Sheets's Avatar
Q. Sheets Q. Sheets is offline
Student - Web Enthusiast
AKA: Quentin Sheets
no team (FIRST Chat)
Team Role: College Student
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Rochester, MI, USA
Posts: 108
Q. Sheets has a spectacular aura aboutQ. Sheets has a spectacular aura about
Re: Help on OPR and DPR

Quote:
Originally Posted by Ed Law View Post
Sorry, I didn't realize you were adding the elimination matches also. That explains why some teams had more than 4 matches. Can you try doing it with qualifying matches only and see if you get the same results as mine? You probably would. I think there were quite a bit of discussions a year ago about whether to include elimination matches into calculating OPR and the consensus on CD is not to include them. The reason is it will bias the results because some teams will have a lot more matches than others. I need to come up with a better explanation when I have time.

Ed
The better reason is that alliances can be "stacked" in eliminations... i.e. seed 1 picks seed 2, whereas in qualifying it's all random; one pairing could really help a team and the next could hurt them.


And for my question: What is the mathematical formula for CCWM?
__________________
You should follow me on Twitter, here

Our first endeavors are purely instinctive prompting of an imagination vivid and undisciplined. As we grow older reason asserts itself and we become more and more systematic and designing. But those early impulses, though not immediately productive, are of the greatest moment and may shape our very destinies. --Никола Тесла
  #26   Spotlight this post!  
Unread 11-04-2009, 23:56
Zholl Zholl is offline
Registered User
AKA: Chris Sherwood
FRC #2996 (Cougars Gone Wired)
Team Role: Alumni
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Colorado Springs
Posts: 267
Zholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to beholdZholl is a splendid one to behold
Re: Help on OPR and DPR

The way I've been doing it, which seems to work, isn't incredibly complicated. It's based off the equation [A]^-1[b]=[C]
[A] is the number of matches each team played with each other team. So make each column and row each team number in numerical order. At all of the intersections put the number of matches played by team x with team y. Any spot x,x will be their total number of matches.

[b] is the winning margin margin for each team in a collumn. I believe, and someone correct me if I'm wrong, that you take the average winning margin for this. I'm not sure on that off the top of my head though.

Take the inverse of matrix [A], multiply it by [b], and you should get a collumn with the CCWM of each team.
Closed Thread


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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cero and Electrical Help! marisaDKNY Electrical 2 13-01-2009 21:41
Need help in c++ and windriver jkjohnson C/C++ 3 13-01-2009 18:50
HELP: GIRLS AND ROBOTICS Freddy Schurr General Forum 43 23-01-2006 21:05
Attn: All teams in CT and beyond. Come be scared and help some good causes!! Elgin Clock General Forum 1 03-10-2003 16:10


All times are GMT -5. The time now is 02:45.

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