SlideShare a Scribd company logo
1 of 79
Download to read offline
Modeling, Simulation & Data
Mining: Answering Tough Cost, Date
    & Staff Forecasts Questions
   Troy Magennis (Focused Objective)
        Larry Maccherone (Rally)
Pain Point
My Boss
“Needs”
A Date…
Getting
Quantitative
 Evidence
Assessing &
 Communicating
Risk / Uncertainty
My Mission


 Arm my teams (and yours)
with the tools and techniques
   to solve these problems
2 Minutes About Larry
• Larry is a Pisces who enjoys skiing, reading
  and wine (red, or white in outdoor setting)
• We have a lot in common… over to Larry!
Metrics &
Measurement
Why measure?
    Feedback

   Diagnostics

   Forecasting

     Lever
When to NOT take a shot
Good players?
• Monta Ellis
  – 9th highest scorer (8th
    last season)
• Carmelo Anthony
  (Melo)
  – 8th highest scorer (3rd
    last season)
The ODIM Framework

better Measurement

  better Insight

    better Decisions

       better Outcomes
What is normal?




Cumulative -> 0.1%   2.3%   15.9%   50.0%   84.1%   97.7%   99.9%
Roughly ->                                  85%     98%
Are you normal?
You will be wrong by…
• 3x-10x when assuming Normal distribution
• 2.5x-5x when assuming Poisson distribution
• 7x-20x if you use Shewhart’s method

           Heavy tail phenomena are not
       incomprehensible… but they cannot be
     understood with traditional statistical tools.
     Using the wrong tools is incomprehensible.
              ~ Roger Cooke and Daan Nieboer
Bad application of control chart
    Control is an illusion, you infantile
egomaniac. Nobody knows what's gonna
 happen next: not on a freeway, not in an
 airplane, not inside our own bodies and
certainly not on a racetrack with 40 other
           infantile egomaniacs.
            ~Days of Thunder
Time in Process (TIP) Chart
A good alternative to control chart
Collection
• Perceived cost
  is high
• Little need for
  explicit collection
  activities
• Use a 1-question NPS survey for customer and
  employee satisfaction
• Plenty to learn in passive data from ALM and
  other tools
• How you use the tools will drive your use of
  metrics from them
Summary of how to make good
           metric choices
• Start with outcomes and
  use ODIM to make metrics         Data visualization is like
  choices.                         photography. Impact is a
• Make sure your metrics are        function of perspective,
   balanced so you don’t            illumination, and focus.
  over-emphasize one at the            ~Larry Maccherone
  cost of others.
• Be careful in your analysis. The TIP chart is a good
  alternative to control chart. Troy’s approach is excellent
  for forecasting. We’ve shown that there are many out
  there that are not so good.
• Consider collection costs. Get maximal value out of
  passively gathered data.
Flaw of Averages, Risk
  & Monte Carlo Sim
A model is a tool
 used to mimic a
real world process
  A tool for low-cost
   experimentation
Monte Carlo Simulation?
Performing a simulation of a
 model multiple times using
random input conditions and
 recording the frequency of
   each result occurrence
Scrum
                                        Run   Sim Total
Backlog     This Iteration   Deployed         Iterations
                                         1         3
                                         2         2
                                        3         5
5       2                               4         3
                                        5         4
                                        6         2
    8                                   …         …
Kanban
                                                            Run Time Total
Backlog   Design       Develop        Test
          1 – 2 days   1 – 5 days   1 – 2 days   Deployed    1      5
                                                             2      4
                                                             3      3
                                                             4      9
   2                                                         5      5
                                                             6      6
                                                            …       …
Result versus Frequency (50 runs)

                                                                     More Often
                      25
Frequency of Result




                      20

                      15

                      10

                      5

                      1

                           10               15                  20
                                                                     Less Often
                            Result Values – For example, Days
Result versus Frequency (250 runs)

                                                                     More Often
                      25
Frequency of Result




                      20

                      15

                      10

                      5

                      1

                           10               15                  20
                                                                     Less Often
                            Result Values – For example, Days
Result versus Frequency (1000+ runs)

                                                                     More Often
                      25
Frequency of Result




                      20

                      15

                      10

                      5

                      1

                           10               15                  20
                                                                     Less Often
                            Result Values – For example, Days
Key Point
There is NO single
 forecast result
   There will always be many
possible results, some more likely
50%                50%
             Possible           Possible
Likelihood



             Outcomes           Outcomes




               Time to Complete Backlog

When pressed for a single number,
   we often give the average.
95% Outcomes               5%
 Likelihood




              Time to Complete Backlog

