+ All Categories
Home > Documents > The mathematics of ranking sports teams Whos #1? Jonathon Peterson Purdue University.

The mathematics of ranking sports teams Whos #1? Jonathon Peterson Purdue University.

Date post: 30-Mar-2015
Category:
Upload: skye-comb
View: 217 times
Download: 0 times
Share this document with a friend
Popular Tags:
27
The mathematics of ranking sports teams Who’s #1? Jonathon Peterson Purdue University
Transcript
Page 1: The mathematics of ranking sports teams Whos #1? Jonathon Peterson Purdue University.

The mathematics of ranking sports teams

Who’s #1?

Jonathon PetersonPurdue University

Page 2: The mathematics of ranking sports teams Whos #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/

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 Whos #1? Jonathon Peterson Purdue University.

Ivy League Football - 2009

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

Page 4: The mathematics of ranking sports teams Whos #1? Jonathon Peterson Purdue University.

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 Whos #1? Jonathon Peterson Purdue University.

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 Whos #1? Jonathon Peterson Purdue University.

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 Whos #1? Jonathon Peterson Purdue University.

Colley Matrix Method

Ranking SOS Adjustment

2

1

,

,

itot

iwi n

nr

jjij

iliweffiw r

nnn G

2,,

,

2

1'

,

,

itot

effiw

i n

nr '

2' ,,

,

j

jijiliweff

iw rnn

n G

Keep iterating and hope for convergence

Page 8: The mathematics of ranking sports teams Whos #1? Jonathon Peterson Purdue University.

Iteration – Simple Example

Two teams and one game (team 1 wins)

2

1

,

,

itot

effiw

i n

nr

jiliweff

iw rnn

n

2

,,,

Page 9: The mathematics of ranking sports teams Whos #1? Jonathon Peterson Purdue University.

Iteration – Simple ExampleIteration r1 r2

0 0.500000 0.500000

1 0.666667 0.333333

2 0.611111 0.388889

3 0.629630 0.370370

4 0.623457 0.376543

5 0.625514 0.374486

6 0.624829 0.375171

7 0.625057 0.374943

8 0.624981 0.375019

9 0.625006 0.374994

10 0.624998 0.375002

Page 10: The mathematics of ranking sports teams Whos #1? Jonathon Peterson Purdue University.

Colley Matrix - Solution

j

jitot

ij

itot

iliw

itoti r

nn

nn

nr

2)2(22

1 :both Combine

,,

,,

,

G

rbr

A :FormMatrix

Two equations:

2

1

,

,

itot

effiw

i n

nr

jjij

iliweffiw r

nnn G

2,,

,

Page 11: The mathematics of ranking sports teams Whos #1? Jonathon Peterson Purdue University.

Solution – Simple Example

Two teams and one game (team 1 wins)

6/1

2/1b

6/1

2/1

13/1

3/11 )(

2

1

r

rbr

AI

03/1

3/10A

375.

625.

8/3

8/5

2

1

r

r

Matrix Form Solution

j

jitot

ij

itot

iliw

itoti r

nn

nn

nr

2)2(22

1

,,

,,

,

G

Page 12: The mathematics of ranking sports teams Whos #1? Jonathon Peterson Purdue University.

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 Whos #1? Jonathon Peterson Purdue University.

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 Whos #1? Jonathon Peterson Purdue University.

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 Whos #1? Jonathon Peterson Purdue University.

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 Whos #1? Jonathon Peterson Purdue University.
Page 17: The mathematics of ranking sports teams Whos #1? Jonathon Peterson Purdue University.

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 Whos #1? Jonathon Peterson Purdue University.
Page 19: The mathematics of ranking sports teams Whos #1? Jonathon Peterson Purdue University.

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 Whos #1? Jonathon Peterson Purdue University.

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 Whos #1? Jonathon Peterson Purdue University.

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 Whos #1? Jonathon Peterson Purdue University.

Second Generation Dominance

Avg. 2nd Generation Dominance

44.39

33

9

12190251250

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 Whos #1? Jonathon Peterson Purdue University.

Connection to Linear Algebra

1101

1110

0111

1011

M

5

10

8

7

S

Adjacency Matrix Dominance Vector

S

3

1 dominance avg. gen. 1st

SSSS

33

1

3

1)3(

9

1 dominance avg. gen. 2nd M

M

Sk

33

1 dominance avg. gen. n

1-n

0k

th M

Page 24: The mathematics of ranking sports teams Whos #1? Jonathon Peterson Purdue University.

Limiting Dominance

Sk

n

33

1lim exist?limit theDoes

1-n

0k

M

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

2/1

2/1

2/1

2/1

,

2/1

0

2/1

0

,

0

2/1

0

2/1

,

2/1

2/1

2/1

2/1

4321

1121

vvvv

4321 313170 vvvvS

432 3

13

3

113

3

117

3vvvSkkkk

M

Page 25: The mathematics of ranking sports teams Whos #1? Jonathon Peterson Purdue University.

Limiting Dominance

875.2

625.4

625.3

875.3

8/23

8/37

8/29

8/31

4

3

2

13

2

17

3/11

1

3/11

1

3

13

3/11

1

3

17

3

1

3

3

3

1

3

13

3

1

3

17

33

1

432

432

40

30

200

vvv

vvv

vvvSk

k

k

k

k

k

k

k

M

Page 26: The mathematics of ranking sports teams Whos #1? Jonathon Peterson Purdue University.

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 Whos #1? Jonathon Peterson Purdue University.

Conclusion

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

• Complex Rankings, with simple methods.

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


Recommended