poisson process

32
Poisson Process Presented by : Johniel E. Babiera

Upload: johniel-babiera

Post on 18-Jul-2016

34 views

Category:

Documents


1 download

DESCRIPTION

Definition of Poisson process together with its properties and examples.

TRANSCRIPT

Page 1: Poisson Process

Poisson ProcessPresented by : Johniel E. Babiera

Page 2: Poisson Process

Example 1

We are interested in the dynamics of the arrival of telephone calls to a call center. To describe these arriving calls, consider a collection of random variables {𝑁𝑑 , 𝑑 β‰₯0}, where each random variable 𝑁𝑑, for a fixed 𝑑, denotes the cumulative number calls coming into the center by time 𝑑. Since calls record a count, the state space is the set of whole number 𝑆 = {0,1,2, … }.

Page 3: Poisson Process

Definition 1

Let the continuous parameter stochastic process {𝑁𝑑 , 𝑑 β‰₯ 0} with 𝑁0 = 0 have a state space equal to the nonnegative integers . It is called π‘ƒπ‘œπ‘–π‘ π‘ π‘œπ‘› π‘π‘Ÿπ‘œπ‘π‘’π‘ π‘  with rate πœ† if

a) 𝑃 𝑁𝑑 = π‘˜ =π‘’βˆ’πœ†π‘‘ πœ†π‘‘ π‘˜

π‘˜!for all nonnegative π‘˜ and 𝑑 β‰₯ 0.

b) The event {𝑁𝑠+𝑒 βˆ’ 𝑁𝑠 = 𝑖} is independent of the event {𝑁𝑑 = 𝑗} if 𝑑 < 𝑠.

c) 𝑃{𝑁𝑠+𝑒 βˆ’ 𝑁𝑠 = 𝑖} only depends on the value of 𝑒.

Page 4: Poisson Process

Example 2

For example, if the process in example 1 has independent increments, then knowledge of the number of calls that arrived before 11:00AM will not help in predicting the number of calls to arrive between 11:00AM and noon. Likewise, if the process has stationary increments, then the probability that k calls arrive between 10:00AM and 10:15AM will be equal to the probability that k calls arrive between 4:00PM and 4:15PM because the size of both intervals is the same. It turns out that an arrival process with independent and stationary increments in which arrivals can only occur one-at-a-time must be a Poisson process.

Page 5: Poisson Process

We have 𝐸 𝑁𝑑 = πœ†π‘‘. In others words, πœ† gives the mean arrival rate per unit time for an arrival process that is described by a Poisson process with rate πœ†.

Because Poisson process has independent and stationary increments, we also have, for nonnegative π‘˜

𝑃 𝑁𝑠+𝑒 βˆ’ 𝑁𝑠 = π‘˜ =π‘’βˆ’πœ†π‘’ πœ†π‘’ π‘˜

π‘˜!for 𝑒 β‰₯ 0.

Page 6: Poisson Process

Example 3

Assume that the arrivals to the call center described in can be modeled according to a Poisson process with rate 25/β„Žπ‘Ÿ. The number of calls that are expected within an eight-hour shift is 𝐸 𝑁𝑑=8 = 25 Γ— 8 = 200. Assume we had 20 calls that arrived from 8AM through 9AM. What is the probability that there will be no calls that arrive from 9:00AM through 9:06AM? Because of independent increments, the information regarding the 20 calls is irrelevant. Because of station stationary increments, we only need to know that the length of the

interval is 6 minutes (or 0.1 hours), note that it starts at 9AM; thus, the answer is given as

𝑃 𝑁0.1 = 0 =π‘’βˆ’25 0.1

π‘œ!= 0.08208

Page 7: Poisson Process

Properties of Poisson Process

Property 1. A Poisson process with rate Ξ» has exponentially distributed

inter-arrival times with the mean time between arrivals being 1/Ξ» . The converse is also true; namely, an arrival process with exponentially distributed inter-arrival times is a Poisson process.

Consider an interval of length t. The probability that no arrival occurs within that

interval is 𝑃 𝑁𝑑 = 0 = π‘’βˆ’πœ†π‘‘. Let 𝑇 denote the time that the first arrival occurs. The event {𝑇 > 𝑑} is equivalent to the event {𝑁𝑑 = 0}; therefore,

𝑃 𝑇 ≀ 0 = 1 βˆ’ 𝑃 𝑇 > 0 = 1 βˆ’ π‘’βˆ’πœ†π‘‘ for 𝑑 β‰₯ 0

which is the CDF for the exponential distribution.

Page 8: Poisson Process

Property 2. Let 𝑇𝑛 denote the π‘›π‘‘β„Ž arrival time for a Poisson process with rate Ξ» . The random variable 𝑇𝑛 has an Erlang distribution with pdf given by

