Software Reliability.... Yes sometimes the system fails...

Size: px
Start display at page:

Download "Software Reliability.... Yes sometimes the system fails..."

Transcription

1 Software Reliability... Yes sometimes the system fails...

2 Motivations Software is an essential component of many safety-critical systems These systems depend on the reliable operation of software components How can we decide, whether the software is ready to ship after system test? How can we decide, whether an acquired or developed component is acceptable? G. Antoniol 2012 LOG6305 2

3 What is Reliability? IEEE-Std : Software reliability is defined as the probability of failure-free operation for a specified period of time in a specified environment ISO9126: Reliability is the capability of the software product to maintain a specified level of performance when used under specified conditions G. Antoniol 2012 LOG6305 3

4 Reliability Informal Probability of failure-free operation for a specified time in a specified environment for a given purpose This means quite different things depending on the system and the users of that system Informally, reliability is a measure of how well system users think it provides the services they require Reliability is a measure of how well the software provides the services expected by the customer. Quantification: Number of failures, severity G. Antoniol 2012 LOG6305 4

5 Software Reliability Cannot be defined objectively Reliability measurements which are quoted out of context are not meaningful Requires operational profile for its definition The operational profile defines the expected pattern of software usage Must consider fault consequences Not all faults are equally serious. System is perceived as more unreliable if there are more serious faults G. Antoniol 2012 LOG6305 5

6 Failure Fault A failure corresponds to unexpected run-time behavior observed (by a user) A fault is a static software characteristic which causes a failure to occur Faults need not necessarily cause failures. If a user does not notice a failure, is it a failure? Remember most users don t know the software specification G. Antoniol 2012 LOG6305 6

7 Input/Output Mapping Input set I e Inputs causing erroneous outputs Program Output set O e Erroneous outputs G. Antoniol 2012 LOG6305 7

8 How Can we Measure and Model Reliability The cumulative number of failures by time t Failure Intensity: The number of failures per time unit at time t Mean-Time-To-Failure MTTF: Average value of inter-failure time interval We do not know for sure when the software is going to fail next => model failure behavior as a random process G. Antoniol 2012 LOG6305 8

9 Modeling Cumulative # Failures? x x x x time Failure 1 Failure 2 Failure 3 Failure 4 G. Antoniol 2012 LOG6305 9

10 Reliability Growth Reliability is improved when software faults which occur in the most frequently used parts of the software are removed Removing x% of software faults will not necessarily lead to an x% reliability improvement In a study, removing 60% of software defects actually led to a 3% reliability improvement Removing faults with serious consequences is the most important objective G. Antoniol 2012 LOG

11 Problems with Quantification? US standard for equipment on civil aircraft: [A critical failure must be ] so unlikely that [it] need not be considered ever to occur, unless engineering judgment would require [its] consideration. Typical requirement for critical flight systems: 10-9 probability of failure per flying hour based on a flight mean duration of 10 hours. Problem 1: such a level of reliability cannot be demonstrated would require too much testing time Problem 2: Reliability is relative to the usage of the system G. Antoniol 2012 LOG

12 Usage Patterns Possible inputs User 1 Erroneous inputs User 3 User 2 G. Antoniol 2012 LOG

13 Reliability and Quality Reliability is usually more important than other quality aspects Unreliable software isn't used Hard to improve the quality of unreliable systems Software failure costs often far exceed system costs Costs of data loss are very high G. Antoniol 2012 LOG

14 Reliability Metrics Probability of failure on demand This is a measure of the likelihood that the system will fail when a service request is made POFOD = means 1 out of 1000 service requests result in failure Relevant for safety-critical or non-stop systems Rate of fault occurrence (ROCOF) Frequency of occurrence of unexpected behavior ROCOF of 0.02 means 2 failures are likely in each 100 operational time units Relevant for operating systems, transaction processing systems G. Antoniol 2012 LOG

15 Reliability Metrics Mean time to failure Measure of the time between observed failures MTTF of 500 means that the time between failures is 500 time units Relevant for systems with long transactions e.g. CAD systems Availability Measure of how likely the system is available for use. Takes repair/restart time into account Availability of means software is available for 998 out of 1000 time units Relevant for continuously running systems e.g. telephone switching systems G. Antoniol 2012 LOG

16 Reliability Measurement Measure the number of system failures for a given number of system inputs Used to compute POFOD Measure the time (or number of transactions) between system failures Used to compute ROCOF and MTTF Measure the time to restart after failure Used to compute AVAIL G. Antoniol 2012 LOG

17 Time Units Time units in reliability measurement must be carefully selected. Not the same for all systems Raw execution time (for non-stop systems) Calendar time (for systems which have a regular usage pattern e.g. systems which are always run once per day) Number of transactions (for systems which are used on demand) G. Antoniol 2012 LOG

18 Failure Consequences Reliability measurements do NOT take the consequences of failure into account Transient faults may have no real consequences but other faults may cause data loss or corruption and loss of system service May be necessary to identify different failure classes and use different measurements for each of these G. Antoniol 2012 LOG

19 Specification Reliability requirements are only rarely expressed in a quantitative, verifiable way. To verify reliability metrics, an operational profile must be specified as part of the test plan. Reliability is dynamic - reliability specifications related to the source code are meaningless. No more than N faults/1000 lines. This is only useful for a post-delivery process analysis. G. Antoniol 2012 LOG

20 A Classification Failure class Transient Permanent Recoverable Unrecoverable Non-corrupting Corrupting Description Occurs only with certain inputs Occurs with all inputs System can recover without operator intervention Operator intervention needed to recover from failure Failure does not corrupt sys tem state or data Failure corrupts system s tate or data G. Antoniol 2012 LOG

21 Specification Validation It is impossible to empirically validate very high reliability specifications No database corruptions means POFOD of less than 1 in 200 million If a transaction takes 1 second, then simulating one day s transactions takes 3.5 days It would take longer than the system s lifetime to test it for reliability G. Antoniol 2012 LOG

22 Compromises Because of very high costs of reliability achievement, it may be more cost effective to accept unreliability (and pay for failure costs) Social, business and political factors: A reputation for unreliable products may lose future business Depends on system type - for business systems in particular, modest reliability may be adequate G. Antoniol 2012 LOG

23 Costs Cost Low Medium High Very Reliability high Ultrahigh G. Antoniol 2012 LOG

24 Statistical Testing Testing software for reliability rather than fault detection Test data selection should follow the predicted usage profile for the software Measuring the number of errors allows the reliability of the software to be predicted An acceptable level of reliability should be specified and the software tested and amended until that level of reliability is reached G. Antoniol 2012 LOG

25 Testing Procedure Determine operational profile of the software Generate a set of test data corresponding to this profile Apply tests, measuring amount of execution time between each failure After a statistically valid number of tests have been executed, reliability can be measured G. Antoniol 2012 LOG

26 Difficulties Uncertainty in the operational profile This is a particular problem for new systems with no operational history. Less of a problem for replacement systems High costs of generating the operational profile Costs are very dependent on what usage information is collected by the organisation which requires the profile Statistical uncertainty when high reliability is specified Difficult to estimate level of confidence in operational profile Usage pattern of software may change with time G. Antoniol 2012 LOG

27 Reliability Growth Model Growth model is a mathematical model of the system reliability change as it is tested and faults are removed Used as a means of reliability prediction by extrapolating from current data Depends on the use of statistical testing to measure the reliability of a system version G. Antoniol 2012 LOG

28 Reliability Models Many different reliability growth models have been proposed No universally applicable growth model Reliability should be measured and observed data should be fitted to several models Best-fit model should be used for reliability prediction G. Antoniol 2012 LOG

29 Models and Prediction Reliability = Measured reliability Fitted reliability model curve Required reliability Estimated Time time of reliability G. Antoniol 2012 LOG6305 achievement 29

30 Hardware Reliability Well-developed reliability theories A hardware component may fail due to design error, poor fabrication quality, momentary overload, deterioration, etc. The random nature of system failure enables the estimation of system reliability using probability theory Can it be adapted for software? No physical deterioration, most programs always provide the same answer to the same input, the fabrication of code is trivial, etc. G. Antoniol 2012 LOG

