Week 3-Stochastic Processes
Week 3-Stochastic Processes
• Thus,
A stochastic process is characterized by type of time and space it represents
Examples
1. No. requests processed by a Web-server system during interval (0, t) - cont.-
time, discrete-space
2. Xn = response time of the n-th inquiry to the central processing system of an
interactive computer system. The stochastic process (Xn, n = 1, 2, … ) is a
discrete-time, continuous-space stochastic process.
3. No. requests served during n-th hour of day, {Xn , n = 1, 2, …, 24} discrete-time,
discrete-space
4. Response time of request to web server given that it arrives at time t;
{ X(t), t > 0}. Cont. time, continuous space stochastic process
Counting Process
A stochastic process that represents number of events that occurred by time t; a continuous-time,
discrete-state process { N(t), t > 0}
Definition: { N(t), t > 0} is a counting process if
• N(0) = 0
• N(t) ≥ 0
P ( N 1 n1 , N 2 n2 ) P ( N 1 n1 ) P ( N 2 n2 )
• f(h) = h2 is o(h)
• f(h) = h is not
1 1 h
n 2 n!
h o ( h)
Poisson Process
Poisson Process
A stochastic process is a Poisson process if:
• The numbers of events occurring in non-overlapping intervals of time are independent of each other.
( t ) n t
Pn (t ) e
n!
• Proof
• Compute Po(t) from Po(t+h)
• Compute Pn(t) from Pn(t+h)
Properties of Poisson Process
• time between events is exponentially distributed
• if N(t) is a Poisson process and one event occurs in [0, t], then the time to the event is uniformly
distributed in [0, t]
• if N1(t) and N2(t) are independent Poisson processes with rates 1 and 2 , then N(t) = N1(t)+N2(t) is a
Poisson process with rate 1+ 2
• N(t) is Poisson with rate , and Mi is Bernoulli with success probability p. Construct a new process L(t) by
only counting the n-th event in N(t) whenever M n > Mn-1 (i.e., success at time n). L(t) is Poisson with rate p
( t )
n
k 0 n!
e t
Markov Models
Markov Process
A Markov process is a stochastic process (X(t), t T), X(t) R , such that
for all x1, . . . , xn, x R , t1, . . . , tn, t T with t1 < t2 < . . . < tn < t.
the probabilistic future of the process depends only on the current state and not upon the history
of the process.
Types:
• Markov Process with continuous state-space
• Markov process with discrete state-space: Markov Chain
Discrete-time Markov Chain (MC)
• Irreducible Markov chain : if every state can be reached from every other states
Periodic Markov Chain
• Periodic Markov chain: is a MC where all its states are periodic
A state i has period k if any return to state i must occur in multiples of k time steps. For example, if it is only
possible to return to state i in an even number of steps, then i is periodic with period 2. Formally, the period of a
state is defined as
• If k = 1, then the state is said to be aperiodic; otherwise (k>1), the state is said to be periodic with period k.
pij 0 i , j I
where
p
jI
ij 1 i I
• The n-step transition probabilities is defined by
for all i, j I , n 0
or in matrix notation
P ( n ) [ pij( n ) ]
P (n+m)
= P P (n) (m)
where
Therefore,
P(n) = Pn , where Pn is the n-th power of Matrix P
• pij is conditional probability
n(i) = P(Xn = i)
p
iI
n
ij 0 (i )
• Then, for all n ≥ 1,
n = 0 Pn,
where m = (m(0), m(1), . . . , ) for all m ≥ 0. From the above relationship, we can
deduce that
0 3/4 1/4
P
• Example:
1/4 0 3/4
1/4 1/4 1/2
• For every state i define the integer d(i) as the largest common divisor of all integers n such that
pii(n) > 0. If d(i) = 1 then the state i is aperiodic
=P
1=1
has a strictly positive solution (i.e., for all i , (i), the ith element of the row vector , is strictly
positive) then
(i ) lim n n (i )
• Invariant measure of M. C.
………….END……….
Any Questions?