SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Ähnlich wie Forecasting for beginners

Achieving a in writing
Achieving a in writingAchieving a in writing
Achieving a in writing
mrhoward12
 
The Art of Selling Ideas
The Art of Selling IdeasThe Art of Selling Ideas
The Art of Selling Ideas
sminchel
 
The Art of Selling Ideas
The Art of Selling IdeasThe Art of Selling Ideas
The Art of Selling Ideas
sminchel
 
Mechanical puzzle design
Mechanical puzzle designMechanical puzzle design
Mechanical puzzle design
adasbooks
 

Ähnlich wie 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
 

Mehr von Dan Brown

Mehr von 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
 

Kürzlich hochgeladen

Abortion pills in Jeddah |• +966572737505 ] GET CYTOTEC
Abortion pills in Jeddah |• +966572737505 ] GET CYTOTECAbortion pills in Jeddah |• +966572737505 ] GET CYTOTEC
Abortion pills in Jeddah |• +966572737505 ] GET CYTOTEC
Abortion pills in Riyadh +966572737505 get cytotec
 
Beyond the Codes_Repositioning towards sustainable development
Beyond the Codes_Repositioning towards sustainable developmentBeyond the Codes_Repositioning towards sustainable development
Beyond the Codes_Repositioning towards sustainable development
Nimot Muili
 
Agile Coaching Change Management Framework.pptx
Agile Coaching Change Management Framework.pptxAgile Coaching Change Management Framework.pptx
Agile Coaching Change Management Framework.pptx
alinstan901
 

Kürzlich hochgeladen (15)

internal analysis on strategic management
internal analysis on strategic managementinternal analysis on strategic management
internal analysis on strategic management
 
Reviewing and summarization of university ranking system to.pptx
Reviewing and summarization of university ranking system  to.pptxReviewing and summarization of university ranking system  to.pptx
Reviewing and summarization of university ranking system to.pptx
 
International Ocean Transportation p.pdf
International Ocean Transportation p.pdfInternational Ocean Transportation p.pdf
International Ocean Transportation p.pdf
 
Intro_University_Ranking_Introduction.pptx
Intro_University_Ranking_Introduction.pptxIntro_University_Ranking_Introduction.pptx
Intro_University_Ranking_Introduction.pptx
 
Abortion pills in Jeddah |• +966572737505 ] GET CYTOTEC
Abortion pills in Jeddah |• +966572737505 ] GET CYTOTECAbortion pills in Jeddah |• +966572737505 ] GET CYTOTEC
Abortion pills in Jeddah |• +966572737505 ] GET CYTOTEC
 
Call Now Pooja Mehta : 7738631006 Door Step Call Girls Rate 100% Satisfactio...
Call Now Pooja Mehta :  7738631006 Door Step Call Girls Rate 100% Satisfactio...Call Now Pooja Mehta :  7738631006 Door Step Call Girls Rate 100% Satisfactio...
Call Now Pooja Mehta : 7738631006 Door Step Call Girls Rate 100% Satisfactio...
 
Strategic Management, Vision Mission, Internal Analsysis
Strategic Management, Vision Mission, Internal AnalsysisStrategic Management, Vision Mission, Internal Analsysis
Strategic Management, Vision Mission, Internal Analsysis
 
Dealing with Poor Performance - get the full picture from 3C Performance Mana...
Dealing with Poor Performance - get the full picture from 3C Performance Mana...Dealing with Poor Performance - get the full picture from 3C Performance Mana...
Dealing with Poor Performance - get the full picture from 3C Performance Mana...
 
BDSM⚡Call Girls in Sector 99 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 99 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 99 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 99 Noida Escorts >༒8448380779 Escort Service
 
Call now : 9892124323 Nalasopara Beautiful Call Girls Vasai virar Best Call G...
Call now : 9892124323 Nalasopara Beautiful Call Girls Vasai virar Best Call G...Call now : 9892124323 Nalasopara Beautiful Call Girls Vasai virar Best Call G...
Call now : 9892124323 Nalasopara Beautiful Call Girls Vasai virar Best Call G...
 
Day 0- Bootcamp Roadmap for PLC Bootcamp
Day 0- Bootcamp Roadmap for PLC BootcampDay 0- Bootcamp Roadmap for PLC Bootcamp
Day 0- Bootcamp Roadmap for PLC Bootcamp
 
Safety T fire missions army field Artillery
Safety T fire missions army field ArtillerySafety T fire missions army field Artillery
Safety T fire missions army field Artillery
 
GENUINE Babe,Call Girls IN Baderpur Delhi | +91-8377087607
GENUINE Babe,Call Girls IN Baderpur  Delhi | +91-8377087607GENUINE Babe,Call Girls IN Baderpur  Delhi | +91-8377087607
GENUINE Babe,Call Girls IN Baderpur Delhi | +91-8377087607
 
Beyond the Codes_Repositioning towards sustainable development
Beyond the Codes_Repositioning towards sustainable developmentBeyond the Codes_Repositioning towards sustainable development
Beyond the Codes_Repositioning towards sustainable development
 
Agile Coaching Change Management Framework.pptx
Agile Coaching Change Management Framework.pptxAgile Coaching Change Management Framework.pptx
Agile Coaching Change Management Framework.pptx
 

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