3. Renewal Theory. Definition 3 of the Poisson process can be generalized: Let X 1, X 2,..., iidf(x) be non-negative interarrival times.

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

M/M/1 and M/M/m Queueing Systems

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 5 9/17/2008 RANDOM VARIABLES

THE CENTRAL LIMIT THEOREM TORONTO

The sample space for a pair of die rolls is the set. The sample space for a random number between 0 and 1 is the interval [0, 1].

Exponential Distribution

Mathematical Finance

Asymptotics of discounted aggregate claims for renewal risk model with risky investment

Overview of Monte Carlo Simulation, Probability Review and Introduction to Matlab

Wald s Identity. by Jeffery Hein. Dartmouth College, Math 100

MATH 425, PRACTICE FINAL EXAM SOLUTIONS.

The Exponential Distribution

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

Section 1.3 P 1 = 1 2. = P n = 1 P 3 = Continuing in this fashion, it should seem reasonable that, for any n = 1, 2, 3,..., =

Aggregate Loss Models

1 Norms and Vector Spaces

Lectures 5-6: Taylor Series

Notes on Continuous Random Variables

A Uniform Asymptotic Estimate for Discounted Aggregate Claims with Subexponential Tails

e.g. arrival of a customer to a service station or breakdown of a component in some system.

1. Let X and Y be normed spaces and let T B(X, Y ).

Random variables, probability distributions, binomial random variable

IEOR 6711: Stochastic Models I Fall 2012, Professor Whitt, Tuesday, September 11 Normal Approximations and the Central Limit Theorem

5. Continuous Random Variables

6.041/6.431 Spring 2008 Quiz 2 Wednesday, April 16, 7:30-9:30 PM. SOLUTIONS

6.263/16.37: Lectures 5 & 6 Introduction to Queueing Theory

LS.6 Solution Matrices

ST 371 (IV): Discrete Random Variables

arxiv: v1 [math.pr] 5 Dec 2011

Mathematics for Econometrics, Fourth Edition

M2S1 Lecture Notes. G. A. Young ayoung

Nonparametric adaptive age replacement with a one-cycle criterion

Section 5.1 Continuous Random Variables: Introduction

Resource Provisioning and Network Traffic

Lectures on Stochastic Processes. William G. Faris

Corrected Diffusion Approximations for the Maximum of Heavy-Tailed Random Walk

Lecture Notes 1. Brief Review of Basic Probability

Probability and Statistics Prof. Dr. Somesh Kumar Department of Mathematics Indian Institute of Technology, Kharagpur

10.2 Series and Convergence

Continued Fractions and the Euclidean Algorithm

Insurance models and risk-function premium principle

Probability Theory. Florian Herzog. A random variable is neither random nor variable. Gian-Carlo Rota, M.I.T..

Mathematical Methods of Engineering Analysis

Hydrodynamic Limits of Randomized Load Balancing Networks

Poisson Processes. Chapter Exponential Distribution. The gamma function is defined by. Γ(α) = t α 1 e t dt, α > 0.

Lies My Calculator and Computer Told Me

1 if 1 x 0 1 if 0 x 1

CITY UNIVERSITY LONDON. BEng Degree in Computer Systems Engineering Part II BSc Degree in Computer Systems Engineering Part III PART 2 EXAMINATION

Week 1: Introduction to Online Learning

ARBITRAGE-FREE OPTION PRICING MODELS. Denis Bell. University of North Florida

Undergraduate Notes in Mathematics. Arkansas Tech University Department of Mathematics

UNIFORM ASYMPTOTICS FOR DISCOUNTED AGGREGATE CLAIMS IN DEPENDENT RISK MODELS

Chapter 4 Lecture Notes

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 14 10/27/2008 MOMENT GENERATING FUNCTIONS

1. Prove that the empty set is a subset of every set.

Lecture 6: Discrete & Continuous Probability and Random Variables

Probability density function : An arbitrary continuous random variable X is similarly described by its probability density function f x = f X

SPARE PARTS INVENTORY SYSTEMS UNDER AN INCREASING FAILURE RATE DEMAND INTERVAL DISTRIBUTION

1 Error in Euler s Method

Sensitivity analysis of utility based prices and risk-tolerance wealth processes

SECTION 10-2 Mathematical Induction

Gambling and Data Compression

Introduction to Probability

FEGYVERNEKI SÁNDOR, PROBABILITY THEORY AND MATHEmATICAL

Basics of information theory and information complexity

CHAPTER IV - BROWNIAN MOTION

QUEUEING MODELS FOR LARGE SCALE CALL CENTERS