Monte Carlo Simulation Yields More
  Information – 95% Common.
Key Point
  “Average” is
NEVER an option
WARNING: Regression lines
 are most often “average”
But, I.T. gets worse
Time to Delivery
Promised           New
                  Average
                                         50% Possible
                                         Outcomes
  Likelihood




               Planned           Perf.         Vendor
               Backlog          Issues          Delay
                  1                2              3
Key Point
Risks play a BIG
role in forecasts
  Yes, more than backlog.
Velocity is NOT Linear
 nor is defect rate, scope-creep, story
expertise requirements, team skill, etc.
Likelihood
 (0-100%)




        Date for likelihood
Key Point
Forecasts should be
presented with the
  right amount of
     uncertainty
Demo: Forecasting…
 PAIN POINT
My Boss “Needs” a Date…
In this demo
• Basic Scrum and Kanban Modeling
• How to build a simple model
  – SimML Modeling Language
  – Visual checking of models
  – Forecasting Date and Cost
  – The “Law of Large Numbers”
Demo: Finding What
Matters Most
Cost of Defects & Staff Analysis
Sensitivity Report




Actively            Ignore for the
Manage                   moment
Staff Skill Impact Report
              Explore what staff
              changes have the
              greatest impact
Key Point
  Modeling helps
find what matters
  Fewer estimates required
In this demo
• Finding what matters most
  – Manual experiments
  – Sensitivity Testing
• Finding the next best 3 staff skill hires
• Minimizing and simplifying estimation
  – Grouping backlog
  – Range Estimates
  – Deleting un-important model elements
Demo: Finding the Cost /
Benefit of Outsourcing
Outsourcing Cost & Benefits
• Outsourcing often controversial
  – Often fails when pursued for cost savings alone
  – Doesn’t always reduce local employment
  – An important tool to remain competitive
  – I.Q. has no geographic boundaries
• Many models
  – Entire project
  – Augmentation of local team
Build Date & Cost Matrix
               1x        1.5 x     2x
               Estimates Estimates Estimates
1 x Staff       Best Case
1.5 x Staff                  Midpoint
2 x Staff                                 Worst Case

Benefit =
  (Baseline Dev Cost – New Dev Cost) - Cost of Delay
  + Local Staff Cost Savings
NOT LINEAR & NOT YOUR PROJECT
$150,000


$100,000


  $50,000
                              1x Multiplier
      $-                      1.5x Multiplier
             1   1.5    2     2x Multiplier
 $(50,000)


$(100,000)


$(150,000)
In this demo
• Model the impact of various outsourcing
  models
New Project Rules of Thumb…
• Cost of Delay plays a significant role
  – High cost of delay project poor candidates
  – Increase staffing some compensation
• Knowledge transfer and ramp-up time critical
  – Complex products poor candidates
  – Captive teams better choices for these projects
• NEVER as simple as direct lower costs!
Assessing and
Communicating Risk
Speaking Risk To Executives
• Buy them a copy of “Flaw of Averages”
• Show them you are tracking & managing risk
• Do
  – “We are 95% certain of hitting date x”
  – “With 1 week of analysis, that may drop to date y”
  – “We identified risk x, y & z that we will track weekly”
• Don’t
  – Give them a date without likelihood
     • “February 29th 2013”
  – Give them a date without risk factors considered
     • “To do the backlog of features, February 29th, 2013”
**Major risk events have the predominate role
       in deciding where deliver actually occurs **



  We spend all our
time estimating here




  Plan          Performance External Vendor
                    Issues       Delay
      1                 2                     3
Risk likelihood changes constantly
                              95th
                          Confidence
                            Interval




      1         2         3
Risk likelihood changes constantly
                          95th
                      Confidence
                        Interval




      1         2           3
Risk likelihood changes constantly
                        95th
                    Confidence
                      Interval




      1         2                3
Risk likelihood changes constantly
                    95th
                Confidence
                  Interval




      1         2            3
Key Points
• There is no single release date forecast
• Never use Average as a quoted forecast
• Risk factors play a major role (not just backlog)
• Data has shape: beware of Non-Normal data
• Measurement → Insight → Decisions →
  Outcomes : Work Backwards!
• Communicate Risk early with executive peers
Call to action
• Read these books




• Download the software FocusedObjective.com
• Follow @AgileSimulation
• Follow @LMaccherone
Please Submit an
   Eval Form!
 We want to learn too!
BEST PRACTICES
Sensitivity            Model
   Test               (a little)

          The Model
           Creation
            Cycle

 Monte-               Visually
