SlideShare ist ein Scribd-Unternehmen logo
1 von 35
Downloaden Sie, um offline zu lesen
Should a football team run or pass?
A game theory approach
Laura Albert McLay
Badger Bracketology
@lauramclay
@badgerbrackets
http://bracketology.engr.wisc.edu/
© 2015
The problem
• An offense can run or pass the ball
• The defense anticipates the offense’s choice and
chooses a run or pass offense.
• Given this strategic interaction,
o what is the best mix of pass and run plays for the offense?
o what is the best mix of pass and run defenses?
The solution:
Linear programming!
Definitions
• Players
• Actions
• Information
• Strategies
• Payoffs
• Equilibria
Eventually we’ll relate this to linear programming!
Definitions
• Players: we have 2
• Actions: discrete actions of actions available to each
player and when they are available (order of play)
• Information: what each player knows about variables at
each point in time
• Strategies: a rule that tells each player which action to
choose at each decision point
• Payoffs: the expected utility/reward each player receives
as a function of every players’ decisions
• Equilibria: strategy profiles consisting of best strategies
for each of the players in the game
Payoff matrix
• A two person game is between a row player R and a
column player C
• A zero-sum game is defined by a × 	payoff matrix
where is the payoff to C if C chooses action
and R chooses action
o R chooses from the rows ∈ {1, … , }
o C chooses from the columns ∈ {1, … , }
o Note: deterministic strategies can be bad!
• Zero-sum: my gain is your loss. Examples?
Rock-Paper-Scissors
• Payoff matrix?
=
Rock-Paper-Scissors
Payoff matrix?
=
0 1 −1
−1 0 1
1 −1 0
Why is this zero sum?
Strategies:
• Deterministic: pure strategies
• Random/stochastic: mixed strategies
Strategies
Payoff matrix
• A strategy for a player is a probability vector
representing the portion of time each action is used
o R chooses 	with probability
= , , … ,
o C chooses 	with probability
= , , … ,
o We have: ≥ 0, = 1, … ,
∑ = 1
Payoffs
Expected payoff from R to C:
, = ! ! = 	
Note:
• and are our variables
Problem:
• We want to solve this as a linear program but , is a
quadratic function with two players with opposing goals.
Solution
Game theory to the rescue!
Theorem
Expected payoff from R to C:
, = ! ! = 	
Theorem:
There exist optimal strategies ∗ and ∗
such that for all strategies and :
, ∗ ≤ ∗, ∗ ≤ [ ∗, ]
Note we call ∗, ∗ the value of the
game.
Hipster mathematician
Reflect on the inequality
, ∗
≤ ∗
, ∗
≤ [ ∗
, ]
• ∗, ∗ ≤ ∗, : 	C guarantees a lower bound
(worst−case) on his/her payoff
• , ∗ ≤ ∗, ∗ : R guarantees an upper bound
(worst-case) on how much he/she loses
• Fundamental problem: finding ∗ and ∗
Both R and C play
optimal strategies
C plays optimal,
R plays suboptimal
R plays optimal,
C plays suboptimal
Objective function analysis
• Suppose C adopts strategy
• Then, R’s best strategy is to find the that minimizes
	 :
min
*
	 	
• And therefore, C should choose the that maximizes
these possibilities:
max
-
	 min
*
	 	
This will give us ∗ and ∗.	This is hard!
Useful result
• Let’s focus on the inner optimization problem:
min
*
	 	
o This is easy since it treats as “fixed” so we have a linear
problem.
Lemma: min
*
	 	 = min / 	
where / is the pure vector of only selecting action (e.g.,
/ = [1	0	0	 … 0])
Idea: a weighted average of things is no bigger than the
largest of them.
Put it together
We now have:
max
-
	 min	/ 	
subject to ∑ = 1
≥ 0, = 1,2, … ,
This is a linear program!!
Reduction to a linear program
• Now introduce a scalar 1 representing the value of
the inner minimization (min	/ 	 ):
max
2,3
	1
subject to 1 ≤ / 	 , = 1,2, … ,
∑ = 1
≥ 0, = 1,2, … ,
1 free
Reduction to a linear program
Matrix-vector notation
max	1
1/ − ≤ 0
/ = 1
≥ 0
/ is the vector of all 1’s
Block matrix form
max
0
1 1
− /
/ 0 1
≤
=
0
1
≥ 0
1 free
Now do the same from R’s perspective
Everything is analogous to what we did before!
• R solves this problem:
min	
*
max
-
	 	
• Lemma: max
2
	 	 = max 	/
• That gives us the following linear program:
min
*
	 max 	/
subject to ∑ = 1
≥ 0, = 1,2, … ,
• Introduce a scalar 4 representing the value of the inner
maximization (max	 	/ ):
Reduction to a linear program
Matrix-vector notation
min	4
4/ − ≥ 0
/ = 1
≥ 0
/ is the vector of all 1’s
Block matrix form
min
0
1 4
− /
/ 0 4
≥
=
0
1
≥ 0
4 free
OK, so now we have two ways to solve
the same problem
Let’s examine how these solutions are related.
Minimax Theorem
• Let ∗ denote C’s solution to the max-min problem
• Let ∗
denote R’s solution to the min-max problem
• Then:
max
2
∗
	 	 = min
*
	 ∗
Proof:
From strong duality, we have 4∗ = 1∗. Also
1∗ = min / 	 ∗ = min
*
	 ∗ from C’s problem
