SlideShare uma empresa Scribd logo
1 de 19
Baixar para ler offline
+
Managing in the Presence of Uncertainty requires
making decision with Models of that Uncertainty
Monte Carlo Simulation and some related approaches can be the basis of making informed decisions
in the presence of Uncertainty
MONTE CARLO
SIMULATION AND
ESTIMATING
TRADITIONAL AND
AGILE DEVELOPMENT
V1.0 Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017
+ The Motivation for Monte Carlo
Simulation
Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017
2
A rough translation of the planning algorithm
from Aristotle’s De Moti Animalium, c. 400 BC
But how does it happen that thinking is
sometimes accompanied by action and
sometimes not, sometimes by motion, and
sometimes not?
It looks as if almost the same thing happens as
in the case of reasoning and making inferences
about unchanging objects.
But in that case the end is a speculative
proposition ... whereas here the conclusion
which results from the two premises is an
action. ... I need covering; a cloak is a
covering. I need a cloak. What I need, I have to
make; I need a cloak. I have to make a cloak.
And the conclusion, the “I have to make a
cloak,” is an action.
Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017 3
Uncertainties are
things we can not be
certain about.
Uncertainty is created
by our incomplete
knowledge ‒ not by
our ignorance
And
By the naturally
occurring variances
in the underlying
processes of nature
Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017 4
“Am I to understand that my estimate
is greeted by some skepticism?”
+ Some Words about Uncertainty
n When we say uncertainty, we speak about a future state of an system
that is not fixed or determined.
n Uncertainty is related to three aspects in our program management
domain:
n The external world – the activities of the program
n Our knowledge of this world – the planned and actual behaviors of the
program
n Our perception of this world – the data and information we receive about
these behaviors
n Managing in the presence of uncertainty is part of each success factor
n What does Done Look Like?
n What’s the Plan to reach Done
n What resources do we need to reach Done?
n What are the Impediments to reaching Done?
n How are we measuring progress to plan toward Done?
Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017
5
+ Taxonomy of Uncertainty
Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017
6
Uncertainty
Irreducible
(Aleatory)
Reducible
(Epistemic)
Natural Variability
Ambiguity
Ontological
Uncertainty
Probabilistic Events
Probabilistic
Impacts
Periods of Exposure
+ Aleatory & Epistemic Uncertainty
n Aleatory Pertaining to stochastic (non-deterministic) events, the
outcome of which is described using probability.
n From the Latin alea
n For example in a game of chance stochastic variability's are the natural
randomness of the process and are characterized by a probability density
function (PDF) for their range and frequency
n Since these variability's are natural they are therefore irreducible.
n Epistemic (subjective or probabilistic) uncertainties are event based
probabilities, are knowledge-based, and are reducible by further
gathering of knowledge.
n Pertaining to the degree of knowledge about models and their parameters.
n From the Greek episteme (knowledge).
Separating these classes helps in design of assessment calculations and
in presentation of results for the integrated program risk assessment.
Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017
7
+ 3 Conditions of Aleatory
Uncertainty
n An aleatory model contains a single unknown parameter.
n Duration
n Cost
n The prior information for this parameter is homogeneous and is
known with certainty.
n Reference Classes
n Past Performance
n The observed data are homogeneous and are known with certainty.
n A set of information that is made up of similar constituents.
n A homogeneous population is one in which each item is of the same type.
Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017
8
+ Measurement Uncertainty
n Precision – how small is the variance of the estimates
n Accuracy – how close is the estimate to the actual values
n Bias – what impacts on precision and accuracy come from the
human judgments (or misjudgments)
Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017
9
­ Accuracy
­ Precision
­ Accuracy
¯ Precision
¯ Accuracy
­ Precision
¯ Accuracy
¯ Precision
+ Precision and Accuracy
n Credible estimates of program variables require both Accuracy and
Precision
Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017
10
+ Cost Probability Distributions
Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017
11
$
Cost Driver (Weight)
Cost = a + bXc
Cost
Estimate
Historical data point
Cost estimating relationship
Standard percent error boundsTechnical Uncertainty
Combined Cost
Modeling and
Technical Uncertainty
Cost Modeling
Uncertainty
† NRO Cost Group Risk Process,Tim Anderson,The Aerospace Corporation, 2003
+
Monte Carlo
Simulation in the
Presence of
Uncertainty
George Louis Leclerc, Comte
de Buffon, asked what was
the probability that the
needle would fall across one
of the lines, marked here in
green.That outcome will
occur only if
𝐴 < 𝑙 sin 𝜃
Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017
12
+ Monte Carlo Simulation Provides one
Solution the Estimating Problem
n Yes, Monte Carlo is named after the
country full of casinos located on the
French Rivera
n Advantages of Monte Carlo
n Examines all possible states of a
variable, not just the Mean and Variance
n Provides an accurate (true) estimate of
completion
n Overall duration distribution
n Confidence interval (accuracy range)
Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017
13
n Sensitivity analysis of interacting tasks
n Varied activity distribution types
n Dependency logic can include both probabilistic and conditional
n When resource loaded plans are used – provides integrated cost and
schedule probabilistic model
+ The Monte Carol Methods Starts in
WWII History
n Any method which solves a
problem by generating suitable
random numbers and observing
that fraction of the numbers
obeying some property.
n The Monte Carlo method provides
approximate solutions to a variety
of mathematical problems by
performing statistical sampling
experiments on a computer.
Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017
14
n The method applies to problems with no probabilistic content as well as
to those with inherent probabilistic structure.
n The method is named after the city of Monte Carlo in the principality of
Monaco, because of a roulette, a simple random number generator.The
name and the systematic development of Monte Carlo methods dates
from about 1944 and the Manhattan project.
+ Monte Carlo Simulation Tools
n @Risk – we use this on our programs
n http://www.palisade.com/risk/
n Risk Amp – an embedded Excel MCS simulator, used for cost modeling
n https://www.riskamp.com/
n Risky Project ‒ a MCS for cost and schedule using MSFT Project on our
programs
n http://intaver.com/
n MonteCarlito – haven’t used
n http://www.montecarlito.com/
n SimTools – haven’t used
n http://home.uchicago.edu/~rmyerson/addins.htm
n Monte Carlo Simulation Tutorial
n http://excelmontecarlo.com/
Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017
15
+ Monte Carlo Simulation Tools
n SimulAr – haven’t used
n http://www.simularsoft.com.ar/SimulAr1e.htm
n Barnecana – popular in our domain
n https://www.barbecana.com/
n Monte Carlo Simulation tool for JIRA – interesting plug in
n https://agilemontecarlo.com/
n Guesstimate – used for quick assessment of cost model
n https://www.getguesstimate.com/
Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017
16
+ References
n Cost Risk Analysis Made Simple
n https://www.aceit.com/docs/default-source/white-papers/cost-risk-
analysis-made-simple-(aiaa-sep-2004).pdf
n An Implementation of the Lurie-Goldberg Algorithm in Schedule Risk Analysis
n http://www.slideserve.com/Olivia/an-implementation-of-the-lurie-
goldberg-algorithm-in-schedule-risk-analysis
n The Beginning of the Monte Carlo Method
n http://library.lanl.gov/cgi-bin/getfile?00326866.pdf
n The Basics of Monte Carlo Simulation
n http://www.risksig.com/members/present/2001/21023.pdf
n “The Mother of All Guesses: A User Friendly Guide to Statistical
Estimation,” Francois Melese and David Rose, Armed Forces Comptroller,
1998
n http://www.nps.navy.mil/drmi/graphics/StatGuide–web.pdf
Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017
17
+ References
n Anchoring and Adjustment in Software Estimation
n http://www.cs.toronto.edu/~sme/papers/2005/ESEC-FSE-05-Aranda.pdf
n Managing in the Presence of Uncertainty
n https://www.slideshare.net/galleman/managing-in-the-presence-of-
uncertainty
n How to reduce Agile Risk with Monte Carlo Simulation
n https://blog.versionone.com/how-to-reduce-agile-risk-with-monte-carlo-
simulation/
n Agile project forecasting using Monte Carlo Simulation
n http://scrumage.com/blog/2015/09/agile-project-forecasting-the-monte-
carlo-method/
Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017
18
+ References
n Effort Estimation in Agile Software Software Development: A Systematic
Literature Review
n https://www.diva-portal.org/smash/get/diva2:881296/FULLTEXT01.pdf
n Monte Carlo Basics
n https://arxiv.org/pdf/cond-mat/0104215.pdf
n Focused Objectives has many papers and a book
n http://focusedobjective.com/forecast_agile_project_spreadsheet/
n Monte Carlo Simulation in Agile Project Estimation
n https://www.academia.edu/8939341/Monte-
Carlo_Simulation_in_Agile_Project_Estimation_Forecasting_Schedule_an
d_Required_Velocity (log in may be required)
Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017
19

