SlideShare una empresa de Scribd logo
1 de 45
Forecasting using Data
Introduction to probabilistic forecasting
Using data rather than estimates
Every spreadsheet and exercise worksheet is here:
Bit.ly/SimResources (gitHub)
FocusedObjective.com (see “free stuff”)
@t_magennis
troy.magennis@focusedobjective.com
Every spreadsheet and
exercise worksheet is here:
Bit.ly/SimResources (gitHub)
(in the Exercises folder)
or FocusedObjective.com (free stuff)
or @t_magennis (I’ve post links here)
If you have data, use it to forecast.
If you have no data, then use range estimates,
If you can’t get a range estimate, no process will help you.
Historical data, is a RANGE estimate
with PROBABILITIES
Probability
Refresher
Sampling
Getting
Data
Forecasting
with Data
Undo all of the statistics you learnt in school
Learn how much data we need to forecast
Learn how to get historical data and estimates
Practice using historical data to forecast
𝑝 =
𝑁𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 "𝑟𝑖𝑔ℎ𝑡" 𝑣𝑎𝑙𝑢𝑒𝑠
𝑇𝑜𝑡𝑎𝑙 𝑝𝑜𝑠𝑠𝑖𝑏𝑙𝑒 𝑣𝑎𝑙𝑢𝑒𝑠
𝑝 =
𝑁𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 "𝑟𝑖𝑔ℎ𝑡" 𝑣𝑎𝑙𝑢𝑒𝑠
6
𝑝 =
3
6
𝑝 =
1
2
𝑝 = 0.5
Finish the rest of the probability questions
3 minutes
Probability
Refresher
Sampling
Getting
Data
Forecasting
with Data
Undo all of the statistics you learnt in school
Learn how much data we need to forecast
Learn how to get historical data and estimates
Practice using historical data to forecast
Sampling
A way to use the data we do have to
make predictions & forecasts
It helps discover the range of possible
values fast and reliably
Q. How quickly do we discover a
range of values by sampling?
Why? Because as we get story count,
story size, velocity, Throughput, cycle-
time. How confident should we be of
having found the full range values.
Month Intelligence
estimate
June 1940 1,000
June 1941 1,550
August 1942 1,550
Intelligence estimate versus sampling estimate compared with actual post war records . Source: (Wikipedia, 2016)
Post war
(actual)
122
271
342
Sampling
estimate
169
244
327
2 tanks. Each Panther tank had eight axles,
and each axle had six bogie wheels,
making 48 wheels per tank. 96 samples total
Lowest
sample so far
Actual
Maximum
Actual
Minimum
Highest
sample so far
Q. On average, what is the chance of
the 4th sample being between the
range seen after 3 random samples?
(no duplicates, uniform distribution)
A. ?1
2
3
4
Lowest
sample so far
Actual
Maximum
Actual
Minimum
25% chance higher than
previous highest seen
25% chance lower than
previous lowest seen
Highest
sample so far
Q. On average, what is the chance of
the 4th sample being between the
range seen after 3 random samples?
(no duplicates, uniform distribution)
A. ?1
2
3
4
25%
25%
Lowest
sample so far
Actual
Maximum
Actual
Minimum
25% chance higher than
previous highest seen
25% chance lower than
previous lowest seen
Highest
sample so far
Q. On average, what is the chance of
the 4th sample being between the
range seen after 3 random samples?
(no duplicates, uniform distribution)
A. 50%
% = (n – 1)/(n+1)
% = (3-1)/(3+1)
% = 2/4 = 1/2
% = 0.5
1
2
3
4
25%
25%
16
Actual
Maximum
Actual
Minimum
8.5% chance higher
than previous highest
seen
8.5% chance lower
than previous lowest
seen
Highest
sample so far
Lowest
sample so far
Q. On average, what is the chance of
the 12th sample being between the
range seen after 11 random samples?
(no duplicates, uniform distribution)
A. 83%
% = (n-1)/(n+1)
% = (11-1)/(11+1)
% = 0.833
1
2
3
4
5
6
7
8
9
10
11
12
Prediction Intervals
• “n” = number of prior samples
• % chance next sample in previous
range for prior sample count
n (n-1)/(n+1) n (n-1)/(n+1)
2 33% 16 88%
3 50% 17 89%
4 60% 18 89%
5 67% 19 90%
6 71% 20 90%
7 75% 21 91%
8 78% 22 91%
9 80% 23 92%
10 82% 24 92%
11 83% 25 92%
12 85% 26 93%
13 86% 27 93%
14 87% 28 93%
15 88% 29 93%
30 94%
Experiment
From a *known* range of values, take
samples at random and see how fast we can
determine what the full range *might* be.
IGNORE
FOR
NOW
42
7
99
00 & 0 = 100
10 minutes
https://www.random.org
IGNORE
FOR
NOW
Come to the front when completed. Compare with expected.
How close to 9 samples is range of 80 found? (80% range, 10% above?)
Group # samples >
range > 80
# samples until
2 x avg > 80
1
2
3
4
5
6
7
Probability
Refresher
Sampling
Getting
Data
Forecasting
with Data
Undo all of the statistics you learnt in school
Learn how much data we need to forecast
Learn how to get historical data and estimates
Practice using historical data to forecast
http://bit.ly/Throughput
17 charts so far…
Throughput (planned & un-planned)
Throughput Histogram(s)
Cycle Time (planned & un-planed)
Cycle Time Histogram(s)
Work In Process
Cumulative Flow
Arrival vs Departure Rate
Un-planned work Percentage
Cycle Time Distribution Fitting
Demo the throughput data spreadsheet
1. What data do you need
2. See how to get that data
http://bit.ly/Throughput
Probability
Refresher
Sampling
Getting
Data
Forecasting
with Data
Undo all of the statistics you learnt in school
Learn how much data we need to forecast
Learn how to get historical data and estimates
Practice using historical data to forecast
3.5 days + 3.5 + 3.5 + 3.5 + 3.5 = 17.5 days
1 to 6 days + 1 to 6 + 1 to 6 + 1 to 6 + 1 to 6
= 5 to 30 days
On average (or median), Arithmetic fails….
Probabilistic Forecasting combines many uncertain
inputs to find many possible outcomes, and what
outcomes are more likely than others
Time to Complete Backlog
50%
Possible
Outcomes
50%
Possible
Outcomes
Likelihood
Seeing “How Likely”
Time to Complete Backlog
85% Possible
Outcomes
15%Likelihood
Siri, Add 1 to 6 five times.
Cortana, Add 1 to 6 five times.
(sometime later)
Alexa, Buy me some Vodka….
Q. Could I make a simple
forecast tool that worked?
http://bit.ly/ThroughputForecast
Without macros or add-ins!
http://bit.ly/ThroughputForecast
http://bit.ly/ThroughputForecast
http://bit.ly/ThroughputForecast
Experiment
From a set of *prior* throughput samples, compute the
completion rate(s) for the next 6 (six) weeks.
Process –
1. Repetitively sample prior throughput in sets of 6
2.Compute how many trials complete at least 10, 20, 30, 40,
50, 60 items in 6 weeks
24 Throughput (or velocity)
Samples Randomly picked by
throwing a dice
1. Throw a 6-sided dice. Pick the column.
2. Throw a six-sided dice and pick the row
3. If it doesn’t say “Roll again” this is your
throughput sample.
Fill in the numbers for Trials 1, 2 and 3. I’ve done
Trials 4 to 11 so you don’t want to kill me!
Come to the front and give me your Likelihood of 40, 50 and 60 stories
Group % >= 40
stories
% >= 50
stories
% > 60
stories
1
2
3
4
5
6
7
Every spreadsheet and
exercise worksheet is here:
Bit.ly/SimResources (gitHub)
or FocusedObjective.com (free stuff)
or @t_magennis (I’ve post links here)