4∗ = max
2
∗ 	/ 	 = max
2
∗ 	 	 from R’s problem
We did it!
Let’s work on an example
Example from Mathletics by Wayne Winston (2009), Princeton University Press, Princeton, NJ.
Football example: offense vs. defense
5(7, 8) Offense runs (7:) Offense passes (;< = 1 − :)
Run defense ( ) -5 10
Pass defense ( = 1 − ) 5 0
The offense wants the most yards. The defense wants the offense to
have the fewest yards. This is a zero sum game.
Using this information, answer the following two questions:
(1) What fraction of time should the offense run the ball?
(2) If they adopt this strategy, how many yards will they achieve per
play on average?
Idealized payoffs (yards)
Case 1: Look at the offense
• The offense chooses a mixed strategy
o Run with probability
o Pass with probability = 1 −
• Solve the linear program:
max 1	
subject to
1 ≤ −5	 + 10	
1 ≤ 5	
+ = 1
, ≥ 0
Case 1: Look at the offense
We know that = 1 − , which simplifies the
formulation to:
max 1	
subject to
1 ≤ −5	 + 10	(1 − ) = 10 − 15	
1 ≤ 5	
, ≥ 0
Let’s solve the problem visually.
Case 1: Look at the offense
We want the largest value of 1 that is “under” both lines.
This happens when = 1/2 (and = 1/2): run half the time,
pass half the time.
1∗ = min	/ 	 ∗ = 2.5 yards per play, on average.
Expected payoff
, proportion of time offense runs the ball
Run	defense
10 − 15	
Pass	defense
5
Case 2: Look at the defense
• We still do not know the optimal defensive strategy.
• The defense chooses a mixed strategy
o Run defense with probability
o Pass defense with probability = 1 −
• Solve the linear program:
min 4	
subject to
4 ≥ −5	 + 5	 = 5 − 10
4 ≥ 10	
+ = 1
, ≥ 0
Case 2: Look at the defense
We want the smallest value of 4 that is “over” both lines.
This happens when = 1/4 (and =3/4): prepare for run a quarter of the
time, prepare for a pass three quarters of the time.
This yields 4∗ = 2.5 yards per attempt (on average). The offense gain and
defensive loss are always identical!
Expected payoff
Run	offense
5 − 10
Pass	offense
10
, proportion of time defense prepares for run
Football example #2:
offense vs. defense
5(7, 8) Offense runs (7:) Offense passes (;< = 1 − :)
Run defense ( ) I − J K + J
Pass defense ( = 1 − ) I + J K − J
Suppose the defense chooses run and pass defenses with equal
likelihoods.
The offense would gain r yards per run, on average.
The offense would gain p yards per pass, on average.
The correct choice on defense has m times more effect on passing
as it does on running (range of 2 J vs. 2J)
Idealized payoffs (yards)
Football example #2:
offense vs. defense
Offense problem Defense problem
min 4	
subject to
4 ≥ (I − J)	 + (I + J)	
4 ≥ (K + J)	 + (K − J)	
+ = 1
, ≥ 0
max 1	
subject to
1 ≤ (I − J)	 + (K + J)	
1 ≤ (I + J)	 + (K − J)	
+ = 1
, ≥ 0
Football example #2:
offense problem
After a lot of algebra…
= 	 /( + 1)	[Does not depend on I or K!]
Likewise, = 	1/2	 +	(I − K)/(2J + )	for the defense
Expected
payoff
, proportion of time offense runs the ball
Run	defense
K + J + (I − K − ( + 1)J)	
Pass	defense
K − J + (I − K + ( + 1)J)	
K + J
K + J
Intuition
The correct choice on defense has times more effect
on passing as it does on running
• For = 1
o Offense runs pass and run plays equally
• For > 1
o Offense runs more since the defensive call has more of an
effect on passing plays
• For < 1
o Offense passes more since the defensive call has less of an
effect on passing plays
Related blog posts
• Happiness is assuming the world is linear
• Why the Patriots’ decision to let the
Giants score a touchdown makes sense
• Introducing Badger Bracketology 1.0
• Some thoughts on the College Football
Playoff

Weitere ähnliche Inhalte

Was ist angesagt?

Oligopoly and Game Theory
Oligopoly and Game TheoryOligopoly and Game Theory
Oligopoly and Game Theorytutor2u
 
Stat451 - Life Distribution
Stat451 - Life DistributionStat451 - Life Distribution
Stat451 - Life Distributionnpxquynh
 
Game Theory Operation Research
Game Theory Operation ResearchGame Theory Operation Research
Game Theory Operation ResearchR A Shah
 
mingdraft2.doc
mingdraft2.docmingdraft2.doc
mingdraft2.docbutest
 
What Is Dynamic Programming? | Dynamic Programming Explained | Programming Fo...
What Is Dynamic Programming? | Dynamic Programming Explained | Programming Fo...What Is Dynamic Programming? | Dynamic Programming Explained | Programming Fo...
What Is Dynamic Programming? | Dynamic Programming Explained | Programming Fo...Simplilearn
 
Machine Learning Chapter 11 2
Machine Learning Chapter 11 2Machine Learning Chapter 11 2
Machine Learning Chapter 11 2butest
 
Network Analytics - Homework 3 - Msc Business Analytics - Imperial College Lo...
Network Analytics - Homework 3 - Msc Business Analytics - Imperial College Lo...Network Analytics - Homework 3 - Msc Business Analytics - Imperial College Lo...
Network Analytics - Homework 3 - Msc Business Analytics - Imperial College Lo...Jonathan Zimmermann
 
Rademacher Averages: Theory and Practice
Rademacher Averages: Theory and PracticeRademacher Averages: Theory and Practice
Rademacher Averages: Theory and PracticeTwo Sigma
 
Quantitative Methods for Lawyers - Class #15 - R Boot Camp - Part 2 - Profess...
Quantitative Methods for Lawyers - Class #15 - R Boot Camp - Part 2 - Profess...Quantitative Methods for Lawyers - Class #15 - R Boot Camp - Part 2 - Profess...
Quantitative Methods for Lawyers - Class #15 - R Boot Camp - Part 2 - Profess...Daniel Katz
 
Study_Pricing_Digital_Call_Options
Study_Pricing_Digital_Call_OptionsStudy_Pricing_Digital_Call_Options
Study_Pricing_Digital_Call_OptionsBruce Haydon, PMP
 