31 Software Reliability Engineering No method of development can guarantee totally reliable software => important field in practice! A set of statistical modeling techniques Enables the achieved reliability to be assessed or predicted, quantitatively and objectively Based on observation of system failures during system testing and operational use Uses general reliability theory, but is much more than that G. Antoniol 2012 LOG

32 Applications How reliable is the program/component now? Based on the current reliability of a purchased/reused component: can we accept it or should we reject it? Based on the current reliability of the system: can we stop testing and start shipping? How reliable will the system be, if we continue testing for some time? When will the reliability objective be achieved? How many failures will occur in the field (and when) to help plan resources for customer support? G. Antoniol 2012 LOG

33 Random Variable A random variable X is a function defined over a sample space S X associates a real numbers x with each possible outcome in S: X(e) = x If S is finite or countable infinite we say that X is discrete If X can be any value in a given interval we say that X is a continuous random variable G. Antoniol 2012 LOG

34 Discrete Random Variable If S is countable X(e) is countable Event probability: { : ( ) =, } P e X e x e S Probability density function (pdf): p( xi ) 0 p( xi ) = 1 Cumulative distribution function (cdf): P { } x X x = i p( xi ) x i x G. Antoniol 2012 LOG

35 Mean and Variance [ ] = x E X x p( x) [( ) ] Var(X) = E X - E(X) 2 G. Antoniol 2012 LOG

36 Continuous Random Variables The pdf of a continuos random variable X is a function: f ( x) + Notice: x: f ( x) 0 f ( x) dx = 1 Cumulative distribution: x F(x) = f ( y) dy G. Antoniol 2012 LOG