Carlo Test              Test
Make
 Informed           Baseline
Decision(s)

               The
           Experiment
              Cycle
                     Make
Compare
                     Single
 Results
                    Change
Best Practice 1

 Start simple and add ONE
 input condition at a time.

 Visually / Monte-carlo test
each input to verify it works
Best Practice 2

 Find the likelihood of major
  events and estimate delay
  E.g. vendor dependencies,
performance/memory issues,
    third party component
            failures.
Best Practice 3

Only obtain and add detailed
 estimates and opinion to a
model if Sensitivity Analysis
 says that input is material
Best Practice 4

Use a uniform random input
distribution UNTIL sensitivity
  analysis says that input is
    influencing the output
Best Practice 5

   Educate your managers’
about risk. They will still want
 a “single” date for planning,
  but let them decide 75   th or

     95 th confidence level

(average is NEVER an option)
SIMULATION EXAMPLES


Return to main presentation…
unlikely   Forecasts   Return to main presentation…




certain
unlikely     Forecasts    Return to main presentation…




           50%             50%
           Possible    Possible
           Outcomes   Outcomes




certain
Return to main presentation…


    Sensitivity Report




Actively             Ignore for the
Manage                    moment
Return to main presentation…



Staff Skill Impact Report
              Explore what staff
              changes have the
              greatest impact
Return to main
presentation…
Focused Objective
•   Risk Tools for Software Dev
•   Scrum/Agile Simulation
•   Kanban/Lean Simulation
•   Forecasting Staff, Date & Cost
•   Automated Sensitivity Analysis
•   Data Reverse Engineering
•   Consulting / Training
•   Book
We Use & Recommend: EasyFit
• MathWave.com
• Invaluable for
  – Analyzing data
  – Fitting Distributions
  – Generating Random
    Numbers
  – Determining
    Percentiles
Free Images: MorgueFile.com
• http://www.morguefile.com/corporate/about
  – Calendar: http://www.opticgroove.com.au
  – Calculator: http://www.therising-sun.us
  – Dice: souldestine@cox.net

More Related Content

Similar to Agile Metrics - Modeling, Simulation, and Data Mining

"A Framework for Developing Trading Models Based on Machine Learning" by Kris...
"A Framework for Developing Trading Models Based on Machine Learning" by Kris..."A Framework for Developing Trading Models Based on Machine Learning" by Kris...
"A Framework for Developing Trading Models Based on Machine Learning" by Kris...Quantopian
 
Best Practices to Leverage Ultipro BI Today
Best Practices to Leverage Ultipro BI TodayBest Practices to Leverage Ultipro BI Today
Best Practices to Leverage Ultipro BI TodayChris Chamberlain
 
Bootstrapping of PySpark Models for Factorial A/B Tests
Bootstrapping of PySpark Models for Factorial A/B TestsBootstrapping of PySpark Models for Factorial A/B Tests
Bootstrapping of PySpark Models for Factorial A/B TestsDatabricks
 
Monte Carlo Schedule Risk Analysis
Monte Carlo Schedule Risk AnalysisMonte Carlo Schedule Risk Analysis
Monte Carlo Schedule Risk AnalysisIntaver Insititute
 
Chattanooga sme oee down time presentation
Chattanooga sme oee down time presentationChattanooga sme oee down time presentation
Chattanooga sme oee down time presentationJames Mansfield
 
Stop Flying Blind! Quantifying Risk with Monte Carlo Simulation
Stop Flying Blind! Quantifying Risk with Monte Carlo SimulationStop Flying Blind! Quantifying Risk with Monte Carlo Simulation
Stop Flying Blind! Quantifying Risk with Monte Carlo SimulationSam McAfee
 
Minimal Viable Agile
Minimal Viable AgileMinimal Viable Agile
Minimal Viable Agiletroytuttle
 
Monte Carlo and Schedule Risk Analysis
Monte Carlo and Schedule Risk AnalysisMonte Carlo and Schedule Risk Analysis
Monte Carlo and Schedule Risk AnalysisIntaver Insititute
 
Developing and validating a document classifier: a real-life story - Marko S...
 Developing and validating a document classifier: a real-life story - Marko S... Developing and validating a document classifier: a real-life story - Marko S...
Developing and validating a document classifier: a real-life story - Marko S...Institute of Contemporary Sciences
 
OSMC 2023 | Know your data: The stats behind your alerts by Dave McAllister
OSMC 2023 | Know your data: The stats behind your alerts by Dave McAllisterOSMC 2023 | Know your data: The stats behind your alerts by Dave McAllister
OSMC 2023 | Know your data: The stats behind your alerts by Dave McAllisterNETWAYS
 
