Building Process Improvement Business Cases Using Bayesian Belief Networks and Monte Carlo Simulation

Similar documents
Process improvement, The Agile Way! By Ben Linders Published in Methods and Tools, winter

Measurement & Analysis in the Real World

Introduction on Lean, six sigma and Lean game. Remco Paulussen, Statistics Netherlands Anne S. Trolie, Statistics Norway

For Portfolio, Programme, Project, Risk and Service Management. Integrating Six Sigma and PRINCE Mike Ward, Outperfom

Uncertainty concepts, types, sources

Problem Solving for Success Handbook. Solve the Problem Sustain the Solution Celebrate Success

Geo Risk Scan Getting grips on geotechnical risks

Introduction to Simulation

Software Development Plan

Implementing a tool to Support KAOS-Beta Process Model Using EPF

Certified Six Sigma Professionals International Certification Courses in Six Sigma Green Belt

Execution Plan for Software Engineering Education in Taiwan

Visit us at:

APPENDIX A: Process Sigma Table (I)

Major Milestones, Team Activities, and Individual Deliverables

Practical Applications of Statistical Process Control

Generating Test Cases From Use Cases

STABILISATION AND PROCESS IMPROVEMENT IN NAB

IT4305: Rapid Software Development Part 2: Structured Question Paper

A Model to Detect Problems on Scrum-based Software Development Projects

Software Maintenance

ScienceDirect. A Lean Six Sigma (LSS) project management improvement model. Alexandra Tenera a,b *, Luis Carneiro Pintoª. 27 th IPMA World Congress

Intermediate Computable General Equilibrium (CGE) Modelling: Online Single Country Course

Document number: 2013/ Programs Committee 6/2014 (July) Agenda Item 42.0 Bachelor of Engineering with Honours in Software Engineering

Creating Meaningful Assessments for Professional Development Education in Software Architecture

BBC Spark : Lean at the BBC

A GENERIC SPLIT PROCESS MODEL FOR ASSET MANAGEMENT DECISION-MAKING

Maximizing Learning Through Course Alignment and Experience with Different Types of Knowledge

Reduce the Failure Rate of the Screwing Process with Six Sigma Approach

SAP EDUCATION SAMPLE QUESTIONS: C_TPLM40_65. Questions. In the audit structure, what can link an audit and a quality notification?

Probability estimates in a scenario tree

Generative models and adversarial training

Executive Guide to Simulation for Health

Intel-powered Classmate PC. SMART Response* Training Foils. Version 2.0

Probability and Statistics Curriculum Pacing Guide

The Role of Architecture in a Scaled Agile Organization - A Case Study in the Insurance Industry

AUTOMATED TROUBLESHOOTING OF MOBILE NETWORKS USING BAYESIAN NETWORKS

Running Head: STUDENT CENTRIC INTEGRATED TECHNOLOGY

Institutionen för datavetenskap. Hardware test equipment utilization measurement

Different Requirements Gathering Techniques and Issues. Javaria Mushtaq

Summary results (year 1-3)

Qualification handbook

Tools to SUPPORT IMPLEMENTATION OF a monitoring system for regularly scheduled series

SAMPLE. PJM410: Assessing and Managing Risk. Course Description and Outcomes. Participation & Attendance. Credit Hours: 3

Developing an Assessment Plan to Learn About Student Learning

The IDN Variant Issues Project: A Study of Issues Related to the Delegation of IDN Variant TLDs. 20 April 2011

10.2. Behavior models

Editor s Welcome. Summer 2016 Lean Six Sigma Innovation. You Deserve More. Lean Innovation: The Art of Making Less Into More

Prince2 Foundation and Practitioner Training Exam Preparation

COMPUTER-ASSISTED INDEPENDENT STUDY IN MULTIVARIATE CALCULUS

EGRHS Course Fair. Science & Math AP & IB Courses

Field Experience Management 2011 Training Guides

Probabilistic Latent Semantic Analysis

M55205-Mastering Microsoft Project 2016

The Oregon Literacy Framework of September 2009 as it Applies to grades K-3

Evidence for Reliability, Validity and Learning Effectiveness

Module 12. Machine Learning. Version 2 CSE IIT, Kharagpur

Colorado State University Department of Construction Management. Assessment Results and Action Plans

Book Review: Build Lean: Transforming construction using Lean Thinking by Adrian Terry & Stuart Smith

Strategy and Design of ICT Services

Software Engineering Education at Carnegie Mellon University: One University; Programs Taught in Two Places

IBM Software Group. Mastering Requirements Management with Use Cases Module 6: Define the System

Assessment. the international training and education center on hiv. Continued on page 4

Activities, Exercises, Assignments Copyright 2009 Cem Kaner 1