37 Mean and Variance E[ X ] = + xf ( x) dx [ [ ]) 2 ] Var(X) = E (X - E X G. Antoniol 2012 LOG

38 Conditional Probabilities We are interested in a subset B of the universe set S, in other words the sample space is essentially B. Let P(B)>0 and let A be a subset of S we define the probability of A relative to the new sample space B: P(A B) = P(A B) / P(B) G. Antoniol 2012 LOG

39 Conditional Distributions Discrete: p( x x ) = P(X = x X = x ) = i j i j P(X = x X = i P(X = x j ) x j ) Continuous: f ( x y) = f ( x, y) f ( y) Notice: f + (x) = f ( x, y) dy G. Antoniol 2012 LOG

40 Stochastic Processes A stochastic process is a collection of random variables: X or X(t) t where t is a suitable index set. In other words t may be a discrete time unit the the index set is T=[0,1,2,3,...] or it can be a point in a continuos time interval, then the index set is equal to: T =[0, ) G. Antoniol 2012 LOG

41 Reliability The random variable of interest is the time to failure T. We focus our interest on the probability that the time to failure between is in some interval. The time to failure T in some interval: In other words: T (t, t + Δt) P(t T t + Δt) = f (t) Δt = F(t + Δt) - F(t) The pdf f is also called failure density function G. Antoniol 2012 LOG

42 Reliability Function R(t) Since T is defined only for positive values: F(t) = P(0 T t) = f ( y) dy is the probability of observing a failure before t. The probability of success at time t, R(t), i.e. the failure time is larger than t: R(t) = P(T > t) = 1- F(t) = t 0 + t f ( y) dy G. Antoniol 2012 LOG

43 Failure Rate Failure rate is the probability that a failure per unit time occurs in an interval, given that a failure has not occurred before t: P(t T < t + Δt T > t) Δt = P(t T < t + Δt) Δt P(T > t) = F(t + Δt) - F(t) Δt R(t) G. Antoniol 2012 LOG

44 Hazard Rate The hazard rate is the limit when the failure rate interval approaches to zero: F(t + Δt) - F(t) f ( t) z( t) = lim = Δt 0 Δt R(t) R(t) Given that the system survived up to t, z(t), is the instantaneous failure rate, i.e. z(t)dt is the probability that a system of age t will fail in the small interval t, t+dt G. Antoniol 2012 LOG

45 R(t) and z(t) By definition: z( t) = df(t) dt 1 R(t) Since: R(t) =1- F(t) which means dr(t) dt It can be derived: lg R(t) = - z (x)dx + c Since the system is usually good at t=0, R(0)=1: t 0 = - df(t) dt R(t) = exp - t z (x)dx 0 G. Antoniol 2012 LOG

46 R(t) z(t) f(t) R(t) = exp - t z (x)dx 0 t f (t) = z(t) exp - z(x)dx 0 G. Antoniol 2012 LOG

47 Hazard Rate Over Time Typical hazard rate: Hazard rate z(t) Region I: early failure Bathtub curve Region II: random failure Region III: wear-out failure Debugging phase Normal operating phase Do not apply to software G. Antoniol 2012 LOG time

48 Example Constant hazard rate z( t) = λ f ( t) = λ R(t) = e - λ t λ e - t Linearly increasing hazard rate z( t) = K λ f ( t) = Kt e -Kt 2 2 R(t) = e -K t2 2 G. Antoniol 2012 LOG

49 Expected Life It is often referred as Mean Time To Failure (MTTF): In term of reliability: MTTF = E[ T ] = 0 0 tf ( t ) dt MTTF = R( t) dt G. Antoniol 2012 LOG

50 MTTF Examples Constant hazard rate: MTTF = R(t)dt = e 1 - λ t dt = λ 0 0 Linearly increasing hazard rate: MTTF = R(t)dt = e K t 2 dt = 1 Γ 2 = 2 K 2 π 2K G. Antoniol 2012 LOG

51 Another Point of View Instead of the random variable T, the time to next failure, we can model with the number of failure a system experienced by time t. Clearly the number of failure experienced by time t is a random variable, actually it is a random process, since once fixed the time the number of experienced failures is a random variable. G. Antoniol 2012 LOG

52 Failure Intensity Let M(t) be a random process representing the cumulative number of failures by time t, its mean value is: µ (t) = E[ M(t) ] The failure intensity function is: µ λ (t) = d (t) dt = d dt ( E[ M(t) ]) G. Antoniol 2012 LOG

53 Failure Intensity m(t) = E[M(t)], with M(t) be the random process denoting the cumulative number of failures by time t, we denote m(t) as its mean value function l(t) : Failure intensity, average number of failures by unit of time at time t, Instantaneous rate of change of the expected number of failures (m(t)) Reliability growth implies: dl(t)/dt < 0 G. Antoniol 2012 LOG

54 Graphical Representation G. Antoniol 2012 LOG

55 Failure Intensity Properties The failure intensity represent the expected number of failures per unit of time. The number of failures that will occur between t and t + can be approximated by λ (t) Δt While µ (t) is a non decreasing function, it is the cumulative number of failures at t, the failure intensity, its derivative, must decrease in order to obtain an increase in R(t) Δt G. Antoniol 2012 LOG

56 Reliability Models Classification Time domain: wall clock versus execution time Category: the total number of failure that can be experienced in infinite time (finite or infinite) Type: the distribution of the number of failures experienced by time t (Poisson or Binomial) G. Antoniol 2012 LOG

57 Poisson Type The distribution of the failure experienced by time t is a Poisson process. In other words if: t = 0, t, t,..., t = t n is a partition of the interval [0,t] we have a Poisson process if f i i = 1,2,...,n the number of faults detected in the i-th interval are independent Poissons variables with [ ] E f = µ (t ) µ (t ) i i i-1 G. Antoniol 2012 LOG

58 Classification µ t ( ) If is a linear function of time, we say that M(t) is a Homogenous Poisson Process (HPP) µ t ( ) If is a non linear we say that M(t) is a Non-Homogeneous Poisson Process G. Antoniol 2012 LOG

59 Binomial Processes There is a fixed number of faults (N) in the software at the beginning of the time in which the software is observed When a fault is detected it is removed immediately If Ta is the random variable denoting the time to failure of fault a, then the Ta for a=1,2,3,...n are independently an identical distributed random variables (as well as the remaining faults!) G. Antoniol 2012 LOG

60 Software Reliability Engineering Process define reliability objective modeling expected system usage prepare test cases execute test collect failure data Perform: Reliability Certification Monitor: Reliability Growth Requirements Design/Code Test G. Antoniol 2012 LOG

61 Software Reliability Engineering Process define reliability objective modeling expected system usage prepare test cases execute test collect failure data Perform: Reliability Certification Monitor: Reliability Growth Requirements Design/Code Test G. Antoniol 2012 LOG

62 Model Expected System Usage Definition of reliability assumes a specified environment ð To make statements on reliability in field during system test, we must test in conditions that are similar to field conditions Model how users will employ the software: environment, type of installation, distribution of inputs over input space According to the usage model, test cases are selected randomly One example of usage model Operational Profile (Musa): Set of system operations and their probabilities of occurrence G. Antoniol 2012 LOG

63 Operational Profile 40% probability 30% 20% Operation1 Operation2 Operation3 Operation4 10% G. Antoniol 2012 LOG

64 Operations Major system logical task of short duration, which returns control to the system when complete and whose processing is substantially different from other operations major: related to functional requirement (similar to use cases) logical: not bound to software, hardware, users, machines short: 100s-1000s operations per hour under normal load conditions different: likely to contain different faults In OO systems, an operation ~ use case G. Antoniol 2012 LOG

65 Examples Command executed by a user Response to an input from an external system or device, e.g., processing a transaction, processing an event (alarm) Routine housekeeping, e.g., file backup, database cleanup G. Antoniol 2012 LOG

66 Develop Operational Profiles Identify who/what can initiate operations Users (of different types), external systems and devices, system itself Create a list of operations for each operation initiator and consolidate results Source: requirements, draft user manuals, prototypes, previous program versions, discuss with expected users 20 to several hundred operations are typical Determine occurrence rates (per hour) of the individual operations existing field data, record field operations, simulation, estimates Derive occurrence probabilities G. Antoniol 2012 LOG

67 Example: Fone Follower (FF) Requirements Forward incoming phone calls (voice, fax) anywhere Subscriber calls FF, enters phone numbers for where he plans to be as a function of time FF forwards incoming calls from network (voice, fax) to subscriber as per program. If no response to voice call, subscriber is paged (if subscriber has pager). If no response or no pager, voice calls are forwarded to voice mail Subscribers view service as standard telephone service combined with FF FF uses vendor-supplied operating system of unknown reliability G. Antoniol 2012 LOG

68 Initiators of Operations Event driven systems often have many external systems that can initiate operations in them Typically, the system under study may initiate itself administrative and maintenance operations FF: User types: subscribers, system administrators External system: Telephone network FF (audits, backups) G. Antoniol 2012 LOG

69 FF Operations List Subscriber System Administrator Network FF Phone number entry Add subscriber Delete subscriber Proc. voice call, no pager, answer Proc. voice call, no pager, no answer Proc. voice call, pager, answer Proc. voice call, pager, ans. on page Proc. voice call, pager, no ans. on page Proc. fax call Audit section of phone number database Recover from hardware failure G. Antoniol 2012 LOG

70 FF Operational Profile Operation Phone number entry Add subscriber Delete subscriber Proc. voice call, no pager, answer Proc. voice call, no pager, no answer Proc. voice call, pager, answer Proc. voice call, pager, ans. on page Proc. voice call, pager, no ans. on page Proc. fax call Audit section of phone number database Recover from hardware failure Occ.Rate (per hr) Occ.Prob ,1 0,10 0,0005 0,0005 0,18 0,17 0,17 0,12 0,10 0,15 0,009 0, G. Antoniol 2012 LOG

71 Statistical Testing Testing based on operational profiles is referred to as statistical testing This form of testing has the advantage of testing more intensively the system functions that will be used the most Good for reliability estimation, but not very effective in terms of finding defects Hence we differentiate testing that aims at finding defects (verification) and testing whose purpose is reliability assessment (validation). There exists research on techniques that combine white-box testing and statistical testing G. Antoniol 2012 LOG

72 Software Reliability Engineering Process define reliability objective modeling expected system usage prepare test cases execute test collect failure data Perform: Reliability Certification Monitor: Reliability Growth Requirements Design/Code Test G. Antoniol 2012 LOG

73 Can We Accept a Component? Certification Testing: Show that a (acquired or developed) component satisfies a given reliability objective (e.g., failure intensity) Generate test data randomly according to usage model (e.g., operational profile) Record all failures (also multiple ones) but do not correct G. Antoniol 2012 LOG

74 Procedure Use a hypothesis testing control chart to show that the reliability objective is/is not satisfied Reliability Demonstration Chart» Collect times at which failures occurred» Normalize data by multiplying with failure intensity objective (using same units!)» Plot each failure in chart» Based on region in which failure falls, accept or reject component G. Antoniol 2012 LOG

75 Reliability Demonstration Chart Reliability Demonstration Chart 16 Failure No Reject Continue Accept Fail.No Mcalls at failure Normalized measure => accept Failure Intensity Objective: 4 failures/mcalls Normalized failure time (failure time x failure intensity objective) John Musa, Software Reliability, 1998 G. Antoniol 2012 LOG

76 Creating Demonstration Charts Select discrimination ratio γ(acceptable factor of error in estimating failure intensity) Select consumer risk α (probability of accepting a system that does not satisfy failure intensity objective) Select supplier risk β (probability of rejecting a system that does satisfy failure intensity objective) Recommended defaults (γ=2, α=0.1, β=0.1) 10% risk of wrongly accepting component when failure intensity is actually >= 2 * failure intensity objective 10% risk of wrongly rejecting component when failure intensity is actually <=1/2 * failure intensity objective G. Antoniol 2012 LOG

77 Boundary Lines The next step is to construct boundary lines (between reject and Continue and Continue and Accept) according to the following formulae T N = A nlnγ 1 γ T N = B nlnγ 1 γ β A = ln 1 α Where T N = boundaries for normalized failure time (x axis) n = failure number (y axis) B = 1 ln β α G. Antoniol 2012 LOG

78 Software Reliability Engineering Process define reliability objective modeling expected system usage prepare test cases execute test collect failure data Perform: Reliability Certification Monitor: Reliability Growth Requirements Design/Code Test G. Antoniol 2012 LOG

79 Failure Data: Interfailure times G. Antoniol 2012 LOG

80 Can We Stop Testing? reliability objective Monitor: Reliability Growth execute test collect failure data Select appr. reliability models no Use models to compute current reliability reliability objective met? reliability objective yes Failure intensity measured failure intensity fitted reliability model curves estimated time of reliability achievement delivery G. Antoniol 2012 LOG

81 MUSA Model Developed by John Musa at ATT Bell Labs One of the first proposed and still widely applied It is based on execution time Execution time can be converted into calendar time ( in a second part of the model) G. Antoniol 2012 LOG

82 Basic Assumptions The rate of fault detection is proportional to the current number of faults in the code The fault detection rate remains constant over the interval between faults occurrence A fault is corrected instantaneously, without introducing new faults in the code The failure when the faults are detected are independent The software is operated in a similar manner as that in which reliability predictions are made Every fault has the same change of being encountered within a severity class as any other fault in that class G. Antoniol 2012 LOG

83 MUSA Assumptions Basic assumptions The cumulative number of failure by time t, M(t), follows a Poisson process with mean functions: The execution times between failure are piecewise exponentially distributes, i.e. the hazard rate is a constant [ β t ] 1 e µ (t) = β 1 with β > 0 0 0,1 G. Antoniol 2012 LOG

84 MUSA Assumptions... Resources available (testing personnel, debuggers, programmers) are constant over the segment of time for which the system is observed Fault-identification personnel can be fully utilized and computer utilization is constant Fault-correction personnel is established by the limitation of fault queue length for any fault correction person. G. Antoniol 2012 LOG

85 MUSA Required Data To apply MUSA model we need the actual time that software failed or the elapsed time between failures G. Antoniol 2012 LOG

86 MUSA Model Form Given the assumptions: [ β t ] 1 e µ (t) = β 1 with β > 0 0 0,1 λ (t) = β 0 β 1 e -β 1 t This is a finite failure model with the total number of faults: β 0 G. Antoniol 2012 LOG

87 Maximum Likelihood Estimation MLE chooses an estimator such that the observed sample is the most likely to occur among all possible samples. Assuming X has a pdf f ( x θ) where θ is unknown the joint pdf of the sample { X 1,..., X n } is called the likelihood function. L( θ) = n i=1 f ( x i θ) G. Antoniol 2012 LOG

88 MUSA MLE Suppose we observed n failure, at times: t1, t 2,..., t n Suppose from the last failure t n an additional time of x has elapsed which means the total time the system has been observed from the beginning is: t x with x 0 n + The likelihood function is: n n n 1 i L( β0, β1) = β0 β1 e e i= 1 [ -β ( ) ] - t e 1 + β β tn x G. Antoniol 2012 LOG

89 MUSA MLE Solution The parameters estimation for the betas give:! β 0 n = 1 exp! + [ β ( )] 1 t n x n! β n exp! 1 1 ( t ) n + x ( t x) [ β ] n n + i 1 t i= 1 = 0 Substitute the betas estimate into the equation of model to µ t, λ t,...,etc obtain an estimate of R(t), ( ) ( ) G. Antoniol 2012 LOG

90 Example Suppose the following times of failure were observed: 10, 18, 32 49, 64, 86, 105, 132, 167, 207 in hours and suppose an additional 15 CPU hours of no failures:! β 0 10 = 1 exp 222! ( β ) ! β exp 222! = 0 ( β ) 1 1 With the result of :! β = 136. and! β = G. Antoniol 2012 LOG

91 Parameters Interpretation By making the correspondence: β = φb and β = ν We represent the constant hazard rate φ factor B. and the fault reduction B models the imperfect bug fixing process; Military standards suggest B = 0.955, close to 1 but not 1 that means 5% of time when fixing a defect we really introduce a new one. G. Antoniol 2012 LOG

92 MUSA Simplest Solution Consider the failure intensities a function of the mean number of failure: µ λ( µ ) λ 1 λ( µ ) = β ( β µ ) = ν ou 0 find the least square solution of this line with the actual data. One parameter are available we can decide how much effort is still required. Let λ, λ be the final / present failure intensity F P ( ) Δµ = ν0 λ λ λ 0 P F Δt = ν 0 λp lg λ λ 0 F G. Antoniol 2012 LOG

93 Grouping of Data Chose a number of failure you wish to consider for each sub-interval say k (suggested k=5) Divide the data set into p independent sub-sets each containing exactly k failures (p is the smallest integer greater or equal the total number of failure divided by k) Estimate failure intensity as the ratio between the number of failure in the interval and the interval duration G. Antoniol 2012 LOG

94 Example k=3, first interval 2 failure, second interval 3, third 3... G. Antoniol 2012 LOG

95 Equations r l = t kl k t k( l 1) l = 1, 2,..., p 1 r p = me t m e total number of failure t e time when observations are stopped m l = k( l 1 ) cumulative failure up to l interval Build the couples: ( r m ) l l e k( p 1) t ( 1) k p, fit with the model λ ( µ ) µ = λ0 1 ν 0 G. Antoniol 2012 LOG

96 G. Antoniol 2012 LOG Line fitting ( ) i y i x, Remember: for a data set And an equation y=bx+a We have: bx y a x x n y x y x n b n i n i n i n i n i i ˆ ˆ ˆ = =

97 Remark The role of (r,m) are those of ( λ, µ ) But our equation is: λ µ 0 ν ou 0 ( µ ) λ 1 λ( µ ) = β ( β µ ) = 1 0 ν λ Th is to say we need to 0 µ = λ + ν invert the relation: 0 0 G. Antoniol 2012 LOG

98 Geometric Model Fault detection is a geometric Series, constant between two faults There are infinite faults in the system λ µ ( µ β ), = β β e 0 ( t) = β ln( 1+ β t) µ / β 1 Time between 2 faults is an exponential distributions λ ( t) = β 0 1+ β 1 β t 1 G. Antoniol 2012 LOG

99 G. Antoniol 2012 LOG Closed form from Geometric Model ( ) ( ) ( ) + = = = = = = = = = p l l p l l p l l p l l p l l l p l l p l l m r p r m r m p m m p ˆ 1 ln 1 exp ˆ ˆ ln ln ˆ β β β β

100 The Musa-Okumoto Model General Assumptions The system test reflects the intended usage of the system The failures are independent No new faults introduced during corrections Model-specific Assumptions The cumulative number of failures by time t follows a Poisson Process (NHPP) Failure intensity decreases exponentially with the expected number of failures experienced m: l(m)=l 0 exp(-qm) q>0 is failure intensity decay parameter, l 0 is initial failure intensity. Data Requirements Actual times when failures occurred or failure time intervals (execution time) G. Antoniol 2012 LOG

101 Poisson Processes k m(t) 2 1 x x x x Time t P k ( t) = e αt ( αt) k! k G. Antoniol 2012 LOG

102 The Musa-Okumoto Model (2) y:=10*exp(-0.02*x) λ( µ ) = λ e λ( µ ) 0 θµ = λ e 0 θµ 5 Failureintensity(lambda) Meanvaluesexperienced(my) Failure intensity versus failures experienced G. Antoniol 2012 LOG

103 Deriving m(t) and l(t) λ( µ ) = λ e 0 θµ λ ( τ ) = dµ dτ ( τ ) θµ ( τ ) = λ 0 e = λ λ θτ µ ( τ ) = ln( λ θτ + 1) 0 θ G. Antoniol 2012 LOG

104 The Musa-Okumoto Model (3) Meanfailuresexperienced(my) y:=(1/0.02)*log(10*0.02*x+1) µ ( τ ) = ln( λ0 θτ + 1) 80 θ Executiontime(tau) Failures experienced versus execution time t G. Antoniol 2012 LOG

105 The Musa-Okumoto Model (4) Failureintensity(lambda) Failure intensity versus execution time t y:=10/(10*0.02*x+1) λ0 λ( τ ) = λ θτ Executiontime(tau) 0 Collect failure data: time when failure occurred Use tools to determine model parameters l 0 and q Determine whether reliability objective is met or how long it might take to reach G. Antoniol 2012 LOG

106 The Musa-Okumoto Model (5) Once the parameters l 0 and are estimated, it can be used to predict failure intensity in the future, not only to estimate its current value. From this, we can plan how much additional testing is likely to be needed The model allows for the realistic situation where fault correction is not perfect (infinite number of failures at infinite time) When faults stop being corrected, the model reduces to a homogeneous Poisson process with failure intensity l as the parameter the number of failures expected in a time interval then follows a Poisson distribution G. Antoniol 2012 LOG

107 Reliability Estimation Probability of 0 failures in a time frame of length t (reliability): P τ ) 0 ( = e λτ Additional time/failures to reach, from present failure intensity l P, the required failure intensity l F : Dt 1 Δτ = 1 1 θ λ F λ P 1 Δµ = = θ λ P λ F G. Antoniol 2012 LOG

108 Conceptual View of Prediction G. Antoniol 2012 LOG

109 Time Measurement Execution (CPU) time: may be difficult to collect but accurate Calendar time: Easy to collect but makes numerous assumptions (equivalent testing intensity with time periods) Testing effort: Same as calendar time, but easier to verify the assumptions Specific time measurement may often be devised: #Calls, Lines of code compiled, #transactions G. Antoniol 2012 LOG

110 Selection of Models Several Models exist (ca. 40 published) => Which one to select? Not one model is consistently the best. Assumptions of Models: Definition of testing process Finite or infinite number of failures? No faults introduced during debugging? Distribution of data (Poisson, Binomial)? Data requirements? (inter-failure data, failure count data) Assessing the goodness-of-fit Kolmogorow-Smirnov, Chi-Square Trends in Data (prior to model application) Usually, Reliability Models assume reliability growth. Laplace test can be used to test whether we actually experience growth G. Antoniol 2012 LOG

111 Motorola zero failure Model derived from Brettschneider 89 ae bt gives: ln [ fd /(0.5 + fd) ] hours to lg[ ( fd) /( tf + fd) ] fd: failure density needed tf: total failure last failure G. Antoniol 2012 LOG

112 Pro s and Con s Pro s Con s Reliability can be specified Objective and direct assessment of reliability Prediction of time to delivery Usage model may be difficult to devise Selection of reliability growth model difficult Measurement of time crucial but may be difficult in some contexts Not applicable to safety-critical systems as very high reliability requirements would take years of testing to verify. G. Antoniol 2012 LOG

Chap 4. Software Reliability

Chap 4. Software Reliability Chap 4. Software Reliability 4.2 Reliability Growth 1. Introduction 2. Reliability Growth Models 3. The Basic Execution Model 4. Calendar Time Computation 5. Reliability Demonstration Testing 1. Introduction

More information

Fault Tolerant Computing CS 530 Software Reliability Growth. Yashwant K. Malaiya Colorado State University

Fault Tolerant Computing CS 530 Software Reliability Growth. Yashwant K. Malaiya Colorado State University Fault Tolerant Computing CS 530 Software Reliability Growth Yashwant K. Malaiya Colorado State University 1 Software Reliability Growth: Outline Testing approaches Operational Profile Software Reliability

More information

Time-varying failure rate for system reliability analysis in large-scale railway risk assessment simulation

Time-varying failure rate for system reliability analysis in large-scale railway risk assessment simulation Time-varying failure rate for system reliability analysis in large-scale railway risk assessment simulation H. Zhang, E. Cutright & T. Giras Center of Rail Safety-Critical Excellence, University of Virginia,

More information

R E A D : E S S E N T I A L S C R U M : A P R A C T I C A L G U I D E T O T H E M O S T P O P U L A R A G I L E P R O C E S S. C H.

R E A D : E S S E N T I A L S C R U M : A P R A C T I C A L G U I D E T O T H E M O S T P O P U L A R A G I L E P R O C E S S. C H. R E A D : E S S E N T I A L S C R U M : A P R A C T I C A L G U I D E T O T H E M O S T P O P U L A R A G I L E P R O C E S S. C H. 5 S O F T W A R E E N G I N E E R I N G B Y S O M M E R V I L L E S E

More information

The random counting variable. Barbara Russo

The random counting variable. Barbara Russo The random counting variable Barbara Russo Counting Random Variable } Until now we have seen the point process through two sets of random variables } T i } X i } We introduce a new random variable the

