SlideShare a Scribd company logo
1 of 42
School of Computing &
Information
INFSCI 0530: Decision
Making in Sports
Fall 2021
School of Computing &
Information
School of Computing &
Information
Complex Predictions
• Prediction models give us a prediction under the
assumption that we know the inputs to the model
with certainty
• However, in many cases we are not certain for the
inputs
– Measurement errors
– Output from other models
– Inputs to the model are realized in the future
– …
School of Computing &
Information
Complex Predictions
• In other cases we do not even have a closed form
solution for the quantity we want to predict
– E.g., probability of a team winning a sports league
• In all these cases point estimates will not be able
to account for the randomness and uncertainty
associated with the phenomenon tried to be
described
School of Computing &
Information
Monte Carlo Simulations
• Monte Carlo simulations embrace the randomness
and uncertainty expressed through probabilities
for the inputs
– Uncertainty propagation mechanism
• A Monte Carlo – in its simplest form – is an
iterative process of sampling from a probability
distribution
School of Computing &
Information
Discrete Event Simulation
• Many times the operation of a system can be
abstracted to a series of discrete events taking
place with some probability
– Special case of Monte Carlo simulations
• Each event changes the state of the system
• The dependencies of these events can be overly
complicated  formal treatment might not be
possible
– However, these discrete events can be simulated
several times in order to obtain an estimation of state
probabilities
School of Computing &
Information
Discrete Event Simulation
• A sports tournament is a series of matchups
• The outcome of each matchup is associated with a
given probability
• The “state of the league” (e.g., who gets into the
playoffs, who gets a buy week in the playoffs, who
gets the championship etc.) could be estimated
probabilistically by combining the probabilities of
individual matchups
– Tedious
– Solution: discrete event simulation (DES)
School of Computing &
Information
Discrete Event Simulation
• The smallest unit of a DES is the event
• In the case of a tournament this event correspond
to a matchup
– Building block for the DES is to simulate a single
event
• The single event simulation resembles a coin flip
– Biased coin
School of Computing &
Information
Discrete Event Simulation
Spurs rating: +6.4
Warriors rating: + 11.2
Home edge: 3
Projected point differential: 3+6.4-11.2= - 1.8
Home
Projected Spurs win probability: 43%
0 1
0.43
School of Computing &
Information
Discrete Event Simulation
Spurs rating: +6.4
Warriors rating: + 11.2
Home edge: 3
Projected point differential: 3+6.4-11.2= - 1.8
Home
Projected Spurs win probability: 43%
0 1
0.43
Imagine that you draw a line
intersecting the green line
vertically with your eyes closed
Why with closed eyes?
Spurs win Warriors win
If you repeat this process 1,000 times
how many times do you expect Spurs to win?
School of Computing &
Information
Discrete Event Simulation
Final
probabilities
Simulate
upcoming
matchups
Update standings,
playoff pairings,
etc.
Tournament not over?
Tournament over? Store
result
Number of simulations not reached?
School of Computing &
Information
Discrete Event Simulations
• How can we obtain the probability of each event?
(i.e., for each matchup)
• We can use team ratings
– Team ratings provide an estimate for the final point
difference between a matchup
– How to translate this to a probability?
School of Computing &
Information
Discrete Event Simulations
• Hal Stern in his seminal work “On the Probability
of Winning a Football Game” showed that the
difference between the final point margin of a
game and the point spread follows a normal
distribution with mean 0 and standard deviation
of 13.86
– Stern’s study was focused on Vegas’ point spread
– If one uses Vegas point spreads then can simply
calculate the probability of the favorite (by p points)
wins as:
Cumulative Distribution Function for
the standard normal distribution
School of Computing &
Information
Discrete Event Simulations
• We do not need to obtain Vegas’ spreads
– We can use our own regression-based rating method
– Will the difference between the point margin and our
prediction follow N(0,13.86)?
• Most probably not
• But we can examine this on past data
– Most probably it will still be a normal distribution but
with different variance
School of Computing &
Information
Monte Carlo Simulations
• Some times we need to
model a sequence of
discrete events that are
probabilistic in nature
– Maybe the best example is
modeling the winner of a
sports competition
• What we will need to know
is (i) probability of each
event and (ii) the sequence
of events
School of Computing &
Information
Final Four Simulation
• Let’s consider a simple discrete event simulation
case – Olympic Games Final Four
• The discrete events are the outcome of each single
game
– These probabilities can be obtained
through specific predictive models
• We also know how teams are
going to matchup in the future
School of Computing &
Information
Final Four Simulation
• For each semi final we flip a biased coin to decide
the winner
– The bias is based on the pre-computed probabilities
for each game
• Based on the outcome of our simulated semi finals
we simulate the corresponding final
• We repeat the process several times and
keep track of how many times each team won
School of Computing &
Information
Final Four Simulation
• An unbiased coin has a 50-50 chance of landing
heads or tails
– How to simulate a biased coin?
1-π
If we sample a uniform random distribution between 0 and 1,
the probability of getting a number in the interval [0,π] is
proportional to π.
π
Length π
School of Computing &
Information
Final Four Simulation
Gold Silver Bronze
Australia 0.21 0.21 0.29
France 0.22 0.32 0.18
Slovenia 0.18 0.28 0.29
USA 0.39 0.19 0.24
School of Computing &
Information
Bootstrap
• Monte Carlo and DES are based on random
sampling of known distributions for the
parameters/variables of the system
– The simulations simply allow us to propagate this
uncertainty to the output
• What if we want to identify the distribution of a
sample estimate but we only have a sample of
observations?
– E.g., assume that we are interested in the average
points scored by the Celtics per game
School of Computing &
Information
Bootstrap
• We have a sample from the 50 first games of the
season
• We could make an assumption for the distribution
of the data and use Maximum Likelihood
Estimates and the corresponding standard errors
– Normal distribution seems like an assumption that
someone could readily make since it has been the case
in many other situations (possibly unjustified)
• A better option is to use bootstrap
School of Computing &
Information
Bootstrap
• Estimate properties of an estimator through
resampling with replacement
– Assumption: observed data is a random sample of the
original population
• Typically we have only one sample – of n points –
observed for our variable of interest
– We can obtain a sample estimate (e.g., for the mean)
but we cannot estimate the distribution of this
estimator
School of Computing &
Information
Bootstrap Illustration
• Points scored by the Celtics during the first 50
games
– What is the average number of points scored?
• We can obtain a sample estimator (98.4 km/h)
• However, we do not know the
distribution of this estimator
– Resampling with replacement
will allow us to learn more about
the estimator
School of Computing &
Information
Bootstrap Illustration
Original Sample
School of Computing &
Information
Bootstrap Illustration
Original Sample
X1 = {100}
School of Computing &
Information
Bootstrap Illustration
Original Sample
X1 = {100, 110}
School of Computing &
Information
Bootstrap Illustration
Original Sample
X1 = {100, 110, 114}
School of Computing &
Information
Bootstrap Illustration
Original Sample
X1 = {100, 110, 114, 110}
School of Computing &
Information
Bootstrap Illustration
Original Sample
X1 = {100, 110, 114, 110, 98} First Bootstrap Sample
…
XB = {98, 101, 95, 79, 100} B-th Bootstrap Sample
School of Computing &
Information
Bootstrap Illustration
• Through bootstrap we can
identify the distribution of
an estimator and use it for
our simulations if needed
• For multidimensional data
with correlations block
bootstrap can be used
School of Computing &
Information
Block Bootstrap
• Data might exhibit correlations
– Time series
– Spatial data
– Cluster data
– …
• Block bootstrap attempts to replicate the correlation
structure in the bootstrapped samples
– Instead of resampling single data points, blocks of data
are resampled
School of Computing &
Information
Block Bootstrap
School of Computing &
Information
Biased Bootstrap
• Sampling in bootstrap is uniform
– That is, every sample has the same probability of
being picked
• Sometimes – depending on the application – we
might want to resample the observations in a non-
uniform way
School of Computing &
Information
Biased Bootstrap Example
• The points scored per game sample includes
games against opponents of variable strength
• However, 100 points scored against the top
defensive team is not the same as 100 points
scored against the bottom defensive team
• If we want to estimate the distribution of the
average number of points the Celtics score against
teams similar to their next opponent we should
use biased bootstrap
School of Computing &
Information
Biased Bootstrap Example
• Let’s assume that Celtics’ next opponent has a
defensive rating of -4 points (i.e., they allow 4
points less than an average defense)
• How can we use this information to get an
estimate for the average points to be scored by the
Celtics ?
• Biased bootstrap based on the defensive rating
School of Computing &
Information
Biased Bootstrap Example
•
School of Computing &
Information
Biased Bootstrap Example
• Performances against teams with similar defensive
rating with our next opponent will be sampled
more aggressively
• Obviously one can use more than one variables to
calculate the bias term
– E.g., for simulating future matchups one might need
to control for both offensive and defensive ratings,
home-vs-away games etc.
School of Computing &
Information
Why does bootstrap work?
• Bootstrap almost looks as magic!
• The way traditional inferential statistics work is
that we have a population and we randomly
sample a set of points to infer the statistic of
interest
• Ideally we would take several samples from the
population and for each sample calculate the
statistic of interest
– Estimate the variability of the statistic
School of Computing &
Information
Why does bootstrap work?
• Getting several samples from the population is not
practical/realistic
• Solution 1 (inferential statistics): make
assumptions for the shape of the population
• Solution 2 (bootstrap statistics): use information
from the (single) population sample that you have
– The sample that we have is a (smaller) population
itself with the same shape as the original population
School of Computing &
Information
Why does bootstrap work?
• In this case resampling with replacement
simulates the generation of multiple samples from
the original population
– Replacing back the sampled data points retains the
shape of the original population
• The sample we have is the best information – and
in fact the only information - we have for the
population and bootstrap takes maximum
advantage of it
School of Computing &
Information
Bootstrap and Sample Size
• The only assumption that the bootstrap method
makes is that the sample is representative of the
population
– Therefore, if we have a very small sample (e.g., 4
points) then the bootstrap method itself will be
limited
– However, it can still be applied, but the corresponding
estimates might be far from the true mean
• The same though will be true for the sample mean
obtained from the small sample as well
School of Computing &
Information
Bootstrap and Sample Size
• There is no restriction on what size should the
bootstrap samples have
– Typically we choose them to have the same size as the
original sample
• With regards to the number of bootstrapped
samples to be obtained this is in some sense
similar to the number of Monte Carlo simulations
– Rule of thumb: the more the better

