SlideShare une entreprise Scribd logo
1  sur  47
LKCE 2013 – Modern Management Methods

Cycle Time Analytics
Making decisions using Lead Time and Cycle Time to avoid needing estimates for
every story

Troy Magennis
@t_magennis
Slides at bit.ly/agilesim
2

@t_Magennis slides at bit.ly/agilesim
Forecasting Myths
1. You need lots of data to forecast
False, if we understand

2.

the behavior of a domain
(cycle time for example)
False. Most uncertainty
Statistical forecasting requires
we can be confident with the
is reduced within
no mathematics
complex initial data samples
first few

3. If
3

False. Everything you
we havesee today uses nothing
no data we can’t
more than the + and /
statistically forecast
operations!
Commercial in confidence
Q. What is the chance of the 4th sample
being between the range seen after the
first three samples?

Actual Maximum

(no duplicates, uniform distribution, picked at random)

2

4

3

1

Actual Minimum

@t_Magennis slides at bit.ly/agilesim
Q. What is the chance of the 4th sample
being between the range seen after the
first three samples?

Actual Maximum

(no duplicates, uniform distribution, picked at random)

Highest sample
2

?

?
4

3
?

1

?

Lowest sample

Actual Minimum

@t_Magennis slides at bit.ly/agilesim
Q. What is the chance of the 4th sample
being between the range seen after the
first three samples?

Actual Maximum

(no duplicates, uniform distribution, picked at random)

Highest sample

25% chance higher
than highest seen

2
25% lower than highest
and higher than second highest
4

3
25% higher than lowest and
lower than second lowest
1
Lowest sample

Actual Minimum

25% lower than
lowest seen

@t_Magennis slides at bit.ly/agilesim

A. 50%
% = (1 - (1 / n – 1)) * 100
Q. What is the chance of the 12th sample
being between the range seen after the
first three samples?

Actual Maximum

(no duplicates, uniform distribution, picked at random)

Highest sample
2
9
5

5% chance higher than
highest seen

?

3
12

4
10

6

11

?

7
1
8
Lowest sample

Actual Minimum

5% lower than
lowest seen

@t_Magennis slides at bit.ly/agilesim

A. 90%
% = (1 - (1 / n – 1)) * 100
# Prior Samples

3
4
5
6
7
8
9
10
11
12
13
15
17
20

Prediction Next Sample Within Prior Sample Range

50%
67%
75%
80%
83%
86%
88%
89%
90%
91%
92%
93%
94%
95%
@t_Magennis slides at bit.ly/agilesim
Four people arrange a
restaurant booking after work
Q. What is the chance they
arrive on-time to be seated?
9

@t_Magennis slides at bit.ly/agilesim
10

15 TIMES more likely at least on person is late

1 in 16 EVERYONE is ON-TIME
Person 1 Person 2 Person 3 Person 4

Commercial in confidence
11
Estimating the wrong things
and getting a poor result
doesn’t mean we shouldn’t
estimate at all
We just need to estimate
things that matter most
13

Commercial in confidence
85%
Forecasts are attempts to
Change of
At Least 2
th August
15answer questions about
Teams
2013

future events. They are an
estimate with a stated
Definitely
Greater
uncertainty
than
$1,000,000

17

@t_Magennis slides at bit.ly/agilesim
There is NO single
forecast result
Uncertainty In = Uncertainty Out
There will always be many
possible results, some more likely and this is the
key to proper forecasting
@t_Magennis slides at bit.ly/agilesim
Likelihood

Probabilistic Forecasting combines many uncertain
inputs to find many possible outcomes, and what
outcomes are more likely than others

50%
Possible
Outcomes

50%
Possible
Outcomes

Time to Complete Backlog
19

@t_Magennis slides at bit.ly/agilesim
Likelihood

Did the Obama 2012 Campaign Fund Advertising to
Achieve 50% Chance of Re-election?

85% Possible
Outcomes

15%

Time to Complete Backlog
20

@t_Magennis slides at bit.ly/agilesim
Task Uncertainty – Summing Variance
1

2

3

4

Source attribution: Aidan Lyon, Department of Philosophy. University of Maryland, College Park. “Why Normal
Distributions Occur” http://aidanlyon.com/sites/default/files/Lyon-normal_distributions.pdf
21

@t_Magennis slides at bit.ly/agilesim
Decision Induced Uncertainty
Every choice we make changes the outcome
Planned / Due Date

July

Cost of Delay

Dev Cost

Staff

Actual Date

August

September

October

Forecast Completion Date
22

@t_Magennis slides at bit.ly/agilesim

November

December
What is modelling and how to use cycle time

MODELING AND CYCLE TIME

23
A model is a tool used to
mimic a real world process

Models are tools for low-cost
experimentation

@t_Magennis slides at bit.ly/agilesim
Simple

Depth of Forecasting models
Linear Projection

System Cycle Time

Diagnostic

Partitioned Cycle Time

26