Mais conteúdo relacionado

Mais procurados

Complete Business Frameworks Reference Guide
Complete Business Frameworks Reference GuideComplete Business Frameworks Reference Guide
Complete Business Frameworks Reference Guide
Flevy.com Best Practices
 

Mais procurados (20)

Value Stream Mapping Workshop
Value Stream Mapping WorkshopValue Stream Mapping Workshop
Value Stream Mapping Workshop
 
Accenture Cloud Platform: Control, Manage and Govern the Enterprise Cloud
Accenture Cloud Platform: Control, Manage and Govern the Enterprise CloudAccenture Cloud Platform: Control, Manage and Govern the Enterprise Cloud
Accenture Cloud Platform: Control, Manage and Govern the Enterprise Cloud
 
Gestión Lean de Portafolios de Empresariales - Guía de Implementación
Gestión Lean de Portafolios de Empresariales - Guía de ImplementaciónGestión Lean de Portafolios de Empresariales - Guía de Implementación
Gestión Lean de Portafolios de Empresariales - Guía de Implementación
 
Growing up with agile - how the Spotify 'model' has evolved
Growing up with agile - how the Spotify 'model' has evolved Growing up with agile - how the Spotify 'model' has evolved
Growing up with agile - how the Spotify 'model' has evolved
 
