4 - Poisson Process
4 - Poisson Process
1 / 50
Outline
2 / 50
Table of Contents
Poisson process
Arrival, inter-arrival time of a Poisson process
Simulation
3 / 50
Introduction and motivation
▶ The Poisson process can be viewed as a continuous-time
analog of the Bernoulli process and applies to situations
where there is no natural way of dividing time into discrete
periods.
▶ Consider a possible model of traffic accidents within a city:
start by discretizing time into one-minuites period and
record a ”success” during every minuite. Assume the traffic
intensity to be constant over time, the probability of an
accident should be the same during each period. Suppose
the independent occurance at different time periods, the
sequence of success becomes a Bernouilli process
▶ Difficult: choose length of a time period to very small. It is
preferable to consider a limiting situation where the length
of the time period becomes zero and work with continuous
time model
4 / 50
Bernoulli approximation
5 / 50
Poisson process as Counting process
6 / 50
Some properties of Poisson processes
7 / 50
Some properties of Poisson processes
7 / 50
Some properties of Poisson processes
7 / 50
Some properties of Poisson processes
7 / 50
Some properties of Poisson processes
P (Nh = 1) = λh + o(h)
and
P (Nh ≥ 2) = o(h)
7 / 50
Example
8 / 50
Solution
▶ Initial time t = 0 (corresponding to 6 a.m)
▶ Number of customers: Poisson process (Nt )t≥0 at rate of 3
customers per hour
▶ Number of customers up to 9 a.m (t = 3): N3
▶ Number of customers up to 11 a.m (t = 5): N5
▶ Number of customers between 9 a.m and 11 a.m:
N5 − N3 ,→ P oiss((5 − 3)λ) = P oiss(6)
▶
9 / 50
Example
Joe receives text messages starting at 10 a.m. at the rate of 10
texts per hour according to a Poisson process. Find the
probability that he will receive exactly 18 texts by noon (12 a.m.)
and 70 texts by 5 p.m.
10 / 50
Example
Joe receives text messages starting at 10 a.m. at the rate of 10
texts per hour according to a Poisson process. Find the
probability that he will receive exactly 18 texts by noon (12 a.m.)
and 70 texts by 5 p.m.
Solution
▶ Initial time t = 0 (10 a.m)
▶ Text message arrival: Poisson process (Nt )t≥0 with rate
λ = 10
10 / 50
Example
Joe receives text messages starting at 10 a.m. at the rate of 10
texts per hour according to a Poisson process. Find the
probability that he will receive exactly 18 texts by noon (12 a.m.)
and 70 texts by 5 p.m.
Solution
▶ Initial time t = 0 (10 a.m)
▶ Text message arrival: Poisson process (Nt )t≥0 with rate
λ = 10
▶ Number of message up to 12a.m (corresponding to time
t = 2) is N2
▶ Number of message up to 5 p.m (corresponding to time
t = 7) is N7
10 / 50
Example
Joe receives text messages starting at 10 a.m. at the rate of 10
texts per hour according to a Poisson process. Find the
probability that he will receive exactly 18 texts by noon (12 a.m.)
and 70 texts by 5 p.m.
Solution
▶ Initial time t = 0 (10 a.m)
▶ Text message arrival: Poisson process (Nt )t≥0 with rate
λ = 10
▶ Number of message up to 12a.m (corresponding to time
t = 2) is N2
▶ Number of message up to 5 p.m (corresponding to time
t = 7) is N7
▶ Need to find P (N2 = 18, N7 = 70)
10 / 50
P (N2 = 18, N7 = 70) = P (N7 = 70|N2 = 18)P (N2 = 18)
| {z }
multiplication rule
= P( N7 − N2 = 52)P ( N2 = 18)
| {z } |{z}
P ois((7−2)λ)=P oiss(50) P ois(2λ)=P oiss(20)
11 / 50
Another approach
12 / 50
Example
13 / 50
Example
13 / 50
P (N3 ≤ 350|N1 = 150) = P (N3 − N1 + N1 ≤ 350|N1 = 150)
= P (N3 − N1 ≤ 200|N1 = 150)
= P (N3 − N1 ≤ 200) = P (N2 ≤ 200)
200
X
= P (N2 = k)
k=0
200
X e−100∗2 (100 ∗ 2)k
= = 0.519.
k!
k=0
14 / 50
Example
You get email according to a Poisson process at a rate of λ = 5
messages per hour. You check your email every thirty minutes.
Find
1. P(no message)
2. P(one message)
15 / 50
Inter-arrival time are i.i.d exponential RVs
16 / 50
Construction by exponential interarrival times
S0 = 0
S1 = X1
S2 = X1 + X2
...
Sn = X1 + X2 + · · · + Xn
17 / 50
Exercise
18 / 50
Arrival time or waiting time Sn
(λt)n−1
fSn (t) = λe−λt
(n − 1)!
19 / 50
Proof
▶ the nth event will occur prior to or at time t if and only if the
number of events occurring by time t is at least n
Sn ≤ t ⇔ Nt ≥ n
▶ cdf of Sn
∞ ∞
X X (λt)k
FSn (t) = P (Sn ≤ t) = P (Nt ≥ n) = P (Nt = k) = e−λt
k!
k=n k=n
▶ pdf of Sn
∞
(λt)k (λt)k−1
dFSn (t) X
fSn (t) = = −λe−λt + λe−λt
dt k! (k − 1)!
k=n
∞ ∞
−λt
X (λt)k −λt
X (λt)k−1
= −λe + λe =
k! (k − 1)!
k=n k=n
20 / 50
We have
∞ ∞ ∞
X (λt)k−1 X (λt)k (λt)n−1 X (λt)k
= = +
(k − 1)! k! (n − 1)! k!
k=n k=n−1 k=n
So
(λt)n−1
fSn (t) = λe−λt
(n − 1)!
21 / 50
Example
22 / 50
Solution
1.
S10 = X1 + · · · + X10
where Xi ,→ Exp(λ)
We have Z ∞
1
E(Xi ) = xλe−λx dx =
0 λ
So
10
E(S10 ) = E(X1 ) + · · · + E(X10 ) = = 10
λ
2.
Z ∞
P (S10 −S9 ≥ 2) = P (X10 > 2) = λe−λxdx = e−2λ = e−2
2
3.
∞ ∞
(λt)10−1
Z Z
P (S10 > 20) = fS10 (t)dt = λe−λt dt
20 20 (10 − 1)!
23 / 50
Exercise
24 / 50
Exercise
LetNt be a Poisson process with intensity λ = 2, and let
X1 , X2 , . . . be the corresponding inter-arrival times.
1. Find the probability that the first arrival occurs after t = 0.5,
i.e., P (X1 > 0.5).
2. Given that we have had no arrivals before t = 1, find the
probability that there is no arrivel up to time 3.
3. Given that the third arrival occurred at time t = 2, find the
probability that the fourth arrival occurs after t = 5.
4. I start watching the process at time t = 10. Let T be the
time of the first arrival that I see. In other words, T is the
first arrival after t = 10. Find E(T ) and V ar(T ).
5. I start watching the process at time t = 10. Let T be the
time of the first arrival that I see. Find the conditional
expectation and the conditional variance of T given that I
am informed that the last arrival occurred at time t = 9.
25 / 50
Order statistic
Let X1 , X2 , ..., Xn be rv then X(1) , X(2) , ..., X(n) are the order
statistics corresponding to X1 , X2 , ..., Xn if X(k) is the
k-smallest value among X1 , X2 , ..., Xn .
Property
If U1 , U2 , ..., Un are i.i.d uniformly distributed U ([0, t]) then the
joint pdf of U(1) , U(2) , ..., U(n) is
n!
f (x1 , ..., xn ) =
tn
for 0 ≤ x1 ≤ x2 ... ≤ xn ≤ t
26 / 50
Proof
n!
f (x1 , ..., xn ) =
tn
27 / 50
Conditional distribution of arrival times
28 / 50
Proof
Let 0 < t1 < t2 < ... < tn < tn+1 = t and hi be small enough such
ti + hi < ti+1
29 / 50
∂ n F(S1 ,...,Sn )|Nt =n
f(S1 ,...,Sn )|Nt =n (t1 , . . . , tn ) = (t1 , . . . , tn )
∂t1 . . . ∂tn
F(S1 ,...,Sn )|Nt =n (t1 + h1 , . . . , tn + hn ) − F(S1 ,...,Sn )|Nt =n (t1 , . . . , tn
= lim
h1 ,...,hn →0 h1 . . . hn
P (ti ≤ Si ≤ ti + hi , i = 1, ..., n|Nt = n) n!
= lim = n
h1 ,...,hn →0 h1 ...hn t
30 / 50
Construction by conditional distribution of arrival times
31 / 50
Example
Let Nt be a Poisson process with rate λ = 2 with arrival time
S1 , S2 , . . . . Find
32 / 50
Example
Let Nt be a Poisson process with rate λ = 2 with arrival time
S1 , S2 , . . . . Find
Solution
▶ Given N4 = 10, (S1 , . . . , S)10) has the same joint
distribution as (U(1) , U(2) , . . . U(10) ) where Ui are i.i.d
U ni(0, 4)
▶ E(S1 + S2 + · · · + S10 |N4 = 10) = E(U(1) + · · · + U(10) )
▶ U(1) + . . . U(10) = U1 + . . . U10
▶ E(S1 + S2 + · · · + S10 |N4 = 10) = E(U1 + · · · + U10 ) =
E(U1 ) + · · · + E(U10 )
▶ Ui ,→ U ni([0, 4]) ⇒ E(Ui ) = 0+4 2 =2
▶ E(S1 + S2 + · · · + S10 |N4 = 10) = 10 × 2 = 20
32 / 50
Example
33 / 50
Solution
Nt Nt
! " !#
X X
Using property E (t − Si ) = E E (t − Si )|Nt
i=1 ! i=1
Nt
X
Find E (t − Si )|Nt
i=1
▶
Nt n
! !
X X
E (t − Si )|Nt = n =E (t − Si |Nt = n)
i=1 i=1
n
!
X
=E (t − U(i) ) where Ui ,→ U ([0, t])
i=1
n
!
X
=E (t − Ui ) = nE(t − U1 ) = n(t − t/2) = nt/2
i=1
Nt
!
X tNt
▶ E (t − Si )|Nt =
2
i=1
34 / 50
Hence
Nt
!
λt2
X tNt t t
E (t − Si ) =E = E(Nt ) = (λt) =
2 2 2 2
i=1
35 / 50
Table of Contents
Poisson process
Simulation
36 / 50
Compound Poisson Processes
37 / 50
Example
Suppose that health claims are filed with a health insurer at the
Poisson rate per day, and that the independent severities W of
each claim are exponential random variables . Then the
aggregate R of claims is a compound Poisson process.
38 / 50
Properties of compound Poisson processes
39 / 50
Proof
Using property
E(X) = E(E(X|Y ))
for Y = Nt
1. Compute E(Rt |Nt )
Nt Nt
! !
X X
E(Rt |Nt = n) = E Wi =E Wi |Nt = n
i=1 i=1
n independent of Nt
X z}|{
=E
Wi |Nt = n
i=1
|{z}
substitute Nt by n
40 / 50
n
!
X
E(Rt |Nt = n) = E Wi
i=1
n
X
= E(W ) = nE(W )
| {z }i
i=1
=E(W )
So
E(Rt |Nt ) = Nt E(W )
Hence
41 / 50
2.
42 / 50
We have
n
!2 n n
X X X
Wi = Wi2 + Wi Wj
i=1 i=1 i̸=j,i,j=1
So
n
!2 n n
X X X
E Wi = E(Wi2 ) + E(Wi Wj )
i=1 i=1 i̸=j,i,j=1
Xn X n
= E(Wi2 ) + E(Wi )E(Wj )
i=1 i̸=j,i,j=1
43 / 50
E(Rt2 ) = E(E(Rt |Nt )) = E(Nt )E(W 2 ) + E(Nt (Nt − 1))(E(W ))2
Because Nt ,→ P oiss(λt),
44 / 50
Example
45 / 50
Solution
46 / 50
An application of compound Poisson process in
insurance: Cramer-Lundberg model
47 / 50
Table of Contents
Poisson process
Simulation
48 / 50
Simulation practice
1. Simulate a path of Poisson process with rate λ = 2 on
interval time [0, 10] by simulating inter-arrival time
2. Simulate a path of Poisson process with rate λ = 2 on
interval time [0, 10] by simulating number of event Nt first
and then arrival times (using conditional distribution of
arrival times)
3. Simulate a path of insurance surplus on [0, 10] with
▶ (Nt )t is a poisson process with rate λ = 2
▶ Claim size Wk ,→ Exp(1)
4. Estimate ruin probability of the previous problem on finite
horizon time [0, 10] with c = 1, x = 10, (Nt )t is a poisson
process with rate λ = 2, claim size Wk ,→ Exp(1)
5. Which value of c should be to guarantee that the ruin
probability over horizon time [0, 10] is less or equal to 10−3 .
Use set up as the previous as (except value of c)
49 / 50
Practice
50 / 50