A Game Theoretic Analysis of Intrusion Detection in Access Control Systems - ...
A Game Theoretic Analysis of Intrusion Detection in Access Control Systems - ...A Game Theoretic Analysis of Intrusion Detection in Access Control Systems - ...
A Game Theoretic Analysis of Intrusion Detection in Access Control Systems - ...Kim Hammar
 

Was ist angesagt? (20)

OR 14 15-unit_4
OR 14 15-unit_4OR 14 15-unit_4
OR 14 15-unit_4
 
Game theory2
 Game theory2 Game theory2
Game theory2
 
Oligopoly and Game Theory
Oligopoly and Game TheoryOligopoly and Game Theory
Oligopoly and Game Theory
 
Stat451 - Life Distribution
Stat451 - Life DistributionStat451 - Life Distribution
Stat451 - Life Distribution
 
Min-Max algorithm
Min-Max algorithmMin-Max algorithm
Min-Max algorithm
 
Game Theory Operation Research
Game Theory Operation ResearchGame Theory Operation Research
Game Theory Operation Research
 
mingdraft2.doc
mingdraft2.docmingdraft2.doc
mingdraft2.doc
 
Operations Research - Game Theory
Operations Research - Game TheoryOperations Research - Game Theory
Operations Research - Game Theory
 
What Is Dynamic Programming? | Dynamic Programming Explained | Programming Fo...
What Is Dynamic Programming? | Dynamic Programming Explained | Programming Fo...What Is Dynamic Programming? | Dynamic Programming Explained | Programming Fo...
What Is Dynamic Programming? | Dynamic Programming Explained | Programming Fo...
 
Machine Learning Chapter 11 2
Machine Learning Chapter 11 2Machine Learning Chapter 11 2
Machine Learning Chapter 11 2
 
Network Analytics - Homework 3 - Msc Business Analytics - Imperial College Lo...
Network Analytics - Homework 3 - Msc Business Analytics - Imperial College Lo...Network Analytics - Homework 3 - Msc Business Analytics - Imperial College Lo...
Network Analytics - Homework 3 - Msc Business Analytics - Imperial College Lo...
 
Rademacher Averages: Theory and Practice
Rademacher Averages: Theory and PracticeRademacher Averages: Theory and Practice
Rademacher Averages: Theory and Practice
 
Quantitative Methods for Lawyers - Class #15 - R Boot Camp - Part 2 - Profess...
Quantitative Methods for Lawyers - Class #15 - R Boot Camp - Part 2 - Profess...Quantitative Methods for Lawyers - Class #15 - R Boot Camp - Part 2 - Profess...
Quantitative Methods for Lawyers - Class #15 - R Boot Camp - Part 2 - Profess...
 
Lecture11
Lecture11Lecture11
Lecture11
 
Daa chapter 3
Daa chapter 3Daa chapter 3
Daa chapter 3
 
Study_Pricing_Digital_Call_Options
Study_Pricing_Digital_Call_OptionsStudy_Pricing_Digital_Call_Options
Study_Pricing_Digital_Call_Options
 
A Game Theoretic Analysis of Intrusion Detection in Access Control Systems - ...
A Game Theoretic Analysis of Intrusion Detection in Access Control Systems - ...A Game Theoretic Analysis of Intrusion Detection in Access Control Systems - ...
A Game Theoretic Analysis of Intrusion Detection in Access Control Systems - ...
 
CAGT-IST Student Presentations
CAGT-IST Student Presentations CAGT-IST Student Presentations
CAGT-IST Student Presentations
 
Reinforcement Learning
Reinforcement LearningReinforcement Learning
Reinforcement Learning
 
Thesis paper
Thesis paperThesis paper
Thesis paper
 

Andere mochten auch

Integer programming for locating ambulances
Integer programming for locating ambulancesInteger programming for locating ambulances
Integer programming for locating ambulancesLaura Albert
 
Spring new educators orientation
Spring new educators orientationSpring new educators orientation
Spring new educators orientationLaura Albert
 
2015 Fuzzy Vance Lecture in Mathematics at Oberlin College: Locating and disp...
2015 Fuzzy Vance Lecture in Mathematics at Oberlin College: Locating and disp...2015 Fuzzy Vance Lecture in Mathematics at Oberlin College: Locating and disp...
2015 Fuzzy Vance Lecture in Mathematics at Oberlin College: Locating and disp...Laura Albert
 
Screening Commercial Aviation Passengers in the Aftermath of September 11, 2001
Screening Commercial Aviation Passengers in the Aftermath of September 11, 2001Screening Commercial Aviation Passengers in the Aftermath of September 11, 2001
Screening Commercial Aviation Passengers in the Aftermath of September 11, 2001Laura Albert
 
Operations Research for Homeland Security and Beyond!
Operations Research for Homeland Security and Beyond!Operations Research for Homeland Security and Beyond!
Operations Research for Homeland Security and Beyond!Laura Albert
 
Discrete Optimization Models for Homeland Security and Disaster Management
Discrete Optimization Models for Homeland Security and Disaster ManagementDiscrete Optimization Models for Homeland Security and Disaster Management
Discrete Optimization Models for Homeland Security and Disaster ManagementLaura Albert
 
Wicked problems in operations research
Wicked problems in operations researchWicked problems in operations research
Wicked problems in operations researchLaura Albert
 
Bracketology talk at the Crossroads of ideas
Bracketology talk at the Crossroads of ideasBracketology talk at the Crossroads of ideas
Bracketology talk at the Crossroads of ideasLaura Albert
 
engineering systems: critical infrastructure and logistics
engineering systems: critical infrastructure and logisticsengineering systems: critical infrastructure and logistics
engineering systems: critical infrastructure and logisticsLaura Albert
 
