SlideShare uma empresa Scribd logo
1 de 37
Section Seven: Game Theory Chapter Fourteen: Game Theory GOALS OF THIS CHAPTER ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
PROBABILITY Let’s talk about probability through the Roulette Wheel. Here is the layout: -we can bet on numbers, colours, rows, columns and more! -each type of bet has a different kind of “payout” (the amount of money you win) -to keep it easy, let’s just bet $1 at a time
PROBABILITY Here is the Roulette wheel: -this helps us decide when we win our bet or lose our bet -there are 37 numbers (0-36), some are black some are red (zero is neither red or black) -a “croupier” will spin a ball and the ball lands on a certain number -everything is completely random
PROBABILITY Let’s place a $1 bet on a single number: How many ways can I win? How many ways can I lose?
PROBABILITY Let’s place a $1 bet on a single number: The probability (or chance) that I win? The probability (or chance) that I lose?
PROBABILITY Let’s place a $1 bet on a colour: How many ways can I win? How many ways can I lose?
PROBABILITY Let’s place a $1 bet on a colour: The probability (or chance) that I win? The probability (or chance) that I lose?
PROBABILITY Here are some definitions I will be using throughout: A  probability experiment  is a situation involving chance that leads to results called  basic outcomes.  Basic outcomes are a result of a single trial of the experiment. We will denote a probability experiment with a Greek letter (omega):  Ω .  -in our Roulette example, the probability experiment is… -in our Roulette example, the basic outcomes are…
PROBABILITY Here are some definitions I will be using throughout: An  event  is one (or more) basic outcomes of a probability experiment. We generally denote an even with a capital X. -in our Roulette example, an event is… -in our Roulette example, another event is…
PROBABILITY Here are some definitions I will be using throughout: The probability of an event X occurring is found by dividing the number of ways the even can occur by the total number of basic outcomes. We denote the probability of an even occurring as P(X). -the total number of basic outcomes of the Roulette probability experiment is…
EXPECTED VALUE AND HOUSE EDGE Now that we know probabilities, we can figure out the question everyone asks me: WHY DOES THE CASINO ALWAYS WIN? -we need to know the payout for a single number bet: if the number 26 comes up, we win $35 -if the number does not come up, we lose our $1 bet
EXPECTED VALUE AND HOUSE EDGE WHY DOES THE CASINO ALWAYS WIN? The probability I win times how much I will win? The probability I lose times how much I will lose?
EXPECTED VALUE AND HOUSE EDGE WHY DOES THE CASINO ALWAYS WIN? What number do we get if we add these two fractions together? In gambling lingo, we call this the  house edge . It tells a player what percentage of money he or she will pay the casino in the long run.
EXPECTED VALUE AND HOUSE EDGE What about a different bet? -we need to know the payout for a single colour bet: if the colour black comes up, we win $1 -if the colour black does not come up, we lose our $1 bet
EXPECTED VALUE AND HOUSE EDGE What about a different bet? The probability I win times how much I will win? The probability I lose times how much I will lose?
EXPECTED VALUE AND HOUSE EDGE What number do we get if we add these two fractions together? The casino ALWAYS has an advantage over the player and the reason is all a matter of mathematics! What about a different bet?
Another definition: A probability experiment  Ω  has a special value associated to it. This value is called the  expected value  and is denoted as E( Ω ). This number is an “average value” of the experiment if it were to be repeated many times. We can calculate the expected value by multiplying all basic outcomes by their respective probabilities: E( Ω ) = P(X 1 )X 1  + P(X 2 )X 2  + … + P(X n )X n -in our Roulette example, the house edge is a special  type of expected value EXPECTED VALUE AND HOUSE EDGE
First, I want to explain why card counting came about and how it is tied to probability and expected value: -blackjack is a game where you play against the dealer; two initial cards are dealt and additional cards are drawn to better the hand; whoever is closer to 21 without going over is the winner -aces are worth either 1 or 11; face cards are worth 10  -it was noticed that as high cards came out of the shoe the hands that came afterwards favoured the dealer winning  CARD COUNTING AND BLACKJACK -the type of count I know is called the Hi-Lo count and was introduced in 1963 by Harvey Dubner
First, I want to explain why card counting came about and how it is tied to probability and expected value: -as low cards came out of the shoe the hands that came afterwards favoured the player winning  CARD COUNTING AND BLACKJACK -blackjack generally has a house edge of about 0.5%; this means out of every $100 I spend at the table, I expect to lose 5 cents -the big question at the time was “is it possible to keep track of the cards in such a way so that the player will gain a slight advantage?” -as it turns out, the answer is YES! using the Hi-Lo count will shift the house edge to about -1% (this means the player now expects to WIN money!)
So how do we do it? -each card in the deck gets assigned a special value:  CARD COUNTING AND BLACKJACK Aces and Face Cards (the “Hi” cards)  Value = -1
So how do we do it? -each card in the deck gets assigned a special value:  CARD COUNTING AND BLACKJACK Cards 2 Through 6 (the “Lo” cards)  Value = +1
So how do we do it? -each card in the deck gets assigned a special value:  CARD COUNTING AND BLACKJACK Cards 7 Through 9 (neutral cards)  Value = 0
So how do we do it? -as the cards come out, we keep a “running count” of the values of the cards  CARD COUNTING AND BLACKJACK +1  -1  -1  +1  0  Running Count:  1 0  0  1 0
So how do we do it? -if at the end of the round, the running count is positive, we bet more (this means lots of small cards have been dealt and we expect more high cards to come out) -if at the end of the round, the running count is negative, we would bet less (a lot of high cards have come out and we expect to see more low cards come out next)  CARD COUNTING AND BLACKJACK
What is the running count at the end of this round? CARD COUNTING AND BLACKJACK Dealer  Player 1  Player 2  Player 3
2x2 ZERO SUM GAMES Here are some definitions that we need for the rest of the chapter: A  game  is a situation involving participants (called players) that we can represent with a matrix.  Player A chooses rows of the matrix with some probability and Player B chooses columns of the matrix with some probability. At the intersection of the row and column chosen is a  payoff  (the entries in the matrix represent a gain or loss of a resource).
2x2 ZERO SUM GAMES Ex. 1 – Rock Paper Scissors  Let’s set up a rock paper scissors game. If a player loses, he or she has to pay $1 to the other player. If a player wins, he or she gains $1 from the other player. A tie results in no money exchange. Remember that paper beats rock, rock beats scissors and scissors beats paper.
2x2 ZERO SUM GAMES We call a game a  zero-sum game  if the total wins and losses of both players totals zero. For this course, we will only focus on 2x2 zero-sum games. The rock, paper and scissors example is a zero-sum game. It is not a 2x2 game though (it’s 3x3). A 2x2 game will be represented with a 2x2 matrix. A  strategy pair  is a pair of numbers (a,b) that satisfy 0 ≤ a ≤ 1, 0 ≤ b ≤ 1 and a + b = 1. We generally use the pair (1-p,p) for Player A and the pair (1-q,q) for Player B. Here, p denotes the probability of Player A of choosing the second row and q denotes the probability of Player B choosing the second column.
2x2 ZERO SUM GAMES The general form of a 2x2 zero-sum game is: We can calculate the various payoff probabilities: Finally, we can calculate the expected value of the game:
2x2 ZERO SUM GAMES Ex. 2 – Expected Value Calculation Bob (Player A) and Sue (Player B) play a 2x2 zero-sum game with the following representation:  If the strategy pairs of Bob and Sue are (0.2,0.8) and (0.3,0.7), respectively, calculate the expected value of Bob’s game.  5 0 -1 2
COUNTER STRATEGY Ex. 3 – Counter Strategy Bob (Player A) and Sue (Player B) play a 2x2 zero-sum game with the following representation:  If only the strategy pair of Sue is known (0.3,0.7), how should Bob play his game to maximize his strategy?  5 0 -1 2
THE MAXIMIN THEOREM Counter strategy is good for when we know how Player B will play the game – it will ensure the best possible expected value. What do we do if we don’t know how often Player B will choose column 1 or column 2? In this section we will develop a way to play the game when we do not know Player B’s strategy pair. We will assume that Player B has an unknown strategy pair and that Player B is always trying to minimize the expected value of Player A.
THE MAXIMIN THEOREM First, we will consider two different expected values. The first comes from using the strategy pair (0,1) for Player B and the second comes from using the strategy pair (1,0) for Player B.
THE MAXIMIN THEOREM Since Player B wants to minimize Player A’s winnings as much as possible, we create a third expected value called E min .  This expected value is found by taking the minimum of both E 1  and E 2 .  If we plot E min  as a function of p, we can find the best way to maximize Player A’s winnings.
Ex. 4 – Penny Matching Example Suppose that Player A and Player B play a game where they decide to play a penny heads-up or tails-up. If both pennies show the same side, Player B gets both pennies and if the pennies show different sides, Player A gets the two pennies. Find a matrix representation for the following 2x2 zero-sum game and maximize Player A’s expected value. THE MAXIMIN THEOREM
Thm. 5 – (Maximin Theorem) If (p,E( Ω )) is the highest point on the graph of E min ( Ω ), then (1-p,p) is a maximin strategy pair for Player A and E( Ω ) is Player’ A’s maximin expectation. If Player A uses the maximin strategy pair (1-p,p), then Player A expects to win E( Ω ) on each play of the game.  THE MAXIMIN THEOREM
Ex. 5 – Maximin Question Find the maximin strategy pair and the maximin expectation of Player A for the following 2x2 zero-sum game:  THE MAXIMIN THEOREM 0.8 1 0.9 0.5

