The random counting variable. Barbara Russo

Similar documents
Introduction to Reliability Theory (part 2)

Software Reliability & Testing

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

B.H. Far

The exponential distribution and the Poisson process

Notes largely based on Statistical Methods for Reliability Data by W.Q. Meeker and L. A. Escobar, Wiley, 1998 and on their class notes.

Basics of Stochastic Modeling: Part II

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

Lecture 4a: Continuous-Time Markov Chain Models

STAT 509 Section 3.4: Continuous Distributions. Probability distributions are used a bit differently for continuous r.v. s than for discrete r.v. s.

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

CDA5530: Performance Models of Computers and Networks. Chapter 3: Review of Practical

1 Delayed Renewal Processes: Exploiting Laplace Transforms

IEOR 6711: Stochastic Models I, Fall 2003, Professor Whitt. Solutions to Final Exam: Thursday, December 18.

International Journal of Scientific & Engineering Research, Volume 5, Issue 2, February ISSN

Chapter 5 Reliability of Systems

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

1 Probability and Random Variables

Chap 4. Software Reliability

\ fwf The Institute for Integrating Statistics in Decision Sciences

Imprecise Software Reliability

STOCHASTIC MODELS FOR RELIABILITY, AVAILABILITY, AND MAINTAINABILITY

EE126: Probability and Random Processes

Poisson Processes. Particles arriving over time at a particle detector. Several ways to describe most common model.

LECTURE #6 BIRTH-DEATH PROCESS

Mahdi karbasian* & Zoubi Ibrahim

Software Reliability Growth Modelling using a Weighted Laplace Test Statistic

Exponential Distribution and Poisson Process

Continuous case Discrete case General case. Hazard functions. Patrick Breheny. August 27. Patrick Breheny Survival Data Analysis (BIOS 7210) 1/21

CDA6530: Performance Models of Computers and Networks. Chapter 3: Review of Practical Stochastic Processes

CHAPTER 3 ANALYSIS OF RELIABILITY AND PROBABILITY MEASURES

Tutorial 1 : Probabilities

STAT Sample Problem: General Asymptotic Results

STAT331 Lebesgue-Stieltjes Integrals, Martingales, Counting Processes

Reliability and Availability Simulation. Krige Visser, Professor, University of Pretoria, South Africa

RENEWAL PROCESSES AND POISSON PROCESSES

Reliability of Safety-Critical Systems Chapter 9. Average frequency of dangerous failures

These notes will supplement the textbook not replace what is there. defined for α >0

Applied Stochastic Processes

Failure Correlation in Software Reliability Models

BAYESIAN MODELING OF DYNAMIC SOFTWARE GROWTH CURVE MODELS

Part I Stochastic variables and Markov chains

Northwestern University Department of Electrical Engineering and Computer Science

STAT 380 Markov Chains

Poisson Processes. Stochastic Processes. Feb UC3M

Friedrich-Alexander-Universität Erlangen-Nürnberg

Fault-Tolerant Computing

Math Spring Practice for the Second Exam.

Computer Simulation of Repairable Processes

AN INTEGRAL MEASURE OF AGING/REJUVENATION FOR REPAIRABLE AND NON REPAIRABLE SYSTEMS

Section 9.8 Higher Order Linear Equations

Variability within multi-component systems. Bayesian inference in probabilistic risk assessment The current state of the art

Chapter 9 Part II Maintainability

Fleet Maintenance Simulation With Insufficient Data

The Distributions of Stopping Times For Ordinary And Compound Poisson Processes With Non-Linear Boundaries: Applications to Sequential Estimation.

CHAPTER 3 MATHEMATICAL AND SIMULATION TOOLS FOR MANET ANALYSIS

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

Statistics for Engineers Lecture 4 Reliability and Lifetime Distributions

Manual for SOA Exam MLC.

Weibull models for software reliability: case studies

The story of the film so far... Mathematics for Informatics 4a. Continuous-time Markov processes. Counting processes

Continuous-Valued Probability Review

EE 445 / 850: Final Examination

Chapter 2. Poisson Processes. Prof. Shun-Ren Yang Department of Computer Science, National Tsing Hua University, Taiwan

The Effect of Correlated Faults On Software Reliability

Markov Reliability and Availability Analysis. Markov Processes

Reliability of Technical Systems

Introduction to repairable systems STK4400 Spring 2011

Fault Exposure Ratio Estimation and Applications*

HW7 Solutions. f(x) = 0 otherwise. 0 otherwise. The density function looks like this: = 20 if x [10, 90) if x [90, 100]

ELEMENTS OF PROBABILITY THEORY

Non-observable failure progression

Lecture 10: Semi-Markov Type Processes

Failure Correlation in Software Reliability Models

Department of. Computer Science. Empirical Estimation of Fault. Naixin Li and Yashwant K. Malaiya. August 20, Colorado State University

ECE 313 Probability with Engineering Applications Fall 2000

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

Continuous-time Markov Chains

Structural Reliability

Reliability Growth in JMP 10

Queueing Theory. VK Room: M Last updated: October 17, 2013.

Temporal Point Processes the Conditional Intensity Function

Survival Analysis for Case-Cohort Studies

9. Reliability theory

Random variables and transform methods

Repairable Systems Reliability Trend Tests and Evaluation

3. Poisson Processes (12/09/12, see Adult and Baby Ross)

Slides 8: Statistical Models in Simulation