Más contenido relacionado

La actualidad más candente

My Estimates Are Better Than Your Estimates
My Estimates Are Better Than Your EstimatesMy Estimates Are Better Than Your Estimates
My Estimates Are Better Than Your EstimatesPieter Rijken
 
Skepticism at work - Logical Fallacies. ASQ Buffalo
Skepticism at work - Logical Fallacies. ASQ BuffaloSkepticism at work - Logical Fallacies. ASQ Buffalo
Skepticism at work - Logical Fallacies. ASQ BuffaloASQ Buffalo NY
 
Influx/Days 2017 San Francisco | Baron Schwartz
Influx/Days 2017 San Francisco | Baron SchwartzInflux/Days 2017 San Francisco | Baron Schwartz
Influx/Days 2017 San Francisco | Baron SchwartzInfluxData
 
Scientific Revenue USF 2016 talk
Scientific Revenue USF 2016 talkScientific Revenue USF 2016 talk
Scientific Revenue USF 2016 talkScientificRevenue
 
Agile metrics for predicting the future
Agile metrics for predicting the futureAgile metrics for predicting the future
Agile metrics for predicting the futureMattia Battiston
 
Replication in Data Science - A Dance Between Data Science & Machine Learning...
Replication in Data Science - A Dance Between Data Science & Machine Learning...Replication in Data Science - A Dance Between Data Science & Machine Learning...
Replication in Data Science - A Dance Between Data Science & Machine Learning...June Andrews
 