Mais conteúdo relacionado

Mais procurados

Swapnalipi productions ppt
Swapnalipi productions pptSwapnalipi productions ppt
Swapnalipi productions pptPentacle Cipher
 
Cards probability
Cards probabilityCards probability
Cards probabilityNeha Patil
 
Probability of card
Probability of  cardProbability of  card
Probability of cardUnsa Shakir
 
Set game instructions
Set game instructionsSet game instructions
Set game instructionslynnn1054
 
Taking a Gamble with Functional Domain Modeling
Taking a Gamble with Functional Domain ModelingTaking a Gamble with Functional Domain Modeling
Taking a Gamble with Functional Domain ModelingCameron Presley
 
Blind Trust
Blind TrustBlind Trust
Blind Truststvlmtt
 
Balloon Birthday Mystery Game - a classic "Clue-like" game infused with math ...
Balloon Birthday Mystery Game - a classic "Clue-like" game infused with math ...Balloon Birthday Mystery Game - a classic "Clue-like" game infused with math ...
Balloon Birthday Mystery Game - a classic "Clue-like" game infused with math ...Stacey Pinski
 
Automated poker player report
Automated poker player reportAutomated poker player report
Automated poker player reportDanish Bangash
 
Probability Deck of Cards
Probability Deck of CardsProbability Deck of Cards
Probability Deck of CardsSharlaine Ruth
 