Linear Risk Management and Optimal Selection of a Limited Number

So let us begin our quest to find the holy grail of real analysis.

Optimal Control of a Production-Inventory System with both Backorders and Lost Sales

Question: What is the probability that a five-card poker hand contains a flush, that is, five cards of the same suit?

6.3 Conditional Probability and Independence

Modeling and Performance Evaluation of Computer Systems Security Operation 1

Math 431 An Introduction to Probability. Final Exam Solutions

Scalar Valued Functions of Several Variables; the Gradient Vector

MULTIVARIATE PROBABILITY DISTRIBUTIONS

Some Research Problems in Uncertainty Theory

LECTURE 4. Last time: Lecture outline

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.

1 Sufficient statistics

Lecture 13: Martingales

Principle of Data Reduction

ONE-DIMENSIONAL RANDOM WALKS 1. SIMPLE RANDOM WALK

1.5 / 1 -- Communication Networks II (Görg) Transforms

Sums of Independent Random Variables

6.207/14.15: Networks Lecture 15: Repeated Games and Cooperation

CBE 6333, R. Levicky 1 Differential Balance Equations

Variance Reduction Methods I

COMP 250 Fall 2012 lecture 2 binary representations Sept. 11, 2012

The Ergodic Theorem and randomness

Duality of linear conic problems

No: Bilkent University. Monotonic Extension. Farhad Husseinov. Discussion Papers. Department of Economics

STA 256: Statistics and Probability I

Analysis of Scheduling Policies under Correlated Job Sizes

Lecture 1: Systems of Linear Equations

Chapter 7. BANDIT PROBLEMS.

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

CHAPTER 7 APPLICATIONS TO MARKETING. Chapter 7 p. 1/54

Representation of functions as power series

MATH 132: CALCULUS II SYLLABUS

Transcription:

3. Renewal Theory Definition 3 of the Poisson process can be generalized: Let X 1, X 2,..., iidf(x) be non-negative interarrival times. Set S n = n i=1 X i and N(t) = max {n : S n t}. Then {N(t)} is a renewal process. Set µ = E[X n ]. We assume µ > 0 (i.e., F(0)<1) but we allow the possibility µ =. Many questions about more complex processes can be addressed by identifying a relevant renewal process. Therefore, we study renewal theory in some detail. The renewal function is m(t) = E[N(t)]. Writing the c.d.f. of S n as F n = F F... F, the n-fold convolution of F, we have P[N(t) = n] = P[S n t] P[S n+1 t] = F n (t) F n+1 (t). 1

Recall: if X and Y are independent, with c.d.f. F X and F Y respectively, then F X+Y (z) = F X (z y)df Y (y) = F Y (z x)df X (x). This identity is called a convolution, written F X+Y = F X F Y = F Y F X. Taking Laplace transforms gives F X+Y = F X FY. It follows that m(t) = E[N(t)] = = F n (t) n=1 n ( F n (t) F n+1 (t) ) n=1 2

Limit Properties for Renewal Processes (L1) lim n S n /n = µ with probability 1. Why? (L2) lim t N(t) = with probability 1. Why? 3

(L3) lim t N(t) t = 1 µ with probability 1. Why? 4