Agile Analysis 101: Agile Stats v Command & Control Maths
Agile Analysis 101: Agile Stats v Command & Control MathsAgile Analysis 101: Agile Stats v Command & Control Maths
Agile Analysis 101: Agile Stats v Command & Control MathsAxelisys Limited
 
Leveraging Analytics In Gaming - Tiny Mogul Games
Leveraging Analytics In Gaming - Tiny Mogul GamesLeveraging Analytics In Gaming - Tiny Mogul Games
Leveraging Analytics In Gaming - Tiny Mogul GamesInMobi
 
Traditional versus adaptive techniques
Traditional versus adaptive techniquesTraditional versus adaptive techniques
Traditional versus adaptive techniquesAravind Ganesh
 
신뢰할 수 있는 A/B 테스트를 위해 알아야 할 것들
신뢰할 수 있는 A/B 테스트를 위해 알아야 할 것들신뢰할 수 있는 A/B 테스트를 위해 알아야 할 것들
신뢰할 수 있는 A/B 테스트를 위해 알아야 할 것들Minho Lee
 
Kanban Metrics in practice for leading Continuous Improvement
Kanban Metrics in practice for leading Continuous ImprovementKanban Metrics in practice for leading Continuous Improvement
Kanban Metrics in practice for leading Continuous ImprovementMattia Battiston
 
Kanban Metrics in practice at Sky Network Services
Kanban Metrics in practice at Sky Network ServicesKanban Metrics in practice at Sky Network Services
Kanban Metrics in practice at Sky Network ServicesMattia Battiston
 
#NoEstimates - TYPO3 Conference 2013
#NoEstimates -  TYPO3 Conference 2013#NoEstimates -  TYPO3 Conference 2013
#NoEstimates - TYPO3 Conference 2013weissgraeber
 
Trends on Pinterest
Trends on PinterestTrends on Pinterest
Trends on PinterestJune Andrews
 
DoWhy Python library for causal inference: An End-to-End tool
DoWhy Python library for causal inference: An End-to-End toolDoWhy Python library for causal inference: An End-to-End tool
DoWhy Python library for causal inference: An End-to-End toolAmit Sharma
 
6 Guidelines for A/B Testing
6 Guidelines for A/B Testing6 Guidelines for A/B Testing
6 Guidelines for A/B TestingEmily Robinson
 
10 Guidelines for A/B Testing
10 Guidelines for A/B Testing10 Guidelines for A/B Testing
10 Guidelines for A/B TestingEmily Robinson
 
No estimates - a controversial way to improve estimation with results-handouts
No estimates - a controversial way to improve estimation with results-handoutsNo estimates - a controversial way to improve estimation with results-handouts
No estimates - a controversial way to improve estimation with results-handoutsVasco Duarte
 

La actualidad más candente (20)

My Estimates Are Better Than Your Estimates
My Estimates Are Better Than Your EstimatesMy Estimates Are Better Than Your Estimates
My Estimates Are Better Than Your Estimates
 
Skepticism at work - Logical Fallacies. ASQ Buffalo
Skepticism at work - Logical Fallacies. ASQ BuffaloSkepticism at work - Logical Fallacies. ASQ Buffalo
Skepticism at work - Logical Fallacies. ASQ Buffalo
 
Influx/Days 2017 San Francisco | Baron Schwartz
Influx/Days 2017 San Francisco | Baron SchwartzInflux/Days 2017 San Francisco | Baron Schwartz
Influx/Days 2017 San Francisco | Baron Schwartz
 
Scientific Revenue USF 2016 talk
Scientific Revenue USF 2016 talkScientific Revenue USF 2016 talk
Scientific Revenue USF 2016 talk
 
Agile metrics for predicting the future
Agile metrics for predicting the futureAgile metrics for predicting the future
Agile metrics for predicting the future
 
Replication in Data Science - A Dance Between Data Science & Machine Learning...
Replication in Data Science - A Dance Between Data Science & Machine Learning...Replication in Data Science - A Dance Between Data Science & Machine Learning...
Replication in Data Science - A Dance Between Data Science & Machine Learning...
 
Agile Analysis 101: Agile Stats v Command & Control Maths
Agile Analysis 101: Agile Stats v Command & Control MathsAgile Analysis 101: Agile Stats v Command & Control Maths
Agile Analysis 101: Agile Stats v Command & Control Maths
 
Leveraging Analytics In Gaming - Tiny Mogul Games
Leveraging Analytics In Gaming - Tiny Mogul GamesLeveraging Analytics In Gaming - Tiny Mogul Games
Leveraging Analytics In Gaming - Tiny Mogul Games
 