Women in engineering luncheon presentation at CASE 2013 (IEEE conference on a...
Women in engineering luncheon presentation at CASE 2013 (IEEE conference on a...Women in engineering luncheon presentation at CASE 2013 (IEEE conference on a...
Women in engineering luncheon presentation at CASE 2013 (IEEE conference on a...Laura Albert
 
So you're thinking about graduate school in operations research, math, or eng...
So you're thinking about graduate school in operations research, math, or eng...So you're thinking about graduate school in operations research, math, or eng...
So you're thinking about graduate school in operations research, math, or eng...Laura Albert
 
Delivering emergency medical services: research, application, and outreach
Delivering emergency medical services: research, application, and outreachDelivering emergency medical services: research, application, and outreach
Delivering emergency medical services: research, application, and outreachLaura Albert
 
Ib math studies internal assessment final draft
Ib math studies internal assessment final draftIb math studies internal assessment final draft
Ib math studies internal assessment final draftBilly Egg
 

Andere mochten auch (13)

Integer programming for locating ambulances
Integer programming for locating ambulancesInteger programming for locating ambulances
Integer programming for locating ambulances
 
Spring new educators orientation
Spring new educators orientationSpring new educators orientation
Spring new educators orientation
 
2015 Fuzzy Vance Lecture in Mathematics at Oberlin College: Locating and disp...
2015 Fuzzy Vance Lecture in Mathematics at Oberlin College: Locating and disp...2015 Fuzzy Vance Lecture in Mathematics at Oberlin College: Locating and disp...
2015 Fuzzy Vance Lecture in Mathematics at Oberlin College: Locating and disp...
 
Screening Commercial Aviation Passengers in the Aftermath of September 11, 2001
Screening Commercial Aviation Passengers in the Aftermath of September 11, 2001Screening Commercial Aviation Passengers in the Aftermath of September 11, 2001
Screening Commercial Aviation Passengers in the Aftermath of September 11, 2001
 
Operations Research for Homeland Security and Beyond!
Operations Research for Homeland Security and Beyond!Operations Research for Homeland Security and Beyond!
Operations Research for Homeland Security and Beyond!
 
Discrete Optimization Models for Homeland Security and Disaster Management
Discrete Optimization Models for Homeland Security and Disaster ManagementDiscrete Optimization Models for Homeland Security and Disaster Management
Discrete Optimization Models for Homeland Security and Disaster Management
 
Wicked problems in operations research
Wicked problems in operations researchWicked problems in operations research
Wicked problems in operations research
 
Bracketology talk at the Crossroads of ideas
Bracketology talk at the Crossroads of ideasBracketology talk at the Crossroads of ideas
Bracketology talk at the Crossroads of ideas
 
engineering systems: critical infrastructure and logistics
engineering systems: critical infrastructure and logisticsengineering systems: critical infrastructure and logistics
engineering systems: critical infrastructure and logistics
 
Women in engineering luncheon presentation at CASE 2013 (IEEE conference on a...
Women in engineering luncheon presentation at CASE 2013 (IEEE conference on a...Women in engineering luncheon presentation at CASE 2013 (IEEE conference on a...
Women in engineering luncheon presentation at CASE 2013 (IEEE conference on a...
 
So you're thinking about graduate school in operations research, math, or eng...
So you're thinking about graduate school in operations research, math, or eng...So you're thinking about graduate school in operations research, math, or eng...
So you're thinking about graduate school in operations research, math, or eng...
 
Delivering emergency medical services: research, application, and outreach
Delivering emergency medical services: research, application, and outreachDelivering emergency medical services: research, application, and outreach
Delivering emergency medical services: research, application, and outreach
 
Ib math studies internal assessment final draft
Ib math studies internal assessment final draftIb math studies internal assessment final draft
Ib math studies internal assessment final draft
 

Ähnlich wie Should a football team run or pass? A linear programming approach to game theory

OR PPT 280322 maximin final - nikhil tiwari.pptx
OR PPT 280322 maximin final - nikhil tiwari.pptxOR PPT 280322 maximin final - nikhil tiwari.pptx
OR PPT 280322 maximin final - nikhil tiwari.pptxVivekSaurabh7
 
Permutations and Combinations IIT JEE+Olympiad Lecture 1
Permutations and Combinations IIT JEE+Olympiad Lecture 1 Permutations and Combinations IIT JEE+Olympiad Lecture 1
Permutations and Combinations IIT JEE+Olympiad Lecture 1 Parth Nandedkar
 
kmean_naivebayes.pptx
kmean_naivebayes.pptxkmean_naivebayes.pptx
kmean_naivebayes.pptxAryanhayaran
 
Module 3 Game Theory (1).pptx
Module 3 Game Theory (1).pptxModule 3 Game Theory (1).pptx
Module 3 Game Theory (1).pptxDrNavaneethaKumar
 
MINI-MAX ALGORITHM.pptx
MINI-MAX ALGORITHM.pptxMINI-MAX ALGORITHM.pptx
MINI-MAX ALGORITHM.pptxNayanChandak1
 
DRL #2-3 - Multi-Armed Bandits .pptx.pdf
DRL #2-3 - Multi-Armed Bandits .pptx.pdfDRL #2-3 - Multi-Armed Bandits .pptx.pdf
DRL #2-3 - Multi-Armed Bandits .pptx.pdfGulamSarwar31
 
Chapter 5.pptx
Chapter 5.pptxChapter 5.pptx
Chapter 5.pptxTekle12
 
Minmax and alpha beta pruning.pptx
Minmax and alpha beta pruning.pptxMinmax and alpha beta pruning.pptx
Minmax and alpha beta pruning.pptxPriyadharshiniG41
 
Lec2_cont.pptx galgotias University questions
Lec2_cont.pptx galgotias University questionsLec2_cont.pptx galgotias University questions
Lec2_cont.pptx galgotias University questionsYashJain47002
 
navingameppt-191018085333.pdf
navingameppt-191018085333.pdfnavingameppt-191018085333.pdf
navingameppt-191018085333.pdfDebadattaPanda4
 
random variable and distribution
random variable and distributionrandom variable and distribution
random variable and distributionlovemucheca
 

Ähnlich wie Should a football team run or pass? A linear programming approach to game theory (20)

Lecture11.ppt
Lecture11.pptLecture11.ppt
Lecture11.ppt
 
OR PPT 280322 maximin final - nikhil tiwari.pptx
OR PPT 280322 maximin final - nikhil tiwari.pptxOR PPT 280322 maximin final - nikhil tiwari.pptx
OR PPT 280322 maximin final - nikhil tiwari.pptx
 
Finalver
FinalverFinalver
Finalver
 
Computer Network Assignment Help
Computer Network Assignment HelpComputer Network Assignment Help
Computer Network Assignment Help
 
Computer Network Assignment Help.pptx
Computer Network Assignment Help.pptxComputer Network Assignment Help.pptx
Computer Network Assignment Help.pptx
 
Permutations and Combinations IIT JEE+Olympiad Lecture 1
Permutations and Combinations IIT JEE+Olympiad Lecture 1 Permutations and Combinations IIT JEE+Olympiad Lecture 1
Permutations and Combinations IIT JEE+Olympiad Lecture 1
 
kmean_naivebayes.pptx
kmean_naivebayes.pptxkmean_naivebayes.pptx
kmean_naivebayes.pptx
 
Module 3 Game Theory (1).pptx
Module 3 Game Theory (1).pptxModule 3 Game Theory (1).pptx
Module 3 Game Theory (1).pptx
 
MINI-MAX ALGORITHM.pptx
MINI-MAX ALGORITHM.pptxMINI-MAX ALGORITHM.pptx
MINI-MAX ALGORITHM.pptx
 
DRL #2-3 - Multi-Armed Bandits .pptx.pdf
DRL #2-3 - Multi-Armed Bandits .pptx.pdfDRL #2-3 - Multi-Armed Bandits .pptx.pdf
DRL #2-3 - Multi-Armed Bandits .pptx.pdf
 
Chapter 5.pptx
Chapter 5.pptxChapter 5.pptx
Chapter 5.pptx
 
Minmax and alpha beta pruning.pptx
Minmax and alpha beta pruning.pptxMinmax and alpha beta pruning.pptx
Minmax and alpha beta pruning.pptx
 
Lec2_cont.pptx galgotias University questions
Lec2_cont.pptx galgotias University questionsLec2_cont.pptx galgotias University questions
Lec2_cont.pptx galgotias University questions
 
Daa notes 2
Daa notes 2Daa notes 2
Daa notes 2
 
Game theory
Game theoryGame theory
Game theory
 
lec3.pdf
lec3.pdflec3.pdf
lec3.pdf
 
navingameppt-191018085333.pdf
navingameppt-191018085333.pdfnavingameppt-191018085333.pdf
navingameppt-191018085333.pdf
 
Lec 06
Lec 06Lec 06
Lec 06
 
random variable and distribution
random variable and distributionrandom variable and distribution
random variable and distribution
 
gt_2007
gt_2007gt_2007
gt_2007
 

Mehr von Laura Albert

Optimization with impact: my journey in public sector operations research
Optimization with impact: my journey in public sector operations research Optimization with impact: my journey in public sector operations research
Optimization with impact: my journey in public sector operations research Laura Albert
 
On designing public sector systems in emergency medical services, disaster re...
On designing public sector systems in emergency medical services, disaster re...On designing public sector systems in emergency medical services, disaster re...
On designing public sector systems in emergency medical services, disaster re...Laura Albert
 
Volleyball analytics: Modeling volleyball using Markov chains
Volleyball analytics: Modeling volleyball using Markov chainsVolleyball analytics: Modeling volleyball using Markov chains
Volleyball analytics: Modeling volleyball using Markov chainsLaura Albert
 
2018 INFORMS Government & Analytics Summit Overview
2018 INFORMS Government & Analytics Summit Overview2018 INFORMS Government & Analytics Summit Overview
2018 INFORMS Government & Analytics Summit OverviewLaura Albert
 
Designing emergency medical service systems to enhance community resilience
Designing emergency medical service systems to enhance community resilience Designing emergency medical service systems to enhance community resilience
Designing emergency medical service systems to enhance community resilience Laura Albert
 
Modeling Service networks
Modeling Service networksModeling Service networks
Modeling Service networksLaura Albert
 
Translating Engineering and Operations Analyses into Effective Homeland Secur...
Translating Engineering and Operations Analyses into Effective Homeland Secur...Translating Engineering and Operations Analyses into Effective Homeland Secur...
Translating Engineering and Operations Analyses into Effective Homeland Secur...Laura Albert
 
Delivering emergency medical services:Research, theory, and application
Delivering emergency medical services:Research, theory, and applicationDelivering emergency medical services:Research, theory, and application
Delivering emergency medical services:Research, theory, and applicationLaura Albert
 
Advanced analytics for supporting public policy, bracketology, and beyond!
Advanced analytics for supporting public policy, bracketology, and beyond!Advanced analytics for supporting public policy, bracketology, and beyond!
Advanced analytics for supporting public policy, bracketology, and beyond!Laura Albert
 
Technical writing tips
Technical writing tipsTechnical writing tips
Technical writing tipsLaura Albert
 

Mehr von Laura Albert (10)

Optimization with impact: my journey in public sector operations research
Optimization with impact: my journey in public sector operations research Optimization with impact: my journey in public sector operations research
Optimization with impact: my journey in public sector operations research
 
On designing public sector systems in emergency medical services, disaster re...
On designing public sector systems in emergency medical services, disaster re...On designing public sector systems in emergency medical services, disaster re...
On designing public sector systems in emergency medical services, disaster re...
 
Volleyball analytics: Modeling volleyball using Markov chains
Volleyball analytics: Modeling volleyball using Markov chainsVolleyball analytics: Modeling volleyball using Markov chains
Volleyball analytics: Modeling volleyball using Markov chains
 
2018 INFORMS Government & Analytics Summit Overview
2018 INFORMS Government & Analytics Summit Overview2018 INFORMS Government & Analytics Summit Overview
2018 INFORMS Government & Analytics Summit Overview
 
Designing emergency medical service systems to enhance community resilience
Designing emergency medical service systems to enhance community resilience Designing emergency medical service systems to enhance community resilience
Designing emergency medical service systems to enhance community resilience
 
Modeling Service networks
Modeling Service networksModeling Service networks
Modeling Service networks
 
Translating Engineering and Operations Analyses into Effective Homeland Secur...
Translating Engineering and Operations Analyses into Effective Homeland Secur...Translating Engineering and Operations Analyses into Effective Homeland Secur...
Translating Engineering and Operations Analyses into Effective Homeland Secur...
 
Delivering emergency medical services:Research, theory, and application
Delivering emergency medical services:Research, theory, and applicationDelivering emergency medical services:Research, theory, and application
Delivering emergency medical services:Research, theory, and application
 
Advanced analytics for supporting public policy, bracketology, and beyond!
Advanced analytics for supporting public policy, bracketology, and beyond!Advanced analytics for supporting public policy, bracketology, and beyond!
Advanced analytics for supporting public policy, bracketology, and beyond!
 
Technical writing tips
Technical writing tipsTechnical writing tips
Technical writing tips
 

Kürzlich hochgeladen

Data Factory in Microsoft Fabric (MsBIP #82)
Data Factory in Microsoft Fabric (MsBIP #82)Data Factory in Microsoft Fabric (MsBIP #82)
Data Factory in Microsoft Fabric (MsBIP #82)Cathrine Wilhelmsen
 
Bank Loan Approval Analysis: A Comprehensive Data Analysis Project
Bank Loan Approval Analysis: A Comprehensive Data Analysis ProjectBank Loan Approval Analysis: A Comprehensive Data Analysis Project
Bank Loan Approval Analysis: A Comprehensive Data Analysis ProjectBoston Institute of Analytics
 
Advanced Machine Learning for Business Professionals
Advanced Machine Learning for Business ProfessionalsAdvanced Machine Learning for Business Professionals
Advanced Machine Learning for Business ProfessionalsVICTOR MAESTRE RAMIREZ
 
Defining Constituents, Data Vizzes and Telling a Data Story
Defining Constituents, Data Vizzes and Telling a Data StoryDefining Constituents, Data Vizzes and Telling a Data Story
Defining Constituents, Data Vizzes and Telling a Data StoryJeremy Anderson
 
Real-Time AI Streaming - AI Max Princeton
Real-Time AI  Streaming - AI Max PrincetonReal-Time AI  Streaming - AI Max Princeton
Real-Time AI Streaming - AI Max PrincetonTimothy Spann
 
Principles and Practices of Data Visualization
Principles and Practices of Data VisualizationPrinciples and Practices of Data Visualization
Principles and Practices of Data VisualizationKianJazayeri1
 
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...Dr Arash Najmaei ( Phd., MBA, BSc)
 
wepik-insightful-infographics-a-data-visualization-overview-20240401133220kwr...
wepik-insightful-infographics-a-data-visualization-overview-20240401133220kwr...wepik-insightful-infographics-a-data-visualization-overview-20240401133220kwr...
wepik-insightful-infographics-a-data-visualization-overview-20240401133220kwr...KarteekMane1
 
modul pembelajaran robotic Workshop _ by Slidesgo.pptx
modul pembelajaran robotic Workshop _ by Slidesgo.pptxmodul pembelajaran robotic Workshop _ by Slidesgo.pptx
modul pembelajaran robotic Workshop _ by Slidesgo.pptxaleedritatuxx
 
FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024
FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024
FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024Susanna-Assunta Sansone
 
SMOTE and K-Fold Cross Validation-Presentation.pptx
SMOTE and K-Fold Cross Validation-Presentation.pptxSMOTE and K-Fold Cross Validation-Presentation.pptx
SMOTE and K-Fold Cross Validation-Presentation.pptxHaritikaChhatwal1
 
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...Boston Institute of Analytics
 
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default  Presentation : Data Analysis Project PPTPredictive Analysis for Loan Default  Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPTBoston Institute of Analytics
 
Networking Case Study prepared by teacher.pptx
Networking Case Study prepared by teacher.pptxNetworking Case Study prepared by teacher.pptx
Networking Case Study prepared by teacher.pptxHimangsuNath
 
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptxThe Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptxTasha Penwell
 
INTRODUCTION TO Natural language processing
INTRODUCTION TO Natural language processingINTRODUCTION TO Natural language processing
INTRODUCTION TO Natural language processingsocarem879
 
Semantic Shed - Squashing and Squeezing.pptx
Semantic Shed - Squashing and Squeezing.pptxSemantic Shed - Squashing and Squeezing.pptx
Semantic Shed - Squashing and Squeezing.pptxMike Bennett
 
What To Do For World Nature Conservation Day by Slidesgo.pptx
What To Do For World Nature Conservation Day by Slidesgo.pptxWhat To Do For World Nature Conservation Day by Slidesgo.pptx
What To Do For World Nature Conservation Day by Slidesgo.pptxSimranPal17
 
Cyber awareness ppt on the recorded data
Cyber awareness ppt on the recorded dataCyber awareness ppt on the recorded data
Cyber awareness ppt on the recorded dataTecnoIncentive
 

Kürzlich hochgeladen (20)

Data Factory in Microsoft Fabric (MsBIP #82)
Data Factory in Microsoft Fabric (MsBIP #82)Data Factory in Microsoft Fabric (MsBIP #82)
Data Factory in Microsoft Fabric (MsBIP #82)
 
Bank Loan Approval Analysis: A Comprehensive Data Analysis Project
Bank Loan Approval Analysis: A Comprehensive Data Analysis ProjectBank Loan Approval Analysis: A Comprehensive Data Analysis Project
Bank Loan Approval Analysis: A Comprehensive Data Analysis Project
 
Advanced Machine Learning for Business Professionals
Advanced Machine Learning for Business ProfessionalsAdvanced Machine Learning for Business Professionals
Advanced Machine Learning for Business Professionals
 
Defining Constituents, Data Vizzes and Telling a Data Story
Defining Constituents, Data Vizzes and Telling a Data StoryDefining Constituents, Data Vizzes and Telling a Data Story
Defining Constituents, Data Vizzes and Telling a Data Story
 
Real-Time AI Streaming - AI Max Princeton
Real-Time AI  Streaming - AI Max PrincetonReal-Time AI  Streaming - AI Max Princeton
Real-Time AI Streaming - AI Max Princeton
 
Principles and Practices of Data Visualization
Principles and Practices of Data VisualizationPrinciples and Practices of Data Visualization
Principles and Practices of Data Visualization
 
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
 
wepik-insightful-infographics-a-data-visualization-overview-20240401133220kwr...
wepik-insightful-infographics-a-data-visualization-overview-20240401133220kwr...wepik-insightful-infographics-a-data-visualization-overview-20240401133220kwr...
wepik-insightful-infographics-a-data-visualization-overview-20240401133220kwr...
 
modul pembelajaran robotic Workshop _ by Slidesgo.pptx
modul pembelajaran robotic Workshop _ by Slidesgo.pptxmodul pembelajaran robotic Workshop _ by Slidesgo.pptx
modul pembelajaran robotic Workshop _ by Slidesgo.pptx
 
FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024
FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024
FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024
 
SMOTE and K-Fold Cross Validation-Presentation.pptx
SMOTE and K-Fold Cross Validation-Presentation.pptxSMOTE and K-Fold Cross Validation-Presentation.pptx
SMOTE and K-Fold Cross Validation-Presentation.pptx
 
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...
 
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default  Presentation : Data Analysis Project PPTPredictive Analysis for Loan Default  Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPT
 
Networking Case Study prepared by teacher.pptx
Networking Case Study prepared by teacher.pptxNetworking Case Study prepared by teacher.pptx
Networking Case Study prepared by teacher.pptx
 
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptxThe Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
 
INTRODUCTION TO Natural language processing
INTRODUCTION TO Natural language processingINTRODUCTION TO Natural language processing
INTRODUCTION TO Natural language processing
 
Semantic Shed - Squashing and Squeezing.pptx
Semantic Shed - Squashing and Squeezing.pptxSemantic Shed - Squashing and Squeezing.pptx
Semantic Shed - Squashing and Squeezing.pptx
 
What To Do For World Nature Conservation Day by Slidesgo.pptx
What To Do For World Nature Conservation Day by Slidesgo.pptxWhat To Do For World Nature Conservation Day by Slidesgo.pptx
What To Do For World Nature Conservation Day by Slidesgo.pptx
 
Insurance Churn Prediction Data Analysis Project
Insurance Churn Prediction Data Analysis ProjectInsurance Churn Prediction Data Analysis Project
Insurance Churn Prediction Data Analysis Project
 
Cyber awareness ppt on the recorded data
Cyber awareness ppt on the recorded dataCyber awareness ppt on the recorded data
Cyber awareness ppt on the recorded data
 

Should a football team run or pass? A linear programming approach to game theory

  • 1. Should a football team run or pass? A game theory approach Laura Albert McLay Badger Bracketology @lauramclay @badgerbrackets http://bracketology.engr.wisc.edu/ © 2015
  • 2. The problem • An offense can run or pass the ball • The defense anticipates the offense’s choice and chooses a run or pass offense. • Given this strategic interaction, o what is the best mix of pass and run plays for the offense? o what is the best mix of pass and run defenses?
  • 4. Definitions • Players • Actions • Information • Strategies • Payoffs • Equilibria Eventually we’ll relate this to linear programming!
  • 5. Definitions • Players: we have 2 • Actions: discrete actions of actions available to each player and when they are available (order of play) • Information: what each player knows about variables at each point in time • Strategies: a rule that tells each player which action to choose at each decision point • Payoffs: the expected utility/reward each player receives as a function of every players’ decisions • Equilibria: strategy profiles consisting of best strategies for each of the players in the game
  • 6. Payoff matrix • A two person game is between a row player R and a column player C • A zero-sum game is defined by a × payoff matrix where is the payoff to C if C chooses action and R chooses action o R chooses from the rows ∈ {1, … , } o C chooses from the columns ∈ {1, … , } o Note: deterministic strategies can be bad! • Zero-sum: my gain is your loss. Examples?
  • 8. Rock-Paper-Scissors Payoff matrix? = 0 1 −1 −1 0 1 1 −1 0 Why is this zero sum? Strategies: • Deterministic: pure strategies • Random/stochastic: mixed strategies
  • 9. Strategies Payoff matrix • A strategy for a player is a probability vector representing the portion of time each action is used o R chooses with probability = , , … , o C chooses with probability = , , … , o We have: ≥ 0, = 1, … , ∑ = 1
  • 10. Payoffs Expected payoff from R to C: , = ! ! = Note: • and are our variables Problem: • We want to solve this as a linear program but , is a quadratic function with two players with opposing goals.
  • 11. Solution Game theory to the rescue!
  • 12. Theorem Expected payoff from R to C: , = ! ! = Theorem: There exist optimal strategies ∗ and ∗ such that for all strategies and : , ∗ ≤ ∗, ∗ ≤ [ ∗, ] Note we call ∗, ∗ the value of the game. Hipster mathematician
  • 13. Reflect on the inequality , ∗ ≤ ∗ , ∗ ≤ [ ∗ , ] • ∗, ∗ ≤ ∗, : C guarantees a lower bound (worst−case) on his/her payoff • , ∗ ≤ ∗, ∗ : R guarantees an upper bound (worst-case) on how much he/she loses • Fundamental problem: finding ∗ and ∗ Both R and C play optimal strategies C plays optimal, R plays suboptimal R plays optimal, C plays suboptimal
  • 14. Objective function analysis • Suppose C adopts strategy • Then, R’s best strategy is to find the that minimizes : min * • And therefore, C should choose the that maximizes these possibilities: max - min * This will give us ∗ and ∗. This is hard!
  • 15. Useful result • Let’s focus on the inner optimization problem: min * o This is easy since it treats as “fixed” so we have a linear problem. Lemma: min * = min / where / is the pure vector of only selecting action (e.g., / = [1 0 0 … 0]) Idea: a weighted average of things is no bigger than the largest of them.
  • 16. Put it together We now have: max - min / subject to ∑ = 1 ≥ 0, = 1,2, … , This is a linear program!!
  • 17. Reduction to a linear program • Now introduce a scalar 1 representing the value of the inner minimization (min / ): max 2,3 1 subject to 1 ≤ / , = 1,2, … , ∑ = 1 ≥ 0, = 1,2, … , 1 free
  • 18. Reduction to a linear program Matrix-vector notation max 1 1/ − ≤ 0 / = 1 ≥ 0 / is the vector of all 1’s Block matrix form max 0 1 1 − / / 0 1 ≤ = 0 1 ≥ 0 1 free
  • 19. Now do the same from R’s perspective Everything is analogous to what we did before! • R solves this problem: min * max - • Lemma: max 2 = max / • That gives us the following linear program: min * max / subject to ∑ = 1 ≥ 0, = 1,2, … , • Introduce a scalar 4 representing the value of the inner maximization (max / ):
  • 20. Reduction to a linear program Matrix-vector notation min 4 4/ − ≥ 0 / = 1 ≥ 0 / is the vector of all 1’s Block matrix form min 0 1 4 − / / 0 4 ≥ = 0 1 ≥ 0 4 free
  • 21. OK, so now we have two ways to solve the same problem Let’s examine how these solutions are related.
  • 22. Minimax Theorem • Let ∗ denote C’s solution to the max-min problem • Let ∗ denote R’s solution to the min-max problem • Then: max 2 ∗ = min * ∗ Proof: From strong duality, we have 4∗ = 1∗. Also 1∗ = min / ∗ = min * ∗ from C’s problem 4∗ = max 2 ∗ / = max 2 ∗ from R’s problem
  • 24. Let’s work on an example Example from Mathletics by Wayne Winston (2009), Princeton University Press, Princeton, NJ.
  • 25. Football example: offense vs. defense 5(7, 8) Offense runs (7:) Offense passes (;< = 1 − :) Run defense ( ) -5 10 Pass defense ( = 1 − ) 5 0 The offense wants the most yards. The defense wants the offense to have the fewest yards. This is a zero sum game. Using this information, answer the following two questions: (1) What fraction of time should the offense run the ball? (2) If they adopt this strategy, how many yards will they achieve per play on average? Idealized payoffs (yards)
  • 26. Case 1: Look at the offense • The offense chooses a mixed strategy o Run with probability o Pass with probability = 1 − • Solve the linear program: max 1 subject to 1 ≤ −5 + 10 1 ≤ 5 + = 1 , ≥ 0
  • 27. Case 1: Look at the offense We know that = 1 − , which simplifies the formulation to: max 1 subject to 1 ≤ −5 + 10 (1 − ) = 10 − 15 1 ≤ 5 , ≥ 0 Let’s solve the problem visually.
  • 28. Case 1: Look at the offense We want the largest value of 1 that is “under” both lines. This happens when = 1/2 (and = 1/2): run half the time, pass half the time. 1∗ = min / ∗ = 2.5 yards per play, on average. Expected payoff , proportion of time offense runs the ball Run defense 10 − 15 Pass defense 5
  • 29. Case 2: Look at the defense • We still do not know the optimal defensive strategy. • The defense chooses a mixed strategy o Run defense with probability o Pass defense with probability = 1 − • Solve the linear program: min 4 subject to 4 ≥ −5 + 5 = 5 − 10 4 ≥ 10 + = 1 , ≥ 0
  • 30. Case 2: Look at the defense We want the smallest value of 4 that is “over” both lines. This happens when = 1/4 (and =3/4): prepare for run a quarter of the time, prepare for a pass three quarters of the time. This yields 4∗ = 2.5 yards per attempt (on average). The offense gain and defensive loss are always identical! Expected payoff Run offense 5 − 10 Pass offense 10 , proportion of time defense prepares for run
  • 31. Football example #2: offense vs. defense 5(7, 8) Offense runs (7:) Offense passes (;< = 1 − :) Run defense ( ) I − J K + J Pass defense ( = 1 − ) I + J K − J Suppose the defense chooses run and pass defenses with equal likelihoods. The offense would gain r yards per run, on average. The offense would gain p yards per pass, on average. The correct choice on defense has m times more effect on passing as it does on running (range of 2 J vs. 2J) Idealized payoffs (yards)
  • 32. Football example #2: offense vs. defense Offense problem Defense problem min 4 subject to 4 ≥ (I − J) + (I + J) 4 ≥ (K + J) + (K − J) + = 1 , ≥ 0 max 1 subject to 1 ≤ (I − J) + (K + J) 1 ≤ (I + J) + (K − J) + = 1 , ≥ 0
  • 33. Football example #2: offense problem After a lot of algebra… = /( + 1) [Does not depend on I or K!] Likewise, = 1/2 + (I − K)/(2J + ) for the defense Expected payoff , proportion of time offense runs the ball Run defense K + J + (I − K − ( + 1)J) Pass defense K − J + (I − K + ( + 1)J) K + J K + J
  • 34. Intuition The correct choice on defense has times more effect on passing as it does on running • For = 1 o Offense runs pass and run plays equally • For > 1 o Offense runs more since the defensive call has more of an effect on passing plays • For < 1 o Offense passes more since the defensive call has less of an effect on passing plays
  • 35. Related blog posts • Happiness is assuming the world is linear • Why the Patriots’ decision to let the Giants score a touchdown makes sense • Introducing Badger Bracketology 1.0 • Some thoughts on the College Football Playoff