𝑓 𝑑 =πœ† πœ† 𝑑 π‘˜βˆ’1π‘’βˆ’πœ† 𝑑

π‘˜ βˆ’ 1 !π‘“π‘œπ‘Ÿ 𝑑 β‰₯ 0 .

𝑓(𝑑)~π‘”π‘Žπ‘šπ‘šπ‘Ž(π‘˜, πœ†)

Property 3. Superposition of Poisson Processes: Let {𝑁𝑑; 𝑑 β‰₯ 0} and {𝑀𝑑; 𝑑 β‰₯ 0} be two independent Poisson process with rates πœ†1 and πœ†2. Form a third process by π‘Œπ‘‘ = 𝑁𝑑 +𝑀𝑑, for each 𝑑 β‰₯ 0. The process {π‘Œπ‘‘; 𝑑 β‰₯0} is a Poisson process with rate πœ†1 + πœ†2.

Page 9: Poisson Process

Example 4 (property 3)

Consider the diagram in the right representing a

limited access highway. Assume that the times in

which cars pass Point A form a Poisson process

with rate πœ†1 = 8/min and cars passing Point B

form a Poisson process with rate πœ†2 = 2/min.

After these two streams of cars merge, the times at which cars pass

Point C form a Poisson process with mean rate 10/min.

Page 10: Poisson Process

Property 4. Decomposition of a Poisson Processes: Let 𝑁 = {𝑁𝑑; 𝑑 β‰₯ 0} be a Poisson process with rate πœ† and let {𝑋1, 𝑋2, … } denote an i.i.d sequence of Bernoulli random variables independent of the Poisson process such that 𝑃 𝑋𝑛 = 1 = 𝑝. Let 𝑀 = {𝑀𝑑; 𝑑 β‰₯ 0} be a new process formed as follows; for each positive 𝑛, consider the π‘›π‘‘β„Ž arrival to the 𝑁 process to also be an arrival to the 𝑀 process if 𝑋𝑛 = 1; otherwise, the π‘›π‘‘β„Ž arrival to the 𝑁 process is not part of the 𝑀 process. The resulting 𝑀 process is a Poisson process with rate πœ†π‘.

Page 11: Poisson Process

Example 5 (property 4)

Consider traffic coming to a fork in the road, and assume that the arrival times of cars to the fork form a Poisson process with mean rate 2 per minute. In addition, there is a 30% chance that cars will turn left and a 70% chance that cars will turn right. Under the assumption that all cars act independently, the arrival stream on the left-hand fork form a Poisson process with rate 0.6/min and the stream on the right-hand fork form a Poisson process with rate 1.4/min.

Page 12: Poisson Process

Queuing Theory

Page 13: Poisson Process

Queuing Theory

β€’ The study of waiting line phenomena (a queue is a waiting line)

β€’ The theory enables mathematical analysis of several related processes, including arriving at the (back of the) queue, waiting in the queue and being served at the front of the queue.

β€’ The theory permits the derivation and calculation of several performance measures including the average waiting time in the queue, the expected number waiting or receiving service, and the probability of encountering the system in certain states, such as empty, full, having an available server or having to wait a certain time to be served.

Page 14: Poisson Process
Page 15: Poisson Process

Kendall Notation

β€’ General Form

(A/B/c/K/m/Z)A - inter-arrival time distribution

B - service time distribution

c - the number of servers

K - the system capacity (number of customer)

m - the number of source

Z - the queue discipline

Page 16: Poisson Process

Queueing symbols used with Kendall’s notation

Symbols Explanation

M Exponential (Markovian) inter-arrival or service time

D Deterministic inter-arrival or service time

Ek Erlang type k inter-arrival or service time

G General inter-arrival or service time

1, 2, …, ∞ Number of parallel servers or capacity

FIFO First In, First Out queue discipline

LIFO Last In, First Out queue discipline

SIRO Service in random order

PRI Priority queue discipline

GD General queue discipline

Page 17: Poisson Process

Little’s Law

β€’ Consider a queueing system for which steady state occurs. Let 𝐿 = 𝐸[𝑁] denote the mean long-run number in the system, π‘Š = 𝐸[𝑇] denote the mean long-run waiting time within the system, and πœ†π‘’ the mean arrival rate of jobs into the system. Also let πΏπ‘ž = 𝐸[π‘π‘ž] and π‘Šπ‘ž = 𝐸[π‘‡π‘ž]denote the analogous quantities restricted to the queue. Then

𝐿 = πœ†π‘’π‘ŠπΏπ‘ž = πœ†π‘’π‘Šπ‘ž

Page 18: Poisson Process