More information

Introduction to Reliability Theory (part 2)

Introduction to Reliability Theory (part 2) Introduction to Reliability Theory (part 2) Frank Coolen UTOPIAE Training School II, Durham University 3 July 2018 (UTOPIAE) Introduction to Reliability Theory 1 / 21 Outline Statistical issues Software

More information

Key Words: Lifetime Data Analysis (LDA), Probability Density Function (PDF), Goodness of fit methods, Chi-square method.

Key Words: Lifetime Data Analysis (LDA), Probability Density Function (PDF), Goodness of fit methods, Chi-square method. Reliability prediction based on lifetime data analysis methodology: The pump case study Abstract: The business case aims to demonstrate the lifetime data analysis methodology application from the historical

More information

3 Continuous Random Variables

3 Continuous Random Variables Jinguo Lian Math437 Notes January 15, 016 3 Continuous Random Variables Remember that discrete random variables can take only a countable number of possible values. On the other hand, a continuous random

More information

B.H. Far

B.H. Far SENG 521 Software Reliability & Software Quality Chapter 6: Software Reliability Models Department of Electrical & Computer Engineering, University of Calgary B.H. Far (far@ucalgary.ca) http://www.enel.ucalgary.ca/people/far/lectures/seng521

More information

System Simulation Part II: Mathematical and Statistical Models Chapter 5: Statistical Models