Traditional versus adaptive techniques
Traditional versus adaptive techniquesTraditional versus adaptive techniques
Traditional versus adaptive techniques
 
5 whys nhsiq 2014
5 whys   nhsiq 20145 whys   nhsiq 2014
5 whys nhsiq 2014
 
신뢰할 수 있는 A/B 테스트를 위해 알아야 할 것들
신뢰할 수 있는 A/B 테스트를 위해 알아야 할 것들신뢰할 수 있는 A/B 테스트를 위해 알아야 할 것들
신뢰할 수 있는 A/B 테스트를 위해 알아야 할 것들
 
Kanban Metrics in practice for leading Continuous Improvement
Kanban Metrics in practice for leading Continuous ImprovementKanban Metrics in practice for leading Continuous Improvement
Kanban Metrics in practice for leading Continuous Improvement
 
Kanban Metrics in practice at Sky Network Services
Kanban Metrics in practice at Sky Network ServicesKanban Metrics in practice at Sky Network Services
Kanban Metrics in practice at Sky Network Services
 
#NoEstimates - TYPO3 Conference 2013
#NoEstimates -  TYPO3 Conference 2013#NoEstimates -  TYPO3 Conference 2013
#NoEstimates - TYPO3 Conference 2013
 
Trends on Pinterest
Trends on PinterestTrends on Pinterest
Trends on Pinterest
 
DoWhy Python library for causal inference: An End-to-End tool
DoWhy Python library for causal inference: An End-to-End toolDoWhy Python library for causal inference: An End-to-End tool
DoWhy Python library for causal inference: An End-to-End tool
 
SPC Presentation Master
SPC Presentation MasterSPC Presentation Master
SPC Presentation Master
 
6 Guidelines for A/B Testing
6 Guidelines for A/B Testing6 Guidelines for A/B Testing
6 Guidelines for A/B Testing
 
10 Guidelines for A/B Testing
10 Guidelines for A/B Testing10 Guidelines for A/B Testing
10 Guidelines for A/B Testing
 
No estimates - a controversial way to improve estimation with results-handouts
No estimates - a controversial way to improve estimation with results-handoutsNo estimates - a controversial way to improve estimation with results-handouts
No estimates - a controversial way to improve estimation with results-handouts
 

Destacado

Data driven coaching - Agile 2016 (troy magennis)
Data driven coaching  - Agile 2016 (troy magennis)Data driven coaching  - Agile 2016 (troy magennis)
Data driven coaching - Agile 2016 (troy magennis)Troy Magennis
 
Using Simulation to Manage Software Delivery Risk
Using Simulation to Manage Software Delivery RiskUsing Simulation to Manage Software Delivery Risk
Using Simulation to Manage Software Delivery RiskTroy Magennis
 