β€’ We also have the following results;𝑁 𝑑 = π‘π‘ž 𝑑 + 𝑁𝑠 𝑑 β‡’ 𝑁 = π‘π‘ž +𝑁𝑠

𝐿 = πΏπ‘ž + 𝐿𝑠

And𝑇 = π‘‡π‘ž + π‘‡π‘ π‘Š = π‘Šπ‘ž +π‘Šπ‘ 

Page 19: Poisson Process

Examples:M/M/1/∞/FIFO systemG/G/cM/G/1M/M/1/KM/Eβ‚„/3/20/∞/SIRO

Page 20: Poisson Process

M/G/1 queue system

For the M/G/1 queueing system being operated under the FIFO service rule, we derive the expressions of the following quantities in terms of the arrival rate πœ†, the mean service time 𝐸[𝑆], and the variance of service time πœŽπ‘†

2.β€’ π‘Š: the average time a randomly arriving customer will spend in the

system, which is composed of the waiting time in the queue and the service time.

β€’ 𝐿: the average number of people in the system that a randomly arriving customer finds, which is composed of the number of people in the queue and the person in service.

β€’ 𝜌: the long run fraction of time the server is busy, which is equivalently the probability that the server is busy at a random point in time.

β€’ 𝐡: the long run average duration of a server busy period.

Page 21: Poisson Process

β€’ M/G/1 queueing system is a single server queueing system in which the customer arrival process is Poisson with rate πœ† and the service time, 𝑆, for each customer follows a general distribution with 𝑃𝐷𝐹 𝑓𝑆(𝑠), mean 𝐸[𝑆], and variance πœŽπ‘†

2.

Page 22: Poisson Process

β€’ Suppose we have been watching the queueing system for a very very long time, say π‘‡βˆ— minutes where π‘‡βˆ— is very large. If we recorded the number of minutes the server was busy during this long period of time and then divided it by π‘‡βˆ—, we would obtain 𝜌, the long run fraction of time the server is busy. During the long period of time π‘‡βˆ—, we would expect there have been πœ†π‘‡βˆ—customers arriving to the queueing system, each of who takes on average 𝐸[𝑆] minutes to be served. This means

𝜌 =number of minutes server is busy

π‘‡βˆ—=

πœ†π‘‡βˆ— Γ— 𝐸[𝑆]

π‘‡βˆ—= πœ†πΈ[𝑆]

Page 23: Poisson Process

β€’ To compute 𝐡, the long run average length of a server busy period, we again think of observing the system for a long period of time. During this long period of time, there occur a large number, say N, of busy periods. Since every busy period is followed by an idle period, we could say that the number of idle periods is N as well. (The difference between the number of busy periods and the number of idle periods would be at most one, and this is negligible compared to N.). Since the average length of a busy period is B and the number of busy periods is N, the total amount of time the server is busy, over the long period of time we are observing, is NB.

Page 24: Poisson Process

β€’ The length of an idle period is, on average, 1/πœ† since an idle period occurs when the server is waiting for a customer to arrive after the queue becomes empty. Since the arrival process is Poisson and therefore π‘šπ‘’π‘šπ‘œπ‘Ÿπ‘¦π‘™π‘’π‘ π‘ , the server will wait a negative exponentially distributed amount of time until the next customer arrives. Therefore if there are N idle periods, the total amount of time the server is idle is 𝑁/πœ†. The fraction of time the server is busy, 𝜌, can now be computed by

𝜌 =𝑁𝐡

(𝑁𝐡 +π‘πœ†)=

𝐡

𝐡 +1πœ†

.

Solving for 𝐡 and using 𝜌 = πœ†πΈ[𝑆], we have

𝐡 =𝜌/πœ†

1 βˆ’ 𝜌=

𝐸[𝑆]

1 βˆ’ πœ†πΈ[𝑆].

Page 25: Poisson Process

Let 𝑇 be a random variable denoting the amount of time that a randomly arriving customer, say I, will spend in the system. Our goal is to compute π‘Š = 𝐸[𝑇]. Note that we can decompose 𝑇 into the following three random variables:

β€’ 𝑇1, the remaining service time of the customer currently in service.

β€’ 𝑇2, the time required to serve the customers waiting ahead of me in the queue.

β€’ 𝑇3, my service time.

Page 26: Poisson Process

β€’ Clearly, π‘Š = 𝐸[𝑇1] + 𝐸[𝑇2] + 𝐸[𝑇3]. Since the expected service time for each customer is 𝐸[𝑆], we have

𝐸 𝑇3 = 𝐸[𝑆]To obtain 𝐸[𝑇2], we first compute the conditional expectation of T2 given that there are already 𝑛 customers in the system when I, a randomly arriving customer, arrive in the system. Since one customer is being served and 𝑛 βˆ’ 1 customers are waiting in the queue,