Comp 220 i lab 1 two dimensional arrays lab report and source code
Comp 220 i lab 1 two dimensional arrays lab report and source codeComp 220 i lab 1 two dimensional arrays lab report and source code
Comp 220 i lab 1 two dimensional arrays lab report and source codepradesigali1
 
Deccan rummy – how to play indian rummy?
Deccan rummy – how to play indian rummy?Deccan rummy – how to play indian rummy?
Deccan rummy – how to play indian rummy?DeccanRummy
 
Deccan rummy – how to play pool rummy?
Deccan rummy – how to play pool rummy?Deccan rummy – how to play pool rummy?
Deccan rummy – how to play pool rummy?DeccanRummy
 

Mais procurados (20)

Basic Poker Strategy
Basic Poker StrategyBasic Poker Strategy
Basic Poker Strategy
 
Swapnalipi productions ppt
Swapnalipi productions pptSwapnalipi productions ppt
Swapnalipi productions ppt
 
Probability of cards
Probability of cardsProbability of cards
Probability of cards
 
Cards probability
Cards probabilityCards probability
Cards probability
 
Game gg
Game ggGame gg
Game gg
 
Game dd
Game ddGame dd
Game dd
 
Probability of card
Probability of  cardProbability of  card
Probability of card
 
Set game instructions
Set game instructionsSet game instructions
Set game instructions
 
Taking a Gamble with Functional Domain Modeling
Taking a Gamble with Functional Domain ModelingTaking a Gamble with Functional Domain Modeling
Taking a Gamble with Functional Domain Modeling
 
Blind Trust
Blind TrustBlind Trust
Blind Trust
 
Balloon Birthday Mystery Game - a classic "Clue-like" game infused with math ...
Balloon Birthday Mystery Game - a classic "Clue-like" game infused with math ...Balloon Birthday Mystery Game - a classic "Clue-like" game infused with math ...
Balloon Birthday Mystery Game - a classic "Clue-like" game infused with math ...
 
