Probability and Statistics with Reliability, Queuing and Computer Science Applications

Similar documents
M/M/1 and M/M/m Queueing Systems

These axioms must hold for all vectors ū, v, and w in V and all scalars c and d.

1. (First passage/hitting times/gambler s ruin problem:) Suppose that X has a discrete state space and let i be a fixed state. Let

Development of dynamically evolving and self-adaptive software. 1. Background

Recall that two vectors in are perpendicular or orthogonal provided that their dot

Periodic Capacity Management under a Lead Time Performance Constraint

Fluid models in performance analysis

Fluid Models for Production-Inventory Systems

IEOR 6711: Stochastic Models, I Fall 2012, Professor Whitt, Final Exam SOLUTIONS

Alessandro Birolini. ineerin. Theory and Practice. Fifth edition. With 140 Figures, 60 Tables, 120 Examples, and 50 Problems.

by the matrix A results in a vector which is a reflection of the given

CHAPTER 7 STOCHASTIC ANALYSIS OF MANPOWER LEVELS AFFECTING BUSINESS 7.1 Introduction

Analysis of a Production/Inventory System with Multiple Retailers

The Analysis of Dynamical Queueing Systems (Background)

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

A Profit-Maximizing Production Lot sizing Decision Model with Stochastic Demand

FEGYVERNEKI SÁNDOR, PROBABILITY THEORY AND MATHEmATICAL

4.5 Linear Dependence and Linear Independence

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

Application of Markov chain analysis to trend prediction of stock indices Milan Svoboda 1, Ladislav Lukáš 2

D-Policy for a Production Inventory System with Perishable Items

Practice Problems for Homework #8. Markov Chains. Read Sections Solve the practice problems below.

Systems of Linear Equations

Optimal proportional reinsurance and dividend pay-out for insurance companies with switching reserves

Applying Mean-field Approximation to Continuous Time Markov Chains

Linear Equations in Linear Algebra

Master s Theory Exam Spring 2006

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

A linear combination is a sum of scalars times quantities. Such expressions arise quite frequently and have the form

Methods for Finding Bases

NOTES ON LINEAR TRANSFORMATIONS

DERIVATIVES AS MATRICES; CHAIN RULE

LECTURE 4. Last time: Lecture outline

Random access protocols for channel access. Markov chains and their stability. Laurent Massoulié.

Bounding of Performance Measures for Threshold-Based Queuing Systems: Theory and Application to Dynamic Resource Management in Video-on-Demand Servers

From the probabilities that the company uses to move drivers from state to state the next year, we get the following transition matrix:

Using the Theory of Reals in. Analyzing Continuous and Hybrid Systems

Tutorial: Stochastic Modeling in Biology Applications of Discrete- Time Markov Chains. NIMBioS Knoxville, Tennessee March 16-18, 2011

Name: Section Registered In:

1/3 1/3 1/

SOLVING LINEAR SYSTEMS

160 CHAPTER 4. VECTOR SPACES

Note on growth and growth accounting

MODELING CUSTOMER RELATIONSHIPS AS MARKOV CHAINS. Journal of Interactive Marketing, 14(2), Spring 2000, 43-55

Linear Algebra Notes

Response time behavior of distributed voting algorithms for managing replicated data

State of Stress at Point

Linear Maps. Isaiah Lankham, Bruno Nachtergaele, Anne Schilling (February 5, 2007)

LS.6 Solution Matrices

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

MATH APPLIED MATRIX THEORY

A Markovian Model for Investment Analysis in Advertising

Linearly Independent Sets and Linearly Dependent Sets

SALEM COMMUNITY COLLEGE Carneys Point, New Jersey COURSE SYLLABUS COVER SHEET. Action Taken (Please Check One) New Course Initiated

MATH2210 Notebook 1 Fall Semester 2016/ MATH2210 Notebook Solving Systems of Linear Equations... 3

Programma della seconda parte del corso

Circuits 1 M H Miller

On the D-Stability of Linear and Nonlinear Positive Switched Systems

Quantification of Security and Survivability

Second Order Linear Nonhomogeneous Differential Equations; Method of Undetermined Coefficients. y + p(t) y + q(t) y = g(t), g(t) 0.

POLYNOMIAL FUNCTIONS

( ) which must be a vector

DiPro - A Tool for Probabilistic Counterexample Generation

Chapter 19. General Matrices. An n m matrix is an array. a 11 a 12 a 1m a 21 a 22 a 2m A = a n1 a n2 a nm. The matrix A has n row vectors