𝐸 𝑇2 𝑛 = 𝑛 βˆ’ 1 𝐸 𝑆 , 𝑛 β‰₯ 10, 𝑛 = 0

Page 27: Poisson Process

𝐸 𝑇2 =

𝑛

𝐸 𝑇2 𝑛 𝑃 𝑁 = 𝑛 =

𝑛β‰₯1

𝑛 βˆ’ 1 𝐸 𝑆 𝑃(𝑁 = 𝑛)

= 𝐸 𝑆

𝑛β‰₯1

𝑛𝑃 𝑁 = 𝑛 βˆ’ 𝐸[𝑆]

𝑛β‰₯1

𝑃(𝑁 = 𝑛)

Note that 𝑛β‰₯1𝑛𝑃(𝑁 = 𝑛) = 𝐿 and 𝑛β‰₯1𝑃(𝑁 = 𝑛) = 𝜌. So we have

𝐸 𝑇2 = 𝐸 𝑆 𝐿 βˆ’ 𝐸 𝑆 𝜌.

Page 28: Poisson Process

β€’ The expected remaining service time for the customer in service when I randomly arrive in the system is given by

𝐸 𝑇1 𝑛 =

πœŽπ‘†2 + 𝐸 𝑆 2

2𝐸[𝑆], 𝑛 β‰₯ 1

0, 𝑛 = 0

𝐸 𝑇1 =

𝑛

𝐸 𝑇1 𝑛 𝑃 𝑁 = 𝑛 =

𝑛

πœŽπ‘†2

2𝐸 𝑠+𝐸 𝑆

2𝑃(𝑁 = 𝑛)

=πœŽπ‘†2

2𝐸 𝑠+𝐸 𝑆

2𝜌

Page 29: Poisson Process

Hence π‘Š = 𝐸 𝑇1 + 𝐸 𝑇2 + 𝐸[𝑇3]

=πœŽπ‘†2

2𝐸 𝑠+𝐸 𝑆

2𝜌 + 𝐸 𝑆 𝐿 βˆ’ 𝐸 𝑆 𝜌 + E[S]

We now have one linear relationship between 𝐿 and π‘Š. Combining this with Little’s Law, 𝐿 = πœ†π‘Š, we have two equations for two unknowns, L and W. A little algebra gives us

𝐿 = 𝜌 +𝜌2 + πœ†2πœŽπ‘†

2

2(1 βˆ’ 𝜌).

Page 30: Poisson Process

Example 6

A large car dealer has a policy of providing cars for its customers that have car problems. When a customer brings the car in for repair, that customer has use of a dealer’s car. The dealer estimates that the dealer cost for providing the service is $10 per day for as long as the customer’s car is in the shop. (Thus, if the customer’s car was in the shop for 1.5 days, the dealer’s cost would be $15.) Arrivals to the shop of customers with car problems form a Poisson process with a mean rate of one every other day. There is one mechanic dedicated to those customer’s cars. The time that the mechanic spends on a car can be described by an exponential random variable with a mean of 1.6 days.

Page 31: Poisson Process

We would like to know the expected cost per day of this policy to the car dealer. Assuming infinite capacity, we have the assumptions of the M/M/1 queueing system satisfied, with πœ† =0.5/π‘‘π‘Žπ‘¦ and πœ‡ = 0.625/π‘‘π‘Žπ‘¦, yielding a 𝜌 = 0.8. (Note the mean rate is the reciprocal of the mean time.)Using the M/M/1 equations, we have 𝐿 = 4 π‘Žπ‘›π‘‘ π‘Š = 8 days. Thus, whenever a customer comes in with car problems, it will cost the dealer $80. Since a customer comes in every other day (on the average) the total cost to the dealer for this policy is $40 π‘π‘’π‘Ÿ π‘‘π‘Žπ‘¦. In other words, cost is equal to $10 Γ—π‘Š Γ— πœ† . But by Little’s formula, this is equivalent to $10 Γ— 𝐿. The cost structure illustrated with this example is a very common occurrence for queueing systems. In other words if c is the cost per item per time unit that the item spends in the system, the expected system cost per time unit is 𝑐𝐿.

Page 32: Poisson Process

References:

β–ͺ Feldman, R.M and Valdez-Flores,C.Applied Probablity and Stochastic Processes.Second Ed.,Springer Heidelbrg Dordrecht London New York,2010.

β–ͺ http://ocw.mit.edu/courses/civil-and-environmental-engineering/1-203j-logistical-and-transportation-planning-methods-fall-2004/lecture-notes/class12mg1q.pdf