System Simulation Part II: Mathematical and Statistical Models Chapter 5: Statistical Models System Simulation Part II: Mathematical and Statistical Models Chapter 5: Statistical Models Fatih Cavdur fatihcavdur@uludag.edu.tr March 20, 2012 Introduction Introduction The world of the model-builder

More information

Reliability Engineering I

Reliability Engineering I Happiness is taking the reliability final exam. Reliability Engineering I ENM/MSC 565 Review for the Final Exam Vital Statistics What R&M concepts covered in the course When Monday April 29 from 4:30 6:00

More information

EE 445 / 850: Final Examination

EE 445 / 850: Final Examination EE 445 / 850: Final Examination Date and Time: 3 Dec 0, PM Room: HLTH B6 Exam Duration: 3 hours One formula sheet permitted. - Covers chapters - 5 problems each carrying 0 marks - Must show all calculations

More information

Slides 8: Statistical Models in Simulation

Slides 8: Statistical Models in Simulation Slides 8: Statistical Models in Simulation Purpose and Overview The world the model-builder sees is probabilistic rather than deterministic: Some statistical model might well describe the variations. An

More information

Dependable Computer Systems

Dependable Computer Systems Dependable Computer Systems Part 3: Fault-Tolerance and Modelling Contents Reliability: Basic Mathematical Model Example Failure Rate Functions Probabilistic Structural-Based Modeling: Part 1 Maintenance

More information

Practical Applications of Reliability Theory

Practical Applications of Reliability Theory Practical Applications of Reliability Theory George Dodson Spallation Neutron Source Managed by UT-Battelle Topics Reliability Terms and Definitions Reliability Modeling as a tool for evaluating system

More information

Failure Correlation in Software Reliability Models

Failure Correlation in Software Reliability Models Failure Correlation in Software Reliability Models Katerina Goševa Popstojanova, Member IEEE Duke University, Durham Kishor S. Trivedi, Fellow IEEE Duke University, Durham Key Words Software reliability,

More information

Terminology and Concepts

Terminology and Concepts Terminology and Concepts Prof. Naga Kandasamy 1 Goals of Fault Tolerance Dependability is an umbrella term encompassing the concepts of reliability, availability, performability, safety, and testability.

More information

BMIR Lecture Series on Probability and Statistics Fall, 2015 Uniform Distribution

BMIR Lecture Series on Probability and Statistics Fall, 2015 Uniform Distribution Lecture #5 BMIR Lecture Series on Probability and Statistics Fall, 2015 Department of Biomedical Engineering and Environmental Sciences National Tsing Hua University s 5.1 Definition ( ) A continuous random

More information

Ching-Han Hsu, BMES, National Tsing Hua University c 2015 by Ching-Han Hsu, Ph.D., BMIR Lab. = a + b 2. b a. x a b a = 12

Ching-Han Hsu, BMES, National Tsing Hua University c 2015 by Ching-Han Hsu, Ph.D., BMIR Lab. = a + b 2. b a. x a b a = 12 Lecture 5 Continuous Random Variables BMIR Lecture Series in Probability and Statistics Ching-Han Hsu, BMES, National Tsing Hua University c 215 by Ching-Han Hsu, Ph.D., BMIR Lab 5.1 1 Uniform Distribution

More information

Quantitative evaluation of Dependability

Quantitative evaluation of Dependability Quantitative evaluation of Dependability 1 Quantitative evaluation of Dependability Faults are the cause of errors and failures. Does the arrival time of faults fit a probability distribution? If so, what

More information

STA 584 Supplementary Examples (not to be graded) Fall, 2003

STA 584 Supplementary Examples (not to be graded) Fall, 2003 Page 1 of 8 Central Michigan University Department of Mathematics STA 584 Supplementary Examples (not to be graded) Fall, 003 1. (a) If A and B are independent events, P(A) =.40 and P(B) =.70, find (i)

More information

Chapter 5. Statistical Models in Simulations 5.1. Prof. Dr. Mesut Güneş Ch. 5 Statistical Models in Simulations

Chapter 5. Statistical Models in Simulations 5.1. Prof. Dr. Mesut Güneş Ch. 5 Statistical Models in Simulations Chapter 5 Statistical Models in Simulations 5.1 Contents Basic Probability Theory Concepts Discrete Distributions Continuous Distributions Poisson Process Empirical Distributions Useful Statistical Models

More information

3 Modeling Process Quality

3 Modeling Process Quality 3 Modeling Process Quality 3.1 Introduction Section 3.1 contains basic numerical and graphical methods. familiar with these methods. It is assumed the student is Goal: Review several discrete and continuous

More information

Part 3: Fault-tolerance and Modeling

Part 3: Fault-tolerance and Modeling Part 3: Fault-tolerance and Modeling Course: Dependable Computer Systems 2012, Stefan Poledna, All rights reserved part 3, page 1 Goals of fault-tolerance modeling Design phase Designing and implementing

More information

Fault-Tolerant Computing

Fault-Tolerant Computing Fault-Tolerant Computing Motivation, Background, and Tools Slide 1 About This Presentation This presentation has been prepared for the graduate course ECE 257A (Fault-Tolerant Computing) by Behrooz Parhami,

More information

Reliability of Technical Systems