More Related Content

Similar to Lecture9.ppt

Online learning & adaptive game playing
Online learning & adaptive game playingOnline learning & adaptive game playing
Online learning & adaptive game playingSaeid Ghafouri
 
Lecture 3 for the AI course in A university
Lecture 3 for the AI course in A universityLecture 3 for the AI course in A university
Lecture 3 for the AI course in A universityCao Minh Tu
 
m2_2_variation_z_scores.pptx
m2_2_variation_z_scores.pptxm2_2_variation_z_scores.pptx
m2_2_variation_z_scores.pptxMesfinMelese4
 
R - what do the numbers mean? #RStats
R - what do the numbers mean? #RStatsR - what do the numbers mean? #RStats
R - what do the numbers mean? #RStatsJen Stirrup
 
UNIT 1 Machine Learning [KCS-055] (1).pptx
UNIT 1 Machine Learning [KCS-055] (1).pptxUNIT 1 Machine Learning [KCS-055] (1).pptx
UNIT 1 Machine Learning [KCS-055] (1).pptxRohanPathak30
 
Sports Analytics
Sports AnalyticsSports Analytics
Sports AnalyticsMark Conway
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learningKoundinya Desiraju
 
Classification & Clustering.pptx
Classification & Clustering.pptxClassification & Clustering.pptx
Classification & Clustering.pptxImXaib
 
