Lect 06
Lect 06
Contents
• Basic concepts
• Poisson process
• Markov processes
• Birth-death processes
2
6. Introduction to stochastic processes
4
6. Introduction to stochastic processes
X t : Ω → ℜ, ω = X t (ω )
• Thus, a stochastic process X can be seen as a mapping from the
sample space Ω into the set of real-valued functions ℜI (with t ∈ I as
an argument):
X : Ω → ℜ I , ω = X (ω )
• Each sample point ω ∈ Ω is associated with a real-valued function
X(ω). Function X(ω) is called a realization (or a path or a trajectory)
of the process.
Summary
6
6. Introduction to stochastic processes
Example
Traffic process
5
4
3
2
1
time
call arrival times
blocked call
nr of channels
occupied
nr of channels
6
5
4
3
2
1
0
traffic volume time
8
6. Introduction to stochastic processes
• Reminder:
– Parameter space: set I of indices t ∈ I
– State space: set S of values Xt(ω) ∈ S
• Categories:
– Based on the parameter space:
• Discrete-time processes: parameter space discrete
• Continuous-time processes: parameter space continuous
– Based on the state space:
• Discrete-state processes: state space discrete
• Continuous-state processes: state space continuous
• In this course we will concentrate on the discrete-state processes
(with either a discrete or a continuous parameter space)
– Typical processes describe the number of customers in a queueing system
(the state space being thus S = {0,1,2,...})
9
Examples
10
6. Introduction to stochastic processes
Notation
11
Distribution
P{ X t1 ≤ x1,K , X t n ≤ xn }
12
6. Introduction to stochastic processes
Dependence
P{ X t1 ≤ x1,..., X t n ≤ xn } = P{ X t1 ≤ x1}L P{ X t n ≤ xn }
• The most simple non-trivial example is a Markov process. In this case
P{ X t1 ≤ x1,..., X t n ≤ xn } =
P{ X t1 ≤ x1} ⋅ P{ X t 2 ≤ x2 | X t1 ≤ x1}L P{ X t n ≤ xn | X t n −1 ≤ xn −1}
• This is related to the so called Markov property:
– Given the current state (of the process),
the future (of the process) does not depend on the past (of the process)
13
Stationarity
P{ X t1 + ∆ ≤ x1,K , X t n + ∆ ≤ xn } = P{ X t1 ≤ x1, K , X t n ≤ xn }
P{ X t ≤ x} = F ( x)
14
6. Introduction to stochastic processes
15
Arrival process
16
6. Introduction to stochastic processes
State process
• In simple cases
– the state of the system is described just by an integer
• e.g. the number X(t) of calls or packets at time t
– This yields a state process that is continuous-time and discrete-state
• In more complicated cases,
– the state process is e.g. a vector of integers (cf. loss and queueing network
models)
• Now it is reasonable to ask whether the state process is stationary
– Although the state of the system did not follow the stationary distribution at
time 0, in many cases state distribution approaches the stationary
distribution as t tends to ∞
17
Contents
• Basic concepts
• Poisson process
• Markov processes
• Birth-death processes
18
6. Introduction to stochastic processes
Bernoulli process
20
6. Introduction to stochastic processes
21
• Consider finally the number of events A(t) during time interval [0,t]
– In a Bernoulli process, the number of successes in a fixed interval would
follow a binomial distribution. As the “time slice” tends to 0, this approaches
a Poisson distribution.
– On the other hand, since the intensity that something happens remains
constant λ, the number of events occurring in disjoint time intervals are
clearly independent.
– This leads to the following (third) characterization of a Poisson process
• Definition 3: A counter process (A(t) | t ≥ 0) is a Poisson process
with intensity λ if its increments in disjoint intervals are independent
and follow a Poisson distribution as follows:
22
6. Introduction to stochastic processes
• It is possible to show that all three definitions for a Poisson process are,
indeed, equivalent
A(t)
τ4−τ3
τ1 τ2 τ3 τ4
24
6. Introduction to stochastic processes
Properties (1)
Properties (2)
λ
pλ
26
6. Introduction to stochastic processes
Properties (3)
λ
λp
λ(1-p)
27
Properties (4)
28
6. Introduction to stochastic processes
Contents
• Basic concepts
• Poisson process
• Markov processes
• Birth-death processes
29
Markov process
30
6. Introduction to stochastic processes
Example
31
Time-homogeneity
P{ X (t + ∆ ) = y | X (t ) = x} = P{ X (∆ ) = y | X (0) = x}
for all t, ∆ ≥ 0 and x, y ∈ S
• In other words,
probabilities P{X(t + ∆) = y | X(t) = x} are independent of t
32
6. Introduction to stochastic processes
33
qi := ∑ qij
j ≠i
• Then, the conditional probability that there is a transition from state i to
any other state during a short time interval (t, t+h] is qih + o(h)
independently of the other time intervals
• Thus, the holding time in (any) state i is exponentially distributed with
intensity qi
34
6. Introduction to stochastic processes
Ti = min Tij
j ≠i
• Let then pij denote the conditional probability that, when in state i, there
is a transition from state i to state j
• Since potential holding times Tij are exponentially distributed with
intensity qij, we have (by slide 5.44)
qij
Ti ∼ Exp( qi ), pij = P{Ti = Tij } =
qi
35
− + 0 0
q20 q01
Q = 0 − +
q21
+ + −
2
q12
1
36
6. Introduction to stochastic processes
Irreducibility
37
∑ j ≠ i π i qij = ∑ j ≠ i π j q ji (GBE)
– It is possible that no equilibrium distribution exists
– However, if the state space is finite, a unique equilibrium distribution exists
– By choosing the equilibrium distribution (if it exists) as the initial distribution,
the Markov process X(t) becomes stationary (with stationary distribution π)
38
6. Introduction to stochastic processes
Example
− 1 0 0
1 1
Q = 0 − 1
µ
1 µ −
2
1
1
π 0 + π1 + π 2 = 1 (N)
π 0 ⋅1 = π 2 ⋅1
π 1 ⋅1 = π 0 ⋅1 + π 2 ⋅ µ (GBE)
π 2 ⋅ (1 + µ ) = π 1 ⋅1
1+ µ
⇒ π 0 = 3+1µ , π 1 = 3+ µ , π 2 = 3+1µ
39
Contents
• Basic concepts
• Poisson process
• Markov processes
• Birth-death processes
41
Birth-death process
42
6. Introduction to stochastic processes
Irreducibility
λ0 λ1 λ2
0 1 2
µ1 µ2 µ3
λ0 λ1 λN−2 λN−1
0 1 N-1 N
µ1 µ2 µN−1 µN
43
π i λi = π i +1µi +1 (LBE)
• Thus we get the following recursive formula:
λ i λ
j −1
π i +1 = µ i π i ⇒ πi = π0 ∏ µ
i +1 j =1 j
• Normalizing condition (N):
i λ
j −1
∑π i = π 0 ∑ ∏ µ j = 1 (N)
i∈S i∈S j =1
44
6. Introduction to stochastic processes
Example
− λ 0
λ λ
Q = µ − λ 0 1 2
µ µ
0 µ −
π i λ = π i +1µ
⇒ π i +1 = ρπ i ( ρ := λ / µ ) (LBE)
⇒ πi = π 0ρi
π 0 + π 1 + π 2 = π 0 (1 + ρ + ρ 2 ) = 1 (N)
ρi
⇒ πi =
1+ ρ + ρ 2 46
46
6. Introduction to stochastic processes
λ0 λ1 λN−2 λN−1
0 1 N-1 N
THE END
48