3 - Poisson Process
3 - Poisson Process
3 - Poisson Process
1 / 49
Outline
2 / 49
A motivation - Insurance risk model
3 / 49
A motivation - Insurance risk model
3 / 49
Table of Contents
Poisson processes
Poisson processes
Arrival, inter-arrival time of a Poisson process
Simulation
4 / 49
5 / 49
Arrival, inter-arrival time
5 / 49
Arrival, inter-arrival time
I Inter-arrival time X1 , X2 , X3 . . .
5 / 49
Arrival, inter-arrival time
I Inter-arrival time X1 , X2 , X3 . . .
I Arrival time
S0 = 0
S1 = X1
S2 = X1 + X2
...
5 / 49
Arrival, inter-arrival time
I Inter-arrival time X1 , X2 , X3 . . .
I Arrival time
S0 = 0
S1 = X1
S2 = X1 + X2
...
5 / 49
Poisson processes
6 / 49
Some properties of Poisson processes
7 / 49
Some properties of Poisson processes
7 / 49
Some properties of Poisson processes
7 / 49
Some properties of Poisson processes
7 / 49
Some properties of Poisson processes
P (Nh = 1) = λh + o(h)
and
P (Nh ≥ 2) = o(h)
7 / 49
Construct by tossing a low-probability coin very fast
I Pick n large
I A coin with low Head probability λ
n
I Toss this coin at times which are positive integer multiples
of n1
I Nt be number of Head on [0, t]. Then Nt is binomial
distributed and converges to P oiss(λt) as n → ∞
I For, Nt+s − Ns is indepdendent of the past and Poisson
distributed P oiss(λt)
8 / 49
Construct by tossing a low-probability coin very fast
I Pick n large
I A coin with low Head probability λ
n
I Toss this coin at times which are positive integer multiples
of n1
I Nt be number of Head on [0, t]. Then Nt is binomial
distributed and converges to P oiss(λt) as n → ∞
I For, Nt+s − Ns is indepdendent of the past and Poisson
distributed P oiss(λt)
Simulation Poisson process?
8 / 49
Example
9 / 49
Solution
I Initial time t = 0 (corresponding to 6 a.m)
I Number of customers: Poisson process (Nt )t≥0 at rate of 3
customers per hour
I Number of customers up to 9 a.m (t = 3): N3
I Number of customers up to 11 a.m (t = 5): N5
I Number of customers between 9 a.m and 11 a.m:
N5 − N3 ,→ P oiss((5 − 3)λ) = P oiss(6)
I
10 / 49
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.
11 / 49
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
I Initial time t = 0 (10 a.m)
I Text message arrival: Poisson process (Nt )t≥0 with rate
λ = 10
11 / 49
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
I Initial time t = 0 (10 a.m)
I Text message arrival: Poisson process (Nt )t≥0 with rate
λ = 10
I Number of message up to 12a.m (corresponding to time
t = 2) is N2
I Number of message up to 5 p.m (corresponding to time
t = 7) is N7
11 / 49
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
I Initial time t = 0 (10 a.m)
I Text message arrival: Poisson process (Nt )t≥0 with rate
λ = 10
I Number of message up to 12a.m (corresponding to time
t = 2) is N2
I Number of message up to 5 p.m (corresponding to time
t = 7) is N7
I Need to find P (N2 = 18, N7 = 70)
11 / 49
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)
12 / 49
Another approach
13 / 49
Example
14 / 49
Example
14 / 49
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
15 / 49
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)
16 / 49
Inter-arrival time are i.i.d exponential RVs
17 / 49
Construction by exponential interarrival times
S0 = 0
S1 = X1
S2 = X1 + X2
...
Sn = X1 + X2 + · · · + Xn
18 / 49
Arrival time or waiting time Sn
(λt)n−1
fSn (t) = λe−λt
(n − 1)!
19 / 49
Proof
I 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
I 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
I 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 / 49
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 / 49
Example
22 / 49
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 / 49
Example
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.
24 / 49
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
25 / 49
Proof
n!
f (x1 , ..., xn ) =
tn
26 / 49
Conditional distribution of arrival times
27 / 49
Proof
Let 0 < t1 < t2 < ... < tn < tn+1 = t and hi be small enough such
ti + hi < ti+1
28 / 49
∂ 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
29 / 49
Construction by conditional distribution of arrival times
30 / 49
Example
Let Nt be a Poisson process with rate λ = 2 with arrival time
S1 , S2 , . . . . Find
31 / 49
Example
Let Nt be a Poisson process with rate λ = 2 with arrival time
S1 , S2 , . . . . Find
Solution
I 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)
I E(S1 + S2 + · · · + S10 |N4 = 10) = E(U(1) + · · · + U(10) )
I U(1) + . . . U(10) = U1 + . . . U10
I E(S1 + S2 + · · · + S10 |N4 = 10) = E(U1 + · · · + U10 ) =
E(U1 ) + · · · + E(U10 )
I Ui ,→ U ni([0, 4]) ⇒ E(Ui ) = 0+4 2 =2
I E(S1 + S2 + · · · + S10 |N4 = 10) = 10 × 2 = 20
31 / 49
Example
32 / 49
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
I
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
I E (t − Si )|Nt =
2
i=1
33 / 49
Hence
Nt
!
λt2
X tNt t t
E (t − Si ) =E = E(Nt ) = (λt) =
2 2 2 2
i=1
34 / 49
Table of Contents
Poisson processes
Simulation
35 / 49
Compound Poisson Processes
36 / 49
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.
37 / 49
Properties of compound Poisson processes
38 / 49
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
39 / 49
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
40 / 49
2.
41 / 49
We have
n
!2 n n
X X X
Wi = Wi2 + Wi Wj
i=1 i=1 i6=j,i,j=1
So
n
!2 n n
X X X
E Wi = E(Wi2 ) + E(Wi Wj )
i=1 i=1 i6=j,i,j=1
Xn X n
= E(Wi2 ) + E(Wi )E(Wj )
i=1 i6=j,i,j=1
42 / 49
E(Rt2 ) = E(E(Rt |Nt )) = E(Nt )E(W 2 ) + E(Nt (Nt − 1))(E(W ))2
Because Nt ,→ P oiss(λt),
43 / 49
Example
44 / 49
Solution
45 / 49
An application of compound Poisson process in
insurance: Cramer-Lundberg model
46 / 49
Table of Contents
Poisson processes
Simulation
47 / 49
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
I (Nt )t is a poisson process with rate λ = 2
I 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)
48 / 49
Practice
49 / 49