Introduction to scaled agile framework
Introduction to scaled agile frameworkIntroduction to scaled agile framework
Introduction to scaled agile framework
 
Agile estimation
Agile estimationAgile estimation
Agile estimation
 
The Evolution of the Business Model Concept
 The Evolution of the Business Model Concept The Evolution of the Business Model Concept
The Evolution of the Business Model Concept
 
Portfolio product management - Trang Nguyen
Portfolio product management - Trang NguyenPortfolio product management - Trang Nguyen
Portfolio product management - Trang Nguyen
 
Sales as a Science
Sales as a ScienceSales as a Science
Sales as a Science
 
Implementing Effective Enterprise Architecture
Implementing Effective Enterprise ArchitectureImplementing Effective Enterprise Architecture
Implementing Effective Enterprise Architecture
 
Usando o Agile Coaching Competency Framework para evoluir na carreira de Agil...
Usando o Agile Coaching Competency Framework para evoluir na carreira de Agil...Usando o Agile Coaching Competency Framework para evoluir na carreira de Agil...
Usando o Agile Coaching Competency Framework para evoluir na carreira de Agil...
 
CGD2019 - Sessió: "Contractació pública a la Generalitat de Catalunya: un pro...
CGD2019 - Sessió: "Contractació pública a la Generalitat de Catalunya: un pro...CGD2019 - Sessió: "Contractació pública a la Generalitat de Catalunya: un pro...
CGD2019 - Sessió: "Contractació pública a la Generalitat de Catalunya: un pro...
 
Complete Business Frameworks Reference Guide
Complete Business Frameworks Reference GuideComplete Business Frameworks Reference Guide
Complete Business Frameworks Reference Guide
 
Lean Startup
Lean StartupLean Startup
Lean Startup
 
From KPIs to dashboards
From KPIs to dashboardsFrom KPIs to dashboards
From KPIs to dashboards
 
IT M&A I Best Practices I NuggetHub
IT M&A I Best Practices I NuggetHubIT M&A I Best Practices I NuggetHub
IT M&A I Best Practices I NuggetHub
 
Roger Martin. Playing to Win - How to make strategy work
Roger Martin. Playing to Win - How to make strategy workRoger Martin. Playing to Win - How to make strategy work
Roger Martin. Playing to Win - How to make strategy work
 
The Optimal Marketing Agenda at Sales Kickoff
The Optimal Marketing Agenda at Sales KickoffThe Optimal Marketing Agenda at Sales Kickoff
The Optimal Marketing Agenda at Sales Kickoff
 