Automated poker player report
Automated poker player reportAutomated poker player report
Automated poker player report
 
Probability Deck of Cards
Probability Deck of CardsProbability Deck of Cards
Probability Deck of Cards
 
Comp 220 i lab 1 two dimensional arrays lab report and source code
Comp 220 i lab 1 two dimensional arrays lab report and source codeComp 220 i lab 1 two dimensional arrays lab report and source code
Comp 220 i lab 1 two dimensional arrays lab report and source code
 
lect1207
lect1207lect1207
lect1207
 
Deccan rummy – how to play indian rummy?
Deccan rummy – how to play indian rummy?Deccan rummy – how to play indian rummy?
Deccan rummy – how to play indian rummy?
 
How to play poker
How to play poker How to play poker
How to play poker
 
Deccan rummy – how to play pool rummy?
Deccan rummy – how to play pool rummy?Deccan rummy – how to play pool rummy?
Deccan rummy – how to play pool rummy?
 
Bow&arrow game
Bow&arrow gameBow&arrow game
Bow&arrow game
 
Game cc
Game ccGame cc
Game cc
 

Destaque

Costs Of Production Micro Economics ECO101
Costs Of Production Micro Economics ECO101Costs Of Production Micro Economics ECO101
Costs Of Production Micro Economics ECO101Sabih Kamran
 
Law of diminishing marginal returns chalapathi v (2)
Law of diminishing marginal returns chalapathi v (2)Law of diminishing marginal returns chalapathi v (2)
Law of diminishing marginal returns chalapathi v (2)Chalapathi Gowda
 
Oligopoly Micro Economics ECO101
Oligopoly Micro Economics ECO101Oligopoly Micro Economics ECO101
Oligopoly Micro Economics ECO101Sabih Kamran
 
Law of diminishing returns
Law of diminishing returnsLaw of diminishing returns
Law of diminishing returnsbernamarcos
 
Elasticity Of Demand And Supply
Elasticity Of Demand And SupplyElasticity Of Demand And Supply
Elasticity Of Demand And Supplymandalina landy
 
Price Elasticity of Supply
Price Elasticity of SupplyPrice Elasticity of Supply
Price Elasticity of Supplytutor2u
 
Elasticity of Supply
Elasticity of SupplyElasticity of Supply
Elasticity of Supplyitutor
 
05 price elasticity of demand and supply
05 price elasticity of demand and supply05 price elasticity of demand and supply
05 price elasticity of demand and supplyNepDevWiki
 
PRICE ELASTICITY OF SUPPLY WITH EXAMPLES
PRICE ELASTICITY OF SUPPLY WITH EXAMPLESPRICE ELASTICITY OF SUPPLY WITH EXAMPLES
PRICE ELASTICITY OF SUPPLY WITH EXAMPLESShahi Raz Akhtar
 
Market Structure- Micro Economics
Market Structure- Micro EconomicsMarket Structure- Micro Economics
Market Structure- Micro EconomicsZoha Qureshi
 
Elasticity of Demand
Elasticity of DemandElasticity of Demand
Elasticity of Demanditutor
 
Basic Economic Concepts
Basic Economic ConceptsBasic Economic Concepts
Basic Economic ConceptsDan Ewert
 
Tutor2u - Price Elasticity of Demand
Tutor2u - Price Elasticity of DemandTutor2u - Price Elasticity of Demand
Tutor2u - Price Elasticity of Demandtutor2u
 

Destaque (20)

Costs Of Production Micro Economics ECO101
Costs Of Production Micro Economics ECO101Costs Of Production Micro Economics ECO101
Costs Of Production Micro Economics ECO101
 
gt_2007
gt_2007gt_2007
gt_2007
 
Law of diminishing marginal returns chalapathi v (2)
Law of diminishing marginal returns chalapathi v (2)Law of diminishing marginal returns chalapathi v (2)
Law of diminishing marginal returns chalapathi v (2)
 
law of diminishing marginal returns
law of diminishing marginal returnslaw of diminishing marginal returns
law of diminishing marginal returns
 
Oligopoly Micro Economics ECO101
Oligopoly Micro Economics ECO101Oligopoly Micro Economics ECO101
Oligopoly Micro Economics ECO101
 
Law of diminishing returns
Law of diminishing returnsLaw of diminishing returns
Law of diminishing returns
 