(L4) The Elementary Renewal Theorem lim t m(t) t = 1 µ Why is L4 different from L3? Because it is not always [ true that, ] for any stochastic ] process, E = lim t E. lim t N(t) t counter-example [ N(t) t 5

Exchanging Expectation and Summation If X 1, X 2,... are non-negative random variables, E [ n=1 X n] = n=1 E[X n]. For any X 1, X 2,... with n=1 E[ X n ] <, E[ n=1 X n] = n=1 E[X n]. These results do not require independence; they are consequences of two basic theorems. (checking this is an optional exercise.) Monotone Convergence Theorem: If Y 1, Y 2,... is an increasing sequence of random variables (i.e., Y n Y n+1 ) then E [ lim n Y n ] = limn E[Y n ]. Dominated Convergence Theorem: For any Y 1, Y 2,..., if there is a random variable Z with E[Z] < and Y n < Z for all n, then E [ lim n Y n ] = limn E[Y n ]. 6

Stopping Times A non-negative integer-valued random variable N is a stopping time for a sequence X 1, X 2,... if E[N] < and {N = n} is determined by X 1,...,X n. Example: If cards are dealt successively from a deck, the position of the first spade is a stopping time, say N. Note that N 1, the position of the last card before a spade appears, is not a stopping time (but N + 1 is). Example: Any gambling strategy cannot depend on future events! Thus, the decision to stop gambling must be a stopping time. If X 1, X 2,..., are independent, then {N = n} is independent of X n+1, X n+2,... if N is a stopping time. (This is the definition in Ross, p. 104, but we will use the more general definition, which will be needed later). 7

Example For a renewal process, N(t) + 1 is a stopping time for the interarrival sequence X 1, X 2,... (Is N(t) a stopping time? Why.) (i) Show {N(t) + 1 = n} is determined by X 1,...,X n (ii) Show that E[N(t)] <, i.e., check that m(t) < 8

Wald s Equation: If X 1, X 2,... are iid with E[ X 1 ] < and N is a stopping time, then [ N ] E = E[N] E[X 1 ] Proof n=1 X n 9

Proof of the elementary Renewal Theorem (i) Apply Wald s equation to the stopping time N(t) + 1, to get lim inf t m(t) t 1 µ note that we use the definition lim inf t f(t) = lim t {inf s>t f(s)} 10

m(t) (ii) Show lim sup t t 1 µ by applying Wald s equation to a truncated renewal process, with X n if X n M X n = M if X n > M and S n = n X { i=1 i, Ñ(t) = sup n : S } n t, µ = E [ X], m(t) = E [Ñ(t) ]. 11

Example. Customers arrive at a bank as a Poisson process, rate λ. There is only one clerk, and service times are iid with distribution G. Customers only enter the bank if the clerk is available; if the clerk is busy they go away without entering. (In queue terminology, this is an M/G/1 queue with no buffer.) (a) Identify a relevant renewal process. (b) At what rate do customers enter the bank? (what does rate mean here?) 12

. (c) What fraction of potential customers enter the bank? (d) What fraction of time is the server busy? 13

(L5) Central Limit Theorem for N(t). Suppose µ = E[X 1 ] < and σ 2 = Var(X 1 ) <. Then, [ ] N(t) t/µ lim t P < y = 1 y /2 2π dx e x2 σ t/µ 3 This is a consequence of the central limit theorem for S n (see Ross, Theorem 3.3.5 for a proof). Why is there a µ 3 in the denominator? We can give a dimension analysis, as a check: 14

A diagram and an informal argument can suggest a method of proof, and help explain the result: 15

(L6) The Key Renewal Theorem lim t t 0 h(t x) dm(x) = 1 µ Under the requirements that 0 h(t) dt (i) F is not lattice, i.e. there is no d 0 such that n=0 P[ X 1 =nd ] = 1. (ii) h(t) is directly Riemann integrable (see following slide). L6 can be seen as a result on sums over a moving window: suppose at time t we consider a sum H t with contribution h(t x) for an event at time t x. Then, H t = N(t) 1 n=0 h(t S N(t) n ) = t 0 h(t x)dn(x). Exchanging integration and expectation, we get E[H t ] = t 0 h(t x) E[dN(x)] = t 0 h(t x) dm(x). 16

Example: Set h(t) = 1 for t a 0 else. Then H t counts the number of events in the time window [t a, t]. In this case, since h(t) is directly Riemann integrable, (L6) gives the following result: (L7) Blackwell s theorem, part (i) If F is not lattice, then, for a > 0, lim t m(t) m(t a) = a/µ How does this follow? 17

If F is lattice, then they key renewal theorem fails: counter-example... A modification of L(7)(i) still holds: (L7) Blackwell s theorem, part (ii) If F is lattice with period d then lim n E [ number of renewals at nd ] = d µ Note that the number of renewals at nd can be written as dn(nd). 18

Definition: h : [0, ] R is directly Riemann integrable (dri) if lim a sup h(t) a 0 n=1 (n 1)a t na = lim a 0 a n=1 inf h(t). (n 1)a t na i.e., if the limits of upper and lower bounds exist and are equal, then h is dri and the integral is equal to this limit. h : [0, T] R is Riemann integrable (Ri) if T/a lim a a 0 n=1 sup h(t) (n 1)a t na T/a = lim a 0 a n=1 inf h(t). (n 1)a t na and h : [0, ] R is Riemann integrable if the limit T h(t) dt = lim 0 T h(t) dt exists. 0 The dri definition requires the ability to take a limit (i.e., an infinite sum) inside the lim a 0. This infinite sum does not always exist for a Riemann integrable function. 19

It is possible to find an h(t) which is Ri but not dri and for which the key renewal theorem fails. (e.g., Feller, An Introduction to Probability Theory and its Applications, Vol. II ). If h(t) is dri then h(t) is Ri, and the two integrals are equal. If h(t) is Ri and h(t) 0 and h(t) is non-increasing then it can be shown that h(t) is dri (this is sometimes an easy way to show dri). 20

Example (Alternating Renewal Process) Each interarrival time X n consists of an on-time Z n followed by an off-time Y n. Suppose (Y n, Z n ) are iid, but Y n and Z n may be dependent. Suppose Y n and Z n have marginal distributions G and H and X n = Y n + Z n F. X n if X n x E.g., let Z n = x if X n > x. Then the alternating process is on if t S N(t) x. The quantity A(t) = t S N(t) is the age of the renewal process at time t. X n if X n x E.g., let Y n = x if X n > x. In this case, the process is off if S N(t)+1 t x. This alternating process is appropriate to study the residual life Y (t) = S N(t)+1 t. 21

(L8) Alternating Renewal Theorem If E[Z 1 + Y 1 ] < and F is non-lattice, then lim P[ system is on at t ] = t E[Z 1 ] E[Z 1 ] + E[Y 1 ] Proof. The method is to condition on S N(t) and apply the key renewal theorem. This is an example of a powerful conditioning approach. 22

Lemma: df SN(t) (s) = F(t s) dm(s), s > 0 F(t) + F(t) dm(0), s = 0 Proof of lemma. 23

Proof of (L8) continued 24

Example (Regenerative Process) A stochastic process {X(t), t 0} is regenerative if there are random times S 1, S 2,... at which the process restarts. This means that {X(t + u), t 0} given S n = u is conditionally independent of {X(t), 0 t u} and has the same distibution as {X(t), t 0}. A regenerative process defines a renewal process with X n =S n S n 1 and N(t) = max{n : S n t}. Each interarrival interval for {N(t)} is called a cycle of {X(t)}. An alternating renewal process is a regenerative process: An alternating renewal process X(t) takes values on and off, and the times at which X(t) switches from off to on are renewal times, by the construction of the alternating renewal process. 25

(L9) Regenerative Process Theorem If X(t) is non-lattice, taking values 0, 1, 2,..., and the expected length of a cycle is finite then E[time in state j for one cycle] lim P[X(t)=j] = t E[time of a cycle] Outline of Proof Example: If A(t) and Y (t) are the age and residual life processes of a renewal process N(t), how can (L9) be applied to find lim t P [ Y (t) > x, A(t) > y ]? 26

Renewal Reward Processes At each renewal time S n for a renewal process {N(t)} we receive a reward R n. We think of the reward as accumulating over the time interval [S n 1, S n ], so we assume that R n depends on X n but is independent of (R m, X m ) for m n. In other words, (R n, X n ) is an iid sequence of vectors. The reward process is R(t) = N(t) n=1 R n. (L10) If E[R 1 ] < and E[X 1 ] < then (i) R(t) lim t t = E[R 1] E[X 1 ] with probability 1 (ii) lim t E[R(t)] t = E[R 1] E[X 1 ] Outline of proof 27

Example: A component is replaced if it reaches the age T years, at a planned replacement cost C 1. If it fails earlier, it is replaced at a failure replacement cost C 2 > C 1. Components have iid lifetimes, with distribution F. Find the long run cost per unit time. Solution 28

Delayed Renewal Processes All the limit results for renewal processes still apply when the first arrival time has a different distribution from subsequent interarrival times. This situation arises often because the time t = 0 is the special time at which we start observing a process. Example: Suppose cars on the freeway pass an observer with independent inter-arrival times, i.e., as a renewal process. Unless the observer starts counting when a car has just passed, the time to the first arrival will have a different distribution to subsequent intarrivals [an exception to this is when the interarrival times are memoryless!] Formally, let X 1, X 2,... be independent, with X 1 G, X n F for n 2, and S n = n i=1 X i. Then N D (t) = sup {n : S n t} is a delayed renewal process 29

Defining m D (t) = E[N D (t)] and µ = E[X 2 ], (LD1) lim n S n n = µ w.p.1 (LD2) lim t N D (t) = w.p.1 (LD3) (LD4) lim t N D (t) t = 1 µ w.p.1 lim t m D (t) t = 1 µ (LD5) [ lim P ND (t) t/µ t σ t/µ 3 ] < y = 1 2π y (LD6) If F is not lattice and h is directly Riemann integrable, lim t t 0 h(t x) dm D(x) = 1 µ (LD7) (i) If F is not lattice, 0 lim t m D (t + a) m D (t) = a/µ e x2/2 dx h(t)dt (ii) If F and G are lattice, period d, lim n E [ number of renewals at nd ] = d/µ 30

Example: Suppose a coin lands H with probability p. The coin is tossed until k consecutive heads occur in a row. Show that the expected number of tosses is k i=1 (1/p)i. Solution 31

Solution continued 32