View Single Post
  #8   Spotlight this post!  
Unread 15-02-2009, 21:28
Bongle's Avatar
Bongle Bongle is offline
Registered User
FRC #2702 (REBotics)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Waterloo
Posts: 1,069
Bongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond repute
Send a message via MSN to Bongle
Re: Help on OPR and DPR

Quote:
Originally Posted by Zholl View Post
Perhaps I should ask a different question...
Ok, so if I take, for example, the TBA data from 2008's Suffield Shakedown and create matrix A based on the number of matches each team played on an alliance with each other team and matrix B is the total combined score of each of the alliances team x played on. I then took the inverse of A and found BA^-1. So would this, then, be correct?
[/code]
You don't need a second matrix. Here are the three bits you need:
Matrix A: you've got this: the (i,j)th element is how many times team i played with team j
Vector S: This is a vector where the jth element is a sum all of team j's scores.
Vector OPR: This, once solved for, is the OPR for each team. The i'th element is the OPR of team i.

So you've just got to solve:
A*OPR = S

Which would result in:
OPR = A-1S

So yeah, I think your math is correct so long as by "matrix B" you meant "vector B".

Last edited by Bongle : 15-02-2009 at 21:31.