Chapter 4 Classification in data sience .pdf
Chapter 4 Classification in data sience .pdfChapter 4 Classification in data sience .pdf
Chapter 4 Classification in data sience .pdfAschalewAyele2
 
Winning in Basketball with Data, Networks and Tensors
Winning in Basketball with Data, Networks and TensorsWinning in Basketball with Data, Networks and Tensors
Winning in Basketball with Data, Networks and TensorsKonstantinos Pelechrinis
 
Statistical Learning and Model Selection (1).pptx
Statistical Learning and Model Selection (1).pptxStatistical Learning and Model Selection (1).pptx
Statistical Learning and Model Selection (1).pptxrajalakshmi5921
 
Tips and tricks to win kaggle data science competitions
Tips and tricks to win kaggle data science competitionsTips and tricks to win kaggle data science competitions
Tips and tricks to win kaggle data science competitionsDarius Barušauskas
 
Ensemble Learning and Random Forests
Ensemble Learning and Random ForestsEnsemble Learning and Random Forests
Ensemble Learning and Random ForestsCloudxLab
 

Similar to Lecture9.ppt (20)

Online learning & adaptive game playing
Online learning & adaptive game playingOnline learning & adaptive game playing
Online learning & adaptive game playing
 
Lecture3-eval.pptx
Lecture3-eval.pptxLecture3-eval.pptx
Lecture3-eval.pptx
 