Communicating the Value of IT with a Standard Model
Communicating the Value of IT with a Standard ModelCommunicating the Value of IT with a Standard Model
Communicating the Value of IT with a Standard Model
 
Gartner's ITScore for BPM Maturity
Gartner's ITScore for BPM MaturityGartner's ITScore for BPM Maturity
Gartner's ITScore for BPM Maturity
 

Semelhante a Monte Carlo Simulation for Agile Development

Applying the PERT Technique_UNIT III.pptx
Applying the PERT Technique_UNIT III.pptxApplying the PERT Technique_UNIT III.pptx
Applying the PERT Technique_UNIT III.pptx
sherrilsiddhardh
 

Semelhante a Monte Carlo Simulation for Agile Development (20)

Managing in the Presence of Uncertanty
Managing in the Presence of UncertantyManaging in the Presence of Uncertanty
Managing in the Presence of Uncertanty
 
Risk adjusted engineering management
Risk adjusted engineering managementRisk adjusted engineering management
Risk adjusted engineering management
 
Project (agile) estimates using Monte Carlo Simulations
Project (agile) estimates using Monte Carlo SimulationsProject (agile) estimates using Monte Carlo Simulations
Project (agile) estimates using Monte Carlo Simulations
 
12.0 risk management agile+evm (v10.2)
12.0 risk management agile+evm (v10.2)12.0 risk management agile+evm (v10.2)
12.0 risk management agile+evm (v10.2)
 
Parametric project metrics
Parametric project metricsParametric project metrics
Parametric project metrics
 
Forecasting cost and schedule performance
Forecasting cost and schedule performanceForecasting cost and schedule performance
Forecasting cost and schedule performance
 
Xavier Conort, DataScience SG Meetup - Challenges in insurance pricing
Xavier Conort, DataScience SG Meetup - Challenges in insurance pricingXavier Conort, DataScience SG Meetup - Challenges in insurance pricing
Xavier Conort, DataScience SG Meetup - Challenges in insurance pricing
 
Applying the PERT Technique_UNIT III.pptx
Applying the PERT Technique_UNIT III.pptxApplying the PERT Technique_UNIT III.pptx
Applying the PERT Technique_UNIT III.pptx
 
Using AI led assurance to deliver projects on time and on budget - D. Amratia...
Using AI led assurance to deliver projects on time and on budget - D. Amratia...Using AI led assurance to deliver projects on time and on budget - D. Amratia...
Using AI led assurance to deliver projects on time and on budget - D. Amratia...
 
Trust as a Proxy Measure for the Quality of VGI in the Case of OSM
Trust  as a Proxy Measure for the Quality of VGI in the Case of OSMTrust  as a Proxy Measure for the Quality of VGI in the Case of OSM
Trust as a Proxy Measure for the Quality of VGI in the Case of OSM
 
Cost estimation
Cost estimationCost estimation
Cost estimation
 
Safe, Reliable, Available, High‒Integrity, and Fault Tolerant Embedded Softwa...
Safe, Reliable, Available, High‒Integrity, and Fault Tolerant Embedded Softwa...Safe, Reliable, Available, High‒Integrity, and Fault Tolerant Embedded Softwa...
Safe, Reliable, Available, High‒Integrity, and Fault Tolerant Embedded Softwa...
 
EVM+Agile the darkside
EVM+Agile the darksideEVM+Agile the darkside
EVM+Agile the darkside
 
Cms Solution 07162010
Cms Solution 07162010Cms Solution 07162010
Cms Solution 07162010
 
Adam Suchley - Predictive Delivery Assurance - APM Assurance SIG Conference 2018
Adam Suchley - Predictive Delivery Assurance - APM Assurance SIG Conference 2018Adam Suchley - Predictive Delivery Assurance - APM Assurance SIG Conference 2018
Adam Suchley - Predictive Delivery Assurance - APM Assurance SIG Conference 2018
 
Evm+agile (8.8).chapter 9
Evm+agile (8.8).chapter 9Evm+agile (8.8).chapter 9
Evm+agile (8.8).chapter 9
 