We Are a Place People Can Call Their Medical Home

Value Creation Through! Integration Workshop! Value Stream Analysis and Mapping for PD! January 31, 2002!

Moderator: Gary Weckman Ohio University USA

Rule-based Expert Systems

Higher Education Review (Embedded Colleges) of Navitas UK Holdings Ltd. Hertfordshire International College

MMOG Subscription Business Models: Table of Contents

InTraServ. Dissemination Plan INFORMATION SOCIETY TECHNOLOGIES (IST) PROGRAMME. Intelligent Training Service for Management Training in SMEs

Clerical Skills Level I

Lean UX: Applying Lean Principles to Improve User Experience

CS Machine Learning

The 9 th International Scientific Conference elearning and software for Education Bucharest, April 25-26, / X

Certified Six Sigma - Black Belt VS-1104

MAKINO GmbH. Training centres in the following European cities:

Reducing Features to Improve Bug Prediction

Teaching Agile Addressing the Conflict Between Project Delivery and Application of Agile Methods

University of Arizona

Statistical Consulting at Liberal Arts Colleges Mellon Foundation Workshop Report

MVRA MEMBERSHIP QUESTIONNAIRE ANALYSIS MARCH 2005 AUDATEX ESTIMATING SYSTEM

Subject Inspection in Technical Graphics and Design and Communication Graphics REPORT

Fulltime MSc Real Estate and MSc Real Estate Finance Programmes: An Introduction

Examining the Structure of a Multidisciplinary Engineering Capstone Design Program

Lifelong Learning Programme. Implementation of the European Agenda for Adult Learning

A Pipelined Approach for Iterative Software Process Model

Historical maintenance relevant information roadmap for a self-learning maintenance prediction procedural approach

An Automated Data Fusion Process for an Air Defense Scenario

Multi Method Approaches to Monitoring Data Quality

Globalization and the Columbian Exchange

CUSTOMER EXPERIENCE ASSESSMENT SALES (CEA-S) TEST GUIDE

CS 446: Machine Learning

Odyssey Writer Online Writing Tool for Students

Enhancing Learning with a Poster Session in Engineering Economy

Planning with External Events

Why Did My Detector Do That?!

Clerical Skills Level II

Stephanie Ann Siler. PERSONAL INFORMATION Senior Research Scientist; Department of Psychology, Carnegie Mellon University

AGENDA LEARNING THEORIES LEARNING THEORIES. Advanced Learning Theories 2/22/2016

Transcription:

Building Process Improvement Business Cases Using Bayesian Belief Networks and Monte Carlo Simulation Software Engineering Institute Carnegie Mellon University Pittsburgh, PA 15213 Ben Linders, Affiliate SEI / Ericsson Quality Mgr SEPG NA 2009, San Jose, CA 2009 Carnegie Mellon University

Contents / Agenda Introduction Business Cases Quality Factors Validate Conclusions 2

Problem Statement Introduction Quality improvement needed in many organizations Business case Identification of problem areas Selected improvement Decision Quantified Costs & benefits Lead time to result 3

Quantification problems Introduction Much time needed to gather data Difficult to measure things Hard to keep management commitment Expensive Required: Business case, with limited but sufficient measurement effort, to gain management commitment and funding 4

Affiliate Collaboration Introduction Ericsson Netherlands: Market Unit Northern Europe & Main R&D Center R&D: Value Added Services Strategic Product Management Product marketing & technical sales support Provisioning & total project management Development & maintenance Customization Supply & support SEI Pittsburgh, PA: Software Engineering Measurement & Analysis Modern Measurement Methods Goal Driven Measurement Analyzing Project management Indicators Improving Process Performance using Six Sigma, Designing Products and Processes using Six Sigma Understanding CMMI High Maturity Practices Client Support & Research Training Development & Delivery 5

Solution Introduction Technologies Bayesian Belief Networks (BBN) Monte Carlo Simulation Root Cause Analysis Cost of Quality, Defect Slippage Six Sigma DMAIC Approach Modeling Business Cases Research Quality Factors & quantify Quality Improvement Validate Business Case for Quality 6

Fault Slip Through Business Cases??? Lead Time??? FST Cost??? Quality Fault Slip Through = Number of defects detected in integration & customer test that should have been detected earlier Should implies that the defect is more cost effective to find earlier. 7

Building a business case Business Cases BBN Quality Factor Quality Factor Quality Factor Quality Factor Quality Phase Performance Fault Slip Through Historical Project Data Industry Data Monte Carlo Current Quality Phase Performance Improved Quality Phase Performance Subjective Expert Opinion 8