TAUS MT SHOWCASE, Hunnect’s Use Case, Sándor Sojnóczky, Hunnect, 10 April 2013
TAUS MT SHOWCASE, Hunnect’s Use Case, Sándor Sojnóczky, Hunnect, 10 April 2013TAUS MT SHOWCASE, Hunnect’s Use Case, Sándor Sojnóczky, Hunnect, 10 April 2013
TAUS MT SHOWCASE, Hunnect’s Use Case, Sándor Sojnóczky, Hunnect, 10 April 2013TAUS - The Language Data Network
 
Know Your Data: The stats behind your alerts
Know Your Data: The stats behind your alertsKnow Your Data: The stats behind your alerts
Know Your Data: The stats behind your alertsAll Things Open
 
Using Time Series for Full Observability of a SaaS Platform
Using Time Series for Full Observability of a SaaS PlatformUsing Time Series for Full Observability of a SaaS Platform
Using Time Series for Full Observability of a SaaS PlatformDevOps.com
 
Kanban: More than boards and WIP limits
Kanban: More than boards and WIP limitsKanban: More than boards and WIP limits
Kanban: More than boards and WIP limitsFernando Cuenca
 
Flexing your Agile Muscle - Agile Technical Concepts Explained
Flexing your Agile Muscle - Agile Technical Concepts ExplainedFlexing your Agile Muscle - Agile Technical Concepts Explained
Flexing your Agile Muscle - Agile Technical Concepts ExplainedSandy Mamoli
 

Similar to Agile Metrics - Modeling, Simulation, and Data Mining (20)

"A Framework for Developing Trading Models Based on Machine Learning" by Kris...
"A Framework for Developing Trading Models Based on Machine Learning" by Kris..."A Framework for Developing Trading Models Based on Machine Learning" by Kris...
"A Framework for Developing Trading Models Based on Machine Learning" by Kris...
 
Best Practices to Leverage Ultipro BI Today
Best Practices to Leverage Ultipro BI TodayBest Practices to Leverage Ultipro BI Today
Best Practices to Leverage Ultipro BI Today
 
Bootstrapping of PySpark Models for Factorial A/B Tests
Bootstrapping of PySpark Models for Factorial A/B TestsBootstrapping of PySpark Models for Factorial A/B Tests
Bootstrapping of PySpark Models for Factorial A/B Tests
 
Monte Carlo Schedule Risk Analysis
Monte Carlo Schedule Risk AnalysisMonte Carlo Schedule Risk Analysis
Monte Carlo Schedule Risk Analysis
 
Chattanooga sme oee down time presentation
Chattanooga sme oee down time presentationChattanooga sme oee down time presentation
Chattanooga sme oee down time presentation
 
Stop Flying Blind! Quantifying Risk with Monte Carlo Simulation
Stop Flying Blind! Quantifying Risk with Monte Carlo SimulationStop Flying Blind! Quantifying Risk with Monte Carlo Simulation
Stop Flying Blind! Quantifying Risk with Monte Carlo Simulation
 
Minimal Viable Agile
Minimal Viable AgileMinimal Viable Agile
Minimal Viable Agile
 
Monte Carlo and Schedule Risk Analysis
Monte Carlo and Schedule Risk AnalysisMonte Carlo and Schedule Risk Analysis
Monte Carlo and Schedule Risk Analysis
 
The State of Structure
The State of StructureThe State of Structure
The State of Structure
 
Developing and validating a document classifier: a real-life story - Marko S...
 Developing and validating a document classifier: a real-life story - Marko S... Developing and validating a document classifier: a real-life story - Marko S...
Developing and validating a document classifier: a real-life story - Marko S...
 
Os Ramirez
Os RamirezOs Ramirez
Os Ramirez
 
OSMC 2023 | Know your data: The stats behind your alerts by Dave McAllister
OSMC 2023 | Know your data: The stats behind your alerts by Dave McAllisterOSMC 2023 | Know your data: The stats behind your alerts by Dave McAllister
OSMC 2023 | Know your data: The stats behind your alerts by Dave McAllister
 
Risk Managers Of The Universe
Risk Managers Of The UniverseRisk Managers Of The Universe
Risk Managers Of The Universe
 
Agile metrics
Agile metricsAgile metrics
Agile metrics
 