Integrating cost, schedule, and technical performance
Integrating cost, schedule, and technical performanceIntegrating cost, schedule, and technical performance
Integrating cost, schedule, and technical performance
 
Cms solution 08072010
Cms solution 08072010Cms solution 08072010
Cms solution 08072010
 
Terry Johns: Uncertainty - understanding the impact and the importance of rec...
Terry Johns: Uncertainty - understanding the impact and the importance of rec...Terry Johns: Uncertainty - understanding the impact and the importance of rec...
Terry Johns: Uncertainty - understanding the impact and the importance of rec...
 
Integrating risk with earned value
Integrating risk with earned valueIntegrating risk with earned value
Integrating risk with earned value
 

Mais de Glen Alleman

Mais de Glen Alleman (20)

Managing risk with deliverables planning
Managing risk with deliverables planningManaging risk with deliverables planning
Managing risk with deliverables planning
 
A Gentle Introduction to the IMP/IMS
A Gentle Introduction to the IMP/IMSA Gentle Introduction to the IMP/IMS
A Gentle Introduction to the IMP/IMS
 
Increasing the Probability of Project Success
Increasing the Probability of Project SuccessIncreasing the Probability of Project Success
Increasing the Probability of Project Success
 
Process Flow and Narrative for Agile+PPM
Process Flow and Narrative for Agile+PPMProcess Flow and Narrative for Agile+PPM
Process Flow and Narrative for Agile+PPM
 
Practices of risk management
Practices of risk managementPractices of risk management
Practices of risk management
 
Principles of Risk Management
Principles of Risk ManagementPrinciples of Risk Management
Principles of Risk Management
 
Deliverables Based Planning, PMBOK® and 5 Immutable Principles of Project Suc...
Deliverables Based Planning, PMBOK® and 5 Immutable Principles of Project Suc...Deliverables Based Planning, PMBOK® and 5 Immutable Principles of Project Suc...
Deliverables Based Planning, PMBOK® and 5 Immutable Principles of Project Suc...
 
From Principles to Strategies for Systems Engineering
From Principles to Strategies for Systems EngineeringFrom Principles to Strategies for Systems Engineering
From Principles to Strategies for Systems Engineering
 
NAVAIR Integrated Master Schedule Guide guide
NAVAIR Integrated Master Schedule Guide guideNAVAIR Integrated Master Schedule Guide guide
NAVAIR Integrated Master Schedule Guide guide
 
Building a Credible Performance Measurement Baseline
Building a Credible Performance Measurement BaselineBuilding a Credible Performance Measurement Baseline
Building a Credible Performance Measurement Baseline
 
Integrated master plan methodology (v2)
Integrated master plan methodology (v2)Integrated master plan methodology (v2)
Integrated master plan methodology (v2)
 
IMP / IMS Step by Step
IMP / IMS Step by StepIMP / IMS Step by Step
IMP / IMS Step by Step
 
DHS - Using functions points to estimate agile development programs (v2)
DHS - Using functions points to estimate agile development programs (v2)DHS - Using functions points to estimate agile development programs (v2)
DHS - Using functions points to estimate agile development programs (v2)
 
Making the impossible possible
Making the impossible possibleMaking the impossible possible
Making the impossible possible
 
Heliotropic Abundance
Heliotropic AbundanceHeliotropic Abundance
Heliotropic Abundance
 
Capabilities based planning
Capabilities based planningCapabilities based planning
Capabilities based planning
 
Process Flow and Narrative for Agile
Process Flow and Narrative for AgileProcess Flow and Narrative for Agile
Process Flow and Narrative for Agile
 
Building the Performance Measurement Baseline
Building the Performance Measurement BaselineBuilding the Performance Measurement Baseline
Building the Performance Measurement Baseline
 
Program Management Office Lean Software Development and Six Sigma
Program Management Office Lean Software Development and Six SigmaProgram Management Office Lean Software Development and Six Sigma
Program Management Office Lean Software Development and Six Sigma
 
Policy and Procedure Rollout
Policy and Procedure RolloutPolicy and Procedure Rollout
Policy and Procedure Rollout
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

