SlideShare une entreprise Scribd logo
1  sur  37
Forecasting For
Beginners
Dan Brown
About Me
Dan Brown
Kanban Coach & Teacher
KanbanDan@gmail.com
@KanbanDan
• We often talk about estimates as if
they are something meaningful
• We normally mean forecast when we
say estimate
• Forecasts aren’t guesses
Maths is our friend (honest)
• Maths often gets a bad rep
• We often think of complex things
we had to learn from first principles
at school
• But you don’t need to understand
the inner workings of an engine to
be able to drive a car
• It’s a good idea to have an expert
on hand when the engine needs
fixing
Solve x and y where:
y = x2 - 5x + 7
y = 2x + 1
The problem with Disneyworld
• What’s the downside of
Disneyworld for guests?
• Avoiding the queues
• There’s an App for that…
• It uses historic data and the
“Travelling salesman problem”
• The right maths in the right place
• Longest Disney queue I’ve stood
in was 15 minutes
Gameshows?
• The “Monty Hall Problem”
drives maths undergrads mad
• 3 doors, one prize
• What are the odds you pick the
right door?
• 33%
• What if Monte removes a
losing door? What are your
odds now?
• Should you change your
choice?
Agreeing terms
• PRODUCT – A service that makes
sense to a customer
• EPIC – a big story. Too big for a team
to finish in a fortnight
• STORY – a single unit of work that
finishes in between 2 and 9 days
Lets think in Asteroids
Epics
Products
Stories
Ready Player 1
What happens if we shoot an “Product” sized asteroid?
Shoot a “Product”
Slow “Products” break into 3 medium paced “Epics”
Shoot an “Epic”
Medium paced “Epics” break into 4 fast paced “Stories”
How did this strategy work out?
Oops!
Then this usually happens
We get an Expedite work item to deal with!
Back to sanity
We could finish epic 1’s 4 stories, then the next epic of product 1… That way we
always finish something valuable rather than showing progress on lots of things
Conclusion (The answers near the front of the book)
Step one - Workshop
• Run a workshop to
break down your
initial product into
epics
Step two
• Break down the first 5 epics into stories
• Count the stories in each epic
• Ignore the middle 3 numbers
• Assume the Biggest and Smallest
represent the range
• Assume the mid point of the range is
the median number of stories per epic
X X X X XX
Fewest stories Most stories
Step three – get to work!
• Measure the Lead Time to
complete each of the first 11
stories.
• Initial data gathering is done!
• You can also use the 85th
Percentile as your story SLA
KEEP
CALM
AND
START
WORK!
Graph time
• You now have enough data to draw a
Cumulative Flow Diagram (CFD).
• Number of stories on Y axis against
date on the X axis
• Shows “To Do”, “Doing” and, “Done”
• Plot a cone of certainty using 15th and
85th Percentiles
To Do
Done
Doing
X
CFD Forecasting Key Points
• Always use ranges, not individual dates
• Make it visible
• Teach people how to read it
• The truth is the truth.
• This makes it visible, undeniable and
non-negotiable
• Moves the conversation on to business
decisions
• This is real data from a real development
team…
Frequency chart
85th %ile
• Lead time frequency chart will show YOUR
Weibull distribution
• Use this to help decide when to start time
bound stories
Where do I start
• Go to github.com/kanbandan
• Click on PredictiveCFD
• Download the Excel workbook
• Make yourself a new copy and open the workbook
• You need to play with 2 sheets
• Setup
• On The Board
Setup sheet
• I used the standard Excel formatting for Input cells
• You can only change the salmon coloured cells
Blank out the two dates hereSet this date to the first
date of your delivery
Set this dropdown to 11
Set to your work item types
On the Board This is all of the data for
the sample sheet
On the Board Clear it off and start
adding your stories
No gaps in dates entered
My favourite cheat formula
=IF(ISNUMBER([@[Ready For Demo]]),[@[Ready For Demo]],"")
(If the cell to my right is a number, show it here too. If not show a blank cell here)
Lets you skip columns you don’t want to use
Remember weighting of 1
And that’s it…
• You can now look back in wonder at your wonderful
• Cumulative Flow Diagram
• Lead Time Frequency Chart
Why it all works
• Explaining the magic numbers (just in case you don't trust me)
Let's talk WWII tanks
• The Panzer V was a big
heavy tank. It had better
armour, range and
accuracy than the
Sherman.
• The Allies needed to
know how many were in
France to plan D-Day
How many tanks?
• Eisenhower asked both Military
Intelligence and the Bletchley Park
Boffins to work on it
• This is known as
"The German Tank Problem"
MI BPB
June
1940
1000 169
June
1941
1550 244
Aug
1942
1550 327
Real
122
271
342
Maths beats estimates
• So do we need to do lots of
maths?
• Good news - you don't.
• There IS a formula, but I'm not
going to bother you with it today.
The answers
• With 5 samples you are 12.5%
likely to find a bigger value and
12.5% likely to find a smaller
value than your existing range.
75% chance within range
• With 11 samples you make that
90% chance inside range, 5%
above and 5% below.
Putting it to use
•It works for:
•tank gearbox serial numbers
•story sizes
•or even dating partners
Why not just estimate?
• How do you weigh something big on
bathroom scales?
• Cut it up and weigh all the small
parts?
• The problem is the tolerance
cumulates and makes the
measurement so inaccurate it’s
useless
• 200 days ± 120 days isn’t much use to us
Should we stop estimating?
• Estimates are useless,
estimation is essential
• The benefit of whole team
estimation is the sharing of
tacit knowledge, just before working on the
thing we’re talking about.
• It deliberately introduces conflict
• No groupthink
Getting started
• all you need is:
•a date stamp
(or a pen)
•a spreadsheet
(or some graph paper)
https://github.com/kanbandan/PredictiveCFD
Forecasting for beginners

Contenu connexe

Similaire à Forecasting for beginners

20190413 zen and the art of programming
20190413 zen and the art of programming20190413 zen and the art of programming
20190413 zen and the art of programmingDavid Horvath
 
20180324 zen and the art of programming
20180324 zen and the art of programming20180324 zen and the art of programming
20180324 zen and the art of programmingDavid Horvath
 
How To Run a 5 Whys (With Humans, Not Robots)
How To Run a 5 Whys (With Humans, Not Robots)How To Run a 5 Whys (With Humans, Not Robots)
How To Run a 5 Whys (With Humans, Not Robots)Dan Milstein
 
Learn to Think Like a Coder
Learn to Think Like a CoderLearn to Think Like a Coder
Learn to Think Like a CoderAndrew Marks
 
How to Prepare for and Survive a Technical Interview
How to Prepare for and Survive a Technical InterviewHow to Prepare for and Survive a Technical Interview
How to Prepare for and Survive a Technical InterviewPerl Careers
 
Achieving a in writing
Achieving a in writingAchieving a in writing
Achieving a in writingmrhoward12
 
Write a better FM
Write a better FMWrite a better FM
Write a better FMRich Bowen
 
The Art of Selling Ideas
The Art of Selling IdeasThe Art of Selling Ideas
The Art of Selling Ideassminchel
 
The Art of Selling Ideas
The Art of Selling IdeasThe Art of Selling Ideas
The Art of Selling Ideassminchel
 
Don't Fear Failure
Don't Fear FailureDon't Fear Failure
Don't Fear FailureSean Kelly
 
Mechanical puzzle design
Mechanical puzzle designMechanical puzzle design
Mechanical puzzle designadasbooks
 
powerpoint 1-19.pdf
powerpoint 1-19.pdfpowerpoint 1-19.pdf
powerpoint 1-19.pdfJuanPicasso7
 
Estimation Games – Pascal Van Cauwenberghe
Estimation Games – Pascal Van CauwenbergheEstimation Games – Pascal Van Cauwenberghe
Estimation Games – Pascal Van CauwenbergheAgile Tour Beirut
 
How to Run a Post-Mortem (With Humans, Not Robots), Velocity 2013
How to Run a Post-Mortem (With Humans, Not Robots), Velocity 2013How to Run a Post-Mortem (With Humans, Not Robots), Velocity 2013
How to Run a Post-Mortem (With Humans, Not Robots), Velocity 2013Dan Milstein
 

Similaire à Forecasting for beginners (20)

20190413 zen and the art of programming
20190413 zen and the art of programming20190413 zen and the art of programming
20190413 zen and the art of programming
 
20180324 zen and the art of programming
20180324 zen and the art of programming20180324 zen and the art of programming
20180324 zen and the art of programming
 
Aptitude at ease
Aptitude at easeAptitude at ease
Aptitude at ease
 
How To Run a 5 Whys (With Humans, Not Robots)
How To Run a 5 Whys (With Humans, Not Robots)How To Run a 5 Whys (With Humans, Not Robots)
How To Run a 5 Whys (With Humans, Not Robots)
 
Learn to Think Like a Coder
Learn to Think Like a CoderLearn to Think Like a Coder
Learn to Think Like a Coder
 
How to Prepare for and Survive a Technical Interview
How to Prepare for and Survive a Technical InterviewHow to Prepare for and Survive a Technical Interview
How to Prepare for and Survive a Technical Interview
 
Growth meetup-q4-2014
Growth meetup-q4-2014Growth meetup-q4-2014
Growth meetup-q4-2014
 
Achieving a in writing
Achieving a in writingAchieving a in writing
Achieving a in writing
 
Scrum Coach : Estimation
Scrum Coach : EstimationScrum Coach : Estimation
Scrum Coach : Estimation
 
Blogging for business
Blogging for businessBlogging for business
Blogging for business
 
Write a better FM
Write a better FMWrite a better FM
Write a better FM
 
The Art of Selling Ideas
The Art of Selling Ideas The Art of Selling Ideas
The Art of Selling Ideas
 
The Art of Selling Ideas
The Art of Selling IdeasThe Art of Selling Ideas
The Art of Selling Ideas
 
The Art of Selling Ideas
The Art of Selling IdeasThe Art of Selling Ideas
The Art of Selling Ideas
 
Don't Fear Failure
Don't Fear FailureDon't Fear Failure
Don't Fear Failure
 
Mechanical puzzle design
Mechanical puzzle designMechanical puzzle design
Mechanical puzzle design
 
powerpoint 1-19.pdf
powerpoint 1-19.pdfpowerpoint 1-19.pdf
powerpoint 1-19.pdf
 
Estimation Games – Pascal Van Cauwenberghe
Estimation Games – Pascal Van CauwenbergheEstimation Games – Pascal Van Cauwenberghe
Estimation Games – Pascal Van Cauwenberghe
 
Data Mining Lecture_2.pptx
Data Mining Lecture_2.pptxData Mining Lecture_2.pptx
Data Mining Lecture_2.pptx
 
How to Run a Post-Mortem (With Humans, Not Robots), Velocity 2013
How to Run a Post-Mortem (With Humans, Not Robots), Velocity 2013How to Run a Post-Mortem (With Humans, Not Robots), Velocity 2013
How to Run a Post-Mortem (With Humans, Not Robots), Velocity 2013
 

Plus de Dan Brown

Scrum is from Mars, Kanban is from Venus
Scrum is from Mars, Kanban is from VenusScrum is from Mars, Kanban is from Venus
Scrum is from Mars, Kanban is from VenusDan Brown
 
Agile, complexity, and the art of not queueing at DisneyWorld
Agile, complexity, and the art of not queueing at DisneyWorldAgile, complexity, and the art of not queueing at DisneyWorld
Agile, complexity, and the art of not queueing at DisneyWorldDan Brown
 
Coaching Served 2 ways Agile Cambridge
Coaching Served 2 ways Agile CambridgeCoaching Served 2 ways Agile Cambridge
Coaching Served 2 ways Agile CambridgeDan Brown
 
Forecasting, with Oranges
Forecasting, with OrangesForecasting, with Oranges
Forecasting, with OrangesDan Brown
 
Coaching Served 2 Ways for Agile Manchester
Coaching Served 2 Ways for Agile ManchesterCoaching Served 2 Ways for Agile Manchester
Coaching Served 2 Ways for Agile ManchesterDan Brown
 
Big Kanban (Scaling Kanban Style)
Big Kanban (Scaling Kanban Style)Big Kanban (Scaling Kanban Style)
Big Kanban (Scaling Kanban Style)Dan Brown
 
Coaching Served 2 Ways
Coaching Served 2 WaysCoaching Served 2 Ways
Coaching Served 2 WaysDan Brown
 
All The Pieces Matter
All The Pieces MatterAll The Pieces Matter
All The Pieces MatterDan Brown
 
Flow (like ketchup)
Flow (like ketchup)Flow (like ketchup)
Flow (like ketchup)Dan Brown
 
Reach for the stars
Reach for the starsReach for the stars
Reach for the starsDan Brown
 

Plus de Dan Brown (10)

Scrum is from Mars, Kanban is from Venus
Scrum is from Mars, Kanban is from VenusScrum is from Mars, Kanban is from Venus
Scrum is from Mars, Kanban is from Venus
 
Agile, complexity, and the art of not queueing at DisneyWorld
Agile, complexity, and the art of not queueing at DisneyWorldAgile, complexity, and the art of not queueing at DisneyWorld
Agile, complexity, and the art of not queueing at DisneyWorld
 
Coaching Served 2 ways Agile Cambridge
Coaching Served 2 ways Agile CambridgeCoaching Served 2 ways Agile Cambridge
Coaching Served 2 ways Agile Cambridge
 
Forecasting, with Oranges
Forecasting, with OrangesForecasting, with Oranges
Forecasting, with Oranges
 
Coaching Served 2 Ways for Agile Manchester
Coaching Served 2 Ways for Agile ManchesterCoaching Served 2 Ways for Agile Manchester
Coaching Served 2 Ways for Agile Manchester
 
Big Kanban (Scaling Kanban Style)
Big Kanban (Scaling Kanban Style)Big Kanban (Scaling Kanban Style)
Big Kanban (Scaling Kanban Style)
 
Coaching Served 2 Ways
Coaching Served 2 WaysCoaching Served 2 Ways
Coaching Served 2 Ways
 
All The Pieces Matter
All The Pieces MatterAll The Pieces Matter
All The Pieces Matter
 
Flow (like ketchup)
Flow (like ketchup)Flow (like ketchup)
Flow (like ketchup)
 
Reach for the stars
Reach for the starsReach for the stars
Reach for the stars
 

Dernier

Shaping Organizational Culture Beyond Wishful Thinking
Shaping Organizational Culture Beyond Wishful ThinkingShaping Organizational Culture Beyond Wishful Thinking
Shaping Organizational Culture Beyond Wishful ThinkingGiuseppe De Simone
 
BoSUSA23 | Chris Spiek & Justin Dickow | Autobooks Product & Engineering
BoSUSA23 | Chris Spiek & Justin Dickow | Autobooks Product & EngineeringBoSUSA23 | Chris Spiek & Justin Dickow | Autobooks Product & Engineering
BoSUSA23 | Chris Spiek & Justin Dickow | Autobooks Product & EngineeringBusiness of Software Conference
 
The Final Activity in Project Management
The Final Activity in Project ManagementThe Final Activity in Project Management
The Final Activity in Project ManagementCIToolkit
 
Management 11th Edition - Chapter 11 - Adaptive Organizational Design
Management 11th Edition - Chapter 11 - Adaptive Organizational DesignManagement 11th Edition - Chapter 11 - Adaptive Organizational Design
Management 11th Edition - Chapter 11 - Adaptive Organizational Designshakkardaddy
 
Choosing the best strategy qspm matrix.pptx
Choosing the best strategy qspm matrix.pptxChoosing the best strategy qspm matrix.pptx
Choosing the best strategy qspm matrix.pptxMadan Karki
 
Better SAFe than sorry - Why scaled agile frameworks do not necessarily impro...
Better SAFe than sorry - Why scaled agile frameworks do not necessarily impro...Better SAFe than sorry - Why scaled agile frameworks do not necessarily impro...
Better SAFe than sorry - Why scaled agile frameworks do not necessarily impro...Conny Dethloff
 
Exploring Variable Relationships with Scatter Diagram Analysis
Exploring Variable Relationships with Scatter Diagram AnalysisExploring Variable Relationships with Scatter Diagram Analysis
Exploring Variable Relationships with Scatter Diagram AnalysisCIToolkit
 
Operations Management -- Sustainability and Supply Chain Management.pdf
Operations Management -- Sustainability and Supply Chain Management.pdfOperations Management -- Sustainability and Supply Chain Management.pdf
Operations Management -- Sustainability and Supply Chain Management.pdfcoolsnoopy1
 
The Role of Histograms in Exploring Data Insights
The Role of Histograms in Exploring Data InsightsThe Role of Histograms in Exploring Data Insights
The Role of Histograms in Exploring Data InsightsCIToolkit
 
Management 11th Edition - Chapter 13 - Managing Teams
Management 11th Edition - Chapter 13 - Managing TeamsManagement 11th Edition - Chapter 13 - Managing Teams
Management 11th Edition - Chapter 13 - Managing Teamsshakkardaddy
 
Paired Comparison Analysis: A Practical Tool for Evaluating Options and Prior...
Paired Comparison Analysis: A Practical Tool for Evaluating Options and Prior...Paired Comparison Analysis: A Practical Tool for Evaluating Options and Prior...
Paired Comparison Analysis: A Practical Tool for Evaluating Options and Prior...CIToolkit
 
How-How Diagram: A Practical Approach to Problem Resolution
How-How Diagram: A Practical Approach to Problem ResolutionHow-How Diagram: A Practical Approach to Problem Resolution
How-How Diagram: A Practical Approach to Problem ResolutionCIToolkit
 
From Red to Green: Enhancing Decision-Making with Traffic Light Assessment
From Red to Green: Enhancing Decision-Making with Traffic Light AssessmentFrom Red to Green: Enhancing Decision-Making with Traffic Light Assessment
From Red to Green: Enhancing Decision-Making with Traffic Light AssessmentCIToolkit
 
Adapting to Change: Using PEST Analysis for Better Decision-Making
Adapting to Change: Using PEST Analysis for Better Decision-MakingAdapting to Change: Using PEST Analysis for Better Decision-Making
Adapting to Change: Using PEST Analysis for Better Decision-MakingCIToolkit
 
HOTEL MANAGEMENT SYSTEM PPT PRESENTATION
HOTEL MANAGEMENT SYSTEM PPT PRESENTATIONHOTEL MANAGEMENT SYSTEM PPT PRESENTATION
HOTEL MANAGEMENT SYSTEM PPT PRESENTATIONsivani14565220
 
The Role of Box Plots in Comparing Multiple Data Sets
The Role of Box Plots in Comparing Multiple Data SetsThe Role of Box Plots in Comparing Multiple Data Sets
The Role of Box Plots in Comparing Multiple Data SetsCIToolkit
 
Digital PR Summit - Leadership Lessons: Myths, Mistakes, & Toxic Traits
Digital PR Summit - Leadership Lessons: Myths, Mistakes, & Toxic TraitsDigital PR Summit - Leadership Lessons: Myths, Mistakes, & Toxic Traits
Digital PR Summit - Leadership Lessons: Myths, Mistakes, & Toxic TraitsHannah Smith
 
Management 11th Edition - Chapter 9 - Strategic Management
Management 11th Edition - Chapter 9 - Strategic ManagementManagement 11th Edition - Chapter 9 - Strategic Management
Management 11th Edition - Chapter 9 - Strategic Managementshakkardaddy
 
Effective learning in the Age of Hybrid Work - Agile Saturday Tallinn 2024
Effective learning in the Age of Hybrid Work - Agile Saturday Tallinn 2024Effective learning in the Age of Hybrid Work - Agile Saturday Tallinn 2024
Effective learning in the Age of Hybrid Work - Agile Saturday Tallinn 2024Giuseppe De Simone
 
From Goals to Actions: Uncovering the Key Components of Improvement Roadmaps
From Goals to Actions: Uncovering the Key Components of Improvement RoadmapsFrom Goals to Actions: Uncovering the Key Components of Improvement Roadmaps
From Goals to Actions: Uncovering the Key Components of Improvement RoadmapsCIToolkit
 

Dernier (20)

Shaping Organizational Culture Beyond Wishful Thinking
Shaping Organizational Culture Beyond Wishful ThinkingShaping Organizational Culture Beyond Wishful Thinking
Shaping Organizational Culture Beyond Wishful Thinking
 
BoSUSA23 | Chris Spiek & Justin Dickow | Autobooks Product & Engineering
BoSUSA23 | Chris Spiek & Justin Dickow | Autobooks Product & EngineeringBoSUSA23 | Chris Spiek & Justin Dickow | Autobooks Product & Engineering
BoSUSA23 | Chris Spiek & Justin Dickow | Autobooks Product & Engineering
 
The Final Activity in Project Management
The Final Activity in Project ManagementThe Final Activity in Project Management
The Final Activity in Project Management
 
Management 11th Edition - Chapter 11 - Adaptive Organizational Design
Management 11th Edition - Chapter 11 - Adaptive Organizational DesignManagement 11th Edition - Chapter 11 - Adaptive Organizational Design
Management 11th Edition - Chapter 11 - Adaptive Organizational Design
 
Choosing the best strategy qspm matrix.pptx
Choosing the best strategy qspm matrix.pptxChoosing the best strategy qspm matrix.pptx
Choosing the best strategy qspm matrix.pptx
 
Better SAFe than sorry - Why scaled agile frameworks do not necessarily impro...
Better SAFe than sorry - Why scaled agile frameworks do not necessarily impro...Better SAFe than sorry - Why scaled agile frameworks do not necessarily impro...
Better SAFe than sorry - Why scaled agile frameworks do not necessarily impro...
 
Exploring Variable Relationships with Scatter Diagram Analysis
Exploring Variable Relationships with Scatter Diagram AnalysisExploring Variable Relationships with Scatter Diagram Analysis
Exploring Variable Relationships with Scatter Diagram Analysis
 
Operations Management -- Sustainability and Supply Chain Management.pdf
Operations Management -- Sustainability and Supply Chain Management.pdfOperations Management -- Sustainability and Supply Chain Management.pdf
Operations Management -- Sustainability and Supply Chain Management.pdf
 
The Role of Histograms in Exploring Data Insights
The Role of Histograms in Exploring Data InsightsThe Role of Histograms in Exploring Data Insights
The Role of Histograms in Exploring Data Insights
 
Management 11th Edition - Chapter 13 - Managing Teams
Management 11th Edition - Chapter 13 - Managing TeamsManagement 11th Edition - Chapter 13 - Managing Teams
Management 11th Edition - Chapter 13 - Managing Teams
 
Paired Comparison Analysis: A Practical Tool for Evaluating Options and Prior...
Paired Comparison Analysis: A Practical Tool for Evaluating Options and Prior...Paired Comparison Analysis: A Practical Tool for Evaluating Options and Prior...
Paired Comparison Analysis: A Practical Tool for Evaluating Options and Prior...
 
How-How Diagram: A Practical Approach to Problem Resolution
How-How Diagram: A Practical Approach to Problem ResolutionHow-How Diagram: A Practical Approach to Problem Resolution
How-How Diagram: A Practical Approach to Problem Resolution
 
From Red to Green: Enhancing Decision-Making with Traffic Light Assessment
From Red to Green: Enhancing Decision-Making with Traffic Light AssessmentFrom Red to Green: Enhancing Decision-Making with Traffic Light Assessment
From Red to Green: Enhancing Decision-Making with Traffic Light Assessment
 
Adapting to Change: Using PEST Analysis for Better Decision-Making
Adapting to Change: Using PEST Analysis for Better Decision-MakingAdapting to Change: Using PEST Analysis for Better Decision-Making
Adapting to Change: Using PEST Analysis for Better Decision-Making
 
HOTEL MANAGEMENT SYSTEM PPT PRESENTATION
HOTEL MANAGEMENT SYSTEM PPT PRESENTATIONHOTEL MANAGEMENT SYSTEM PPT PRESENTATION
HOTEL MANAGEMENT SYSTEM PPT PRESENTATION
 
The Role of Box Plots in Comparing Multiple Data Sets
The Role of Box Plots in Comparing Multiple Data SetsThe Role of Box Plots in Comparing Multiple Data Sets
The Role of Box Plots in Comparing Multiple Data Sets
 
Digital PR Summit - Leadership Lessons: Myths, Mistakes, & Toxic Traits
Digital PR Summit - Leadership Lessons: Myths, Mistakes, & Toxic TraitsDigital PR Summit - Leadership Lessons: Myths, Mistakes, & Toxic Traits
Digital PR Summit - Leadership Lessons: Myths, Mistakes, & Toxic Traits
 
Management 11th Edition - Chapter 9 - Strategic Management
Management 11th Edition - Chapter 9 - Strategic ManagementManagement 11th Edition - Chapter 9 - Strategic Management
Management 11th Edition - Chapter 9 - Strategic Management
 
Effective learning in the Age of Hybrid Work - Agile Saturday Tallinn 2024
Effective learning in the Age of Hybrid Work - Agile Saturday Tallinn 2024Effective learning in the Age of Hybrid Work - Agile Saturday Tallinn 2024
Effective learning in the Age of Hybrid Work - Agile Saturday Tallinn 2024
 
From Goals to Actions: Uncovering the Key Components of Improvement Roadmaps
From Goals to Actions: Uncovering the Key Components of Improvement RoadmapsFrom Goals to Actions: Uncovering the Key Components of Improvement Roadmaps
From Goals to Actions: Uncovering the Key Components of Improvement Roadmaps
 

Forecasting for beginners

  • 2. About Me Dan Brown Kanban Coach & Teacher KanbanDan@gmail.com @KanbanDan
  • 3. • We often talk about estimates as if they are something meaningful • We normally mean forecast when we say estimate • Forecasts aren’t guesses
  • 4. Maths is our friend (honest) • Maths often gets a bad rep • We often think of complex things we had to learn from first principles at school • But you don’t need to understand the inner workings of an engine to be able to drive a car • It’s a good idea to have an expert on hand when the engine needs fixing Solve x and y where: y = x2 - 5x + 7 y = 2x + 1
  • 5. The problem with Disneyworld • What’s the downside of Disneyworld for guests? • Avoiding the queues • There’s an App for that… • It uses historic data and the “Travelling salesman problem” • The right maths in the right place • Longest Disney queue I’ve stood in was 15 minutes
  • 6. Gameshows? • The “Monty Hall Problem” drives maths undergrads mad • 3 doors, one prize • What are the odds you pick the right door? • 33% • What if Monte removes a losing door? What are your odds now? • Should you change your choice?
  • 7. Agreeing terms • PRODUCT – A service that makes sense to a customer • EPIC – a big story. Too big for a team to finish in a fortnight • STORY – a single unit of work that finishes in between 2 and 9 days
  • 8. Lets think in Asteroids Epics Products Stories
  • 9. Ready Player 1 What happens if we shoot an “Product” sized asteroid?
  • 10. Shoot a “Product” Slow “Products” break into 3 medium paced “Epics”
  • 11. Shoot an “Epic” Medium paced “Epics” break into 4 fast paced “Stories”
  • 12. How did this strategy work out? Oops!
  • 13. Then this usually happens We get an Expedite work item to deal with!
  • 14. Back to sanity We could finish epic 1’s 4 stories, then the next epic of product 1… That way we always finish something valuable rather than showing progress on lots of things
  • 15. Conclusion (The answers near the front of the book)
  • 16. Step one - Workshop • Run a workshop to break down your initial product into epics
  • 17. Step two • Break down the first 5 epics into stories • Count the stories in each epic • Ignore the middle 3 numbers • Assume the Biggest and Smallest represent the range • Assume the mid point of the range is the median number of stories per epic X X X X XX Fewest stories Most stories
  • 18. Step three – get to work! • Measure the Lead Time to complete each of the first 11 stories. • Initial data gathering is done! • You can also use the 85th Percentile as your story SLA KEEP CALM AND START WORK!
  • 19. Graph time • You now have enough data to draw a Cumulative Flow Diagram (CFD). • Number of stories on Y axis against date on the X axis • Shows “To Do”, “Doing” and, “Done” • Plot a cone of certainty using 15th and 85th Percentiles
  • 21. CFD Forecasting Key Points • Always use ranges, not individual dates • Make it visible • Teach people how to read it • The truth is the truth. • This makes it visible, undeniable and non-negotiable • Moves the conversation on to business decisions • This is real data from a real development team…
  • 22. Frequency chart 85th %ile • Lead time frequency chart will show YOUR Weibull distribution • Use this to help decide when to start time bound stories
  • 23. Where do I start • Go to github.com/kanbandan • Click on PredictiveCFD • Download the Excel workbook • Make yourself a new copy and open the workbook • You need to play with 2 sheets • Setup • On The Board
  • 24. Setup sheet • I used the standard Excel formatting for Input cells • You can only change the salmon coloured cells Blank out the two dates hereSet this date to the first date of your delivery Set this dropdown to 11 Set to your work item types
  • 25. On the Board This is all of the data for the sample sheet
  • 26. On the Board Clear it off and start adding your stories No gaps in dates entered My favourite cheat formula =IF(ISNUMBER([@[Ready For Demo]]),[@[Ready For Demo]],"") (If the cell to my right is a number, show it here too. If not show a blank cell here) Lets you skip columns you don’t want to use Remember weighting of 1
  • 27. And that’s it… • You can now look back in wonder at your wonderful • Cumulative Flow Diagram • Lead Time Frequency Chart
  • 28. Why it all works • Explaining the magic numbers (just in case you don't trust me)
  • 29. Let's talk WWII tanks • The Panzer V was a big heavy tank. It had better armour, range and accuracy than the Sherman. • The Allies needed to know how many were in France to plan D-Day
  • 30. How many tanks? • Eisenhower asked both Military Intelligence and the Bletchley Park Boffins to work on it • This is known as "The German Tank Problem" MI BPB June 1940 1000 169 June 1941 1550 244 Aug 1942 1550 327 Real 122 271 342
  • 31. Maths beats estimates • So do we need to do lots of maths? • Good news - you don't. • There IS a formula, but I'm not going to bother you with it today.
  • 32. The answers • With 5 samples you are 12.5% likely to find a bigger value and 12.5% likely to find a smaller value than your existing range. 75% chance within range • With 11 samples you make that 90% chance inside range, 5% above and 5% below.
  • 33. Putting it to use •It works for: •tank gearbox serial numbers •story sizes •or even dating partners
  • 34. Why not just estimate? • How do you weigh something big on bathroom scales? • Cut it up and weigh all the small parts? • The problem is the tolerance cumulates and makes the measurement so inaccurate it’s useless • 200 days ± 120 days isn’t much use to us
  • 35. Should we stop estimating? • Estimates are useless, estimation is essential • The benefit of whole team estimation is the sharing of tacit knowledge, just before working on the thing we’re talking about. • It deliberately introduces conflict • No groupthink
  • 36. Getting started • all you need is: •a date stamp (or a pen) •a spreadsheet (or some graph paper) https://github.com/kanbandan/PredictiveCFD