IV&V Facility PI: Katerina Goseva – Popstojanova Students: Sunil Kamavaram & Olaolu Adekunle Lane Department of Computer Science and Electrical Engineering.

Slides:



Advertisements
Similar presentations
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. A PowerPoint Presentation Package to Accompany Applied Statistics.
Advertisements

Design of Experiments Lecture I
Chapter 18 If mathematical analysis is too difficult, we can try each possibility out on paper. That way we can find which alternative appears to work.
Structural reliability analysis with probability- boxes Hao Zhang School of Civil Engineering, University of Sydney, NSW 2006, Australia Michael Beer Institute.
SE503 Advanced Project Management Dr. Ahmed Sameh, Ph.D. Professor, CS & IS Project Uncertainty Management.
Materials for Lecture 11 Chapters 3 and 6 Chapter 16 Section 4.0 and 5.0 Lecture 11 Pseudo Random LHC.xls Lecture 11 Validation Tests.xls Next 4 slides.
Sensitivity Analysis In deterministic analysis, single fixed values (typically, mean values) of representative samples or strength parameters or slope.
Software Reliability Engineering
Propagation of Error Ch En 475 Unit Operations. Quantifying variables (i.e. answering a question with a number) 1. Directly measure the variable. - referred.
Engineering Economic Analysis Canadian Edition
©GoldSim Technology Group LLC., 2004 Probabilistic Simulation “Uncertainty is a sign of humility, and humility is just the ability or the willingness to.
Error Propagation. Uncertainty Uncertainty reflects the knowledge that a measured value is related to the mean. Probable error is the range from the mean.
CSE 300: Software Reliability Engineering Topics covered: Project overview.
Statistics.
ADCATS A Closed Form Solution for Nonlinear Tolerance Analysis Geoff Carlson Brigham Young University.
Robert M. Saltzman © DS 851: 4 Main Components 1.Applications The more you see, the better 2.Probability & Statistics Computer does most of the work.
Lecture II-2: Probability Review
Monté Carlo Simulation MGS 3100 – Chapter 9. Simulation Defined A computer-based model used to run experiments on a real system.  Typically done on a.
1 D r a f t Life Cycle Assessment A product-oriented method for sustainability analysis UNEP LCA Training Kit Module k – Uncertainty in LCA.
1 Assessment of Imprecise Reliability Using Efficient Probabilistic Reanalysis Farizal Efstratios Nikolaidis SAE 2007 World Congress.
Models for Software Reliability N. El Kadri SEG3202.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 24 Slide 1 Critical Systems Validation 1.
Development of An ERROR ESTIMATE P M V Subbarao Professor Mechanical Engineering Department A Tolerance to Error Generates New Information….
Chap 11 Engineering Statistics PREP004 – Introduction to Applied Engineering College of Engineering - University of Hail Fall 2009.
IV&V Facility 1 FY2002 Initiative: Software Architecture Metrics Hany Ammar, Mark Shereshevsky, Nicholay Gradetsky, Diaa Eldin Nassar, Walid AbdelMoez,
Chapter 2: Software Process Omar Meqdadi SE 2730 Lecture 2 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
Monte Carlo Simulation CWR 6536 Stochastic Subsurface Hydrology.
Combined Uncertainty P M V Subbarao Professor Mechanical Engineering Department A Model for Propagation of Uncertainty ….
Stochastic Linear Programming by Series of Monte-Carlo Estimators Leonidas SAKALAUSKAS Institute of Mathematics&Informatics Vilnius, Lithuania
Engineering Economic Analysis Canadian Edition
Probabilistic Reasoning for Robust Plan Execution Steve Schaffer, Brad Clement, Steve Chien Artificial Intelligence.
Estimating a Population Proportion
West Virginia University Towards Practical Software Reliability Assessment for IV&V Projects B. Cukic, E. Gunel, H. Singh, V. Cortellessa Department of.
MEGN 537 – Probabilistic Biomechanics Ch.5 – Determining Distributions and Parameters from Observed Data Anthony J Petrella, PhD.
Delivering Integrated, Sustainable, Water Resources Solutions Monte Carlo Simulation Robert C. Patev North Atlantic Division – Regional Technical Specialist.
IV&V Facility 1 FY 2002 Initiative IV&V of UML Hany Ammar, Katerina Goseva-Popstojanova, V. Cortelessa, Ajith Guedem, Diaa Eldin Nassar, Walid AbdelMoez,
Chapter 6. Control Charts for Variables. Subgroup Data with Unknown  and 
Monté Carlo Simulation  Understand the concept of Monté Carlo Simulation  Learn how to use Monté Carlo Simulation to make good decisions  Learn how.
Estimating Component Availability by Dempster-Shafer Belief Networks Estimating Component Availability by Dempster-Shafer Belief Networks Lan Guo Lane.
Propagation of Error Ch En 475 Unit Operations. Quantifying variables (i.e. answering a question with a number) 1. Directly measure the variable. - referred.
Selecting Input Probability Distribution. Simulation Machine Simulation can be considered as an Engine with input and output as follows: Simulation Engine.
Statistics Presentation Ch En 475 Unit Operations.
Research Heaven, West Virginia FY2003 Initiative: Hany Ammar, Mark Shereshevsky, Walid AbdelMoez, Rajesh Gunnalan, and Ahmad Hassan LANE Department of.
Chapter 10 Verification and Validation of Simulation Models
5-1 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. May 28, 2009 Inventory # Chapter 5 Six Sigma.
Monte Carlo Process Risk Analysis for Water Resources Planning and Management Institute for Water Resources 2008.
Sampling distributions rule of thumb…. Some important points about sample distributions… If we obtain a sample that meets the rules of thumb, then…
Software Architecture Risk Assessment (SARA) Tool Khader Shaik, Wallid Abdelmoez, Dr. Hanny Ammar Lane Department of Computer Science and Electrical Engineering,
1 OUTPUT ANALYSIS FOR SIMULATIONS. 2 Introduction Analysis of One System Terminating vs. Steady-State Simulations Analysis of Terminating Simulations.
Center for Reliability Engineering Integrating Software into PRA B. Li, M. Li, A. Sinha, Y. Wei, C. Smidts Presented by Bin Li Center for Reliability Engineering.
Copyright 2011 by Coleman & Steele. Absolutely no reproduction of any portion without explicit written permission. 1 UNCERTAINTY ANALYSIS: A BASIC OVERVIEW.
How Good is a Model? How much information does AIC give us? –Model 1: 3124 –Model 2: 2932 –Model 3: 2968 –Model 4: 3204 –Model 5: 5436.
Analysis of Experimental Data; Introduction
POLS 7000X STATISTICS IN POLITICAL SCIENCE CLASS 5 BROOKLYN COLLEGE-CUNY SHANG E. HA Leon-Guerrero and Frankfort-Nachmias, Essentials of Statistics for.
Research Heaven, West Virginia PI: Katerina Goseva – Popstojanova Students: Ajay Deep Singh & Sunil Mazimdar Lane Dept. Computer Science and Electrical.
Statistics Presentation Ch En 475 Unit Operations.
System Analysis System – set of interdependent elements that interact in order to accomplish a one or more final outcomes. Constrained and affected by:
MEGN 537 – Probabilistic Biomechanics Ch.5 – Determining Distributions and Parameters from Observed Data Anthony J Petrella, PhD.
1 Life Cycle Assessment A product-oriented method for sustainability analysis UNEP LCA Training Kit Module k – Uncertainty in LCA.
Chapter 9 Introduction to the t Statistic
Computer Simulation Henry C. Co Technology and Operations Management,
Monte Carlo Simulation Random Number Generation
Prepared by Lloyd R. Jaisingh
How Good is a Model? How much information does AIC give us?
CPM, PERT & Schedule Risk Analysis in Construction
Statistical Methods For Engineers
Statistics Review ChE 477 Winter 2018 Dr. Harding.
Filtering and State Estimation: Basic Concepts
Simulation Berlin Chen
Uncertainty Propagation
Presentation transcript:

IV&V Facility PI: Katerina Goseva – Popstojanova Students: Sunil Kamavaram & Olaolu Adekunle Lane Department of Computer Science and Electrical Engineering West Virginia University, Morgantown, WV Real-World Software Reliability Assessment (WVU UI#7: Sensitivity of Software Reliability to Operational Profile Errors: Architecture-Based Approach)

IV&V Facility 2 What we are doing? Anyone can see a fire What we need are smoke detectors But what about the sensitivity and accuracy of the alarms ?

IV&V Facility 3 Problem statement & Our goal  Traditional view: Point estimate of software reliability computed from the model using point estimates of input parameters  Problem: Estimation of a trustworthy operational profile is difficult  IV&V information on operational profiles - limited, may be inaccurate  Single operational profile could not be sufficient to describe the use by different users  Software systems evolve - operational profile may change  Our goal: Reliability “sensitometer” that enables us to answer the question “How parameters uncertainty propagates into overall application reliability?”  Develop an architecture-based methodology for uncertainty analysis of software reliability & apply it on case studies

IV&V Facility 4 What we can do?  Benefits to IV&V  Software reliability assessment throughout the life cycle (keeping track of the software evolution)  Allocation of testing efforts  Software certification Reliability frequency chart & distribution fitting Certainty bands (percentiles) Entropy as a measure of uncertainty Execution rates & uncertainty of components

IV&V Facility 5 Architecture - based methodology for uncertainty analysis Uninformed Approach (maximum entropy) Uninformed Approach (maximum entropy) Intended Approach (historical data, UML) Intended Approach (historical data, UML) Informed Approach (component traces) Informed Approach (component traces) 1-p 23 1-p E 3 p 23 p 12 1 Fault injection Fault injection Non-failed executions Non-failed executions Growth models Growth models R1R1 R2R2 R3R3 Uncertainty analysis

IV&V Facility 6 Methods for uncertainty analysis Uncertainty analysis Sensitivity studies Entropy Confidence intervals Probability distributions Analytical Monte Carlo simulation Method of moments Perturbation analysis

IV&V Facility 7 Choice of the method  Choose the method using the following criteria  Data requirements & ability to collect data  Reliability measures  Accuracy of the solution  Scalability with respect to the number of components  Our goal: fill the table Method Data requirements Reliability measures Accuracy of the solution Scalability

IV&V Facility 8 Construction of the software architecture model 1 2 E 3 1-p 23 1-p 12 p 23 p 12 1  Structural phase – establishment of static software architecture  Software specifications  Architectural design  Parser-based or lexically based tools (SIAT tool - Titan Systems Corporation)  Statistical phase – estimation of the relative frequencies of component interactions, that is, transition probabilities  Uniform distribution – maximum entropy approach  Historical data  Software specification (e.g. UML use case & sequence diagrams)  Component traces from profiles or test coverage tools (Testing tool for JSC AERCam project - Dr.Yann-Hang Lee, ASU)

IV&V Facility 9 European Space Agency case study Informed Approach (component traces) Informed Approach (component traces) 1-p 23 1-p E 3 p 23 p 12 1 Fault Injection (real faults) Fault Injection (real faults) R1R1 R2R2 R3R3 Two faulty versions were obtained reinserting the real faults discovered during the integration testing and operational usage Component traces obtained during testing were used for constructing software architecture & estimating transition probabilities  Almost lines of C code  The program has been extensively used after the last fault removal without failures; this gold version is used as an oracle

IV&V Facility 10 Parameter estimation  Two versions  Version A: faulty components 1&2, fault-free component 3  Version B: faulty components 2, fault-free components 1&3  Transition probabilities where is the number of times control was transferred from component i to component j, and  Component reliability where is the number of failures and is the number of executions of component i in N randomly generated test cases B A p 23 p 12 Version R 1 R 2 R 3 A B1 1

IV&V Facility 11 Construction of the architecture – based software reliability modelF 1-R 1 1-R 2 1-R 3 E 3 (1-p 23 )R p 23 R 2 (1-p 12 )R 1 p 12 R 1 R3 R3 C 1

IV&V Facility 12 Traditional View: Point estimates of software reliability  Actual reliability of the software where F is the number of system failures in N randomly generated test cases  Estimated reliability from the model  Results Version Actual reliability Estimated reliability Error A % B %

IV&V Facility 13 Methods for uncertainty analysis Uncertainty analysis Sensitivity studies Entropy Confidence intervals Probability distributions Analytical Monte Carlo simulation Method of moments Perturbation analysis

IV&V Facility 14 Sensitivity of software reliability to variations in operational profile Version A reliabilityVersion B reliability R max = R min = R max = R min =

IV&V Facility 15 Methods for uncertainty analysis Uncertainty analysis Sensitivity studies Entropy Confidence intervals Probability distributions Analytical Monte Carlo simulation Method of moments Perturbation analysis

IV&V Facility 16 Uncertainty study based on entropy  Entropy quantifies the uncertainty present in a stochastic source where represents the usage distribution and the transition probabilities  Higher entropy implies an exponentially greater number of statistically typical paths  Maximum entropy – all transitions that are exit arcs from each state are equiprobable

IV&V Facility 17 Uncertainty of the operational profile H max = H min =  Operational profile A (H= ) is more uncertain than operational profile B (H= )  Software systems that have uniform operational profile are more uncertain and thus would require more testing H max = H min =

IV&V Facility 18 Uncertainty of software reliability Operational profile  Considering software failure behavior increases the uncertainty for both versions compared to the uncertainty due to operational profile  Version B, which is more reliable, is less uncertain than version A Version A uncertainty Version B uncertainty Version A reliabilityVersion B reliability

IV&V Facility 19 Uncertainty of components for the operational profile  Uncertainty of component i is estimated using the conditional entropy  Uncertainty of component i will be higher if it transfers the control to more components and the transition probabilities are equiprobable Version A Version B

IV&V Facility 20 Uncertainty of components for the software reliability model  Uncertainty of component 1 version B remains the same because  For all other components uncertainty increases due to  Components that have higher expected execution rate, higher component uncertainty, and moderate reliability should be allocated more testing effort Version B Version A

IV&V Facility 21 Methods for uncertainty analysis Uncertainty analysis Sensitivity studies Entropy Confidence intervals Probability distributions Analytical Monte Carlo simulation Method of moments Perturbation analysis

IV&V Facility 22 Uncertainty study based on the method of moments  Method of moments involves the following steps 1.Obtain the expression for the system reliability using the architecture-based software reliability model 2.Expand the expression for system reliability using Taylor series 3.Determine the moments of the components reliabilities 4.Estimate the mean and the variance of the system reliability using the parameter moments and Taylor series coefficients

IV&V Facility 23 First order Taylor series  First order Taylor series expansion where is the mean component reliability, and  Mean reliability is  Variance of the reliability is where is the variance of the component reliability

IV&V Facility 24 Second order Taylor series  Second order Taylor series expansion  Mean reliability is  Variance of the reliability is

IV&V Facility 25 Method of moments for the case study  Second order approximation does not improve accuracy significantly First order Taylor series Second order Taylor series Mean reliability Version AStandard deviation Variance Mean reliability Version BStandard deviation Variance  Version B is more reliable with less variance of the reliability

IV&V Facility 26 Methods for uncertainty analysis Uncertainty analysis Sensitivity studies Entropy Confidence intervals Probability distributions Analytical Monte Carlo simulation Method of moments Perturbation analysis

IV&V Facility 27 Uncertainty study based on Monte Carlo simulation  Monte Carlo simulation involves the following steps 1.Obtain the expression for the system reliability using the architecture-based software reliability model 2.Assign probability distributions to the transition probabilities and components reliabilities 3.Sample the distributions 4.Compute the reliability of the system using the sampled values 5.Repeat steps 3&4 until the desired number of values of system reliability has been generated 6.Calculate the moments, frequency chart and percentiles for the system reliability, do the distribution fitting

IV&V Facility 28 Variation of the operational profile: Frequency chart and distribution fitting Mean Standard deviation (Spread of the distribution) Variance (Spread of the distribution) Skewness (Lean of the distribution) Kurtosis (Peakedness of the distribution)2.6047

IV&V Facility 29  95% certainty band shows the range of values in which reliability has 95% chance of falling Variation of the operational profile: Percentiles 75% 95%

IV&V Facility 30 Convergence of the mean The estimation of the mean reliability converges after around 3000 iterations Mean reliability =0.7600

IV&V Facility 31  Reliability is more sensitive to p 1E ; the variance is positive  Reliability is also sensitive to p 12 ; the variance is negative Variation of the operational profile: Sensitivity measured by contribution to variance

IV&V Facility 32 Version AVersion B Variation of the operational profile and component reliabilities: Frequency charts Version AVersion B Mean Standard deviation (Spread of the distribution) Variance (Spread of the distribution) Coefficient of variation (Relative measure of spread) Skewness (Lean of the distribution) Kurtosis (Peakedness of the distribution)

IV&V Facility 33 Version AVersion B Variation of the operational profile and component reliabilities: Distribution fitting & percentiles

IV&V Facility 34 Making a choice Method Data requirements Reliability measures Accuracy of the solution Scalability Sensitivity Point estimatesSensitivity of the point estimate Exact analytical solutionLarge systems Entropy Point estimatesNAExact analytical solutionLarge systems Method of moments Moments of the parameters Moments  Approximate solution: accuracy may be increased by higher order Taylor series Small to medium systems Monte Carlo simulation  Distribution functions of the parameters  Generation of random numbers  Distribution  Moments  Approximate solution: accuracy may be increased by increasing the sample size  Sampling errors may be involved in case of long tail distributions Large systems

IV&V Facility 35 Accomplishments  Architecture-based methodology for uncertainty analysis of software reliability was developed  Four different methods already developed  These methods were illustrated on the European Space Agency software

IV&V Facility 36 Future work  Develop other methods for uncertainty analysis  Complete “Make a choice” table  Apply & validate all methods using NASA case studies  SIAT tool - Titan Systems Corporation  Testing tool for JSC AERCam project - Dr.Yann-Hang Lee, ASU