Modeling, simulation & data mining: Answering Tough Executive Questions (Agil...
Modeling, simulation & data mining: Answering Tough Executive Questions (Agil...Modeling, simulation & data mining: Answering Tough Executive Questions (Agil...
Modeling, simulation & data mining: Answering Tough Executive Questions (Agil...Troy Magennis
 
Achieving Ready Ready User Stories
Achieving Ready Ready User StoriesAchieving Ready Ready User Stories
Achieving Ready Ready User StoriesGil Nahmias
 
Black Magic of the Advanced Scrum Master
Black Magic of the Advanced Scrum MasterBlack Magic of the Advanced Scrum Master
Black Magic of the Advanced Scrum MasterGil Nahmias
 
Scrum Master Pushback Tips
Scrum Master Pushback TipsScrum Master Pushback Tips
Scrum Master Pushback TipsGil Nahmias
 
Data driven coaching - Deliver 2016
Data driven coaching - Deliver 2016Data driven coaching - Deliver 2016
Data driven coaching - Deliver 2016Troy Magennis
 
DOES15 - Troy Magennis and Julia Wester - Metrics and Modeling – Helping Team...
DOES15 - Troy Magennis and Julia Wester - Metrics and Modeling – Helping Team...DOES15 - Troy Magennis and Julia Wester - Metrics and Modeling – Helping Team...
DOES15 - Troy Magennis and Julia Wester - Metrics and Modeling – Helping Team...Gene Kim
 
Agile code quality metrics
Agile code quality metricsAgile code quality metrics
Agile code quality metricsGil Nahmias
 
High Performance Teams: The 4 KPIs of Success
High Performance Teams: The 4 KPIs of SuccessHigh Performance Teams: The 4 KPIs of Success
High Performance Teams: The 4 KPIs of SuccessQELIedu
 
Getting to pull at enterprise scale
Getting to pull at enterprise scaleGetting to pull at enterprise scale
Getting to pull at enterprise scaleDavid Anderson
 

Destacado (11)

Data driven coaching - Agile 2016 (troy magennis)
Data driven coaching  - Agile 2016 (troy magennis)Data driven coaching  - Agile 2016 (troy magennis)
Data driven coaching - Agile 2016 (troy magennis)
 
Using Simulation to Manage Software Delivery Risk
Using Simulation to Manage Software Delivery RiskUsing Simulation to Manage Software Delivery Risk
Using Simulation to Manage Software Delivery Risk
 
Modeling, simulation & data mining: Answering Tough Executive Questions (Agil...
Modeling, simulation & data mining: Answering Tough Executive Questions (Agil...Modeling, simulation & data mining: Answering Tough Executive Questions (Agil...
Modeling, simulation & data mining: Answering Tough Executive Questions (Agil...
 
Achieving Ready Ready User Stories
Achieving Ready Ready User StoriesAchieving Ready Ready User Stories
Achieving Ready Ready User Stories
 
Black Magic of the Advanced Scrum Master
Black Magic of the Advanced Scrum MasterBlack Magic of the Advanced Scrum Master
Black Magic of the Advanced Scrum Master
 
Scrum Master Pushback Tips
Scrum Master Pushback TipsScrum Master Pushback Tips
Scrum Master Pushback Tips
 
Data driven coaching - Deliver 2016
Data driven coaching - Deliver 2016Data driven coaching - Deliver 2016
Data driven coaching - Deliver 2016
 
DOES15 - Troy Magennis and Julia Wester - Metrics and Modeling – Helping Team...
DOES15 - Troy Magennis and Julia Wester - Metrics and Modeling – Helping Team...DOES15 - Troy Magennis and Julia Wester - Metrics and Modeling – Helping Team...
DOES15 - Troy Magennis and Julia Wester - Metrics and Modeling – Helping Team...
 
Agile code quality metrics
Agile code quality metricsAgile code quality metrics
Agile code quality metrics
 
High Performance Teams: The 4 KPIs of Success
High Performance Teams: The 4 KPIs of SuccessHigh Performance Teams: The 4 KPIs of Success
High Performance Teams: The 4 KPIs of Success
 
Getting to pull at enterprise scale
Getting to pull at enterprise scaleGetting to pull at enterprise scale
Getting to pull at enterprise scale
 

Similar a Forecasting using data - Deliver 2016

Barga Data Science lecture 9
Barga Data Science lecture 9Barga Data Science lecture 9
Barga Data Science lecture 9Roger Barga
 
Naive bayes classifier python session
Naive bayes classifier  python sessionNaive bayes classifier  python session
Naive bayes classifier python sessionMostafa El-Hosseini
 
Machine Learning using biased data
Machine Learning using biased dataMachine Learning using biased data
Machine Learning using biased dataArnaud de Myttenaere
 
Opticon 2017 Experimenting with Stats Engine
Opticon 2017 Experimenting with Stats EngineOpticon 2017 Experimenting with Stats Engine
Opticon 2017 Experimenting with Stats EngineOptimizely
 
Answer questions Minimum 100 words each and reference (questions.docx
Answer questions Minimum 100 words each and reference (questions.docxAnswer questions Minimum 100 words each and reference (questions.docx
Answer questions Minimum 100 words each and reference (questions.docxnolanalgernon
 
Market and Social Research Part 9
Market and Social Research Part 9Market and Social Research Part 9
Market and Social Research Part 9bestsliders
 
Statistical tests
Statistical testsStatistical tests
Statistical testsmartyynyyte
 
Hypothesis Testing With Python
Hypothesis Testing With PythonHypothesis Testing With Python
Hypothesis Testing With PythonMosky Liu
 
Think-Aloud Protocols
Think-Aloud ProtocolsThink-Aloud Protocols
Think-Aloud Protocolsbutest
 
AN ALTERNATIVE APPROACH FOR SELECTION OF PSEUDO RANDOM NUMBERS FOR ONLINE EXA...
AN ALTERNATIVE APPROACH FOR SELECTION OF PSEUDO RANDOM NUMBERS FOR ONLINE EXA...AN ALTERNATIVE APPROACH FOR SELECTION OF PSEUDO RANDOM NUMBERS FOR ONLINE EXA...
AN ALTERNATIVE APPROACH FOR SELECTION OF PSEUDO RANDOM NUMBERS FOR ONLINE EXA...cscpconf
 
Stat 230 Summer 2014 – Final Exam Page 1 .docx
Stat 230          Summer 2014 – Final Exam Page 1  .docxStat 230          Summer 2014 – Final Exam Page 1  .docx
Stat 230 Summer 2014 – Final Exam Page 1 .docxdessiechisomjj4
 
03-Data-Analysis-Final.pdf
03-Data-Analysis-Final.pdf03-Data-Analysis-Final.pdf
03-Data-Analysis-Final.pdfSugumarSarDurai
 
Scientific Benchmarking of Parallel Computing Systems
Scientific Benchmarking of Parallel Computing SystemsScientific Benchmarking of Parallel Computing Systems
Scientific Benchmarking of Parallel Computing Systemsinside-BigData.com
 
Ensemble Learning and Random Forests
Ensemble Learning and Random ForestsEnsemble Learning and Random Forests
Ensemble Learning and Random ForestsCloudxLab
 
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
 
Variation analysis techniques.ppt
Variation analysis techniques.pptVariation analysis techniques.ppt
Variation analysis techniques.pptDeeptiBhoknal
 
Test Design For Everyone
Test Design For EveryoneTest Design For Everyone
Test Design For EveryoneAlan Page
 
(7) Lesson 9.1
(7) Lesson 9.1(7) Lesson 9.1
(7) Lesson 9.1wzuri
 

Similar a Forecasting using data - Deliver 2016 (20)

Barga Data Science lecture 9
Barga Data Science lecture 9Barga Data Science lecture 9
Barga Data Science lecture 9
 
Naive bayes classifier python session
Naive bayes classifier  python sessionNaive bayes classifier  python session
Naive bayes classifier python session
 
Machine Learning using biased data
Machine Learning using biased dataMachine Learning using biased data
Machine Learning using biased data
 
Opticon 2017 Experimenting with Stats Engine
Opticon 2017 Experimenting with Stats EngineOpticon 2017 Experimenting with Stats Engine
Opticon 2017 Experimenting with Stats Engine
 
Answer questions Minimum 100 words each and reference (questions.docx
Answer questions Minimum 100 words each and reference (questions.docxAnswer questions Minimum 100 words each and reference (questions.docx
Answer questions Minimum 100 words each and reference (questions.docx
 
Market and Social Research Part 9
Market and Social Research Part 9Market and Social Research Part 9
Market and Social Research Part 9
 
Statistical tests
Statistical testsStatistical tests
Statistical tests
 
Hypothesis Testing With Python
Hypothesis Testing With PythonHypothesis Testing With Python
Hypothesis Testing With Python
 
Think-Aloud Protocols
Think-Aloud ProtocolsThink-Aloud Protocols
Think-Aloud Protocols
 
AN ALTERNATIVE APPROACH FOR SELECTION OF PSEUDO RANDOM NUMBERS FOR ONLINE EXA...
AN ALTERNATIVE APPROACH FOR SELECTION OF PSEUDO RANDOM NUMBERS FOR ONLINE EXA...AN ALTERNATIVE APPROACH FOR SELECTION OF PSEUDO RANDOM NUMBERS FOR ONLINE EXA...
AN ALTERNATIVE APPROACH FOR SELECTION OF PSEUDO RANDOM NUMBERS FOR ONLINE EXA...
 
Stat 230 Summer 2014 – Final Exam Page 1 .docx
Stat 230          Summer 2014 – Final Exam Page 1  .docxStat 230          Summer 2014 – Final Exam Page 1  .docx
Stat 230 Summer 2014 – Final Exam Page 1 .docx
 
03-Data-Analysis-Final.pdf
03-Data-Analysis-Final.pdf03-Data-Analysis-Final.pdf
03-Data-Analysis-Final.pdf
 
Scientific Benchmarking of Parallel Computing Systems
Scientific Benchmarking of Parallel Computing SystemsScientific Benchmarking of Parallel Computing Systems
Scientific Benchmarking of Parallel Computing Systems
 
Ensemble Learning and Random Forests
Ensemble Learning and Random ForestsEnsemble Learning and Random Forests
Ensemble Learning and Random Forests
 
0-introduction.pdf
0-introduction.pdf0-introduction.pdf
0-introduction.pdf
 
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...
 
Variation analysis techniques.ppt
Variation analysis techniques.pptVariation analysis techniques.ppt
Variation analysis techniques.ppt
 
Final Project
Final ProjectFinal Project
Final Project
 
Test Design For Everyone
Test Design For EveryoneTest Design For Everyone
Test Design For Everyone
 
(7) Lesson 9.1
(7) Lesson 9.1(7) Lesson 9.1
(7) Lesson 9.1
 

Último

WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...masabamasaba
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesVictorSzoltysek
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...masabamasaba
 
tonesoftg
tonesoftgtonesoftg
tonesoftglanshi9
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...Jittipong Loespradit
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfonteinmasabamasaba
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...SelfMade bd
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...masabamasaba
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 

Último (20)

WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 

Forecasting using data - Deliver 2016

  • 1. Forecasting using Data Introduction to probabilistic forecasting Using data rather than estimates Every spreadsheet and exercise worksheet is here: Bit.ly/SimResources (gitHub) FocusedObjective.com (see “free stuff”) @t_magennis troy.magennis@focusedobjective.com
  • 2.
  • 3. Every spreadsheet and exercise worksheet is here: Bit.ly/SimResources (gitHub) (in the Exercises folder) or FocusedObjective.com (free stuff) or @t_magennis (I’ve post links here)
  • 4. If you have data, use it to forecast. If you have no data, then use range estimates, If you can’t get a range estimate, no process will help you.
  • 5. Historical data, is a RANGE estimate with PROBABILITIES
  • 6. Probability Refresher Sampling Getting Data Forecasting with Data Undo all of the statistics you learnt in school Learn how much data we need to forecast Learn how to get historical data and estimates Practice using historical data to forecast
  • 7. 𝑝 = 𝑁𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 "𝑟𝑖𝑔ℎ𝑡" 𝑣𝑎𝑙𝑢𝑒𝑠 𝑇𝑜𝑡𝑎𝑙 𝑝𝑜𝑠𝑠𝑖𝑏𝑙𝑒 𝑣𝑎𝑙𝑢𝑒𝑠 𝑝 = 𝑁𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 "𝑟𝑖𝑔ℎ𝑡" 𝑣𝑎𝑙𝑢𝑒𝑠 6 𝑝 = 3 6 𝑝 = 1 2 𝑝 = 0.5
  • 8. Finish the rest of the probability questions 3 minutes
  • 9. Probability Refresher Sampling Getting Data Forecasting with Data Undo all of the statistics you learnt in school Learn how much data we need to forecast Learn how to get historical data and estimates Practice using historical data to forecast
  • 10. Sampling A way to use the data we do have to make predictions & forecasts It helps discover the range of possible values fast and reliably
  • 11. Q. How quickly do we discover a range of values by sampling? Why? Because as we get story count, story size, velocity, Throughput, cycle- time. How confident should we be of having found the full range values.
  • 12. Month Intelligence estimate June 1940 1,000 June 1941 1,550 August 1942 1,550 Intelligence estimate versus sampling estimate compared with actual post war records . Source: (Wikipedia, 2016) Post war (actual) 122 271 342 Sampling estimate 169 244 327 2 tanks. Each Panther tank had eight axles, and each axle had six bogie wheels, making 48 wheels per tank. 96 samples total
  • 13. Lowest sample so far Actual Maximum Actual Minimum Highest sample so far Q. On average, what is the chance of the 4th sample being between the range seen after 3 random samples? (no duplicates, uniform distribution) A. ?1 2 3 4
  • 14. Lowest sample so far Actual Maximum Actual Minimum 25% chance higher than previous highest seen 25% chance lower than previous lowest seen Highest sample so far Q. On average, what is the chance of the 4th sample being between the range seen after 3 random samples? (no duplicates, uniform distribution) A. ?1 2 3 4 25% 25%
  • 15. Lowest sample so far Actual Maximum Actual Minimum 25% chance higher than previous highest seen 25% chance lower than previous lowest seen Highest sample so far Q. On average, what is the chance of the 4th sample being between the range seen after 3 random samples? (no duplicates, uniform distribution) A. 50% % = (n – 1)/(n+1) % = (3-1)/(3+1) % = 2/4 = 1/2 % = 0.5 1 2 3 4 25% 25%
  • 16. 16 Actual Maximum Actual Minimum 8.5% chance higher than previous highest seen 8.5% chance lower than previous lowest seen Highest sample so far Lowest sample so far Q. On average, what is the chance of the 12th sample being between the range seen after 11 random samples? (no duplicates, uniform distribution) A. 83% % = (n-1)/(n+1) % = (11-1)/(11+1) % = 0.833 1 2 3 4 5 6 7 8 9 10 11 12
  • 17. Prediction Intervals • “n” = number of prior samples • % chance next sample in previous range for prior sample count n (n-1)/(n+1) n (n-1)/(n+1) 2 33% 16 88% 3 50% 17 89% 4 60% 18 89% 5 67% 19 90% 6 71% 20 90% 7 75% 21 91% 8 78% 22 91% 9 80% 23 92% 10 82% 24 92% 11 83% 25 92% 12 85% 26 93% 13 86% 27 93% 14 87% 28 93% 15 88% 29 93% 30 94%
  • 18. Experiment From a *known* range of values, take samples at random and see how fast we can determine what the full range *might* be.
  • 20. 42 7 99 00 & 0 = 100 10 minutes https://www.random.org IGNORE FOR NOW
  • 21. Come to the front when completed. Compare with expected. How close to 9 samples is range of 80 found? (80% range, 10% above?) Group # samples > range > 80 # samples until 2 x avg > 80 1 2 3 4 5 6 7
  • 22. Probability Refresher Sampling Getting Data Forecasting with Data Undo all of the statistics you learnt in school Learn how much data we need to forecast Learn how to get historical data and estimates Practice using historical data to forecast
  • 24. 17 charts so far… Throughput (planned & un-planned) Throughput Histogram(s) Cycle Time (planned & un-planed) Cycle Time Histogram(s) Work In Process Cumulative Flow Arrival vs Departure Rate Un-planned work Percentage Cycle Time Distribution Fitting
  • 25. Demo the throughput data spreadsheet 1. What data do you need 2. See how to get that data http://bit.ly/Throughput
  • 26. Probability Refresher Sampling Getting Data Forecasting with Data Undo all of the statistics you learnt in school Learn how much data we need to forecast Learn how to get historical data and estimates Practice using historical data to forecast
  • 27.
  • 28.
  • 29.
  • 30.
  • 31. 3.5 days + 3.5 + 3.5 + 3.5 + 3.5 = 17.5 days 1 to 6 days + 1 to 6 + 1 to 6 + 1 to 6 + 1 to 6 = 5 to 30 days On average (or median), Arithmetic fails….
  • 32. Probabilistic Forecasting combines many uncertain inputs to find many possible outcomes, and what outcomes are more likely than others Time to Complete Backlog 50% Possible Outcomes 50% Possible Outcomes Likelihood
  • 33. Seeing “How Likely” Time to Complete Backlog 85% Possible Outcomes 15%Likelihood
  • 34. Siri, Add 1 to 6 five times. Cortana, Add 1 to 6 five times. (sometime later) Alexa, Buy me some Vodka….
  • 35. Q. Could I make a simple forecast tool that worked? http://bit.ly/ThroughputForecast Without macros or add-ins!
  • 39. Experiment From a set of *prior* throughput samples, compute the completion rate(s) for the next 6 (six) weeks. Process – 1. Repetitively sample prior throughput in sets of 6 2.Compute how many trials complete at least 10, 20, 30, 40, 50, 60 items in 6 weeks
  • 40.
  • 41. 24 Throughput (or velocity) Samples Randomly picked by throwing a dice 1. Throw a 6-sided dice. Pick the column. 2. Throw a six-sided dice and pick the row 3. If it doesn’t say “Roll again” this is your throughput sample. Fill in the numbers for Trials 1, 2 and 3. I’ve done Trials 4 to 11 so you don’t want to kill me!
  • 42. Come to the front and give me your Likelihood of 40, 50 and 60 stories Group % >= 40 stories % >= 50 stories % > 60 stories 1 2 3 4 5 6 7
  • 43.
  • 44.
  • 45. Every spreadsheet and exercise worksheet is here: Bit.ly/SimResources (gitHub) or FocusedObjective.com (free stuff) or @t_magennis (I’ve post links here)

Notas del editor

  1. [1] In researching this, I found a variety of reported actuals and estimates. I settled on this data based on consensus and discussion on Wikipedia in the article German Tank Problem and because it was the worst. result documented. It differs in dates and number only slightly in articles from the Royal Statistical Society article which show better estimates than the results shown here.
  2. Here is the input page. Completed date is mandatory. Start date is optional but well advised. And the type of work. Is it planned or un-planned work is needed to see how these different types stack up. This is optional. Most people don’t use it, I’ll leave that up to you.
  3. The spreadsheet from just these three inputs creates 17 different charts so far. [click] Throughput rates and histograms. Cycle times values and histograms. Work in process rates, arrival and departure rates, cumulative flow diagrams. And some rather complex mathematical analysis of the cycle time histogram that fits the data to the Weibull probability distribution thanks to John Cook, someone who everyone in this industry should have heard of. It does all of this without macros. Everything is straight formula based. And all from 2 dates and one type column that’s optional.
  4. I set out to prove this by setting myself a challenge to see what I could do with just completed and start dates. You can get the result for yourself by downloading the spreadsheet from bit.ly/Throughput with a capital T. Again, all these links will be tweeted at @t_magennis