Reliability of Technical Systems Main Topics 1. Introduction, Key Terms, Framing the Problem 2. Reliability Parameters: Failure Rate, Failure Probability, etc. 3. Some Important Reliability Distributions 4. Component Reliability 5. Software

More information

Imprecise Software Reliability

Imprecise Software Reliability Munich, September 2009 Denitions and assumptions of the software reliability models Well-known models Standard denitions of software reliability A fault in a software is an incorrect step, process, or

More information

Computer Science, Informatik 4 Communication and Distributed Systems. Simulation. Discrete-Event System Simulation. Dr.

Computer Science, Informatik 4 Communication and Distributed Systems. Simulation. Discrete-Event System Simulation. Dr. Simulation Discrete-Event System Simulation Chapter 4 Statistical Models in Simulation Purpose & Overview The world the model-builder sees is probabilistic rather than deterministic. Some statistical model

More information

Applied Statistics and Probability for Engineers. Sixth Edition. Chapter 4 Continuous Random Variables and Probability Distributions.

Applied Statistics and Probability for Engineers. Sixth Edition. Chapter 4 Continuous Random Variables and Probability Distributions. Applied Statistics and Probability for Engineers Sixth Edition Douglas C. Montgomery George C. Runger Chapter 4 Continuous Random Variables and Probability Distributions 4 Continuous CHAPTER OUTLINE Random

More information

Chapter 4 Continuous Random Variables and Probability Distributions

Chapter 4 Continuous Random Variables and Probability Distributions Applied Statistics and Probability for Engineers Sixth Edition Douglas C. Montgomery George C. Runger Chapter 4 Continuous Random Variables and Probability Distributions 4 Continuous CHAPTER OUTLINE 4-1

More information

Topic 3 - Discrete distributions

Topic 3 - Discrete distributions Topic 3 - Discrete distributions Basics of discrete distributions Mean and variance of a discrete distribution Binomial distribution Poisson distribution and process 1 A random variable is a function which

More information

CHAPTER 3 MATHEMATICAL AND SIMULATION TOOLS FOR MANET ANALYSIS

CHAPTER 3 MATHEMATICAL AND SIMULATION TOOLS FOR MANET ANALYSIS 44 CHAPTER 3 MATHEMATICAL AND SIMULATION TOOLS FOR MANET ANALYSIS 3.1 INTRODUCTION MANET analysis is a multidimensional affair. Many tools of mathematics are used in the analysis. Among them, the prime

More information

STAT2201. Analysis of Engineering & Scientific Data. Unit 3

STAT2201. Analysis of Engineering & Scientific Data. Unit 3 STAT2201 Analysis of Engineering & Scientific Data Unit 3 Slava Vaisman The University of Queensland School of Mathematics and Physics What we learned in Unit 2 (1) We defined a sample space of a random

More information

Chapter 2. 1 From Equation 2.10: P(A 1 F) ˆ P(A 1)P(F A 1 ) S i P(F A i )P(A i ) The denominator is

Chapter 2. 1 From Equation 2.10: P(A 1 F) ˆ P(A 1)P(F A 1 ) S i P(F A i )P(A i ) The denominator is Chapter 2 1 From Equation 2.10: P(A 1 F) ˆ P(A 1)P(F A 1 ) S i P(F A i )P(A i ) The denominator is 0:3 0:0001 0:01 0:005 0:001 0:002 0:0002 0:04 ˆ 0:00009 P(A 1 F) ˆ 0:0001 0:3 ˆ 0:133: 0:00009 Similarly

More information

Northwestern University Department of Electrical Engineering and Computer Science

Northwestern University Department of Electrical Engineering and Computer Science Northwestern University Department of Electrical Engineering and Computer Science EECS 454: Modeling and Analysis of Communication Networks Spring 2008 Probability Review As discussed in Lecture 1, probability

More information

MATH 56A: STOCHASTIC PROCESSES CHAPTER 6

MATH 56A: STOCHASTIC PROCESSES CHAPTER 6 MATH 56A: STOCHASTIC PROCESSES CHAPTER 6 6. Renewal Mathematically, renewal refers to a continuous time stochastic process with states,, 2,. N t {,, 2, 3, } so that you only have jumps from x to x + and

More information

ECE 313 Probability with Engineering Applications Fall 2000

ECE 313 Probability with Engineering Applications Fall 2000 Exponential random variables Exponential random variables arise in studies of waiting times, service times, etc X is called an exponential random variable with parameter λ if its pdf is given by f(u) =

More information

Brief Review of Probability

Brief Review of Probability Maura Department of Economics and Finance Università Tor Vergata Outline 1 Distribution Functions Quantiles and Modes of a Distribution 2 Example 3 Example 4 Distributions Outline Distribution Functions

More information

A Probability Primer. A random walk down a probabilistic path leading to some stochastic thoughts on chance events and uncertain outcomes.

A Probability Primer. A random walk down a probabilistic path leading to some stochastic thoughts on chance events and uncertain outcomes. A Probability Primer A random walk down a probabilistic path leading to some stochastic thoughts on chance events and uncertain outcomes. Are you holding all the cards?? Random Events A random event, E,

More information

UNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering. Fault Tolerant Computing ECE 655

UNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering. Fault Tolerant Computing ECE 655 UNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering Fault Tolerant Computing ECE 655 Part 1 Introduction C. M. Krishna Fall 2006 ECE655/Krishna Part.1.1 Prerequisites Basic courses in

More information

Multiple Random Variables

Multiple Random Variables Multiple Random Variables Joint Probability Density Let X and Y be two random variables. Their joint distribution function is F ( XY x, y) P X x Y y. F XY ( ) 1, < x

More information

Probability and Distributions

Probability and Distributions Probability and Distributions What is a statistical model? A statistical model is a set of assumptions by which the hypothetical population distribution of data is inferred. It is typically postulated

More information

PROBABILITY DISTRIBUTIONS

PROBABILITY DISTRIBUTIONS Review of PROBABILITY DISTRIBUTIONS Hideaki Shimazaki, Ph.D. http://goo.gl/visng Poisson process 1 Probability distribution Probability that a (continuous) random variable X is in (x,x+dx). ( ) P x < X

More information

ELEMENTS OF PROBABILITY THEORY

ELEMENTS OF PROBABILITY THEORY ELEMENTS OF PROBABILITY THEORY Elements of Probability Theory A collection of subsets of a set Ω is called a σ algebra if it contains Ω and is closed under the operations of taking complements and countable

More information

This does not cover everything on the final. Look at the posted practice problems for other topics.

This does not cover everything on the final. Look at the posted practice problems for other topics. Class 7: Review Problems for Final Exam 8.5 Spring 7 This does not cover everything on the final. Look at the posted practice problems for other topics. To save time in class: set up, but do not carry

More information

System Simulation Part II: Mathematical and Statistical Models Chapter 5: Statistical Models

System Simulation Part II: Mathematical and Statistical Models Chapter 5: Statistical Models System Simulation Part II: Mathematical and Statistical Models Chapter 5: Statistical Models Fatih Cavdur fatihcavdur@uludag.edu.tr March 29, 2014 Introduction Introduction The world of the model-builder

More information

Chapter 1 Statistical Reasoning Why statistics? Section 1.1 Basics of Probability Theory

Chapter 1 Statistical Reasoning Why statistics? Section 1.1 Basics of Probability Theory Chapter 1 Statistical Reasoning Why statistics? Uncertainty of nature (weather, earth movement, etc. ) Uncertainty in observation/sampling/measurement Variability of human operation/error imperfection

More information

57:022 Principles of Design II Final Exam Solutions - Spring 1997

57:022 Principles of Design II Final Exam Solutions - Spring 1997 57:022 Principles of Design II Final Exam Solutions - Spring 1997 Part: I II III IV V VI Total Possible Pts: 52 10 12 16 13 12 115 PART ONE Indicate "+" if True and "o" if False: + a. If a component's

More information

Chapter 5. System Reliability and Reliability Prediction.

Chapter 5. System Reliability and Reliability Prediction. Chapter 5. System Reliability and Reliability Prediction. Problems & Solutions. Problem 1. Estimate the individual part failure rate given a base failure rate of 0.0333 failure/hour, a quality factor of

More information

Maintenance free operating period an alternative measure to MTBF and failure rate for specifying reliability?