Lecture 3 for the AI course in A university
Lecture 3 for the AI course in A universityLecture 3 for the AI course in A university
Lecture 3 for the AI course in A university
 
m2_2_variation_z_scores.pptx
m2_2_variation_z_scores.pptxm2_2_variation_z_scores.pptx
m2_2_variation_z_scores.pptx
 
R - what do the numbers mean? #RStats
R - what do the numbers mean? #RStatsR - what do the numbers mean? #RStats
R - what do the numbers mean? #RStats
 
UNIT 1 Machine Learning [KCS-055] (1).pptx
UNIT 1 Machine Learning [KCS-055] (1).pptxUNIT 1 Machine Learning [KCS-055] (1).pptx
UNIT 1 Machine Learning [KCS-055] (1).pptx
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
lec1.ppt
lec1.pptlec1.ppt
lec1.ppt
 
Sports Analytics
Sports AnalyticsSports Analytics
Sports Analytics
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learning
 
Classification & Clustering.pptx
Classification & Clustering.pptxClassification & Clustering.pptx
Classification & Clustering.pptx
 
Winning in Sports with Networks
Winning in Sports with NetworksWinning in Sports with Networks
Winning in Sports with Networks
 
Chapter 4 Classification in data sience .pdf
Chapter 4 Classification in data sience .pdfChapter 4 Classification in data sience .pdf
Chapter 4 Classification in data sience .pdf
 
Winning in Basketball with Data, Networks and Tensors
Winning in Basketball with Data, Networks and TensorsWinning in Basketball with Data, Networks and Tensors
Winning in Basketball with Data, Networks and Tensors
 
Statistical Learning and Model Selection (1).pptx
Statistical Learning and Model Selection (1).pptxStatistical Learning and Model Selection (1).pptx
Statistical Learning and Model Selection (1).pptx
 
Tips and tricks to win kaggle data science competitions
Tips and tricks to win kaggle data science competitionsTips and tricks to win kaggle data science competitions
Tips and tricks to win kaggle data science competitions
 
Ensemble Learning and Random Forests
Ensemble Learning and Random ForestsEnsemble Learning and Random Forests
Ensemble Learning and Random Forests
 
AI Algorithms
AI AlgorithmsAI Algorithms
AI Algorithms
 
ai4.ppt
ai4.pptai4.ppt
ai4.ppt
 
ai4.ppt
ai4.pptai4.ppt
ai4.ppt
 

More from ubaidullah75790

vu-re-lecture-33 requirement engineering.ppt
vu-re-lecture-33 requirement engineering.pptvu-re-lecture-33 requirement engineering.ppt
vu-re-lecture-33 requirement engineering.pptubaidullah75790
 
Requirement management traceability.ppt
Requirement management  traceability.pptRequirement management  traceability.ppt
Requirement management traceability.pptubaidullah75790
 
SRS for banking system requirement engineer.ppt
SRS for banking system requirement engineer.pptSRS for banking system requirement engineer.ppt
SRS for banking system requirement engineer.pptubaidullah75790
 
Agile Method requirement engineering.ppt
Agile Method requirement engineering.pptAgile Method requirement engineering.ppt
Agile Method requirement engineering.pptubaidullah75790
 
traceabilty transport layer is liye .ppt
traceabilty transport layer is liye .ppttraceabilty transport layer is liye .ppt
traceabilty transport layer is liye .pptubaidullah75790
 
vu-re-lecture-45 requirement engineering.ppt
vu-re-lecture-45 requirement engineering.pptvu-re-lecture-45 requirement engineering.ppt
vu-re-lecture-45 requirement engineering.pptubaidullah75790
 
SRS for banking system requirement s.ppt
SRS for banking system requirement s.pptSRS for banking system requirement s.ppt
SRS for banking system requirement s.pptubaidullah75790
 
SRS 2 requiremenr engineering in computer.ppt
SRS 2 requiremenr engineering in computer.pptSRS 2 requiremenr engineering in computer.ppt
SRS 2 requiremenr engineering in computer.pptubaidullah75790
 
Requirments management traceability.ppt
Requirments  management traceability.pptRequirments  management traceability.ppt
Requirments management traceability.pptubaidullah75790
 
SRS 1 software requirement specificatio.ppt
SRS 1 software requirement specificatio.pptSRS 1 software requirement specificatio.ppt
SRS 1 software requirement specificatio.pptubaidullah75790
 