TAUS MT SHOWCASE, Hunnect’s Use Case, Sándor Sojnóczky, Hunnect, 10 April 2013
TAUS MT SHOWCASE, Hunnect’s Use Case, Sándor Sojnóczky, Hunnect, 10 April 2013TAUS MT SHOWCASE, Hunnect’s Use Case, Sándor Sojnóczky, Hunnect, 10 April 2013
TAUS MT SHOWCASE, Hunnect’s Use Case, Sándor Sojnóczky, Hunnect, 10 April 2013
 
Know Your Data: The stats behind your alerts
Know Your Data: The stats behind your alertsKnow Your Data: The stats behind your alerts
Know Your Data: The stats behind your alerts
 
Using Time Series for Full Observability of a SaaS Platform
Using Time Series for Full Observability of a SaaS PlatformUsing Time Series for Full Observability of a SaaS Platform
Using Time Series for Full Observability of a SaaS Platform
 
Kanban: More than boards and WIP limits
Kanban: More than boards and WIP limitsKanban: More than boards and WIP limits
Kanban: More than boards and WIP limits
 
Design fmea
Design fmeaDesign fmea
Design fmea
 
Flexing your Agile Muscle - Agile Technical Concepts Explained
Flexing your Agile Muscle - Agile Technical Concepts ExplainedFlexing your Agile Muscle - Agile Technical Concepts Explained
Flexing your Agile Muscle - Agile Technical Concepts Explained
 

More from Rally Software

Next Level Agile - Ryan Polk
Next Level Agile - Ryan PolkNext Level Agile - Ryan Polk
Next Level Agile - Ryan PolkRally Software
 
Unlocking Excellence with Agile Metrics
Unlocking Excellence with Agile MetricsUnlocking Excellence with Agile Metrics
Unlocking Excellence with Agile MetricsRally Software
 
How is Agile Working For You?
How is Agile Working For You?How is Agile Working For You?
How is Agile Working For You?Rally Software
 
Business Agility and Annual Planning: Solving the Paradox
Business Agility and Annual Planning: Solving the ParadoxBusiness Agility and Annual Planning: Solving the Paradox
Business Agility and Annual Planning: Solving the ParadoxRally Software
 
The Impact of Agile Quantified - Agile Australia 2014
The Impact of Agile Quantified - Agile Australia 2014The Impact of Agile Quantified - Agile Australia 2014
The Impact of Agile Quantified - Agile Australia 2014Rally Software
 
Think Differently: Re-imagining Resource Management in a Disruptive Age
Think Differently: Re-imagining Resource Management in a Disruptive AgeThink Differently: Re-imagining Resource Management in a Disruptive Age
Think Differently: Re-imagining Resource Management in a Disruptive AgeRally Software
 
Beyond Agile Execution: Agility for Impact by Ryan Martens
 Beyond Agile Execution: Agility for Impact by Ryan Martens Beyond Agile Execution: Agility for Impact by Ryan Martens
Beyond Agile Execution: Agility for Impact by Ryan MartensRally Software
 
When Worlds Collide by Karl Scotland
When Worlds Collide by Karl ScotlandWhen Worlds Collide by Karl Scotland
When Worlds Collide by Karl ScotlandRally Software
 
Agile Transformations, the Good, the Bad and the Ugly
Agile Transformations,  the Good, the Bad and the UglyAgile Transformations,  the Good, the Bad and the Ugly
Agile Transformations, the Good, the Bad and the UglyRally Software
 
Rally For Impact Introduction
Rally For Impact IntroductionRally For Impact Introduction
Rally For Impact IntroductionRally Software
 
Dollars and Dates are Killing Agile
Dollars and Dates are Killing AgileDollars and Dates are Killing Agile
Dollars and Dates are Killing AgileRally Software
 
Executive Experience Reports
Executive Experience ReportsExecutive Experience Reports
Executive Experience ReportsRally Software
 
Greening our Planet, our Industry, our Community and our Company – a goal we ...
Greening our Planet, our Industry, our Community and our Company – a goal we ...Greening our Planet, our Industry, our Community and our Company – a goal we ...
Greening our Planet, our Industry, our Community and our Company – a goal we ...Rally Software
 
Build And Test Automation - Shortening the Feedback Loop
Build And Test Automation - Shortening the Feedback LoopBuild And Test Automation - Shortening the Feedback Loop
Build And Test Automation - Shortening the Feedback LoopRally Software
 
Agile Enterprise Adoption And Enterprise Agile Enterprise Adoption And Enterp...
Agile Enterprise Adoption And Enterprise Agile Enterprise Adoption And Enterp...Agile Enterprise Adoption And Enterprise Agile Enterprise Adoption And Enterp...
Agile Enterprise Adoption And Enterprise Agile Enterprise Adoption And Enterp...Rally Software
 