Game theory
Game theoryGame theory
Game theory
 
Elasticity Of Demand And Supply
Elasticity Of Demand And SupplyElasticity Of Demand And Supply
Elasticity Of Demand And Supply
 
Price Elasticity of Supply
Price Elasticity of SupplyPrice Elasticity of Supply
Price Elasticity of Supply
 
Elasticity of Supply
Elasticity of SupplyElasticity of Supply
Elasticity of Supply
 
Oligopoly market
Oligopoly marketOligopoly market
Oligopoly market
 
05 price elasticity of demand and supply
05 price elasticity of demand and supply05 price elasticity of demand and supply
05 price elasticity of demand and supply
 
Chapter 20 elasticity of demand and supply
Chapter 20 elasticity of demand and supplyChapter 20 elasticity of demand and supply
Chapter 20 elasticity of demand and supply
 
Price Elasticity of Demand
Price Elasticity of DemandPrice Elasticity of Demand
Price Elasticity of Demand
 
PRICE ELASTICITY OF SUPPLY WITH EXAMPLES
PRICE ELASTICITY OF SUPPLY WITH EXAMPLESPRICE ELASTICITY OF SUPPLY WITH EXAMPLES
PRICE ELASTICITY OF SUPPLY WITH EXAMPLES
 
Market Structure- Micro Economics
Market Structure- Micro EconomicsMarket Structure- Micro Economics
Market Structure- Micro Economics
 
Elasticity of Demand
Elasticity of DemandElasticity of Demand
Elasticity of Demand
 
Basic Economic Concepts
Basic Economic ConceptsBasic Economic Concepts
Basic Economic Concepts
 
Tutor2u - Price Elasticity of Demand
Tutor2u - Price Elasticity of DemandTutor2u - Price Elasticity of Demand
Tutor2u - Price Elasticity of Demand
 
101 lecture 13
101 lecture 13101 lecture 13
101 lecture 13
 

Semelhante a Game Theory

Game Theory Strategic Decision Making
Game Theory Strategic Decision MakingGame Theory Strategic Decision Making
Game Theory Strategic Decision MakingCaner Erden
 
Game theory intro_and_questions_2009[1]
Game theory intro_and_questions_2009[1]Game theory intro_and_questions_2009[1]
Game theory intro_and_questions_2009[1]evamstrauss
 
Bradford fall 2013 so 211 games
Bradford fall 2013 so 211 gamesBradford fall 2013 so 211 games
Bradford fall 2013 so 211 gamesJohn Bradford
 
GAME THEORY NOTES FOR ECONOMICS HONOURS FOR ALL UNIVERSITIES BY SOURAV SIR'S ...
GAME THEORY NOTES FOR ECONOMICS HONOURS FOR ALL UNIVERSITIES BY SOURAV SIR'S ...GAME THEORY NOTES FOR ECONOMICS HONOURS FOR ALL UNIVERSITIES BY SOURAV SIR'S ...
GAME THEORY NOTES FOR ECONOMICS HONOURS FOR ALL UNIVERSITIES BY SOURAV SIR'S ...SOURAV DAS
 
Algorithmic Game Theory and TFNP
Algorithmic Game Theory and TFNPAlgorithmic Game Theory and TFNP
Algorithmic Game Theory and TFNPSamuel Schlesinger
 
Lecture 2 so 211 games
Lecture 2 so 211 gamesLecture 2 so 211 games
Lecture 2 so 211 gamesJohn Bradford
 
Slide 1
Slide 1Slide 1
Slide 1butest
 
Chapter Three Game Theory 2 (1).pptx
Chapter Three Game Theory 2 (1).pptxChapter Three Game Theory 2 (1).pptx
Chapter Three Game Theory 2 (1).pptxEndAlk15
 
AI Strategies for Solving Poker Texas Hold'em
AI Strategies for Solving Poker Texas Hold'emAI Strategies for Solving Poker Texas Hold'em
AI Strategies for Solving Poker Texas Hold'emGiovanni Murru
 
Poker in Numbers
Poker in NumbersPoker in Numbers
Poker in NumbersPokerCoUk
 
Aces power new music
Aces power new musicAces power new music
Aces power new musicTigger111
 
Ch11 Search & Sort
Ch11 Search & SortCh11 Search & Sort
Ch11 Search & Sortleminhvuong
 