vu-re-lecture-10 requirement engineering.ppt
vu-re-lecture-10 requirement engineering.pptvu-re-lecture-10 requirement engineering.ppt
vu-re-lecture-10 requirement engineering.pptubaidullah75790
 
vu-re-lecture-09 engineering requiremen.ppt
vu-re-lecture-09 engineering requiremen.pptvu-re-lecture-09 engineering requiremen.ppt
vu-re-lecture-09 engineering requiremen.pptubaidullah75790
 
vu-re-lecture-08 requirement engineer.ppt
vu-re-lecture-08 requirement engineer.pptvu-re-lecture-08 requirement engineer.ppt
vu-re-lecture-08 requirement engineer.pptubaidullah75790
 
vu-re-lecture-06 requirement engineer.ppt
vu-re-lecture-06 requirement engineer.pptvu-re-lecture-06 requirement engineer.ppt
vu-re-lecture-06 requirement engineer.pptubaidullah75790
 
vu-re-lecture-05 requirement engineering.ppt
vu-re-lecture-05 requirement engineering.pptvu-re-lecture-05 requirement engineering.ppt
vu-re-lecture-05 requirement engineering.pptubaidullah75790
 
vu-re-lecture-04 software engineering.ppt
vu-re-lecture-04 software engineering.pptvu-re-lecture-04 software engineering.ppt
vu-re-lecture-04 software engineering.pptubaidullah75790
 
vu-re-lecture-03 requirement engineering.ppt
vu-re-lecture-03 requirement engineering.pptvu-re-lecture-03 requirement engineering.ppt
vu-re-lecture-03 requirement engineering.pptubaidullah75790
 
vu-re-lecture-02 requirements engineering.ppt
vu-re-lecture-02 requirements engineering.pptvu-re-lecture-02 requirements engineering.ppt
vu-re-lecture-02 requirements engineering.pptubaidullah75790
 
vu-re-lecture-01 software engineering.ppt
vu-re-lecture-01 software engineering.pptvu-re-lecture-01 software engineering.ppt
vu-re-lecture-01 software engineering.pptubaidullah75790
 
vu-re-lecture software requirement-25.ppt
vu-re-lecture software requirement-25.pptvu-re-lecture software requirement-25.ppt
vu-re-lecture software requirement-25.pptubaidullah75790
 

More from ubaidullah75790 (20)

vu-re-lecture-33 requirement engineering.ppt
vu-re-lecture-33 requirement engineering.pptvu-re-lecture-33 requirement engineering.ppt
vu-re-lecture-33 requirement engineering.ppt
 
Requirement management traceability.ppt
Requirement management  traceability.pptRequirement management  traceability.ppt
Requirement management traceability.ppt
 
SRS for banking system requirement engineer.ppt
SRS for banking system requirement engineer.pptSRS for banking system requirement engineer.ppt
SRS for banking system requirement engineer.ppt
 
Agile Method requirement engineering.ppt
Agile Method requirement engineering.pptAgile Method requirement engineering.ppt
Agile Method requirement engineering.ppt
 
traceabilty transport layer is liye .ppt
traceabilty transport layer is liye .ppttraceabilty transport layer is liye .ppt
traceabilty transport layer is liye .ppt
 
vu-re-lecture-45 requirement engineering.ppt
vu-re-lecture-45 requirement engineering.pptvu-re-lecture-45 requirement engineering.ppt
vu-re-lecture-45 requirement engineering.ppt
 
SRS for banking system requirement s.ppt
SRS for banking system requirement s.pptSRS for banking system requirement s.ppt
SRS for banking system requirement s.ppt
 
SRS 2 requiremenr engineering in computer.ppt
SRS 2 requiremenr engineering in computer.pptSRS 2 requiremenr engineering in computer.ppt
SRS 2 requiremenr engineering in computer.ppt
 
Requirments management traceability.ppt
Requirments  management traceability.pptRequirments  management traceability.ppt
Requirments management traceability.ppt
 
SRS 1 software requirement specificatio.ppt
SRS 1 software requirement specificatio.pptSRS 1 software requirement specificatio.ppt
SRS 1 software requirement specificatio.ppt
 
vu-re-lecture-10 requirement engineering.ppt
vu-re-lecture-10 requirement engineering.pptvu-re-lecture-10 requirement engineering.ppt
vu-re-lecture-10 requirement engineering.ppt
 