Monte Carlo Simulation for Agile Development

  • 1. + Managing in the Presence of Uncertainty requires making decision with Models of that Uncertainty Monte Carlo Simulation and some related approaches can be the basis of making informed decisions in the presence of Uncertainty MONTE CARLO SIMULATION AND ESTIMATING TRADITIONAL AND AGILE DEVELOPMENT V1.0 Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017
  • 2. + The Motivation for Monte Carlo Simulation Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017 2 A rough translation of the planning algorithm from Aristotle’s De Moti Animalium, c. 400 BC But how does it happen that thinking is sometimes accompanied by action and sometimes not, sometimes by motion, and sometimes not? It looks as if almost the same thing happens as in the case of reasoning and making inferences about unchanging objects. But in that case the end is a speculative proposition ... whereas here the conclusion which results from the two premises is an action. ... I need covering; a cloak is a covering. I need a cloak. What I need, I have to make; I need a cloak. I have to make a cloak. And the conclusion, the “I have to make a cloak,” is an action.
  • 3. Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017 3 Uncertainties are things we can not be certain about. Uncertainty is created by our incomplete knowledge ‒ not by our ignorance And By the naturally occurring variances in the underlying processes of nature
  • 4. Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017 4 “Am I to understand that my estimate is greeted by some skepticism?”
  • 5. + Some Words about Uncertainty n When we say uncertainty, we speak about a future state of an system that is not fixed or determined. n Uncertainty is related to three aspects in our program management domain: n The external world – the activities of the program n Our knowledge of this world – the planned and actual behaviors of the program n Our perception of this world – the data and information we receive about these behaviors n Managing in the presence of uncertainty is part of each success factor n What does Done Look Like? n What’s the Plan to reach Done n What resources do we need to reach Done? n What are the Impediments to reaching Done? n How are we measuring progress to plan toward Done? Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017 5
  • 6. + Taxonomy of Uncertainty Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017 6 Uncertainty Irreducible (Aleatory) Reducible (Epistemic) Natural Variability Ambiguity Ontological Uncertainty Probabilistic Events Probabilistic Impacts Periods of Exposure
  • 7. + Aleatory & Epistemic Uncertainty n Aleatory Pertaining to stochastic (non-deterministic) events, the outcome of which is described using probability. n From the Latin alea n For example in a game of chance stochastic variability's are the natural randomness of the process and are characterized by a probability density function (PDF) for their range and frequency n Since these variability's are natural they are therefore irreducible. n Epistemic (subjective or probabilistic) uncertainties are event based probabilities, are knowledge-based, and are reducible by further gathering of knowledge. n Pertaining to the degree of knowledge about models and their parameters. n From the Greek episteme (knowledge). Separating these classes helps in design of assessment calculations and in presentation of results for the integrated program risk assessment. Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017 7
  • 8. + 3 Conditions of Aleatory Uncertainty n An aleatory model contains a single unknown parameter. n Duration n Cost n The prior information for this parameter is homogeneous and is known with certainty. n Reference Classes n Past Performance n The observed data are homogeneous and are known with certainty. n A set of information that is made up of similar constituents. n A homogeneous population is one in which each item is of the same type. Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017 8
  • 9. + Measurement Uncertainty n Precision – how small is the variance of the estimates n Accuracy – how close is the estimate to the actual values n Bias – what impacts on precision and accuracy come from the human judgments (or misjudgments) Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017 9 ­ Accuracy ­ Precision ­ Accuracy ¯ Precision ¯ Accuracy ­ Precision ¯ Accuracy ¯ Precision
  • 10. + Precision and Accuracy n Credible estimates of program variables require both Accuracy and Precision Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017 10
  • 11. + Cost Probability Distributions Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017 11 $ Cost Driver (Weight) Cost = a + bXc Cost Estimate Historical data point Cost estimating relationship Standard percent error boundsTechnical Uncertainty Combined Cost Modeling and Technical Uncertainty Cost Modeling Uncertainty † NRO Cost Group Risk Process,Tim Anderson,The Aerospace Corporation, 2003
  • 12. + Monte Carlo Simulation in the Presence of Uncertainty George Louis Leclerc, Comte de Buffon, asked what was the probability that the needle would fall across one of the lines, marked here in green.That outcome will occur only if 𝐴 < 𝑙 sin 𝜃 Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017 12
  • 13. + Monte Carlo Simulation Provides one Solution the Estimating Problem n Yes, Monte Carlo is named after the country full of casinos located on the French Rivera n Advantages of Monte Carlo n Examines all possible states of a variable, not just the Mean and Variance n Provides an accurate (true) estimate of completion n Overall duration distribution n Confidence interval (accuracy range) Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017 13 n Sensitivity analysis of interacting tasks n Varied activity distribution types n Dependency logic can include both probabilistic and conditional n When resource loaded plans are used – provides integrated cost and schedule probabilistic model
  • 14. + The Monte Carol Methods Starts in WWII History n Any method which solves a problem by generating suitable random numbers and observing that fraction of the numbers obeying some property. n The Monte Carlo method provides approximate solutions to a variety of mathematical problems by performing statistical sampling experiments on a computer. Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017 14 n The method applies to problems with no probabilistic content as well as to those with inherent probabilistic structure. n The method is named after the city of Monte Carlo in the principality of Monaco, because of a roulette, a simple random number generator.The name and the systematic development of Monte Carlo methods dates from about 1944 and the Manhattan project.
  • 15. + Monte Carlo Simulation Tools n @Risk – we use this on our programs n http://www.palisade.com/risk/ n Risk Amp – an embedded Excel MCS simulator, used for cost modeling n https://www.riskamp.com/ n Risky Project ‒ a MCS for cost and schedule using MSFT Project on our programs n http://intaver.com/ n MonteCarlito – haven’t used n http://www.montecarlito.com/ n SimTools – haven’t used n http://home.uchicago.edu/~rmyerson/addins.htm n Monte Carlo Simulation Tutorial n http://excelmontecarlo.com/ Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017 15
  • 16. + Monte Carlo Simulation Tools n SimulAr – haven’t used n http://www.simularsoft.com.ar/SimulAr1e.htm n Barnecana – popular in our domain n https://www.barbecana.com/ n Monte Carlo Simulation tool for JIRA – interesting plug in n https://agilemontecarlo.com/ n Guesstimate – used for quick assessment of cost model n https://www.getguesstimate.com/ Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017 16
  • 17. + References n Cost Risk Analysis Made Simple n https://www.aceit.com/docs/default-source/white-papers/cost-risk- analysis-made-simple-(aiaa-sep-2004).pdf n An Implementation of the Lurie-Goldberg Algorithm in Schedule Risk Analysis n http://www.slideserve.com/Olivia/an-implementation-of-the-lurie- goldberg-algorithm-in-schedule-risk-analysis n The Beginning of the Monte Carlo Method n http://library.lanl.gov/cgi-bin/getfile?00326866.pdf n The Basics of Monte Carlo Simulation n http://www.risksig.com/members/present/2001/21023.pdf n “The Mother of All Guesses: A User Friendly Guide to Statistical Estimation,” Francois Melese and David Rose, Armed Forces Comptroller, 1998 n http://www.nps.navy.mil/drmi/graphics/StatGuide–web.pdf Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017 17
  • 18. + References n Anchoring and Adjustment in Software Estimation n http://www.cs.toronto.edu/~sme/papers/2005/ESEC-FSE-05-Aranda.pdf n Managing in the Presence of Uncertainty n https://www.slideshare.net/galleman/managing-in-the-presence-of- uncertainty n How to reduce Agile Risk with Monte Carlo Simulation n https://blog.versionone.com/how-to-reduce-agile-risk-with-monte-carlo- simulation/ n Agile project forecasting using Monte Carlo Simulation n http://scrumage.com/blog/2015/09/agile-project-forecasting-the-monte- carlo-method/ Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017 18
  • 19. + References n Effort Estimation in Agile Software Software Development: A Systematic Literature Review n https://www.diva-portal.org/smash/get/diva2:881296/FULLTEXT01.pdf n Monte Carlo Basics n https://arxiv.org/pdf/cond-mat/0104215.pdf n Focused Objectives has many papers and a book n http://focusedobjective.com/forecast_agile_project_spreadsheet/ n Monte Carlo Simulation in Agile Project Estimation n https://www.academia.edu/8939341/Monte- Carlo_Simulation_in_Agile_Project_Estimation_Forecasting_Schedule_an d_Required_Velocity (log in may be required) Performance–Based Project Management®, Copyright © Glen B. Alleman, 2002 ― 2017 19