Bayes Belief Network (BBN) Business Cases Probabilistic graphical model, to model uncertainty Diagnose and explain why an outcome happened Predict outcomes based on insight to one or more factors Used: Modeling Quality Factors Predicting Quality Phase Performance What if Scenario 9

Monte Carlo Simulation Business Cases Compute a result based on random sampling Modeling distributions of data Can make uncertainty visible Used: Calculate value of process changes 10

Quality Phase Performance Quality Factors Defect Insertion Quality Factor: Management Factors Influencing quality of the delivered product Defect Detection 11

Management Factors Quality Factors Management Context for Technical Activities Direct: Project Management Process Management Indirect: Strategic & Operational Line Management 12

Defect Insertion Quality Factors Technical Activities where defects inserted Root Cause Analysis Defect Prevention 13

Defect Detection Quality Factors Technical Activities where defects detected Early Detection Economy of Test Release Quality Reduce Defect Slippage 14

Quality Factors Quality Factors Purpose Predictor of Quality Leading indicator Sources Research Expert opinion Experience 15

Quantify Quality Improvement Quality Factors Connect defect data with Quality performance Maximum quality factor => Industry best in class Published industry data from various sources Distribution: Linear (keep it simple) Extend BBN to calculate remaining defects after each phase Result: Model for what if scenario s Calculate defects in release products, when quality performance improves Cost of Quality data to calculate savings 16

Validate Business Case for Quality Validate Quality Performance Assessment Determine areas for Improvement Pilot: Agile for Requirements Calculate value of process change Run the pilot Evaluate the result 17

Quality performance assessment Validate Survey based upon Quality Factors 34 respondents from management & technical roles 4 management areas & 7 technical areas 2 sub questions for each quality factor: How relevant is the factor when we want to improve quality? little if any, moderate, substantial, or extensive, How well are we doing currently? poor, fair, good, and excellent. 18

Improvement Areas Validate 19

Agile for Requirements Validate Problem areas Requirements Stability Scope Stability Requirement Definition Capability Agile solution Planning Game Stand-up meetings Architecture team Iterations Risk Based Testing 20

Pilot: Prevent Requirement Defects Validate Monte Carlo Simulation Simulate Current Performance on Defect Insertion & Detection Estimate Agile improvement (expert opinion) Bayes Belief Network Ericsson data to calibrate current performance Predict savings due to less defects inserted Quality Factor Current Detected defects Defects left Detection % Phase Req 4,4 Arch 5,1 Impl 5,1 Total development 49 Inspection 5,3 12 37 24% Early Test 5,0 12 25 32% Late Test 6,2 11 14 44% Customer Test 5,0 5 9 36% Total development Maint Total Improved Quality Factor Detected defects Defects left Phase Savings Req 4,7 Arch 5,1 Impl 5,1 Total development 45 Inspection 5,3 11 34 Early Test 5,0 11 23 Late Test 6,2 10 13 Customer Test 5,0 5 8 Total development 4% Maint Total 9% 21

Results Agile Validate Very low number of requirement defects Previous projects also had a low number Based upon the data no conclusion could be drawn Root Cause Analysis: understanding requirements increased: planning game & stand-up meetings. Improvements from retrospectives increased cooperation between development team and product owner. Requirements quality performance increased! 22

Evaluation Business Case Conclusions Bayesian Belief Networks were successful: High level graphical overview Focus on improving requirements quality Positive results from the pilot Limited investment needed for the business case We do not know for sure if improvements in an other area would have been more beneficial Monte Carlo Simulation of potential results has had less value: Limited data available on requirements Used Root Cause Analysis to confirm improvements 23

Conclusions Conclusions Quicker Business Cases with BBN: Quality Factors/Performance Fault Slip Through Monte Carlo value Simulation: Distribution of cost savings Benefits Quick Improvement Scope Better Business Case: Value for Business Agile increased requirements quality Value based measurement approach 24

Contact: Ben Linders Ericsson R&D The Netherlands Ben.Linders@Ericsson.com

Backup Slides 26

Software Engineering Economics http://citeseer.ist.psu.edu/boehm00software.html Increased Value Modeling Business Cases Decision Aids 27

Affiliate Assignment Joint effort: Ericsson (Ben Linders) and SEI (Bob Stoddard) Time, money, materials Knowledge & experience Deliverables Ericsson Defect data & benchmarks Improved decisions skills Business case & Strategy 2007: Early phases: Improvements Late test phases: Reduction Research contribution Apply Six Sigma business cases Verify technology (CoQ, RBT, FST, etc) 28

Six Sigma DMAIC mapping 2006: DMA Project Improved Test Decisions : Identify current data used Potential areas for Quality Improvement Define required data & set baseline Propose improvement for 2007 2007/2008: IC Six Sigma based Strategic Improvement program Pilots: Agile, Modeling, Quality Culture Measure benefits Institutionalize improvements 29