How To Fit Testing Into The Iteration
How To Fit Testing Into The IterationHow To Fit Testing Into The Iteration
How To Fit Testing Into The IterationRally Software
 

More from Rally Software (16)

Next Level Agile - Ryan Polk
Next Level Agile - Ryan PolkNext Level Agile - Ryan Polk
Next Level Agile - Ryan Polk
 
Unlocking Excellence with Agile Metrics
Unlocking Excellence with Agile MetricsUnlocking Excellence with Agile Metrics
Unlocking Excellence with Agile Metrics
 
How is Agile Working For You?
How is Agile Working For You?How is Agile Working For You?
How is Agile Working For You?
 
Business Agility and Annual Planning: Solving the Paradox
Business Agility and Annual Planning: Solving the ParadoxBusiness Agility and Annual Planning: Solving the Paradox
Business Agility and Annual Planning: Solving the Paradox
 
The Impact of Agile Quantified - Agile Australia 2014
The Impact of Agile Quantified - Agile Australia 2014The Impact of Agile Quantified - Agile Australia 2014
The Impact of Agile Quantified - Agile Australia 2014
 
Think Differently: Re-imagining Resource Management in a Disruptive Age
Think Differently: Re-imagining Resource Management in a Disruptive AgeThink Differently: Re-imagining Resource Management in a Disruptive Age
Think Differently: Re-imagining Resource Management in a Disruptive Age
 
Beyond Agile Execution: Agility for Impact by Ryan Martens
 Beyond Agile Execution: Agility for Impact by Ryan Martens Beyond Agile Execution: Agility for Impact by Ryan Martens
Beyond Agile Execution: Agility for Impact by Ryan Martens
 
When Worlds Collide by Karl Scotland
When Worlds Collide by Karl ScotlandWhen Worlds Collide by Karl Scotland
When Worlds Collide by Karl Scotland
 
Agile Transformations, the Good, the Bad and the Ugly
Agile Transformations,  the Good, the Bad and the UglyAgile Transformations,  the Good, the Bad and the Ugly
Agile Transformations, the Good, the Bad and the Ugly
 
Rally For Impact Introduction
Rally For Impact IntroductionRally For Impact Introduction
Rally For Impact Introduction
 
Dollars and Dates are Killing Agile
Dollars and Dates are Killing AgileDollars and Dates are Killing Agile
Dollars and Dates are Killing Agile
 
Executive Experience Reports
Executive Experience ReportsExecutive Experience Reports
Executive Experience Reports
 
Greening our Planet, our Industry, our Community and our Company – a goal we ...
Greening our Planet, our Industry, our Community and our Company – a goal we ...Greening our Planet, our Industry, our Community and our Company – a goal we ...
Greening our Planet, our Industry, our Community and our Company – a goal we ...
 
Build And Test Automation - Shortening the Feedback Loop
Build And Test Automation - Shortening the Feedback LoopBuild And Test Automation - Shortening the Feedback Loop
Build And Test Automation - Shortening the Feedback Loop
 
Agile Enterprise Adoption And Enterprise Agile Enterprise Adoption And Enterp...
Agile Enterprise Adoption And Enterprise Agile Enterprise Adoption And Enterp...Agile Enterprise Adoption And Enterprise Agile Enterprise Adoption And Enterp...
Agile Enterprise Adoption And Enterprise Agile Enterprise Adoption And Enterp...
 
How To Fit Testing Into The Iteration
How To Fit Testing Into The IterationHow To Fit Testing Into The Iteration
How To Fit Testing Into The Iteration
 

Recently uploaded

Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
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 Scriptwesley chun
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 

Recently uploaded (20)

Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
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
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