Maintenance free operating period an alternative measure to MTBF and failure rate for specifying reliability? Reliability Engineering and System Safety 64 (1999) 127 131 Technical note Maintenance free operating period an alternative measure to MTBF and failure rate for specifying reliability? U. Dinesh Kumar

More information

Structural Reliability

Structural Reliability Structural Reliability Thuong Van DANG May 28, 2018 1 / 41 2 / 41 Introduction to Structural Reliability Concept of Limit State and Reliability Review of Probability Theory First Order Second Moment Method

More information

I I FINAL, 01 Jun 8.4 to 31 May TITLE AND SUBTITLE 5 * _- N, '. ', -;

I I FINAL, 01 Jun 8.4 to 31 May TITLE AND SUBTITLE 5 * _- N, '. ', -; R AD-A237 850 E........ I N 11111IIIII U 1 1I!til II II... 1. AGENCY USE ONLY Leave 'VanK) I2. REPORT DATE 3 REPORT TYPE AND " - - I I FINAL, 01 Jun 8.4 to 31 May 88 4. TITLE AND SUBTITLE 5 * _- N, '.

More information

Examination paper for TMA4275 Lifetime Analysis

Examination paper for TMA4275 Lifetime Analysis Department of Mathematical Sciences Examination paper for TMA4275 Lifetime Analysis Academic contact during examination: Ioannis Vardaxis Phone: 95 36 00 26 Examination date: Saturday May 30 2015 Examination

More information

Computer Science, Informatik 4 Communication and Distributed Systems. Simulation. Discrete-Event System Simulation. Dr.

Computer Science, Informatik 4 Communication and Distributed Systems. Simulation. Discrete-Event System Simulation. Dr. Simulation Discrete-Event System Simulation Chapter 9 Verification and Validation of Simulation Models Purpose & Overview The goal of the validation process is: To produce a model that represents true

More information

Dependable Systems. ! Dependability Attributes. Dr. Peter Tröger. Sources:

Dependable Systems. ! Dependability Attributes. Dr. Peter Tröger. Sources: Dependable Systems! Dependability Attributes Dr. Peter Tröger! Sources:! J.C. Laprie. Dependability: Basic Concepts and Terminology Eusgeld, Irene et al.: Dependability Metrics. 4909. Springer Publishing,

More information

Quiz #2 A Mighty Fine Review

Quiz #2 A Mighty Fine Review Quiz #2 A Mighty Fine Review February 27: A reliable adventure; a day like all days filled with those events that alter and change the course of history and you will be there! What is a Quiz #2? Three

More information

Software Reliability Growth Modelling using a Weighted Laplace Test Statistic

Software Reliability Growth Modelling using a Weighted Laplace Test Statistic Software Reliability Growth Modelling using a Weighted Laplace Test Statistic Yan Luo Torsten Bergander A. Ben Hamza Concordia Institute for Information Systems Engineering Concordia University, Montréal,

More information

Week 1 Quantitative Analysis of Financial Markets Distributions A

Week 1 Quantitative Analysis of Financial Markets Distributions A Week 1 Quantitative Analysis of Financial Markets Distributions A Christopher Ting http://www.mysmu.edu/faculty/christophert/ Christopher Ting : christopherting@smu.edu.sg : 6828 0364 : LKCSB 5036 October

More information

errors every 1 hour unless he falls asleep, in which case he just reports the total errors

errors every 1 hour unless he falls asleep, in which case he just reports the total errors I. First Definition of a Poisson Process A. Definition: Poisson process A Poisson Process {X(t), t 0} with intensity λ > 0 is a counting process with the following properties. INDEPENDENT INCREMENTS. For

More information

Signal Handling & Processing

Signal Handling & Processing Signal Handling & Processing The output signal of the primary transducer may be too small to drive indicating, recording or control elements directly. Or it may be in a form which is not convenient for

More information

CIVL Continuous Distributions

CIVL Continuous Distributions CIVL 3103 Continuous Distributions Learning Objectives - Continuous Distributions Define continuous distributions, and identify common distributions applicable to engineering problems. Identify the appropriate

More information

Repairable Systems Reliability Trend Tests and Evaluation

Repairable Systems Reliability Trend Tests and Evaluation Repairable Systems Reliability Trend Tests and Evaluation Peng Wang, Ph.D., United Technologies Research Center David W. Coit, Ph.D., Rutgers University Keywords: repairable system, reliability trend test,

More information

ISyE 6644 Fall 2014 Test 3 Solutions

ISyE 6644 Fall 2014 Test 3 Solutions 1 NAME ISyE 6644 Fall 14 Test 3 Solutions revised 8/4/18 You have 1 minutes for this test. You are allowed three cheat sheets. Circle all final answers. Good luck! 1. [4 points] Suppose that the joint

More information

Summary of basic probability theory Math 218, Mathematical Statistics D Joyce, Spring 2016

Summary of basic probability theory Math 218, Mathematical Statistics D Joyce, Spring 2016 8. For any two events E and F, P (E) = P (E F ) + P (E F c ). Summary of basic probability theory Math 218, Mathematical Statistics D Joyce, Spring 2016 Sample space. A sample space consists of a underlying

More information

Stochastic Renewal Processes in Structural Reliability Analysis:

Stochastic Renewal Processes in Structural Reliability Analysis: Stochastic Renewal Processes in Structural Reliability Analysis: An Overview of Models and Applications Professor and Industrial Research Chair Department of Civil and Environmental Engineering University

More information

Practice Problems Section Problems

Practice Problems Section Problems Practice Problems Section 4-4-3 4-4 4-5 4-6 4-7 4-8 4-10 Supplemental Problems 4-1 to 4-9 4-13, 14, 15, 17, 19, 0 4-3, 34, 36, 38 4-47, 49, 5, 54, 55 4-59, 60, 63 4-66, 68, 69, 70, 74 4-79, 81, 84 4-85,

More information

Continuous Distributions

Continuous Distributions A normal distribution and other density functions involving exponential forms play the most important role in probability and statistics. They are related in a certain way, as summarized in a diagram later

More information

Chapter 4 Continuous Random Variables and Probability Distributions

Chapter 4 Continuous Random Variables and Probability Distributions Chapter 4 Continuous Random Variables and Probability Distributions Part 3: The Exponential Distribution and the Poisson process Section 4.8 The Exponential Distribution 1 / 21 Exponential Distribution

More information

Basics of Uncertainty Analysis

Basics of Uncertainty Analysis Basics of Uncertainty Analysis Chapter Six Basics of Uncertainty Analysis 6.1 Introduction As shown in Fig. 6.1, analysis models are used to predict the performances or behaviors of a product under design.

More information

SYSM 6303: Quantitative Introduction to Risk and Uncertainty in Business Lecture 4: Fitting Data to Distributions

SYSM 6303: Quantitative Introduction to Risk and Uncertainty in Business Lecture 4: Fitting Data to Distributions SYSM 6303: Quantitative Introduction to Risk and Uncertainty in Business Lecture 4: Fitting Data to Distributions M. Vidyasagar Cecil & Ida Green Chair The University of Texas at Dallas Email: M.Vidyasagar@utdallas.edu

More information

Probability Distribution

Probability Distribution Economic Risk and Decision Analysis for Oil and Gas Industry CE81.98 School of Engineering and Technology Asian Institute of Technology January Semester Presented by Dr. Thitisak Boonpramote Department

More information

Computer Science, Informatik 4 Communication and Distributed Systems. Simulation. Discrete-Event System Simulation. Dr.

Computer Science, Informatik 4 Communication and Distributed Systems. Simulation. Discrete-Event System Simulation. Dr. Simulation Discrete-Event System Simulation Chapter 8 Input Modeling Purpose & Overview Input models provide the driving force for a simulation model. The quality of the output is no better than the quality

More information

IoT Network Quality/Reliability

IoT Network Quality/Reliability IoT Network Quality/Reliability IEEE PHM June 19, 2017 Byung K. Yi, Dr. of Sci. Executive V.P. & CTO, InterDigital Communications, Inc Louis Kerofsky, PhD. Director of Partner Development InterDigital

More information

Math Review Sheet, Fall 2008

Math Review Sheet, Fall 2008 1 Descriptive Statistics Math 3070-5 Review Sheet, Fall 2008 First we need to know about the relationship among Population Samples Objects The distribution of the population can be given in one of the