Define Project Scope Problem Statement Baseline data Goal Voice of Customer/Business SIPOC Quality Roadmap Establish Project Initial Business Case Scope & Excluded Research Areas Assignment roles, costs, planning 30

Measure Identify needed data Process Model GQIM Hypothesis & Predictions Required data Obtain Data Set Prediction model Available data Evaluate Data Quality Summarize & Baseline Data Benchmarking 31

Analyze Explore data Characterize process & problem Update improvement project scope & scale 32

Improve Pilot Agile Requirements Measure impact on slipped through defects Root Cause Analysis 33

Control Establish measurements on Balanced Scorecard Fault Slip Through Root Cause Analysis for continuous improvement Defects after Release Both predicted (handshake with product owner) and actual Quality Steering on all levels Inside Project: Planning game, Root Cause Analysis Programs: Monthly Project Steering Group R&D: Monthly quality meeting with MT members 34

Two step approach Quality Factor Model Expert opinion, extended with data Quick Quality Scan Rough Prediction Fault Slip Through Improvement Areas Defect Prediction Model Resident Defects in Design Base Data, tuned with expert opinion Detailed Prediction Fault Slip Through Design Process Competence, skills Tools, environment Test Process Competence, skills Test Capacity Tools, environment Defects Inserted (documentation, code) Defects Detected (Inspection, test) Defect Density Detection Rate Fault Slip Through Defect Classification Improvement Business Case Resident Defects in Delivered Product Defect Level (Un)happy customers Process Inputs and outputs Influencing factors Measurement 35

Example of Bayesian Belief Model 36

Economic Model Understand costs of defects Process & project performance Dialog managers & developers Use operational data Manage under uncertainty & incomplete data Technologies Cost of Quality Bayesian Belief Networks Real Options Lean Six Sigma 37

Quality Prediction Current Model: Estimation Extrapolate past performance Based on inserted/detected defects Plan & track Wanted: Prediction Causes of defects What if Scenarios Decision taking All models are wrong Some models are useful Deming 38

History Defect Modeling 2001 Defect Model defined, pilot in first project 2002/2003 Improved based on project feedback First release quality estimates Industrialize model/tool, use in all major projects 2004/2005 Targets: Project portfolio management Process Performance & Cost of Quality 2006/2007 Process Improvement Business Cases SW Engineering Economics, Six Sigma Defect Prediction 39

Project Defect Model Why? to control quality of the product during development improve development/inspection/test processes Business Value: Improved Quality Early risks signals Better plans & tracking Lower maintenance Save time and costs Happy customers! 40

Step 2: Defect Causes & Effect Resident Defects in Design Base From Estimation to Prediction Design Process Competence, skills Tools, environment Test Process Competence, skills Test Capacity Tools, environment Defects Inserted (documentation, code) Defects Detected (Inspection, test) Defect Density Detection Rate Fault Slip Through Defect Classification Resident Defects in Delivered Product Defect Level (Un)happy customers Process Inputs and outputs Influencing factors Measurement 41

Step 2: Defect Prediction Fault Slip Through Defect found in a (later) test phase that should have been found earlier Should : More Cost effective (economical) Predict Defect Reduction Determine process impact Simulate quality change Predict savings Pilots Agile Model Driven Development 42

Process Performance Project Data Insertion Rates Detection Rates Defect Distribution Fault Slip Through Post Release Defects 100% 90% 80% 70% 60% 50% 40% 30% 20% 10% 0% Requirements Architecture Design Det. Rate Code Docware Function Test System Test Network Test Total Process View Performance of design & test processes Benchmarking Best Practices & Improvement Areas 43

Steering Agile Quality Estimate amount of latent defects after demo in the planning game. Collect all defects during the test phases (after the demo). Classify defects: introduction phase should have been detected phase Root cause analysis on defects that should have been found before demo. Decide on improvement actions and present to the project team. Re-estimate remaining defects and predict release quality. 44

Monte Carlo: Quality performance Monte Carlo simulation Input from 5 experts Estimated chance of occurrence and impact on FST (1-5 scale) Simulation done to calculate impact on quality factors Result used in BBN model to calculate effect on defect slippage Expected result: Reduced number of requirement defects introduced Increased effectiveness of late testing phases Less defects in products shipped to customers Cost saving: Limited saving in the project Major saving during maintenance 45

SEI Affiliate The Software Engineering Institute Affiliate Program provides sponsoring organizations with an opportunity to contribute their best ideas and people to a uniquely collaborative peer group who combine their technical knowledge and experience to help define superior software engineering practices. Affiliates: http://www.sei.cmu.edu/collaborating/affiliates/affiliates.html 46