(MTL106) Review Notes - Stochastic Processes (IITD)
(MTL106) Review Notes - Stochastic Processes (IITD)
Viraj Agashe
December 2021
Contents
1 Stochastic Processes 2
1.1 Important Terminologies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 Types of Stochastic Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.3 Simple Random Walk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.4 Markov Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2 Stationary Process 3
2.1 Terminologies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.2 Strict Sense Stationary Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.3 Wide Sense Stationary Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
5 Poisson Process 7
1
6 Queueing Models 7
6.1 Kendall Notation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
6.2 Little’s Law . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
6.3 M/M/1 Queueing Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
6.4 M/M/c Queueing Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
6.5 M/M/1/N . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1 Stochastic Processes
1.1 Important Terminologies
1. Stochastic Process: A collection of random variables {X(t), t ≥ 0} on a probability space is
called a stochastic process. It is a function of two arguments, X(ω, t).
2. Parameter Space: The set T to which t belongs.
3. Discrete Time, Continuous State: eg. Water level in a dam on the n-th day
4. Continuous Time, Continuous State: eg. Temperature of a city at time t
i.e. the k-th distribution depends only on the (k − 1)-th distribution, is called a Markov Process.
2
2 Stationary Process
2.1 Terminologies
1. Mean Function: The expectation function of a stochastic process.
m(t) = E (X(t))
2. Second Order Process: A stochastic processes with finite second order expectation, i.e. E(X 2 (t)) <
∞.
3. Covariance Function: Defined as
It satisfies:
• c(s, t) = c(t, s)
• Using Schwarz inequality, c(s, t) ≤
p
c(s, s)c(t, t)
for all states i0 , i1 , ...i, j and n > 0 then the process is a DTMC.
3
3.2 Transition Probability Function
The transition probability function of Markov Chain is defined as,
When the DTMC is time homogeneous, Pjk (m, n) depends only on |m − n|. So we define Pjk (n) =
P (Xm+n = k/Xm = j) to be the n-step transition probability function.
4
3.6.2 Class
A class of states is a subset of the state space S such that every state of the class communicates with
every other state of the class and no other state outside the class communicates with all states of the
class.
3.6.3 Periodicity
A state i is called a return state if Pii (n) > 0 for some n. The periodicity of the state is the GCD of
all m such that Pii (m) > 0.
We denote by Fjk the probability that the Markov chain ever reaches the state k starting from j. It
is therefore,
∞
X
Fjk = fjk (n)
n=1
5
3.8 Stationary and Limiting Distributions
Let π(n) be defined as,
π(n) = [P (Xn = 0), P (Xn = 1), ...]
The distribution of π(n) as n → ∞ (if it exists) is called the limiting distribution and denoted by π.
If the limiting distribution exists, it is the same as the stationary distribution and given by
πP = π
Alternatively we may find it by finding the limiting matrix P n as n → ∞.
6
5 Poisson Process
A stochastic process {N (t)} is a Poisson process with rate λ if it satisfies:
• It starts from 0
• Increments are stationary and independent
• For every t > 0, N (t) ∼ Poisson(λt)
The inter-arrival time of a Poisson process are exponentially distributed with the same parameter λ.
6 Queueing Models
A model in which there customers who arrive into the queue, and are serviced by one or more servers.
The customers leave after taking the service.
A/B/X/Y/Z
Here,
• A: Distribution of inter arrival times
• B: Service time distribution
• X: No of servers in system
• Y: Max. no of customers
• Z: Queue discipline (eg. first come first serve etc)
If we do not mention Y we take it to be infinite. We can deduce quantities of interest of different
queueing models by solving Kolmogorov differential equations.
• Server Utilization: 1 − π0 = ρ
7
• Average response time: 1
µ−λ
6.5 M/M/1/N
Similar to M/M/1 but customers who find the queue to be full are rejected. Effective arrival rate is
given by λeff = λ(1 − πN ).