More information

15-388/688 - Practical Data Science: Basic probability. J. Zico Kolter Carnegie Mellon University Spring 2018

15-388/688 - Practical Data Science: Basic probability. J. Zico Kolter Carnegie Mellon University Spring 2018 15-388/688 - Practical Data Science: Basic probability J. Zico Kolter Carnegie Mellon University Spring 2018 1 Announcements Logistics of next few lectures Final project released, proposals/groups due

More information

It can be shown that if X 1 ;X 2 ;:::;X n are independent r.v. s with

It can be shown that if X 1 ;X 2 ;:::;X n are independent r.v. s with Example: Alternative calculation of mean and variance of binomial distribution A r.v. X has the Bernoulli distribution if it takes the values 1 ( success ) or 0 ( failure ) with probabilities p and (1

More information

Expected Values, Exponential and Gamma Distributions

Expected Values, Exponential and Gamma Distributions Expected Values, Exponential and Gamma Distributions Sections 5.2-5.4 Cathy Poliak, Ph.D. cathy@math.uh.edu Office in Fleming 11c Department of Mathematics University of Houston Lecture 14-3339 Cathy Poliak,

More information

CSE 312 Final Review: Section AA

CSE 312 Final Review: Section AA CSE 312 TAs December 8, 2011 General Information General Information Comprehensive Midterm General Information Comprehensive Midterm Heavily weighted toward material after the midterm Pre-Midterm Material

More information

10 Introduction to Reliability

10 Introduction to Reliability 0 Introduction to Reliability 10 Introduction to Reliability The following notes are based on Volume 6: How to Analyze Reliability Data, by Wayne Nelson (1993), ASQC Press. When considering the reliability

More information

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science 6.262 Discrete Stochastic Processes Midterm Quiz April 6, 2010 There are 5 questions, each with several parts.

More information

Some Practice Questions for Test 2

Some Practice Questions for Test 2 ENGI 441 Probability and Statistics Faculty of Engineering and Applied Science Some Practice Questions for Test 1. The probability mass function for X = the number of major defects in a randomly selected

More information

Failure rate in the continuous sense. Figure. Exponential failure density functions [f(t)] 1

Failure rate in the continuous sense. Figure. Exponential failure density functions [f(t)] 1 Failure rate (Updated and Adapted from Notes by Dr. A.K. Nema) Part 1: Failure rate is the frequency with which an engineered system or component fails, expressed for example in failures per hour. It is

More information

Load-strength Dynamic Interaction Principle and Failure Rate Model

Load-strength Dynamic Interaction Principle and Failure Rate Model International Journal of Performability Engineering Vol. 6, No. 3, May 21, pp. 25-214. RAMS Consultants Printed in India Load-strength Dynamic Interaction Principle and Failure Rate Model LIYANG XIE and

More information

CHAPTER 1 A MAINTENANCE MODEL FOR COMPONENTS EXPOSED TO SEVERAL FAILURE MECHANISMS AND IMPERFECT REPAIR

CHAPTER 1 A MAINTENANCE MODEL FOR COMPONENTS EXPOSED TO SEVERAL FAILURE MECHANISMS AND IMPERFECT REPAIR CHAPTER 1 A MAINTENANCE MODEL FOR COMPONENTS EXPOSED TO SEVERAL FAILURE MECHANISMS AND IMPERFECT REPAIR Helge Langseth and Bo Henry Lindqvist Department of Mathematical Sciences Norwegian University of

More information

Recap. Probability, stochastic processes, Markov chains. ELEC-C7210 Modeling and analysis of communication networks

Recap. Probability, stochastic processes, Markov chains. ELEC-C7210 Modeling and analysis of communication networks Recap Probability, stochastic processes, Markov chains ELEC-C7210 Modeling and analysis of communication networks 1 Recap: Probability theory important distributions Discrete distributions Geometric distribution

More information

Objective Experiments Glossary of Statistical Terms

Objective Experiments Glossary of Statistical Terms Objective Experiments Glossary of Statistical Terms This glossary is intended to provide friendly definitions for terms used commonly in engineering and science. It is not intended to be absolutely precise.

More information

Modeling and Performance Analysis with Discrete-Event Simulation

Modeling and Performance Analysis with Discrete-Event Simulation Simulation Modeling and Performance Analysis with Discrete-Event Simulation Chapter 9 Input Modeling Contents Data Collection Identifying the Distribution with Data Parameter Estimation Goodness-of-Fit

More information

Reliability Growth in JMP 10

Reliability Growth in JMP 10 Reliability Growth in JMP 10 Presented at Discovery Summit 2012 September 13, 2012 Marie Gaudard and Leo Wright Purpose of Talk The goal of this talk is to provide a brief introduction to: The area of

More information

Chapter 5. Continuous Probability Distributions

Chapter 5. Continuous Probability Distributions Continuous Probability Distributions - 06 Chapter 5. Continuous Probability Distributions 5.. Introduction In this chapter, we introduce some of the common probability density functions (PDFs) for continuous

More information

Engineering Risk Benefit Analysis

Engineering Risk Benefit Analysis Engineering Risk Benefit Analysis 1.155, 2.943, 3.577, 6.938, 10.816, 13.621, 16.862, 22.82, ESD.72, ESD.721 RPRA 3. Probability Distributions in RPRA George E. Apostolakis Massachusetts Institute of Technology

More information

Statistical Reliability Modeling of Field Failures Works!

Statistical Reliability Modeling of Field Failures Works! Statistical Reliability Modeling of Field Failures Works! David Trindade, Ph.D. Distinguished Principal Engineer Sun Microsystems, Inc. Quality & Productivity Research Conference 1 Photo by Dave Trindade

More information

Expected Values, Exponential and Gamma Distributions

Expected Values, Exponential and Gamma Distributions Expected Values, Exponential and Gamma Distributions Sections 5.2 & 5.4 Cathy Poliak, Ph.D. cathy@math.uh.edu Office in Fleming 11c Department of Mathematics University of Houston Lecture 13-3339 Cathy

More information

Stochastic Models in Computer Science A Tutorial

Stochastic Models in Computer Science A Tutorial Stochastic Models in Computer Science A Tutorial Dr. Snehanshu Saha Department of Computer Science PESIT BSC, Bengaluru WCI 2015 - August 10 to August 13 1 Introduction 2 Random Variable 3 Introduction

More information

Probability and Probability Distributions. Dr. Mohammed Alahmed

Probability and Probability Distributions. Dr. Mohammed Alahmed Probability and Probability Distributions 1 Probability and Probability Distributions Usually we want to do more with data than just describing them! We might want to test certain specific inferences about

More information

An Integral Measure of Aging/Rejuvenation for Repairable and Non-repairable Systems

An Integral Measure of Aging/Rejuvenation for Repairable and Non-repairable Systems An Integral Measure of Aging/Rejuvenation for Repairable and Non-repairable Systems M.P. Kaminskiy and V.V. Krivtsov Abstract This paper introduces a simple index that helps to assess the degree of aging

More information

Continuous random variables

Continuous random variables Continuous random variables Continuous r.v. s take an uncountably infinite number of possible values. Examples: Heights of people Weights of apples Diameters of bolts Life lengths of light-bulbs We cannot

More information

Distribution Fitting (Censored Data)

Distribution Fitting (Censored Data) Distribution Fitting (Censored Data) Summary... 1 Data Input... 2 Analysis Summary... 3 Analysis Options... 4 Goodness-of-Fit Tests... 6 Frequency Histogram... 8 Comparison of Alternative Distributions...

More information

Probability Theory and Random Variables

Probability Theory and Random Variables Probability Theory and Random Variables One of the most noticeable aspects of many computer science related phenomena is the lack of certainty. When a job is submitted to a batch oriented computer system,

More information

Non-observable failure progression

Non-observable failure progression Non-observable failure progression 1 Age based maintenance policies We consider a situation where we are not able to observe failure progression, or where it is impractical to observe failure progression:

More information

Markov Reliability and Availability Analysis. Markov Processes

Markov Reliability and Availability Analysis. Markov Processes Markov Reliability and Availability Analysis Firma convenzione Politecnico Part II: Continuous di Milano e Time Veneranda Discrete Fabbrica State del Duomo di Milano Markov Processes Aula Magna Rettorato

More information