MATH 423 Linear Algebra II Lecture 38: Generalized eigenvectors. Jordan canonical form (continued).

Pull versus Push Mechanism in Large Distributed Networks: Closed Form Results

Solving Systems of Linear Equations Using Matrices

Alabama Department of Postsecondary Education

Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model

Average System Performance Evaluation using Markov Chain

PÓLYA URN MODELS UNDER GENERAL REPLACEMENT SCHEMES

Applications to Data Smoothing and Image Processing I

Similarity and Diagonalization. Similar Matrices

Examination paper for TMA4115 Matematikk 3

Special Situations in the Simplex Algorithm

Lecture L3 - Vectors, Matrices and Coordinate Transformations

Lecture 3. Linear Programming. 3B1B Optimization Michaelmas 2015 A. Zisserman. Extreme solutions. Simplex method. Interior point method

Notes on Orthogonal and Symmetric Matrices MENU, Winter 2013

5 Homogeneous systems

1.2 Solving a System of Linear Equations

Provided for non-commercial research and educational use only. Not for reproduction, distribution or commercial use.

Solving Systems of Linear Equations

Statistics in Retail Finance. Chapter 6: Behavioural models

MODELING CUSTOMER RELATIONSHIPS AS MARKOV CHAINS

Homework set 4 - Solutions

Row Echelon Form and Reduced Row Echelon Form

Mathematical finance and linear programming (optimization)

4.1 Introduction and underlying setup

(Refer Slide Time: 01:11-01:27)

Polytope Examples (PolyComp Fukuda) Matching Polytope 1

Notes on Determinant

Direct Methods for Solving Linear Systems. Matrix Factorization

QUALITY ENGINEERING PROGRAM

OPTIMAL DESIGN OF A MULTITIER REWARD SCHEME. Amir Gandomi *, Saeed Zolfaghari **

Nonlinear Programming Methods.S2 Quadratic Programming

Francesco Sorrentino Department of Mechanical Engineering

8. Linear least-squares

DATA ANALYSIS II. Matrix Algorithms

x = + x 2 + x

Practical Guide to the Simplex Method of Linear Programming

Transcription:

Probability and Statistics with Reliability, Queuing and Computer Science Applications Second edition by K.S. Trivedi Publisher-John Wiley & Sons Chapter 8 (Part 1) :Continuous Time Markov Chains: Theory Dept. of Electrical & Computer engineering Duke University Email:kst@ee.duke.edu URL: www.ee.duke.edu/~kst Copyright 2006 by K.S. Trivedi 1

Non-State Space Models Recall that non-state-space models like Reliability Block Diagrams and Fault Trees can easily be formulated and solved for system reliability, system availability and system MTTF Each component can have attached to it A probability of failure A failure rate A distribution of time to failure Steady-state and instantaneous unavailability Assuming all the components failure events and repair events are independent of each other simple logical relationships between system and its components Fast algorithms are available to solve large problems Copyright 2006 by K.S. Trivedi 2

State-space Models To model complex interactions between system components, we need State-space models. Example: Markov chains or more general Statespace models. Many examples of dependencies among system components have been observed in practice and captured by State-space models. Copyright 2006 by K.S. Trivedi 3

State-Space Models (Contd.) Drawn as a directed graph State: each state represents a system condition Transitions between states indicates occurrence of events. Each transition can be labeled by Probability: homogeneous Discrete-Time Markov Chain (DTMC); Chapter 7 of the text Time-independent-Rate: homogeneous Continuous- Time Markov chain (CTMC); Chapter 8 of the text Time-dependent rate: non-homogeneous CTMC; some examples in Chapter 8 of the text Distribution function: Semi-Markov process (SMP) ; some examples in Chapter 7 & Chapter 8 of the text Two distribution functions; Markov regenerative process (MRGP); not treated in the text Copyright 2006 by K.S. Trivedi 4

Continuous-time Markov Chains(CTMC) Discrete state space Markov Chains For Continuous-time Markov chains (CTMCs) the time variable associated with the system evolution is continuous. In this chapter, we will mean a CTMC whenever we speak of a Markov model (chain). Copyright 2006 by K.S. Trivedi 5

Formal Definition A discrete-state continuous-time stochastic process is called a Markov chain if for t 0 < t 1 < t 2 <. < t n < t, the conditional pmf satisfies the following Markov property: A CTMC is characterized by state changes that can occur at any arbitrary time Index set is continuous. The state space is discrete Copyright 2006 by K.S. Trivedi 6

CTMC A CTMC can be completely described by: Initial state probability vector for X(t 0 ): Transition probability functions (over an interval) Copyright 2006 by K.S. Trivedi 7