STAT/MATH 395 A - PROBABILITY II UW Winter Quarter Moment functions. x r p X (x) (1) E[X r ] = x r f X (x) dx (2) (x E[X]) r p X (x) (3)

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

Step-Stress Models and Associated Inference

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

Chapter 3 sections. SKIP: 3.10 Markov Chains. SKIP: pages Chapter 3 - continued

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

Guidelines for Analysis of Data Related to Aging of Nuclear Power Plant Components and Systems

Questions 3.83, 6.11, 6.12, 6.17, 6.25, 6.29, 6.33, 6.35, 6.50, 6.51, 6.53, 6.55, 6.59, 6.60, 6.65, 6.69, 6.70, 6.77, 6.79, 6.89, 6.

Modeling Recurrent Events in Panel Data Using Mixed Poisson Models

IEOR 6711: Stochastic Models I SOLUTIONS to the First Midterm Exam, October 7, 2008

Examination paper for TMA4275 Lifetime Analysis

Properties of Continuous Probability Distributions The graph of a continuous probability distribution is a curve. Probability is represented by area

Transcription:

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 Counting Random Variable N(t) } Source: Software Reliability, Measurement Prediction and Application (Musa, Iannino, Okumoto. Pg. 253 )

Preamble } Even if we have complete knowledge of the faults in the software we are not able to state with certainty when next the system will fail } Namely, we do not know } what inputs will be supplied to the system and } in what order, } So we cannot predict which fault will be triggered next and which failure will cause

Predict the time } We may use the local expected mean to evaluate the next time to failure E[T i ]= tf i (t)dt } Does it really answer our problem?

System of prediction } Theoretically yes, but the pdf and cdf are in general not known } Remember? if we consider each single state separately we can consider the system nonrepairable and the local description is given by the hazard rate } In the simplest case when hazards are constant, the {λ i } are unknown, they depend on the system!

Example } Assume that all the failures occur randomly. Then the model is negative exponential and f i (t i )=λ i e -λ it i } and E[T i ]=1/λ i } Inference Procedure: for each i there is an unknown parameter λ i

} How can we find the values of {λ i }? } We can use reliability history to estimate them!

Example } If we want to determine λ i we can use the average of the two previously observed values: } Since it is E[ 1 Ti] = λi } and i 1 [ ] = t + t 2 i E Ti 2 1 2 1 = t i + t i λi = λi 2 t i 2 + t i 1 2 Software reliability 25/05/15

Open questions } Arithmetic mean of which periods? } Until when should we sum? } We do not have these answers } We need to introduce a new random variable that counts

Counting Random Variable } Until now we have seen the point process through two sets of random variables } Ti } Xi } We introduce a new random variable: the Counting Random Variable N(t) } Source: Software Reliability, Measurement Prediction and Apllication (Musa, Iannino, Okumoto. Pg. 253 ) Software Reliability 5/11/16

Counting processes } A stochastic process is counting if the X(t) is the number of items counted by time t } The random counting variable defines a counting process Software reliability 25/05/15

The random counting variable } N(t) = # of failures in the interval (0,t] } N((a,b])= # of failures in the interval (a,b] } N((a,b])=N(b)-N(a) Software Reliability 5/11/16

Counting Function N(t) } N(t) is a counting function that keeps track of the cumulative number of failures a given system is experiencing from 0 to time t } N(t) is a step function that jumps one up every time a failure occurs and stays at the new level until the next failure Software Reliability 5/11/16

N(t) } Note: if you have multiple failures N(t) jumps more than one N(t 4 ) N(t 3 ) N(t 2 ) N(t 1 ) 0 t 1 t 2 t 3 t 4 5/11/16 Software Reliability

Probabilities } N(t) number of failures in the interval (0,t] } p(k)=p{n(t)=k} probability that in the interval (0,t] there are k failures } F(k)=P{N(t) k} probability that in the interval (0,t] there are less than k failures

Probabilities } N(a,b]=N(b)-N(a) difference of # of failures } p(k)=p{n(a,b]=k} probability that in the interval (a,b] there are k failures } F(k)= P{N(a,b] k} probability that in the interval (a,b] there are less than k failures

Expected value for N(t) E[N(t)] = i ip ( i) } Problem: until when should I sum up? } Deciding this is equivalent to expecting that a software has a known number of failures in the interval (0,t]

} So we need to find instruments to estimate the expected number of failures this is a hard work! } With the counting random variable we can define a global process!

Mean function } Mean function is the expected value µ(t)=e(n(t)) } Note that for N, t is the global time! } µ(t) is the expected number of failures at time t

ROCOF } When µ(t) is differentiable then the Rate of Occurence of Failure is defined as } d dt λ(t) = µ(t) } It is the instantaneous rate of change of the expected number of failures

} Time model and Count model are equivalent

Time/No. Failures model equivalence } Lemma. Let fk(t) denote the density of Tk, the time to the k th failure. Then the ROCOF function is λ(t)= fk(t) Proof. P{N(t) k}= P{Tk t} and P{N(t) k+1}= P{Tk+1 t} P{N(t)=k} = P{N(t) k} - P{N(t) k+1} = P{Tk t} - P{Tk+1 t}

Proof µ(t) = E(N(t)) = k*p{n(t)=k} = k>=1 k*(p{t k>=1 k t} - P{T k+1 t}) = P{T k>=1 k t}= = Fk(t) k>=1 d } Then we derive µ(t) = fk(t) dt k>=1