Brian Bumpas-Final Draft
Brian Bumpas-Final DraftBrian Bumpas-Final Draft
Brian Bumpas-Final DraftBrian Bumpas
 

Semelhante a Game Theory (20)

Casino Mathematics
Casino MathematicsCasino Mathematics
Casino Mathematics
 
Game Theory Strategic Decision Making
Game Theory Strategic Decision MakingGame Theory Strategic Decision Making
Game Theory Strategic Decision Making
 
Game theory intro_and_questions_2009[1]
Game theory intro_and_questions_2009[1]Game theory intro_and_questions_2009[1]
Game theory intro_and_questions_2009[1]
 
Casino paper 2
Casino paper 2Casino paper 2
Casino paper 2
 
Bradford fall 2013 so 211 games
Bradford fall 2013 so 211 gamesBradford fall 2013 so 211 games
Bradford fall 2013 so 211 games
 
GAME THEORY NOTES FOR ECONOMICS HONOURS FOR ALL UNIVERSITIES BY SOURAV SIR'S ...
GAME THEORY NOTES FOR ECONOMICS HONOURS FOR ALL UNIVERSITIES BY SOURAV SIR'S ...GAME THEORY NOTES FOR ECONOMICS HONOURS FOR ALL UNIVERSITIES BY SOURAV SIR'S ...
GAME THEORY NOTES FOR ECONOMICS HONOURS FOR ALL UNIVERSITIES BY SOURAV SIR'S ...
 
Game throy
Game throyGame throy
Game throy
 
Sol6
Sol6Sol6
Sol6
 
Sol6
Sol6Sol6
Sol6
 
Game theory (1)
Game theory (1)Game theory (1)
Game theory (1)
 
Algorithmic Game Theory and TFNP
Algorithmic Game Theory and TFNPAlgorithmic Game Theory and TFNP
Algorithmic Game Theory and TFNP
 
Lecture 2 so 211 games
Lecture 2 so 211 gamesLecture 2 so 211 games
Lecture 2 so 211 games
 
Slide 1
Slide 1Slide 1
Slide 1
 
Chapter Three Game Theory 2 (1).pptx
Chapter Three Game Theory 2 (1).pptxChapter Three Game Theory 2 (1).pptx
Chapter Three Game Theory 2 (1).pptx
 
AI Strategies for Solving Poker Texas Hold'em
AI Strategies for Solving Poker Texas Hold'emAI Strategies for Solving Poker Texas Hold'em
AI Strategies for Solving Poker Texas Hold'em
 
Poker in Numbers
Poker in NumbersPoker in Numbers
Poker in Numbers
 
Game o
Game oGame o
Game o
 
Aces power new music
Aces power new musicAces power new music
Aces power new music
 
Ch11 Search & Sort
Ch11 Search & SortCh11 Search & Sort
Ch11 Search & Sort
 
Brian Bumpas-Final Draft
Brian Bumpas-Final DraftBrian Bumpas-Final Draft
Brian Bumpas-Final Draft
 

Último

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfOverkill Security
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 

Último (20)

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 