vu-re-lecture-09 engineering requiremen.ppt
vu-re-lecture-09 engineering requiremen.pptvu-re-lecture-09 engineering requiremen.ppt
vu-re-lecture-09 engineering requiremen.ppt
 
vu-re-lecture-08 requirement engineer.ppt
vu-re-lecture-08 requirement engineer.pptvu-re-lecture-08 requirement engineer.ppt
vu-re-lecture-08 requirement engineer.ppt
 
vu-re-lecture-06 requirement engineer.ppt
vu-re-lecture-06 requirement engineer.pptvu-re-lecture-06 requirement engineer.ppt
vu-re-lecture-06 requirement engineer.ppt
 
vu-re-lecture-05 requirement engineering.ppt
vu-re-lecture-05 requirement engineering.pptvu-re-lecture-05 requirement engineering.ppt
vu-re-lecture-05 requirement engineering.ppt
 
vu-re-lecture-04 software engineering.ppt
vu-re-lecture-04 software engineering.pptvu-re-lecture-04 software engineering.ppt
vu-re-lecture-04 software engineering.ppt
 
vu-re-lecture-03 requirement engineering.ppt
vu-re-lecture-03 requirement engineering.pptvu-re-lecture-03 requirement engineering.ppt
vu-re-lecture-03 requirement engineering.ppt
 
vu-re-lecture-02 requirements engineering.ppt
vu-re-lecture-02 requirements engineering.pptvu-re-lecture-02 requirements engineering.ppt
vu-re-lecture-02 requirements engineering.ppt
 
vu-re-lecture-01 software engineering.ppt
vu-re-lecture-01 software engineering.pptvu-re-lecture-01 software engineering.ppt
vu-re-lecture-01 software engineering.ppt
 
vu-re-lecture software requirement-25.ppt
vu-re-lecture software requirement-25.pptvu-re-lecture software requirement-25.ppt
vu-re-lecture software requirement-25.ppt
 

Recently uploaded

Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiSuhani Kapoor
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 
Call Girls In Noida City Center Metro 24/7✡️9711147426✡️ Escorts Service
Call Girls In Noida City Center Metro 24/7✡️9711147426✡️ Escorts ServiceCall Girls In Noida City Center Metro 24/7✡️9711147426✡️ Escorts Service
Call Girls In Noida City Center Metro 24/7✡️9711147426✡️ Escorts Servicejennyeacort
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfgstagge
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998YohFuh
 
Data Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxData Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxFurkanTasci3
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...Pooja Nehwal
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Sapana Sha
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 

Recently uploaded (20)

Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
 
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 
Call Girls In Noida City Center Metro 24/7✡️9711147426✡️ Escorts Service
Call Girls In Noida City Center Metro 24/7✡️9711147426✡️ Escorts ServiceCall Girls In Noida City Center Metro 24/7✡️9711147426✡️ Escorts Service
Call Girls In Noida City Center Metro 24/7✡️9711147426✡️ Escorts Service
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdf
 
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
 
Data Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxData Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptx
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 

