27
The mathematics of ranking sports teams Who’s #1? Jonathon Peterson Purdue University

The mathematics of ranking sports teams W ho’s #1?

  • Upload
    najwa

  • View
    87

  • Download
    1

Embed Size (px)

DESCRIPTION

The mathematics of ranking sports teams W ho’s #1?. Jonathon Peterson Purdue University. The Ranking Problem. Why is ranking of sports teams important? College football – BCS College basketball – NCAA tournament Win $1 billion!!! http://www.quickenloansbracket.com/ - PowerPoint PPT Presentation

Citation preview

Page 1: The mathematics of ranking sports teams W ho’s #1?

The mathematics of ranking sports teams

Who’s #1?

Jonathon PetersonPurdue University

Page 2: The mathematics of ranking sports teams W ho’s #1?

The Ranking Problem

Why is ranking of sports teams important?• College football – BCS• College basketball – NCAA tournament• Win $1 billion!!!

– http://www.quickenloansbracket.com/

What is so hard about ranking teams?• Strength of schedule matters.• Non-transitive property

– http://www.myteamisbetterthanyourteam.com

Page 3: The mathematics of ranking sports teams W ho’s #1?

Ivy League Football - 2009

What is the best team?Is Dartmouth better than Yale?

Page 4: The mathematics of ranking sports teams W ho’s #1?

Ranking Methods

Statistical Methods• Gather as much data as possible• Cook up a good predicting function• Examples– Jeff Sagarin– RPI

• Problems– ad-hoc techniques– Dependent on parameters

Page 5: The mathematics of ranking sports teams W ho’s #1?

Ranking Methods

Mathematical methods• Ranking based on a mathematical model• Minimize ad-hoc choices• Based on simple principles • Examples– Colley matrix– Massey’s method– Generalized point-difference ranking

Page 6: The mathematics of ranking sports teams W ho’s #1?

Colley Matrix Rankinghttp://www.colleyrankings.com

iliwitot

il

iw

nnn

n

n

,,,

,

,

games#

losses#

wins#

Team i Data:

Schedule Data: )( games # jiij G

•Only simple statistics needed (wins, losses, & schedule)•Doesn’t depend on margin of victory•Does include strength of schedule

Page 7: The mathematics of ranking sports teams W ho’s #1?

Colley Matrix Method

Ranking SOS Adjustment

21

,

,

itot

iwi n

nr

jjij

iliweffiw r

nnn G

2,,

,

21

',

,

itot

effiw

i nn

r '2

' ,,,

jjij

iliweffiw r

nnn G

Keep iterating and hope for convergence

Page 8: The mathematics of ranking sports teams W ho’s #1?

Iteration – Simple Example

Two teams and one game (team 1 wins)

21

,

,

itot

effiw

i nn

rj

iliweffiw r

nnn

2,,

,

Page 9: The mathematics of ranking sports teams W ho’s #1?

Iteration – Simple ExampleIteration r1 r2

0 0.500000 0.5000001 0.666667 0.3333332 0.611111 0.3888893 0.629630 0.3703704 0.623457 0.3765435 0.625514 0.3744866 0.624829 0.3751717 0.625057 0.3749438 0.624981 0.3750199 0.625006 0.374994

10 0.624998 0.375002

Page 10: The mathematics of ranking sports teams W ho’s #1?

Colley Matrix - Solution

j

jitot

ij

itot

iliw

itoti r

nnnn

nr

2)2(221 :both Combine

,,

,,

,

G

rbr A :FormMatrix

Two equations:

21

,

,

itot

effiw

i nn

r

j

jijiliweff

iw rnn

n G2

,,,

Page 11: The mathematics of ranking sports teams W ho’s #1?

Solution – Simple Example

Two teams and one game (team 1 wins)

6/12/1

b

6/12/1

13/13/11

)(2

1

rr

brAI

03/13/10

A

375.625.

8/38/5

2

1

rr

Matrix Form Solution

j

jitot

ij

itot

iliw

itoti r

nnnn

nr

2)2(221

,,

,,

,

G

Page 12: The mathematics of ranking sports teams W ho’s #1?

Ivy League Football - 2009

Team Colley Rating

Penn .792

Harvard .625

Columbia .583

Princeton .583

Brown .542

Dartmouth .375

Cornell .250

Yale .250

What is the best team?Is Dartmouth better than Yale?

Page 13: The mathematics of ranking sports teams W ho’s #1?

Massey Rating Methodhttp://www.masseyratings.com

Ratings should predict score differential

rating of the -th team

If team plays team , want net point difference to be

12 equations with 8 variables - unique solution?

Page 14: The mathematics of ranking sports teams W ho’s #1?

Massey – linear algebra formulation

# teams = n, # total games = m• m x n matrix • Vector • Rating vector

In k-th game team team beats team . • , , and if • margin of victory

Massey equation:

No unique solution – instead try to minimize

Page 15: The mathematics of ranking sports teams W ho’s #1?

Massey – Least squares

Want to minimize • Try ???– is not invertible– Add condition that

New least squares problem

Page 16: The mathematics of ranking sports teams W ho’s #1?
Page 17: The mathematics of ranking sports teams W ho’s #1?

Ivy League Football - 2009

Team Massey Rating

Penn 25.25

Harvard 10.75

Columbia 0

Princeton -3

Brown -3.75

Yale -7

Cornell -11

Dartmouth -11.25

What is the best team?Is Dartmouth better than Yale?

Page 18: The mathematics of ranking sports teams W ho’s #1?
Page 19: The mathematics of ranking sports teams W ho’s #1?

Colley – Massey comparison

Team Massey Rating

Penn 25.25

Harvard 10.75

Columbia 0

Princeton -3

Brown -3.75

Yale -7

Cornell -11

Dartmouth -11.25

Team Colley Rating

Penn .792

Harvard .625

Columbia .583

Princeton .583

Brown .542

Dartmouth .375

Cornell .250

Yale .250

Page 20: The mathematics of ranking sports teams W ho’s #1?

Another Ranking Method“A Natural Generalization of the Win-Loss Rating System.”

Charles Redmond, Mercyhurst CollegeMathematics Magazine, April 2003.

Compare teams through strings of comparisons

Yale vs. Columbia

•Columbia is 14 better than Brown•Brown is 14 better than Yale•So… Columbia is 28 better than Yale

•Columbia is 20 worse than Harvard•Harvard is 4 better than Yale•So… Columbia is 16 worse than Yale

Average of two comparisons: Columbia is 6 better than Yale

Page 21: The mathematics of ranking sports teams W ho’s #1?

Average Dominance

Team Average Dominance

A 2.33

B 2.67

C -3.33

D -1.67

Team Average Dominance

A 3.5

B 4

C -5

D -2.5

Average margin of victory Add self-comparisons

Page 22: The mathematics of ranking sports teams W ho’s #1?

Second Generation Dominance

Avg. 2nd Generation Dominance

44.3933

912190251250

Team Dominance 2nd Gen. Dominance

A 2.33 3.44

B 2.67 3.22

C -3.33 -4.11

D -1.67 -2.56

Page 23: The mathematics of ranking sports teams W ho’s #1?

Connection to Linear Algebra

1101111001111011

M

51087

S

Adjacency Matrix Dominance Vector

S

31 dominance avg. gen. 1st

SSSS

331

31)3(

91 dominance avg. gen. 2nd MM

Sk

331 dominance avg. gen. n

1-n

0k

th M

Page 24: The mathematics of ranking sports teams W ho’s #1?

Limiting Dominance

Sk

n

33

1lim exist?limit theDoes1-n

0k

M

3/1 ,3/1 ,3/1 ,1

2/12/1

2/12/1

,

2/102/1

0

,

02/1

02/1

,

2/12/12/12/1

4321

1121

vvvv

4321 313170 vvvvS

432 313

3113

3117

3vvvSkkkk

M

Page 25: The mathematics of ranking sports teams W ho’s #1?

Limiting Dominance

875.2625.4

625.3875.3

8/238/37

8/298/31

43

213

217

3/111

3/111

313

3/111

317

31

33

31

313

31

317

331

432

432

40

30

200

vvv

vvv

vvvSk

k

k

k

k

k

k

k

M

Page 26: The mathematics of ranking sports teams W ho’s #1?

Ivy League Football - 2009

Team Dominance Rating

Penn 24.34

Harvard 10.06

Columbia -0.09

Brown -2.84

Princeton -2.91

Yale -7.13

Dartmouth -10.56

Cornell -10.88

What is the best team?Is Dartmouth better than Yale?

Page 27: The mathematics of ranking sports teams W ho’s #1?

Conclusion

• Linear Algebra can be useful!– Matrices can make things easier.

• Complex Rankings, with simple methods.

• Methods aren’t perfect.– What ranking is “best”?