Agile Metrics - Modeling, Simulation, and Data Mining

  • 1. Modeling, Simulation & Data Mining: Answering Tough Cost, Date & Staff Forecasts Questions Troy Magennis (Focused Objective) Larry Maccherone (Rally)
  • 5. My Mission Arm my teams (and yours) with the tools and techniques to solve these problems
  • 6.
  • 7. 2 Minutes About Larry • Larry is a Pisces who enjoys skiing, reading and wine (red, or white in outdoor setting) • We have a lot in common… over to Larry!
  • 9. Why measure? Feedback Diagnostics Forecasting Lever
  • 10. When to NOT take a shot Good players? • Monta Ellis – 9th highest scorer (8th last season) • Carmelo Anthony (Melo) – 8th highest scorer (3rd last season)
  • 11. The ODIM Framework better Measurement better Insight better Decisions better Outcomes
  • 12.
  • 13. What is normal? Cumulative -> 0.1% 2.3% 15.9% 50.0% 84.1% 97.7% 99.9% Roughly -> 85% 98%
  • 15. You will be wrong by… • 3x-10x when assuming Normal distribution • 2.5x-5x when assuming Poisson distribution • 7x-20x if you use Shewhart’s method Heavy tail phenomena are not incomprehensible… but they cannot be understood with traditional statistical tools. Using the wrong tools is incomprehensible. ~ Roger Cooke and Daan Nieboer
  • 16. Bad application of control chart Control is an illusion, you infantile egomaniac. Nobody knows what's gonna happen next: not on a freeway, not in an airplane, not inside our own bodies and certainly not on a racetrack with 40 other infantile egomaniacs. ~Days of Thunder
  • 17. Time in Process (TIP) Chart A good alternative to control chart
  • 18. Collection • Perceived cost is high • Little need for explicit collection activities • Use a 1-question NPS survey for customer and employee satisfaction • Plenty to learn in passive data from ALM and other tools • How you use the tools will drive your use of metrics from them
  • 19. Summary of how to make good metric choices • Start with outcomes and use ODIM to make metrics Data visualization is like choices. photography. Impact is a • Make sure your metrics are function of perspective, balanced so you don’t illumination, and focus. over-emphasize one at the ~Larry Maccherone cost of others. • Be careful in your analysis. The TIP chart is a good alternative to control chart. Troy’s approach is excellent for forecasting. We’ve shown that there are many out there that are not so good. • Consider collection costs. Get maximal value out of passively gathered data.
  • 20. Flaw of Averages, Risk & Monte Carlo Sim
  • 21.
  • 22. A model is a tool used to mimic a real world process A tool for low-cost experimentation
  • 23. Monte Carlo Simulation? Performing a simulation of a model multiple times using random input conditions and recording the frequency of each result occurrence
  • 24. Scrum Run Sim Total Backlog This Iteration Deployed Iterations 1 3 2 2 3 5 5 2 4 3 5 4 6 2 8 … …
  • 25. Kanban Run Time Total Backlog Design Develop Test 1 – 2 days 1 – 5 days 1 – 2 days Deployed 1 5 2 4 3 3 4 9 2 5 5 6 6 … …
  • 26. Result versus Frequency (50 runs) More Often 25 Frequency of Result 20 15 10 5 1 10 15 20 Less Often Result Values – For example, Days
  • 27. Result versus Frequency (250 runs) More Often 25 Frequency of Result 20 15 10 5 1 10 15 20 Less Often Result Values – For example, Days
  • 28. Result versus Frequency (1000+ runs) More Often 25 Frequency of Result 20 15 10 5 1 10 15 20 Less Often Result Values – For example, Days
  • 29. Key Point There is NO single forecast result There will always be many possible results, some more likely
  • 30. 50% 50% Possible Possible Likelihood Outcomes Outcomes Time to Complete Backlog When pressed for a single number, we often give the average.
  • 31. 95% Outcomes 5% Likelihood Time to Complete Backlog Monte Carlo Simulation Yields More Information – 95% Common.
  • 32. Key Point “Average” is NEVER an option WARNING: Regression lines are most often “average”
  • 33. But, I.T. gets worse
  • 34. Time to Delivery Promised New Average 50% Possible Outcomes Likelihood Planned Perf. Vendor Backlog Issues Delay 1 2 3
  • 35. Key Point Risks play a BIG role in forecasts Yes, more than backlog.
  • 36. Velocity is NOT Linear nor is defect rate, scope-creep, story expertise requirements, team skill, etc.
  • 37. Likelihood (0-100%) Date for likelihood
  • 38. Key Point Forecasts should be presented with the right amount of uncertainty
  • 39. Demo: Forecasting… PAIN POINT My Boss “Needs” a Date…
  • 40. In this demo • Basic Scrum and Kanban Modeling • How to build a simple model – SimML Modeling Language – Visual checking of models – Forecasting Date and Cost – The “Law of Large Numbers”
  • 41. Demo: Finding What Matters Most Cost of Defects & Staff Analysis
  • 42. Sensitivity Report Actively Ignore for the Manage moment
  • 43. Staff Skill Impact Report Explore what staff changes have the greatest impact
  • 44. Key Point Modeling helps find what matters Fewer estimates required
  • 45. In this demo • Finding what matters most – Manual experiments – Sensitivity Testing • Finding the next best 3 staff skill hires • Minimizing and simplifying estimation – Grouping backlog – Range Estimates – Deleting un-important model elements
  • 46. Demo: Finding the Cost / Benefit of Outsourcing
  • 47. Outsourcing Cost & Benefits • Outsourcing often controversial – Often fails when pursued for cost savings alone – Doesn’t always reduce local employment – An important tool to remain competitive – I.Q. has no geographic boundaries • Many models – Entire project – Augmentation of local team
  • 48. Build Date & Cost Matrix 1x 1.5 x 2x Estimates Estimates Estimates 1 x Staff Best Case 1.5 x Staff Midpoint 2 x Staff Worst Case Benefit = (Baseline Dev Cost – New Dev Cost) - Cost of Delay + Local Staff Cost Savings
  • 49. NOT LINEAR & NOT YOUR PROJECT $150,000 $100,000 $50,000 1x Multiplier $- 1.5x Multiplier 1 1.5 2 2x Multiplier $(50,000) $(100,000) $(150,000)
  • 50. In this demo • Model the impact of various outsourcing models
  • 51. New Project Rules of Thumb… • Cost of Delay plays a significant role – High cost of delay project poor candidates – Increase staffing some compensation • Knowledge transfer and ramp-up time critical – Complex products poor candidates – Captive teams better choices for these projects • NEVER as simple as direct lower costs!
  • 53. Speaking Risk To Executives • Buy them a copy of “Flaw of Averages” • Show them you are tracking & managing risk • Do – “We are 95% certain of hitting date x” – “With 1 week of analysis, that may drop to date y” – “We identified risk x, y & z that we will track weekly” • Don’t – Give them a date without likelihood • “February 29th 2013” – Give them a date without risk factors considered • “To do the backlog of features, February 29th, 2013”
  • 54. **Major risk events have the predominate role in deciding where deliver actually occurs ** We spend all our time estimating here Plan Performance External Vendor Issues Delay 1 2 3
  • 55. Risk likelihood changes constantly 95th Confidence Interval 1 2 3
  • 56. Risk likelihood changes constantly 95th Confidence Interval 1 2 3
  • 57. Risk likelihood changes constantly 95th Confidence Interval 1 2 3
  • 58. Risk likelihood changes constantly 95th Confidence Interval 1 2 3
  • 59. Key Points • There is no single release date forecast • Never use Average as a quoted forecast • Risk factors play a major role (not just backlog) • Data has shape: beware of Non-Normal data • Measurement → Insight → Decisions → Outcomes : Work Backwards! • Communicate Risk early with executive peers
  • 60. Call to action • Read these books • Download the software FocusedObjective.com • Follow @AgileSimulation • Follow @LMaccherone
  • 61. Please Submit an Eval Form! We want to learn too!
  • 62.
  • 64. Sensitivity Model Test (a little) The Model Creation Cycle Monte- Visually Carlo Test Test
  • 65. Make Informed Baseline Decision(s) The Experiment Cycle Make Compare Single Results Change
  • 66. Best Practice 1 Start simple and add ONE input condition at a time. Visually / Monte-carlo test each input to verify it works
  • 67. Best Practice 2 Find the likelihood of major events and estimate delay E.g. vendor dependencies, performance/memory issues, third party component failures.
  • 68. Best Practice 3 Only obtain and add detailed estimates and opinion to a model if Sensitivity Analysis says that input is material
  • 69. Best Practice 4 Use a uniform random input distribution UNTIL sensitivity analysis says that input is influencing the output
  • 70. Best Practice 5 Educate your managers’ about risk. They will still want a “single” date for planning, but let them decide 75 th or 95 th confidence level (average is NEVER an option)
  • 71. SIMULATION EXAMPLES Return to main presentation…
  • 72. unlikely Forecasts Return to main presentation… certain
  • 73. unlikely Forecasts Return to main presentation… 50% 50% Possible Possible Outcomes Outcomes certain
  • 74. Return to main presentation… Sensitivity Report Actively Ignore for the Manage moment
  • 75. Return to main presentation… Staff Skill Impact Report Explore what staff changes have the greatest impact
  • 77. Focused Objective • Risk Tools for Software Dev • Scrum/Agile Simulation • Kanban/Lean Simulation • Forecasting Staff, Date & Cost • Automated Sensitivity Analysis • Data Reverse Engineering • Consulting / Training • Book
  • 78. We Use & Recommend: EasyFit • MathWave.com • Invaluable for – Analyzing data – Fitting Distributions – Generating Random Numbers – Determining Percentiles
  • 79. Free Images: MorgueFile.com • http://www.morguefile.com/corporate/about – Calendar: http://www.opticgroove.com.au – Calculator: http://www.therising-sun.us – Dice: souldestine@cox.net