Lecture9.ppt

  • 1. School of Computing & Information INFSCI 0530: Decision Making in Sports Fall 2021
  • 2. School of Computing & Information
  • 3. School of Computing & Information Complex Predictions • Prediction models give us a prediction under the assumption that we know the inputs to the model with certainty • However, in many cases we are not certain for the inputs – Measurement errors – Output from other models – Inputs to the model are realized in the future – …
  • 4. School of Computing & Information Complex Predictions • In other cases we do not even have a closed form solution for the quantity we want to predict – E.g., probability of a team winning a sports league • In all these cases point estimates will not be able to account for the randomness and uncertainty associated with the phenomenon tried to be described
  • 5. School of Computing & Information Monte Carlo Simulations • Monte Carlo simulations embrace the randomness and uncertainty expressed through probabilities for the inputs – Uncertainty propagation mechanism • A Monte Carlo – in its simplest form – is an iterative process of sampling from a probability distribution
  • 6. School of Computing & Information Discrete Event Simulation • Many times the operation of a system can be abstracted to a series of discrete events taking place with some probability – Special case of Monte Carlo simulations • Each event changes the state of the system • The dependencies of these events can be overly complicated  formal treatment might not be possible – However, these discrete events can be simulated several times in order to obtain an estimation of state probabilities
  • 7. School of Computing & Information Discrete Event Simulation • A sports tournament is a series of matchups • The outcome of each matchup is associated with a given probability • The “state of the league” (e.g., who gets into the playoffs, who gets a buy week in the playoffs, who gets the championship etc.) could be estimated probabilistically by combining the probabilities of individual matchups – Tedious – Solution: discrete event simulation (DES)
  • 8. School of Computing & Information Discrete Event Simulation • The smallest unit of a DES is the event • In the case of a tournament this event correspond to a matchup – Building block for the DES is to simulate a single event • The single event simulation resembles a coin flip – Biased coin
  • 9. School of Computing & Information Discrete Event Simulation Spurs rating: +6.4 Warriors rating: + 11.2 Home edge: 3 Projected point differential: 3+6.4-11.2= - 1.8 Home Projected Spurs win probability: 43% 0 1 0.43
  • 10. School of Computing & Information Discrete Event Simulation Spurs rating: +6.4 Warriors rating: + 11.2 Home edge: 3 Projected point differential: 3+6.4-11.2= - 1.8 Home Projected Spurs win probability: 43% 0 1 0.43 Imagine that you draw a line intersecting the green line vertically with your eyes closed Why with closed eyes? Spurs win Warriors win If you repeat this process 1,000 times how many times do you expect Spurs to win?
  • 11. School of Computing & Information Discrete Event Simulation Final probabilities Simulate upcoming matchups Update standings, playoff pairings, etc. Tournament not over? Tournament over? Store result Number of simulations not reached?
  • 12. School of Computing & Information Discrete Event Simulations • How can we obtain the probability of each event? (i.e., for each matchup) • We can use team ratings – Team ratings provide an estimate for the final point difference between a matchup – How to translate this to a probability?
  • 13. School of Computing & Information Discrete Event Simulations • Hal Stern in his seminal work “On the Probability of Winning a Football Game” showed that the difference between the final point margin of a game and the point spread follows a normal distribution with mean 0 and standard deviation of 13.86 – Stern’s study was focused on Vegas’ point spread – If one uses Vegas point spreads then can simply calculate the probability of the favorite (by p points) wins as: Cumulative Distribution Function for the standard normal distribution
  • 14. School of Computing & Information Discrete Event Simulations • We do not need to obtain Vegas’ spreads – We can use our own regression-based rating method – Will the difference between the point margin and our prediction follow N(0,13.86)? • Most probably not • But we can examine this on past data – Most probably it will still be a normal distribution but with different variance
  • 15. School of Computing & Information Monte Carlo Simulations • Some times we need to model a sequence of discrete events that are probabilistic in nature – Maybe the best example is modeling the winner of a sports competition • What we will need to know is (i) probability of each event and (ii) the sequence of events
  • 16. School of Computing & Information Final Four Simulation • Let’s consider a simple discrete event simulation case – Olympic Games Final Four • The discrete events are the outcome of each single game – These probabilities can be obtained through specific predictive models • We also know how teams are going to matchup in the future
  • 17. School of Computing & Information Final Four Simulation • For each semi final we flip a biased coin to decide the winner – The bias is based on the pre-computed probabilities for each game • Based on the outcome of our simulated semi finals we simulate the corresponding final • We repeat the process several times and keep track of how many times each team won
  • 18. School of Computing & Information Final Four Simulation • An unbiased coin has a 50-50 chance of landing heads or tails – How to simulate a biased coin? 1-π If we sample a uniform random distribution between 0 and 1, the probability of getting a number in the interval [0,π] is proportional to π. π Length π
  • 19. School of Computing & Information Final Four Simulation Gold Silver Bronze Australia 0.21 0.21 0.29 France 0.22 0.32 0.18 Slovenia 0.18 0.28 0.29 USA 0.39 0.19 0.24
  • 20. School of Computing & Information Bootstrap • Monte Carlo and DES are based on random sampling of known distributions for the parameters/variables of the system – The simulations simply allow us to propagate this uncertainty to the output • What if we want to identify the distribution of a sample estimate but we only have a sample of observations? – E.g., assume that we are interested in the average points scored by the Celtics per game
  • 21. School of Computing & Information Bootstrap • We have a sample from the 50 first games of the season • We could make an assumption for the distribution of the data and use Maximum Likelihood Estimates and the corresponding standard errors – Normal distribution seems like an assumption that someone could readily make since it has been the case in many other situations (possibly unjustified) • A better option is to use bootstrap
  • 22. School of Computing & Information Bootstrap • Estimate properties of an estimator through resampling with replacement – Assumption: observed data is a random sample of the original population • Typically we have only one sample – of n points – observed for our variable of interest – We can obtain a sample estimate (e.g., for the mean) but we cannot estimate the distribution of this estimator
  • 23. School of Computing & Information Bootstrap Illustration • Points scored by the Celtics during the first 50 games – What is the average number of points scored? • We can obtain a sample estimator (98.4 km/h) • However, we do not know the distribution of this estimator – Resampling with replacement will allow us to learn more about the estimator
  • 24. School of Computing & Information Bootstrap Illustration Original Sample
  • 25. School of Computing & Information Bootstrap Illustration Original Sample X1 = {100}
  • 26. School of Computing & Information Bootstrap Illustration Original Sample X1 = {100, 110}
  • 27. School of Computing & Information Bootstrap Illustration Original Sample X1 = {100, 110, 114}
  • 28. School of Computing & Information Bootstrap Illustration Original Sample X1 = {100, 110, 114, 110}
  • 29. School of Computing & Information Bootstrap Illustration Original Sample X1 = {100, 110, 114, 110, 98} First Bootstrap Sample … XB = {98, 101, 95, 79, 100} B-th Bootstrap Sample
  • 30. School of Computing & Information Bootstrap Illustration • Through bootstrap we can identify the distribution of an estimator and use it for our simulations if needed • For multidimensional data with correlations block bootstrap can be used
  • 31. School of Computing & Information Block Bootstrap • Data might exhibit correlations – Time series – Spatial data – Cluster data – … • Block bootstrap attempts to replicate the correlation structure in the bootstrapped samples – Instead of resampling single data points, blocks of data are resampled
  • 32. School of Computing & Information Block Bootstrap
  • 33. School of Computing & Information Biased Bootstrap • Sampling in bootstrap is uniform – That is, every sample has the same probability of being picked • Sometimes – depending on the application – we might want to resample the observations in a non- uniform way
  • 34. School of Computing & Information Biased Bootstrap Example • The points scored per game sample includes games against opponents of variable strength • However, 100 points scored against the top defensive team is not the same as 100 points scored against the bottom defensive team • If we want to estimate the distribution of the average number of points the Celtics score against teams similar to their next opponent we should use biased bootstrap
  • 35. School of Computing & Information Biased Bootstrap Example • Let’s assume that Celtics’ next opponent has a defensive rating of -4 points (i.e., they allow 4 points less than an average defense) • How can we use this information to get an estimate for the average points to be scored by the Celtics ? • Biased bootstrap based on the defensive rating
  • 36. School of Computing & Information Biased Bootstrap Example •
  • 37. School of Computing & Information Biased Bootstrap Example • Performances against teams with similar defensive rating with our next opponent will be sampled more aggressively • Obviously one can use more than one variables to calculate the bias term – E.g., for simulating future matchups one might need to control for both offensive and defensive ratings, home-vs-away games etc.
  • 38. School of Computing & Information Why does bootstrap work? • Bootstrap almost looks as magic! • The way traditional inferential statistics work is that we have a population and we randomly sample a set of points to infer the statistic of interest • Ideally we would take several samples from the population and for each sample calculate the statistic of interest – Estimate the variability of the statistic
  • 39. School of Computing & Information Why does bootstrap work? • Getting several samples from the population is not practical/realistic • Solution 1 (inferential statistics): make assumptions for the shape of the population • Solution 2 (bootstrap statistics): use information from the (single) population sample that you have – The sample that we have is a (smaller) population itself with the same shape as the original population
  • 40. School of Computing & Information Why does bootstrap work? • In this case resampling with replacement simulates the generation of multiple samples from the original population – Replacing back the sampled data points retains the shape of the original population • The sample we have is the best information – and in fact the only information - we have for the population and bootstrap takes maximum advantage of it
  • 41. School of Computing & Information Bootstrap and Sample Size • The only assumption that the bootstrap method makes is that the sample is representative of the population – Therefore, if we have a very small sample (e.g., 4 points) then the bootstrap method itself will be limited – However, it can still be applied, but the corresponding estimates might be far from the true mean • The same though will be true for the sample mean obtained from the small sample as well
  • 42. School of Computing & Information Bootstrap and Sample Size • There is no restriction on what size should the bootstrap samples have – Typically we choose them to have the same size as the original sample • With regards to the number of bootstrapped samples to be obtained this is in some sense similar to the number of Monte Carlo simulations – Rule of thumb: the more the better