Game Theory

  • 1.
  • 2. PROBABILITY Let’s talk about probability through the Roulette Wheel. Here is the layout: -we can bet on numbers, colours, rows, columns and more! -each type of bet has a different kind of “payout” (the amount of money you win) -to keep it easy, let’s just bet $1 at a time
  • 3. PROBABILITY Here is the Roulette wheel: -this helps us decide when we win our bet or lose our bet -there are 37 numbers (0-36), some are black some are red (zero is neither red or black) -a “croupier” will spin a ball and the ball lands on a certain number -everything is completely random
  • 4. PROBABILITY Let’s place a $1 bet on a single number: How many ways can I win? How many ways can I lose?
  • 5. PROBABILITY Let’s place a $1 bet on a single number: The probability (or chance) that I win? The probability (or chance) that I lose?
  • 6. PROBABILITY Let’s place a $1 bet on a colour: How many ways can I win? How many ways can I lose?
  • 7. PROBABILITY Let’s place a $1 bet on a colour: The probability (or chance) that I win? The probability (or chance) that I lose?
  • 8. PROBABILITY Here are some definitions I will be using throughout: A probability experiment is a situation involving chance that leads to results called basic outcomes. Basic outcomes are a result of a single trial of the experiment. We will denote a probability experiment with a Greek letter (omega): Ω . -in our Roulette example, the probability experiment is… -in our Roulette example, the basic outcomes are…
  • 9. PROBABILITY Here are some definitions I will be using throughout: An event is one (or more) basic outcomes of a probability experiment. We generally denote an even with a capital X. -in our Roulette example, an event is… -in our Roulette example, another event is…
  • 10. PROBABILITY Here are some definitions I will be using throughout: The probability of an event X occurring is found by dividing the number of ways the even can occur by the total number of basic outcomes. We denote the probability of an even occurring as P(X). -the total number of basic outcomes of the Roulette probability experiment is…
  • 11. EXPECTED VALUE AND HOUSE EDGE Now that we know probabilities, we can figure out the question everyone asks me: WHY DOES THE CASINO ALWAYS WIN? -we need to know the payout for a single number bet: if the number 26 comes up, we win $35 -if the number does not come up, we lose our $1 bet
  • 12. EXPECTED VALUE AND HOUSE EDGE WHY DOES THE CASINO ALWAYS WIN? The probability I win times how much I will win? The probability I lose times how much I will lose?
  • 13. EXPECTED VALUE AND HOUSE EDGE WHY DOES THE CASINO ALWAYS WIN? What number do we get if we add these two fractions together? In gambling lingo, we call this the house edge . It tells a player what percentage of money he or she will pay the casino in the long run.
  • 14. EXPECTED VALUE AND HOUSE EDGE What about a different bet? -we need to know the payout for a single colour bet: if the colour black comes up, we win $1 -if the colour black does not come up, we lose our $1 bet
  • 15. EXPECTED VALUE AND HOUSE EDGE What about a different bet? The probability I win times how much I will win? The probability I lose times how much I will lose?
  • 16. EXPECTED VALUE AND HOUSE EDGE What number do we get if we add these two fractions together? The casino ALWAYS has an advantage over the player and the reason is all a matter of mathematics! What about a different bet?
  • 17. Another definition: A probability experiment Ω has a special value associated to it. This value is called the expected value and is denoted as E( Ω ). This number is an “average value” of the experiment if it were to be repeated many times. We can calculate the expected value by multiplying all basic outcomes by their respective probabilities: E( Ω ) = P(X 1 )X 1 + P(X 2 )X 2 + … + P(X n )X n -in our Roulette example, the house edge is a special type of expected value EXPECTED VALUE AND HOUSE EDGE
  • 18. First, I want to explain why card counting came about and how it is tied to probability and expected value: -blackjack is a game where you play against the dealer; two initial cards are dealt and additional cards are drawn to better the hand; whoever is closer to 21 without going over is the winner -aces are worth either 1 or 11; face cards are worth 10 -it was noticed that as high cards came out of the shoe the hands that came afterwards favoured the dealer winning CARD COUNTING AND BLACKJACK -the type of count I know is called the Hi-Lo count and was introduced in 1963 by Harvey Dubner
  • 19. First, I want to explain why card counting came about and how it is tied to probability and expected value: -as low cards came out of the shoe the hands that came afterwards favoured the player winning CARD COUNTING AND BLACKJACK -blackjack generally has a house edge of about 0.5%; this means out of every $100 I spend at the table, I expect to lose 5 cents -the big question at the time was “is it possible to keep track of the cards in such a way so that the player will gain a slight advantage?” -as it turns out, the answer is YES! using the Hi-Lo count will shift the house edge to about -1% (this means the player now expects to WIN money!)
  • 20. So how do we do it? -each card in the deck gets assigned a special value: CARD COUNTING AND BLACKJACK Aces and Face Cards (the “Hi” cards) Value = -1
  • 21. So how do we do it? -each card in the deck gets assigned a special value: CARD COUNTING AND BLACKJACK Cards 2 Through 6 (the “Lo” cards) Value = +1
  • 22. So how do we do it? -each card in the deck gets assigned a special value: CARD COUNTING AND BLACKJACK Cards 7 Through 9 (neutral cards) Value = 0
  • 23. So how do we do it? -as the cards come out, we keep a “running count” of the values of the cards CARD COUNTING AND BLACKJACK +1 -1 -1 +1 0 Running Count: 1 0 0 1 0
  • 24. So how do we do it? -if at the end of the round, the running count is positive, we bet more (this means lots of small cards have been dealt and we expect more high cards to come out) -if at the end of the round, the running count is negative, we would bet less (a lot of high cards have come out and we expect to see more low cards come out next) CARD COUNTING AND BLACKJACK
  • 25. What is the running count at the end of this round? CARD COUNTING AND BLACKJACK Dealer Player 1 Player 2 Player 3
  • 26. 2x2 ZERO SUM GAMES Here are some definitions that we need for the rest of the chapter: A game is a situation involving participants (called players) that we can represent with a matrix. Player A chooses rows of the matrix with some probability and Player B chooses columns of the matrix with some probability. At the intersection of the row and column chosen is a payoff (the entries in the matrix represent a gain or loss of a resource).
  • 27. 2x2 ZERO SUM GAMES Ex. 1 – Rock Paper Scissors Let’s set up a rock paper scissors game. If a player loses, he or she has to pay $1 to the other player. If a player wins, he or she gains $1 from the other player. A tie results in no money exchange. Remember that paper beats rock, rock beats scissors and scissors beats paper.
  • 28. 2x2 ZERO SUM GAMES We call a game a zero-sum game if the total wins and losses of both players totals zero. For this course, we will only focus on 2x2 zero-sum games. The rock, paper and scissors example is a zero-sum game. It is not a 2x2 game though (it’s 3x3). A 2x2 game will be represented with a 2x2 matrix. A strategy pair is a pair of numbers (a,b) that satisfy 0 ≤ a ≤ 1, 0 ≤ b ≤ 1 and a + b = 1. We generally use the pair (1-p,p) for Player A and the pair (1-q,q) for Player B. Here, p denotes the probability of Player A of choosing the second row and q denotes the probability of Player B choosing the second column.
  • 29. 2x2 ZERO SUM GAMES The general form of a 2x2 zero-sum game is: We can calculate the various payoff probabilities: Finally, we can calculate the expected value of the game:
  • 30. 2x2 ZERO SUM GAMES Ex. 2 – Expected Value Calculation Bob (Player A) and Sue (Player B) play a 2x2 zero-sum game with the following representation: If the strategy pairs of Bob and Sue are (0.2,0.8) and (0.3,0.7), respectively, calculate the expected value of Bob’s game. 5 0 -1 2
  • 31. COUNTER STRATEGY Ex. 3 – Counter Strategy Bob (Player A) and Sue (Player B) play a 2x2 zero-sum game with the following representation: If only the strategy pair of Sue is known (0.3,0.7), how should Bob play his game to maximize his strategy? 5 0 -1 2
  • 32. THE MAXIMIN THEOREM Counter strategy is good for when we know how Player B will play the game – it will ensure the best possible expected value. What do we do if we don’t know how often Player B will choose column 1 or column 2? In this section we will develop a way to play the game when we do not know Player B’s strategy pair. We will assume that Player B has an unknown strategy pair and that Player B is always trying to minimize the expected value of Player A.
  • 33. THE MAXIMIN THEOREM First, we will consider two different expected values. The first comes from using the strategy pair (0,1) for Player B and the second comes from using the strategy pair (1,0) for Player B.
  • 34. THE MAXIMIN THEOREM Since Player B wants to minimize Player A’s winnings as much as possible, we create a third expected value called E min . This expected value is found by taking the minimum of both E 1 and E 2 . If we plot E min as a function of p, we can find the best way to maximize Player A’s winnings.
  • 35. Ex. 4 – Penny Matching Example Suppose that Player A and Player B play a game where they decide to play a penny heads-up or tails-up. If both pennies show the same side, Player B gets both pennies and if the pennies show different sides, Player A gets the two pennies. Find a matrix representation for the following 2x2 zero-sum game and maximize Player A’s expected value. THE MAXIMIN THEOREM
  • 36. Thm. 5 – (Maximin Theorem) If (p,E( Ω )) is the highest point on the graph of E min ( Ω ), then (1-p,p) is a maximin strategy pair for Player A and E( Ω ) is Player’ A’s maximin expectation. If Player A uses the maximin strategy pair (1-p,p), then Player A expects to win E( Ω ) on each play of the game. THE MAXIMIN THEOREM
  • 37. Ex. 5 – Maximin Question Find the maximin strategy pair and the maximin expectation of Player A for the following 2x2 zero-sum game: THE MAXIMIN THEOREM 0.8 1 0.9 0.5