Homogenous CTMC is a (time-)homogenous CTMC iff Thus, the conditional pmf can be written as: State probabilities at a time t or pmf at time t is denoted by Using the theorem of total probability If ν = 0 in the above equation, we get Copyright 2006 by K.S. Trivedi 8

CTMC Dynamics Chapman-Kolmogorov Equation Unlike the case of DTMC, the transition probabilities are functions of elapsed time and not of the number of elapsed steps The direct use of the this equation is difficult unlike the case of DTMC where we could anchor on one-step transition probabilities Hence the notion of rates of transitions which follows next Copyright 2006 by K.S. Trivedi 9

Transition Rates Define the rates (probabilities per unit time): net rate out of state j at time t: the rate from state i to state j at time t: Copyright 2006 by K.S. Trivedi 10

Kolmogorov Differential Equation The transition probabilities and transition rates are, Dividing both sides by h and taking the limit, Copyright 2006 by K.S. Trivedi 11

Kolmogorov Differential Equation (contd.) Kolmogorov s backward equation, Writing these eqns. in the matrix form, Copyright 2006 by K.S. Trivedi 12

Homogeneous CTMC Specialize to HCTMC: all transition rates are time independent (Kolmogorov diff. equations) : In the matrix form, (Matrix Q is called the infinitesimal generator matrix (or simply Generator Matrix)) Copyright 2006 by K.S. Trivedi 13

Infinitesimal Generator Matrix Q = [ q ij Infinitesimal Generator Matrix For any off-diagonal element qij, i j is the transition rate from state i to state j ] Characteristics of the generator matrix Q Row sum equal to zero Diagonal elements are all non-positive Off-diagonal elements are all non-negative Copyright 2006 by K.S. Trivedi 14

NHCTMC vs. HCTMC In the non-homogeneous case, one or more transition rate is time dependent where time is measured from the beginning of system operation (global time) whereas in a semi Markov process rates are time dependent where time is measured from the entry into current state (local time) Markov property is satisfied at any time by an NHCTMC or HCTMC while the Markov property is satisfied by a semi Markov process only at epochs of entry (or exit) from a state Sojourn times in states of an HCTMC are exponentially distributed but this is not necessarily true for an NHCTMC or an SMP Copyright 2006 by K.S. Trivedi 15

Definitions A CTMC is said to be irreducible if every state can be reached from every other state, with a non-zero probability. A state is said to be absorbing if no other state can be reached from it with non-zero probability. Notion of transient, recurrent non-null, recurrent null are the same as in a DTMC. There is no notion of periodicity in a CTMC, however. Unless otherwise specified, when we say CTMC, we mean HCTMC Copyright 2006 by K.S. Trivedi 16

CTMC Steady-state Solution Steady state solution of CTMC obtained by solving the following balance equations (π j is the limiting value of π j (t)) : Irreducible CTMCs with all states recurrent non-null will have steady-state {π j } values that are unique and independent of the initial probability vector. All states of a finite irreducible CTMC will be recurrent non-null. Measures of interest may be computed as weighted sum of steady state probabilities: Copyright 2006 by K.S. Trivedi 17

CTMC Measures For as a weighted sum of transient probabilities at time t: E[ Z( t)] = rjπ j ( t) Expected accumulated quantites (over an interval of time (0,t]) j L j (t) is the expected time spent in state j during (0,t] (LTODE) Copyright 2006 by K.S. Trivedi 18

Different Analyses of HCTMC Steady State Analysis: Solving a linear system of equations: Transient Analysis: Solving a coupled system of linear first order ordinary diff. Equations, initial value problem with const. coefficients: Cumulative Transient Analysis: ODEIVP with a forcing function: Copyright 2006 by K.S. Trivedi 19

Markov Reward Models (MRMs) Copyright 2006 by K.S. Trivedi 20

Markov Reward Models (MRMs) Continuous Time Markov Chains are useful models for performance as well as availability prediction Extension of CTMC to Markov reward models make them even more useful Attach a reward rate (or a weight) r i to state i of CTMC. Let Z(t)=r X(t) be the instantaneous reward rate of CTMC at time t Copyright 2006 by K.S. Trivedi 21

3-State Markov Reward Model with Sample Path of Y(t) Processes Copyright 2006 by K.S. Trivedi 22

Markov Reward Models (MRMs) (Continued) Expected instantaneous reward rate at time t: E r ( t) i [ Z( t)] = π i i Expected steady-state reward rate: E[ Z] = i r i π i Copyright 2006 by K.S. Trivedi 23