Simulated process
Commercial in confidence
Simple Cycle Time Model
Amount of
Work
(# stories)

Lead Time
or Cycle
Time

Random Chance
/ Risk / Stupidity
27

@t_Magennis slides at bit.ly/agilesim

Parallel
Work in Proc.
(WIP)
Capturing Cycle Time and WIP
Story

Start Date

Completed Cycle Time
Date
(days)

1
2
3

1 Jan 2013
5 Jan 2013
5 Jan 2013

15 Jan 2013
12 Jan 2013

4
5
6
7
8
9
28
10

6 Jan 2013
3 Jan 2013
7 Jan 2013
10 Jan 2013
10 Jan 2013
13 Jan 2013
15 Jan 2013

14

Date “Complete” – Date “Started”
7 Jan 2013
18 Feb 2013
22 Jan 2013
18 Jan 2013
26 Jan 2013
Use with attribution
Capturing Cycle Time and WIP
Story

Start Date

Completed Cycle Time
Date
(days)

Date
1 Jan

1
2
3

1 Jan 2013
5 Jan 2013
5 Jan 2013

15 Jan 2013
12 Jan 2013

3 Jan
4 Jan
5 Jan

4
5
6
7
8
9
29
10

6 Jan 2013
3 Jan 2013
7 Jan 2013
10 Jan 2013
10 Jan 2013
13 Jan 2013
15 Jan 2013

7 Jan 2013
18 Feb 2013
22 Jan 2013

6 Jan
7 Jan
8 Jan
9 Jan
10 Jan
…
15 Jan

WIP

5

Count of Started, but
26 Jan 2013
Not completed work
18 Jan 2013

Use with attribution
Capturing Cycle Time and WIP
Story

Start Date

Completed Cycle Time
Date
(days)

Date
1 Jan

WIP
1

1
2
3

1 Jan 2013
5 Jan 2013
5 Jan 2013

15 Jan 2013
12 Jan 2013

3 Jan
4 Jan
5 Jan

2
2
3

4
5
6
7
8
9
30
10

6 Jan 2013
3 Jan 2013
7 Jan 2013
10 Jan 2013
10 Jan 2013
13 Jan 2013
15 Jan 2013

6 Jan
7 Jan
8 Jan
9 Jan
10 Jan
…
15 Jan

4
5
5
5
7
…
7

14
7

7 Jan 2013
18 Feb 2013
22 Jan 2013

4
42
12

18 Jan 2013

8

26 Jan 2013

13

Use with attribution
31

Trial 1 Trial 2 Trial 100
9
13 13
5

Sum:

51

1
4
7
5
11
28

…

35
19
5
13
11
83

11

Fancy term for turning a small set
of samples into a larger set:
Bootstrapping
Use with attribution

By repetitively sample
we build trial
hypothetical “project”
completions
Sum Random Numbers

Historical Story Cycle Time Trend
25
11
29
43
34
26
31
45
22
27

More often

Less often
Sum:

31
43
65
45
8
7
34
73
54
48

295

410

…..

Basic Cycle Time Forecast Monte Carlo Process
1. Gather historical story lead-times
2. Build a set of random numbers based on pattern
3. Sum a random number for each remaining story
to build a potential outcome
4. Repeat many times to find the likelihood (odds)
to build a pattern of likelihood outcomes

Days To Complete

19
12
24
27
21
3
9
20
23
29

187
1. Historical Cycle Time
Monte Carlo Analysis =
Process to Combine
Multiple Uncertain
Measurements /
Estimates

6. Phases

2. Planned Resources/ WIP

4. Historical Scope
Creep Rate

3. The Work (Backlog)
Backlog
Feature 1
Feature 2
Feature 3

(optional)
34

5. Historical Defect Rate and Cycle Times
(optional)

@t_Magennis slides at bit.ly/agilesim
35

Commercial in confidence
36

@t_Magennis slides at bit.ly/agilesim
Y-Axis:
Number of
Completed
Stories

Project Complete
Likelihood

Range of complete
stories probability

0 to
50%

X-Axis: Date

37

@t_Magennis slides at bit.ly/agilesim

50 to
75%

>
75%
How certain
based on model
forecast

Further
calculations to
make economic
tradeoffs
38

Commercial in confidence
What is 10% Cycle Time
Reduction Worth?
Baseline

Staff Cost Cost of Delay Total Cost
€912.000 + €190.000 = €1.102.000
Experiment: 10% Cycle Time Reduction
Staff Cost Cost of Delay Total Cost
€883.200 + €177.419 = €1.060.619

Opportunity: €41.381
39
1. Historical Cycle Time
Design
Develop
Test

Design

Develop

A Process to Combine
Multiple Uncertain
Measurements /
Estimates is Needed

Test

2. Planned Resources/ Effort

4. Historical Scope
Creep Rate

3. The Work (Backlog)
Backlog
Feature 1
Feature 2
Feature 3

(optional)
40

5. Historical Defect Rate & Cycle Times
(optional)
What is One Designer Worth?
Baseline

Staff Cost Cost of Delay Total Cost
€912.000 + €190.000 = €1.102.000
Experiment: + 1 Designer
Staff Cost Cost of Delay Total Cost
€610.400 + €5.000
= €615.400

Opportunity: €486.600
41
FORECASTING STRATEGIES

42
When you have historical data
1. Model Baseline
using historically
known truths

The
Past

2. Test Model
against historically
known truths

3. Forecast

The
Future
Compare Model vs Actual Often

Range of complete
probability

Actual results to compare
if model is predictable

45

@t_Magennis slides at bit.ly/agilesim
When you have no historical data

The
Future
@t_Magennis slides at bit.ly/agilesim
If we understand how cycle time is
statistically distributed, then an
initial guess of maximum allows an
accurate inference to be made
Alternatives • Borrow a similar project’s data
• Borrow industry data
• Fake it until you make it… (AKA guess range)
49

@t_Magennis slides at bit.ly/agilesim
Probability Density Function

1997: Industrial Strength Software 2002: Metrics and Models in
by Lawrence H. Software Quality Engineering
(2nd Edition) [Hardcover]
Putnam , IEEE , Ware Myers
Stephen H. Kan (Author)

0.32

0.28

0.24

0.2

0.16

0.12

0.08

0.04

0

-10

0

10

20

30

40

50

60

70

80

x
Histogram

50

Gamma (3P)

Lognormal

Rayleigh

@t_Magennis slides at bit.ly/agilesim

Weibull

90

100

110

120

1
Waterfall

Weibull Shape
Parameter = 2
AKA Rayleigh

51

Commercial in confidence
Agile / Lean / Kanban

Weibull Shape
Parameter = 1.5

52

Commercial in confidence
Typical Operations / Release

Weibull Shape
Parameter = 1
AKA Exponential

53

Commercial in confidence
Shape – How Fat the
distribution. 1.5 is a
good starting point.

Probability Density Function

0.28

0.24

f(x)

0.2

Scale – How Wide in
Range. Related to the
Upper Bound. *Rough*
Guess: (High – Low) / 4

Location – The
Lower Bound

0.16

0.12

0.08

0.04

0
0

10

20

30

40

50

60

70

x
Histogram

54

Weibull

@t_Magennis slides at bit.ly/agilesim

80

90

100

110

120
What Distribution To Use...
• No Data at All, or Less than < 11 Samples (why 11?)
– Uniform Range with Boundaries Guessed (safest)
– Weibull Range with Boundaries Guessed (likely)

• 11 to 30 Samples
– Uniform Range with Boundaries at 5th and 95th CI
– Weibull Range with Boundaries at 5th and 95th CI

• More than 30 Samples
– Use historical data as bootstrap reference
– Curve Fitting software
55

@t_Magennis slides at bit.ly/agilesim
Questions…
• Download the slides (soon) and software at
http://bit.ly/agilesim
• Contact me
– Email: troy.Magennis@focusedobjective.com
– Twitter: @t_Magennis

• Read:

56

Contenu connexe

Tendances

Toyota kata 5 coaching cycles
Toyota kata 5 coaching cyclesToyota kata 5 coaching cycles
Toyota kata 5 coaching cycles
Cogent Power Inc
 

Tendances (20)

Toyota kata 5 coaching cycles
Toyota kata 5 coaching cyclesToyota kata 5 coaching cycles
Toyota kata 5 coaching cycles
 
Lean Six Sigma Foundations
Lean Six Sigma FoundationsLean Six Sigma Foundations
Lean Six Sigma Foundations
 
A visual guide to Critical Chain Project Management (CCPM) Part 2: CCPM Solut...
A visual guide to Critical Chain Project Management (CCPM) Part 2: CCPM Solut...A visual guide to Critical Chain Project Management (CCPM) Part 2: CCPM Solut...
A visual guide to Critical Chain Project Management (CCPM) Part 2: CCPM Solut...
 
Kaizen
KaizenKaizen
Kaizen
 
Kaizen and 5S technique Case study
Kaizen and 5S technique Case studyKaizen and 5S technique Case study
Kaizen and 5S technique Case study
 
Nos leçons apprises avec la méthode kanban
Nos leçons apprises avec la méthode kanbanNos leçons apprises avec la méthode kanban
Nos leçons apprises avec la méthode kanban
 
The mystery of OEE
The mystery of OEEThe mystery of OEE
The mystery of OEE
 
Lean Management
Lean ManagementLean Management
Lean Management
 
Kanban board in cutting department1
Kanban board in cutting department1Kanban board in cutting department1
Kanban board in cutting department1
 
Critical Chain Project Management - Training Material Extract of 1 Day Europe...
Critical Chain Project Management - Training Material Extract of 1 Day Europe...Critical Chain Project Management - Training Material Extract of 1 Day Europe...
Critical Chain Project Management - Training Material Extract of 1 Day Europe...
 
The house of lean manufacturing
The house of lean manufacturingThe house of lean manufacturing
The house of lean manufacturing
 
Workshops and presentations by Marek Piatkowski
Workshops and presentations by Marek Piatkowski Workshops and presentations by Marek Piatkowski
Workshops and presentations by Marek Piatkowski
 
Value Stream Mapping: What to Do Before You Dive In
Value Stream Mapping: What to Do Before You Dive InValue Stream Mapping: What to Do Before You Dive In
Value Stream Mapping: What to Do Before You Dive In
 
Toyota Production System 14 Management Principles
Toyota Production System 14 Management PrinciplesToyota Production System 14 Management Principles
Toyota Production System 14 Management Principles
 
Lean Transformation in Office, Service, and Knowledge Work Enviroments
Lean Transformation in Office, Service, and Knowledge Work EnviromentsLean Transformation in Office, Service, and Knowledge Work Enviroments
Lean Transformation in Office, Service, and Knowledge Work Enviroments
 
6 s visual management
6 s  visual management6 s  visual management
6 s visual management
 
Toyota Kata Coaching & PDCA
Toyota Kata Coaching & PDCAToyota Kata Coaching & PDCA
Toyota Kata Coaching & PDCA
 
Jidoka by Operational Excellence Consulting
Jidoka by Operational Excellence ConsultingJidoka by Operational Excellence Consulting
Jidoka by Operational Excellence Consulting
 
Lean manufacturing
Lean manufacturingLean manufacturing
Lean manufacturing
 
Six Sigma- Define & Measure_Sudhanshu.pdf
Six Sigma- Define & Measure_Sudhanshu.pdfSix Sigma- Define & Measure_Sudhanshu.pdf
Six Sigma- Define & Measure_Sudhanshu.pdf
 

Similaire à CYCLE TIME ANALYTICS: RELIABLE #NOESTIMATES FORECASTING USING DATA, TROY MAGENNIS (KEYNOTE) - LKCE13

Similaire à CYCLE TIME ANALYTICS: RELIABLE #NOESTIMATES FORECASTING USING DATA, TROY MAGENNIS (KEYNOTE) - LKCE13 (20)

I love the smell of data in the morning (getting started with data science) ...
I love the smell of data in the morning (getting started with data science)  ...I love the smell of data in the morning (getting started with data science)  ...
I love the smell of data in the morning (getting started with data science) ...
 
When will it be done? (Lean Agile Forecasting)
When will it be done? (Lean Agile Forecasting)When will it be done? (Lean Agile Forecasting)
When will it be done? (Lean Agile Forecasting)
 
Better Living Through Analytics - Strategies for Data Decisions
Better Living Through Analytics - Strategies for Data DecisionsBetter Living Through Analytics - Strategies for Data Decisions
Better Living Through Analytics - Strategies for Data Decisions
 
Agile DC Lead Time
Agile DC Lead TimeAgile DC Lead Time
Agile DC Lead Time
 
Testers Qbit Conference 19.09.2007 Web
Testers   Qbit Conference   19.09.2007   WebTesters   Qbit Conference   19.09.2007   Web
Testers Qbit Conference 19.09.2007 Web
 
Agile Test Management and Reporting—Even in a Non-Agile Project
Agile Test Management and Reporting—Even in a Non-Agile ProjectAgile Test Management and Reporting—Even in a Non-Agile Project
Agile Test Management and Reporting—Even in a Non-Agile Project
 
[Talk] Manage flow - Metrics and Analytics for predictability and flow
[Talk] Manage flow - Metrics and Analytics for predictability and flow[Talk] Manage flow - Metrics and Analytics for predictability and flow
[Talk] Manage flow - Metrics and Analytics for predictability and flow
 
Agile 2014 Software Moneyball (Troy Magennis)
Agile 2014   Software Moneyball (Troy Magennis)Agile 2014   Software Moneyball (Troy Magennis)
Agile 2014 Software Moneyball (Troy Magennis)
 
Data driven portfolio management agile2017
Data driven portfolio management agile2017Data driven portfolio management agile2017
Data driven portfolio management agile2017
 
Planning for Uncertainty
Planning for UncertaintyPlanning for Uncertainty
Planning for Uncertainty
 
Is data visualisation bullshit?
Is data visualisation bullshit?Is data visualisation bullshit?
Is data visualisation bullshit?
 
SPC Presentation Master
SPC Presentation MasterSPC Presentation Master
SPC Presentation Master
 
Sleeping Giant Media - Summer Series 4 of 6 - Tracking Digital Marketing Perf...
Sleeping Giant Media - Summer Series 4 of 6 - Tracking Digital Marketing Perf...Sleeping Giant Media - Summer Series 4 of 6 - Tracking Digital Marketing Perf...
Sleeping Giant Media - Summer Series 4 of 6 - Tracking Digital Marketing Perf...
 
Risk Management and Reliable Forecasting using Un-reliable Data (magennis) - ...
Risk Management and Reliable Forecasting using Un-reliable Data (magennis) - ...Risk Management and Reliable Forecasting using Un-reliable Data (magennis) - ...
Risk Management and Reliable Forecasting using Un-reliable Data (magennis) - ...
 
Advanced Topics in Agile Planning
Advanced Topics in Agile PlanningAdvanced Topics in Agile Planning
Advanced Topics in Agile Planning
 
The Data Science Process
The Data Science ProcessThe Data Science Process
The Data Science Process
 
Advanced Agile Planning - NDC 2014
Advanced Agile Planning - NDC 2014Advanced Agile Planning - NDC 2014
Advanced Agile Planning - NDC 2014
 
Monte Carlo Schedule Risk Analysis
Monte Carlo Schedule Risk AnalysisMonte Carlo Schedule Risk Analysis
Monte Carlo Schedule Risk Analysis
 
Data skills for Agile Teams- Killing story points
Data skills for Agile Teams- Killing story pointsData skills for Agile Teams- Killing story points
Data skills for Agile Teams- Killing story points
 
Forecasting with Less Effort and More Accuracy (Agile Camp NY 2018)
Forecasting with Less Effort and More Accuracy (Agile Camp NY 2018)Forecasting with Less Effort and More Accuracy (Agile Camp NY 2018)
Forecasting with Less Effort and More Accuracy (Agile Camp NY 2018)
 

Plus de Lean Kanban Central Europe

Plus de Lean Kanban Central Europe (20)

LKCE19 Keynote Yves Morieux - Bringing Managers Back to Work
LKCE19 Keynote Yves Morieux - Bringing Managers Back to WorkLKCE19 Keynote Yves Morieux - Bringing Managers Back to Work
LKCE19 Keynote Yves Morieux - Bringing Managers Back to Work
 
LKCE19 Oliver Finker - Wardley Mapping meets the Kanban Maturity Model
LKCE19 Oliver Finker - Wardley Mapping meets the Kanban Maturity ModelLKCE19 Oliver Finker - Wardley Mapping meets the Kanban Maturity Model
LKCE19 Oliver Finker - Wardley Mapping meets the Kanban Maturity Model
 
LKCE2019 - Cliff Hazell - Beyond Copy Paste Agile
LKCE2019 - Cliff Hazell - Beyond Copy Paste AgileLKCE2019 - Cliff Hazell - Beyond Copy Paste Agile
LKCE2019 - Cliff Hazell - Beyond Copy Paste Agile
 
LKCE19 - Natalia de Souza Manha - Lean Portfolio Governance with Kanban in a ...
LKCE19 - Natalia de Souza Manha - Lean Portfolio Governance with Kanban in a ...LKCE19 - Natalia de Souza Manha - Lean Portfolio Governance with Kanban in a ...
LKCE19 - Natalia de Souza Manha - Lean Portfolio Governance with Kanban in a ...
 
LKCE19 - Katya Terekhova - Siberian tale, part 2: how we implemented classes ...
LKCE19 - Katya Terekhova - Siberian tale, part 2: how we implemented classes ...LKCE19 - Katya Terekhova - Siberian tale, part 2: how we implemented classes ...
LKCE19 - Katya Terekhova - Siberian tale, part 2: how we implemented classes ...
 
LKCE19 - Bea Knippenberg & Daniel Schimera - Portfolio-Planung von Top-Down z...
LKCE19 - Bea Knippenberg & Daniel Schimera - Portfolio-Planung von Top-Down z...LKCE19 - Bea Knippenberg & Daniel Schimera - Portfolio-Planung von Top-Down z...
LKCE19 - Bea Knippenberg & Daniel Schimera - Portfolio-Planung von Top-Down z...
 
LKCE19 - Thomas Epping - Kanban auf leisen Sohlen
LKCE19 - Thomas Epping - Kanban auf leisen SohlenLKCE19 - Thomas Epping - Kanban auf leisen Sohlen
LKCE19 - Thomas Epping - Kanban auf leisen Sohlen
 
LKCE19 - Dimitar Karaivanov - Business Agility through the Eyes of a Metalhea...
LKCE19 - Dimitar Karaivanov - Business Agility through the Eyes of a Metalhea...LKCE19 - Dimitar Karaivanov - Business Agility through the Eyes of a Metalhea...
LKCE19 - Dimitar Karaivanov - Business Agility through the Eyes of a Metalhea...
 
LKCE19 - Mathias Schroeder - Strategische Ausrichtung mal anders (aka Wardley...
LKCE19 - Mathias Schroeder - Strategische Ausrichtung mal anders (aka Wardley...LKCE19 - Mathias Schroeder - Strategische Ausrichtung mal anders (aka Wardley...
LKCE19 - Mathias Schroeder - Strategische Ausrichtung mal anders (aka Wardley...
 
LKCE19 - Maren Baermann - Agile Motivation – the Human Side of Kanban
LKCE19 - Maren Baermann - Agile Motivation – the Human Side of KanbanLKCE19 - Maren Baermann - Agile Motivation – the Human Side of Kanban
LKCE19 - Maren Baermann - Agile Motivation – the Human Side of Kanban
 
LKCE19 - David J. Anderson - Why We Need KMM
LKCE19 - David J. Anderson - Why We Need KMMLKCE19 - David J. Anderson - Why We Need KMM
LKCE19 - David J. Anderson - Why We Need KMM
 
LKCE19 - Matías E. Fernández - Continuous Transformation in a Large Complex...
LKCE19 - Matías E. Fernández - Continuous Transformation in a Large Complex...LKCE19 - Matías E. Fernández - Continuous Transformation in a Large Complex...
LKCE19 - Matías E. Fernández - Continuous Transformation in a Large Complex...
 
LKCE19 - Bruna Sassaro und Mesrop Yaghubian: 1+1=1 Eine Kanban Success Story
LKCE19 - Bruna Sassaro und Mesrop Yaghubian: 1+1=1 Eine Kanban Success StoryLKCE19 - Bruna Sassaro und Mesrop Yaghubian: 1+1=1 Eine Kanban Success Story
LKCE19 - Bruna Sassaro und Mesrop Yaghubian: 1+1=1 Eine Kanban Success Story
 
LKCE19 - Boris Karl Schlein - Two Epics per Week?!
LKCE19 - Boris Karl Schlein - Two Epics per Week?!LKCE19 - Boris Karl Schlein - Two Epics per Week?!
LKCE19 - Boris Karl Schlein - Two Epics per Week?!
 
LKCE19 - Nadine Wolf - Die sechs Kanban-Praktiken als Hilfsmittel für (Selbst...
LKCE19 - Nadine Wolf - Die sechs Kanban-Praktiken als Hilfsmittel für (Selbst...LKCE19 - Nadine Wolf - Die sechs Kanban-Praktiken als Hilfsmittel für (Selbst...
LKCE19 - Nadine Wolf - Die sechs Kanban-Praktiken als Hilfsmittel für (Selbst...
 
LKCE19 - Carmen Rudolph & Franziska Stoll - Meet Miss Moneypenny! Oder: 'Kann...
LKCE19 - Carmen Rudolph & Franziska Stoll - Meet Miss Moneypenny! Oder: 'Kann...LKCE19 - Carmen Rudolph & Franziska Stoll - Meet Miss Moneypenny! Oder: 'Kann...
LKCE19 - Carmen Rudolph & Franziska Stoll - Meet Miss Moneypenny! Oder: 'Kann...
 
LKCE19 - Sven Günther & Henning Wolf - DYNAMIC - How to get Fit for Purpose
LKCE19 - Sven Günther & Henning Wolf - DYNAMIC - How to get Fit for PurposeLKCE19 - Sven Günther & Henning Wolf - DYNAMIC - How to get Fit for Purpose
LKCE19 - Sven Günther & Henning Wolf - DYNAMIC - How to get Fit for Purpose
 
LKCE19 - Kulawat Wongsaroj & Kamon Treetampinij - The House of Enterprise Agi...
LKCE19 - Kulawat Wongsaroj & Kamon Treetampinij - The House of Enterprise Agi...LKCE19 - Kulawat Wongsaroj & Kamon Treetampinij - The House of Enterprise Agi...
LKCE19 - Kulawat Wongsaroj & Kamon Treetampinij - The House of Enterprise Agi...
 
LKCE19 Klaus Leopold - Flight Levels in Action
LKCE19 Klaus Leopold - Flight Levels in ActionLKCE19 Klaus Leopold - Flight Levels in Action
LKCE19 Klaus Leopold - Flight Levels in Action
 
LKCE19 Jochen Goeser & Carmen Knippenberg - Flight Level Boards - Experiences...
LKCE19 Jochen Goeser & Carmen Knippenberg - Flight Level Boards - Experiences...LKCE19 Jochen Goeser & Carmen Knippenberg - Flight Level Boards - Experiences...
LKCE19 Jochen Goeser & Carmen Knippenberg - Flight Level Boards - Experiences...
 

Dernier

ابو ظبي اعلان | - سايتوتك في الامارات حبوب الاجهاض للبيع ف حبوب الإجهاض ... ا...
ابو ظبي اعلان | - سايتوتك في الامارات حبوب الاجهاض للبيع ف حبوب الإجهاض ... ا...ابو ظبي اعلان | - سايتوتك في الامارات حبوب الاجهاض للبيع ف حبوب الإجهاض ... ا...
ابو ظبي اعلان | - سايتوتك في الامارات حبوب الاجهاض للبيع ف حبوب الإجهاض ... ا...
brennadilys816
 
PEMATANG SIANTAR 0851/8063/4797 JUAL OBAT ABORSI CYTOTEC PEMATANG SIANTAR
PEMATANG SIANTAR 0851/8063/4797 JUAL OBAT ABORSI CYTOTEC PEMATANG SIANTARPEMATANG SIANTAR 0851/8063/4797 JUAL OBAT ABORSI CYTOTEC PEMATANG SIANTAR
PEMATANG SIANTAR 0851/8063/4797 JUAL OBAT ABORSI CYTOTEC PEMATANG SIANTAR
doktercalysta
 
Abortion pills in Muscut<Oman(+27737758557) Cytotec available.inn Kuwait City.
Abortion pills in Muscut<Oman(+27737758557) Cytotec available.inn Kuwait City.Abortion pills in Muscut<Oman(+27737758557) Cytotec available.inn Kuwait City.
Abortion pills in Muscut<Oman(+27737758557) Cytotec available.inn Kuwait City.
daisycvs
 
(( wa 0851/7541/5434 )) Jual Obat Aborsi Di Surabaya - Cytotec Misoprostol 20...
(( wa 0851/7541/5434 )) Jual Obat Aborsi Di Surabaya - Cytotec Misoprostol 20...(( wa 0851/7541/5434 )) Jual Obat Aborsi Di Surabaya - Cytotec Misoprostol 20...
(( wa 0851/7541/5434 )) Jual Obat Aborsi Di Surabaya - Cytotec Misoprostol 20...
Spesiialis Kandungan BPOM
 
Apotik Jual Obat Aborsi asli Mataram, Wa : 085180626899 - Penjual obat Cytote...
Apotik Jual Obat Aborsi asli Mataram, Wa : 085180626899 - Penjual obat Cytote...Apotik Jual Obat Aborsi asli Mataram, Wa : 085180626899 - Penjual obat Cytote...
Apotik Jual Obat Aborsi asli Mataram, Wa : 085180626899 - Penjual obat Cytote...
jual Obat Aborsi Bandung, Wa : 085180626899 Apotik jual Obat Cytotec Di Bandung
 

Dernier (20)

ابو ظبي اعلان | - سايتوتك في الامارات حبوب الاجهاض للبيع ف حبوب الإجهاض ... ا...
ابو ظبي اعلان | - سايتوتك في الامارات حبوب الاجهاض للبيع ف حبوب الإجهاض ... ا...ابو ظبي اعلان | - سايتوتك في الامارات حبوب الاجهاض للبيع ف حبوب الإجهاض ... ا...
ابو ظبي اعلان | - سايتوتك في الامارات حبوب الاجهاض للبيع ف حبوب الإجهاض ... ا...
 
MichaelStarkes_UncutGemsProjectSummary.pdf
MichaelStarkes_UncutGemsProjectSummary.pdfMichaelStarkes_UncutGemsProjectSummary.pdf
MichaelStarkes_UncutGemsProjectSummary.pdf
 
The Risks of Ignoring Bookkeeping in Your Business
The Risks of Ignoring Bookkeeping in Your BusinessThe Risks of Ignoring Bookkeeping in Your Business
The Risks of Ignoring Bookkeeping in Your Business
 
Copyright: What Creators and Users of Art Need to Know
Copyright: What Creators and Users of Art Need to KnowCopyright: What Creators and Users of Art Need to Know
Copyright: What Creators and Users of Art Need to Know
 
wagamamaLab presentation @MIT 20240509 IRODORI
wagamamaLab presentation @MIT 20240509 IRODORIwagamamaLab presentation @MIT 20240509 IRODORI
wagamamaLab presentation @MIT 20240509 IRODORI
 
Raising Seed Capital by Steve Schlafman at RRE Ventures
Raising Seed Capital by Steve Schlafman at RRE VenturesRaising Seed Capital by Steve Schlafman at RRE Ventures
Raising Seed Capital by Steve Schlafman at RRE Ventures
 
PEMATANG SIANTAR 0851/8063/4797 JUAL OBAT ABORSI CYTOTEC PEMATANG SIANTAR
PEMATANG SIANTAR 0851/8063/4797 JUAL OBAT ABORSI CYTOTEC PEMATANG SIANTARPEMATANG SIANTAR 0851/8063/4797 JUAL OBAT ABORSI CYTOTEC PEMATANG SIANTAR
PEMATANG SIANTAR 0851/8063/4797 JUAL OBAT ABORSI CYTOTEC PEMATANG SIANTAR
 
Pay after result spell caster (,$+27834335081)@ bring back lost lover same da...
Pay after result spell caster (,$+27834335081)@ bring back lost lover same da...Pay after result spell caster (,$+27834335081)@ bring back lost lover same da...
Pay after result spell caster (,$+27834335081)@ bring back lost lover same da...
 
Innomantra Viewpoint - Building Moonshots : May-Jun 2024.pdf
Innomantra Viewpoint - Building Moonshots : May-Jun 2024.pdfInnomantra Viewpoint - Building Moonshots : May-Jun 2024.pdf
Innomantra Viewpoint - Building Moonshots : May-Jun 2024.pdf
 
Abortion pills in Muscut<Oman(+27737758557) Cytotec available.inn Kuwait City.
Abortion pills in Muscut<Oman(+27737758557) Cytotec available.inn Kuwait City.Abortion pills in Muscut<Oman(+27737758557) Cytotec available.inn Kuwait City.
Abortion pills in Muscut<Oman(+27737758557) Cytotec available.inn Kuwait City.
 
HAL Financial Performance Analysis and Future Prospects
HAL Financial Performance Analysis and Future ProspectsHAL Financial Performance Analysis and Future Prospects
HAL Financial Performance Analysis and Future Prospects
 
WAM Corporate Presentation May 2024_w.pdf
WAM Corporate Presentation May 2024_w.pdfWAM Corporate Presentation May 2024_w.pdf
WAM Corporate Presentation May 2024_w.pdf
 
(( wa 0851/7541/5434 )) Jual Obat Aborsi Di Surabaya - Cytotec Misoprostol 20...
(( wa 0851/7541/5434 )) Jual Obat Aborsi Di Surabaya - Cytotec Misoprostol 20...(( wa 0851/7541/5434 )) Jual Obat Aborsi Di Surabaya - Cytotec Misoprostol 20...
(( wa 0851/7541/5434 )) Jual Obat Aborsi Di Surabaya - Cytotec Misoprostol 20...
 
Elevate Your Online Presence with SEO Services
Elevate Your Online Presence with SEO ServicesElevate Your Online Presence with SEO Services
Elevate Your Online Presence with SEO Services
 
Apotik Jual Obat Aborsi asli Mataram, Wa : 085180626899 - Penjual obat Cytote...
Apotik Jual Obat Aborsi asli Mataram, Wa : 085180626899 - Penjual obat Cytote...Apotik Jual Obat Aborsi asli Mataram, Wa : 085180626899 - Penjual obat Cytote...
Apotik Jual Obat Aborsi asli Mataram, Wa : 085180626899 - Penjual obat Cytote...
 
How to refresh to be fit for the future world
How to refresh to be fit for the future worldHow to refresh to be fit for the future world
How to refresh to be fit for the future world
 
The Truth About Dinesh Bafna's Situation.pdf
The Truth About Dinesh Bafna's Situation.pdfThe Truth About Dinesh Bafna's Situation.pdf
The Truth About Dinesh Bafna's Situation.pdf
 
1Q24_EN hyundai capital 1q performance
1Q24_EN   hyundai capital 1q performance1Q24_EN   hyundai capital 1q performance
1Q24_EN hyundai capital 1q performance
 
NFS- Operations Presentation - Recurrent
NFS- Operations Presentation - RecurrentNFS- Operations Presentation - Recurrent
NFS- Operations Presentation - Recurrent
 
hyundai capital 2023 consolidated financial statements
hyundai capital 2023 consolidated financial statementshyundai capital 2023 consolidated financial statements
hyundai capital 2023 consolidated financial statements
 

CYCLE TIME ANALYTICS: RELIABLE #NOESTIMATES FORECASTING USING DATA, TROY MAGENNIS (KEYNOTE) - LKCE13

  • 1. LKCE 2013 – Modern Management Methods Cycle Time Analytics Making decisions using Lead Time and Cycle Time to avoid needing estimates for every story Troy Magennis @t_magennis Slides at bit.ly/agilesim
  • 2. 2 @t_Magennis slides at bit.ly/agilesim
  • 3. Forecasting Myths 1. You need lots of data to forecast False, if we understand 2. the behavior of a domain (cycle time for example) False. Most uncertainty Statistical forecasting requires we can be confident with the is reduced within no mathematics complex initial data samples first few 3. If 3 False. Everything you we havesee today uses nothing no data we can’t more than the + and / statistically forecast operations! Commercial in confidence
  • 4. Q. What is the chance of the 4th sample being between the range seen after the first three samples? Actual Maximum (no duplicates, uniform distribution, picked at random) 2 4 3 1 Actual Minimum @t_Magennis slides at bit.ly/agilesim
  • 5. Q. What is the chance of the 4th sample being between the range seen after the first three samples? Actual Maximum (no duplicates, uniform distribution, picked at random) Highest sample 2 ? ? 4 3 ? 1 ? Lowest sample Actual Minimum @t_Magennis slides at bit.ly/agilesim
  • 6. Q. What is the chance of the 4th sample being between the range seen after the first three samples? Actual Maximum (no duplicates, uniform distribution, picked at random) Highest sample 25% chance higher than highest seen 2 25% lower than highest and higher than second highest 4 3 25% higher than lowest and lower than second lowest 1 Lowest sample Actual Minimum 25% lower than lowest seen @t_Magennis slides at bit.ly/agilesim A. 50% % = (1 - (1 / n – 1)) * 100
  • 7. Q. What is the chance of the 12th sample being between the range seen after the first three samples? Actual Maximum (no duplicates, uniform distribution, picked at random) Highest sample 2 9 5 5% chance higher than highest seen ? 3 12 4 10 6 11 ? 7 1 8 Lowest sample Actual Minimum 5% lower than lowest seen @t_Magennis slides at bit.ly/agilesim A. 90% % = (1 - (1 / n – 1)) * 100
  • 8. # Prior Samples 3 4 5 6 7 8 9 10 11 12 13 15 17 20 Prediction Next Sample Within Prior Sample Range 50% 67% 75% 80% 83% 86% 88% 89% 90% 91% 92% 93% 94% 95% @t_Magennis slides at bit.ly/agilesim
  • 9. Four people arrange a restaurant booking after work Q. What is the chance they arrive on-time to be seated? 9 @t_Magennis slides at bit.ly/agilesim
  • 10. 10 15 TIMES more likely at least on person is late 1 in 16 EVERYONE is ON-TIME Person 1 Person 2 Person 3 Person 4 Commercial in confidence
  • 11. 11
  • 12. Estimating the wrong things and getting a poor result doesn’t mean we shouldn’t estimate at all We just need to estimate things that matter most 13 Commercial in confidence
  • 13. 85% Forecasts are attempts to Change of At Least 2 th August 15answer questions about Teams 2013 future events. They are an estimate with a stated Definitely Greater uncertainty than $1,000,000 17 @t_Magennis slides at bit.ly/agilesim
  • 14. There is NO single forecast result Uncertainty In = Uncertainty Out There will always be many possible results, some more likely and this is the key to proper forecasting @t_Magennis slides at bit.ly/agilesim
  • 15. Likelihood Probabilistic Forecasting combines many uncertain inputs to find many possible outcomes, and what outcomes are more likely than others 50% Possible Outcomes 50% Possible Outcomes Time to Complete Backlog 19 @t_Magennis slides at bit.ly/agilesim
  • 16. Likelihood Did the Obama 2012 Campaign Fund Advertising to Achieve 50% Chance of Re-election? 85% Possible Outcomes 15% Time to Complete Backlog 20 @t_Magennis slides at bit.ly/agilesim
  • 17. Task Uncertainty – Summing Variance 1 2 3 4 Source attribution: Aidan Lyon, Department of Philosophy. University of Maryland, College Park. “Why Normal Distributions Occur” http://aidanlyon.com/sites/default/files/Lyon-normal_distributions.pdf 21 @t_Magennis slides at bit.ly/agilesim
  • 18. Decision Induced Uncertainty Every choice we make changes the outcome Planned / Due Date July Cost of Delay Dev Cost Staff Actual Date August September October Forecast Completion Date 22 @t_Magennis slides at bit.ly/agilesim November December
  • 19. What is modelling and how to use cycle time MODELING AND CYCLE TIME 23
  • 20. A model is a tool used to mimic a real world process Models are tools for low-cost experimentation @t_Magennis slides at bit.ly/agilesim
  • 21. Simple Depth of Forecasting models Linear Projection System Cycle Time Diagnostic Partitioned Cycle Time 26 Simulated process Commercial in confidence
  • 22. Simple Cycle Time Model Amount of Work (# stories) Lead Time or Cycle Time Random Chance / Risk / Stupidity 27 @t_Magennis slides at bit.ly/agilesim Parallel Work in Proc. (WIP)
  • 23. Capturing Cycle Time and WIP Story Start Date Completed Cycle Time Date (days) 1 2 3 1 Jan 2013 5 Jan 2013 5 Jan 2013 15 Jan 2013 12 Jan 2013 4 5 6 7 8 9 28 10 6 Jan 2013 3 Jan 2013 7 Jan 2013 10 Jan 2013 10 Jan 2013 13 Jan 2013 15 Jan 2013 14 Date “Complete” – Date “Started” 7 Jan 2013 18 Feb 2013 22 Jan 2013 18 Jan 2013 26 Jan 2013 Use with attribution
  • 24. Capturing Cycle Time and WIP Story Start Date Completed Cycle Time Date (days) Date 1 Jan 1 2 3 1 Jan 2013 5 Jan 2013 5 Jan 2013 15 Jan 2013 12 Jan 2013 3 Jan 4 Jan 5 Jan 4 5 6 7 8 9 29 10 6 Jan 2013 3 Jan 2013 7 Jan 2013 10 Jan 2013 10 Jan 2013 13 Jan 2013 15 Jan 2013 7 Jan 2013 18 Feb 2013 22 Jan 2013 6 Jan 7 Jan 8 Jan 9 Jan 10 Jan … 15 Jan WIP 5 Count of Started, but 26 Jan 2013 Not completed work 18 Jan 2013 Use with attribution
  • 25. Capturing Cycle Time and WIP Story Start Date Completed Cycle Time Date (days) Date 1 Jan WIP 1 1 2 3 1 Jan 2013 5 Jan 2013 5 Jan 2013 15 Jan 2013 12 Jan 2013 3 Jan 4 Jan 5 Jan 2 2 3 4 5 6 7 8 9 30 10 6 Jan 2013 3 Jan 2013 7 Jan 2013 10 Jan 2013 10 Jan 2013 13 Jan 2013 15 Jan 2013 6 Jan 7 Jan 8 Jan 9 Jan 10 Jan … 15 Jan 4 5 5 5 7 … 7 14 7 7 Jan 2013 18 Feb 2013 22 Jan 2013 4 42 12 18 Jan 2013 8 26 Jan 2013 13 Use with attribution
  • 26. 31 Trial 1 Trial 2 Trial 100 9 13 13 5 Sum: 51 1 4 7 5 11 28 … 35 19 5 13 11 83 11 Fancy term for turning a small set of samples into a larger set: Bootstrapping Use with attribution By repetitively sample we build trial hypothetical “project” completions
  • 27. Sum Random Numbers Historical Story Cycle Time Trend 25 11 29 43 34 26 31 45 22 27 More often Less often Sum: 31 43 65 45 8 7 34 73 54 48 295 410 ….. Basic Cycle Time Forecast Monte Carlo Process 1. Gather historical story lead-times 2. Build a set of random numbers based on pattern 3. Sum a random number for each remaining story to build a potential outcome 4. Repeat many times to find the likelihood (odds) to build a pattern of likelihood outcomes Days To Complete 19 12 24 27 21 3 9 20 23 29 187
  • 28. 1. Historical Cycle Time Monte Carlo Analysis = Process to Combine Multiple Uncertain Measurements / Estimates 6. Phases 2. Planned Resources/ WIP 4. Historical Scope Creep Rate 3. The Work (Backlog) Backlog Feature 1 Feature 2 Feature 3 (optional) 34 5. Historical Defect Rate and Cycle Times (optional) @t_Magennis slides at bit.ly/agilesim
  • 30. 36 @t_Magennis slides at bit.ly/agilesim
  • 31. Y-Axis: Number of Completed Stories Project Complete Likelihood Range of complete stories probability 0 to 50% X-Axis: Date 37 @t_Magennis slides at bit.ly/agilesim 50 to 75% > 75%
  • 32. How certain based on model forecast Further calculations to make economic tradeoffs 38 Commercial in confidence
  • 33. What is 10% Cycle Time Reduction Worth? Baseline Staff Cost Cost of Delay Total Cost €912.000 + €190.000 = €1.102.000 Experiment: 10% Cycle Time Reduction Staff Cost Cost of Delay Total Cost €883.200 + €177.419 = €1.060.619 Opportunity: €41.381 39
  • 34. 1. Historical Cycle Time Design Develop Test Design Develop A Process to Combine Multiple Uncertain Measurements / Estimates is Needed Test 2. Planned Resources/ Effort 4. Historical Scope Creep Rate 3. The Work (Backlog) Backlog Feature 1 Feature 2 Feature 3 (optional) 40 5. Historical Defect Rate & Cycle Times (optional)
  • 35. What is One Designer Worth? Baseline Staff Cost Cost of Delay Total Cost €912.000 + €190.000 = €1.102.000 Experiment: + 1 Designer Staff Cost Cost of Delay Total Cost €610.400 + €5.000 = €615.400 Opportunity: €486.600 41
  • 37. When you have historical data 1. Model Baseline using historically known truths The Past 2. Test Model against historically known truths 3. Forecast The Future
  • 38. Compare Model vs Actual Often Range of complete probability Actual results to compare if model is predictable 45 @t_Magennis slides at bit.ly/agilesim
  • 39. When you have no historical data The Future @t_Magennis slides at bit.ly/agilesim
  • 40. If we understand how cycle time is statistically distributed, then an initial guess of maximum allows an accurate inference to be made Alternatives • Borrow a similar project’s data • Borrow industry data • Fake it until you make it… (AKA guess range) 49 @t_Magennis slides at bit.ly/agilesim
  • 41. Probability Density Function 1997: Industrial Strength Software 2002: Metrics and Models in by Lawrence H. Software Quality Engineering (2nd Edition) [Hardcover] Putnam , IEEE , Ware Myers Stephen H. Kan (Author) 0.32 0.28 0.24 0.2 0.16 0.12 0.08 0.04 0 -10 0 10 20 30 40 50 60 70 80 x Histogram 50 Gamma (3P) Lognormal Rayleigh @t_Magennis slides at bit.ly/agilesim Weibull 90 100 110 120 1
  • 42. Waterfall Weibull Shape Parameter = 2 AKA Rayleigh 51 Commercial in confidence
  • 43. Agile / Lean / Kanban Weibull Shape Parameter = 1.5 52 Commercial in confidence
  • 44. Typical Operations / Release Weibull Shape Parameter = 1 AKA Exponential 53 Commercial in confidence
  • 45. Shape – How Fat the distribution. 1.5 is a good starting point. Probability Density Function 0.28 0.24 f(x) 0.2 Scale – How Wide in Range. Related to the Upper Bound. *Rough* Guess: (High – Low) / 4 Location – The Lower Bound 0.16 0.12 0.08 0.04 0 0 10 20 30 40 50 60 70 x Histogram 54 Weibull @t_Magennis slides at bit.ly/agilesim 80 90 100 110 120
  • 46. What Distribution To Use... • No Data at All, or Less than < 11 Samples (why 11?) – Uniform Range with Boundaries Guessed (safest) – Weibull Range with Boundaries Guessed (likely) • 11 to 30 Samples – Uniform Range with Boundaries at 5th and 95th CI – Weibull Range with Boundaries at 5th and 95th CI • More than 30 Samples – Use historical data as bootstrap reference – Curve Fitting software 55 @t_Magennis slides at bit.ly/agilesim
  • 47. Questions… • Download the slides (soon) and software at http://bit.ly/agilesim • Contact me – Email: troy.Magennis@focusedobjective.com – Twitter: @t_Magennis • Read: 56

Notes de l'éditeur

  1. The key takeaway is that there is NEVER a single result from a process that takes multiple steps which have uncertainty and joins them together. Its not possible. There will always be a continuum of unlikely and more likely results.
  2. Models are tools for experimentation. They mimic a real world process or calculation and help you determine what the result might be given a set of input conditions. We normally get one chance to complete a software project, but using a model, we get to determine what the result might be given what we know today, and compare that with ideas we have for improvement.