Unit VI Stochastic Processes: Dr. Nita V. Patil Date:27/July/2021
Unit VI Stochastic Processes: Dr. Nita V. Patil Date:27/July/2021
Examples
1. X(t) = the number of customers in line at the post office at time t.
2. X(t) = the price of IBM stock at time t.
☛ Example 1. Random variables X0, X1, X2, . . . form a stochastic process
ordered by the discrete index set {0, 1, 2, . . . }.
Notation: {Xn : n = 0, 1, 2, . . . }.
☛ Example 2. Stochastic process {Yt : t ≥ 0}. with continuous index set {t : t ≥ 0}.
Stochastic Process or random process is a collection of random variables indexed by a set t (that represent different instants
of time : can be discrete time or continuous time random process).
e.g. flipping a coin every day defines a discrete time random process
the price of a stock market option varying continuously defines a continuous time random process.
The random variables at different instant of time can be independent to each other (coin flipping example) or dependent in
some way (stock price example) as well as they can have continuous or discrete state space (space of possible outcomes at
each instant of time).
Markov Process/ Markov Chain
• A sequence of events in which an event depends upon the immediate preceding
event only is called as Markov Process or Markov Chain
e.g. 1. the market share of the product during month
2. condition of the machine to be used for production each week.
• A Markov chain is a Markov process with discrete time and discrete state space.
The probability that it will rain four days from today given that it is raining today is 0.5749.
Example:
Suppose that whether or not it rains today depends on previous weather conditions through the last two days.
Specifically, suppose that
• if it has rained for the past two days, then it will rain tomorrow with probability 0.7;
• if it rained today but not yesterday, then it will rain tomorrow with probability 0.5;
• if it rained yesterday but not today, then it will rain tomorrow with probability 0.4;
• if it has not rained in the past two days, then it will rain tomorrow with probability 0.2.
Consider that the state at any time is determined by the weather conditions during both that day and the
previous day.
In other words,
the process is in state 0 if it rained both today and yesterday,
state 1 if it rained today but not yesterday,
state 2 if it rained yesterday but not today,
state 3 if it did not rain either yesterday or today.
Considering this example, given that it rained on Monday and Tuesday, What is the probability that it will rain
on Thursday?
then it is represented as a four-state Markov chain having a transition
probability matrix
if it has rained for the past two days, then it will rain tomorrow with
0 1 2 3 probability 0.7;
0 0.7 0 0.3 0
if it rained today but not yesterday, then it will rain tomorrow with
P(2)=P2=1 0.5 0 0.5 0 probability 0.5;
2 0 0.4 0 0.6
3 0 0.2 0 0.8 if it rained yesterday but not today, then it will rain tomorrow with
probability 0.4;
if it has not rained in the past two days, then it will rain tomorrow
The process is in with probability 0.2.
state 0 if it rained both today and yesterday,
state 1 if it rained today but not yesterday,
state 2 if it rained yesterday but not today,
state 3 if it did not rain either yesterday or today.
Solution: The two-step transition matrix is given by
End of the Syllabus