STA 412 stochastic process
STA 412 stochastic process
We begin with a:
• quick revision of sample spaces and random variables;
• formal definition of stochastic processes.
Revision: Sample spaces and random variables
Definition: A random experiment is a physical situation whose outcome cannot be predicted
until it is observed.
Definition: A random variable, X, is definedt as a function from the sample space to the real
numbers: X : Ω → R. That is, a random variable assigns a real number to every possible
outcome of a random experiment.
➢ The random variable assigns a numerical value for each of the outcomes in the
sample space of a probability experiment.
Sample space: Ω = {HHH, HHT, HTH, HTT, THH, THT, TTH, TTT}
Stochastic Processes
➢ Definition: A stochastic process is a family of random variables, {X(t) : t ∈ T}, where t
denotes time. That is, at every time t in the set T, a random number X(t) is observed.
Definition:
➢ {X(t) : t ∈ T} is a discrete-time process if the set T is finite or countable.
In practice, this generally means T = {0, 1, 2, 3, . . .}
Thus a discrete-time process is {X(0), X(1), X(2), X(3), . . .}: a random number associated with
every time 0, 1, 2, 3, . . .
Definition:
➢ {X(t) : t ∈ T} is a continuous-time process if T is not finite or countable.
In practice, this generally means T = [0, ∞).
Thus a continuous-time process {X(t) : t ∈ T} has a random number X(t) associated with every
instant in time.
(Note that X(t) need not change at every instant in time, but it is allowed to change at any time;
i.e. not just at t = 0, 1, 2, . . . , like a discrete-time process.)
Definition:
➢ The state space, S, is the set of real values that X(t) can take. That is, the state space S is
the set of states that the stochastic process can be in. It is the set of possible values which
the random variables, X(t) : t ∈ T may assume.
Definition:
➢ The state space S is discrete if it is finite or countable. Otherwise, it is continuous.
➢ Example 1: The state of the process at time t is Xt = the number of animals with allele A
at generation t.
Each Xt could be 0, 1, 2, . . . , N. The state space is {0, 1, 2, . . ., N}.
Example 2: if Xt = 6, we say the process is in state 6 at time t.
Example 3:
Maryland and Lekki are the two chains of cafes in Lagos. John travels to Lagos and decides to try
out Lekki. John then falls into a habit: if he has been to Lekki there is a 5/6 chance he chooses to
go to Maryland on his next trip to Lagos, and a 1/6 chance he will go back to Lekki. Alternatively
if John has been to Maryland, then there is a 1/3 chance that he decides to go Lekki on his next
day out in Lagos, and a 2/3 she returns to Maryland.
John’s behaviour can be modeled by a stochastic process.
➢ S ={Lekki, Maryland} is the state space, and
➢ Xt indicate whether John goes to Lekki or Maryland on his tth subsequent trip to Lagos.
Stochastic processes are classified by their
➢ state space, and
➢ time index,
The state space and time can be discrete or continuous. We shall see examples of all four
combinations (discrete/continuous time in conjunction with discrete/continuous state space)
Example 6: consider waiting time of the n-th student arriving at a bus stop – in this case we also
have a continuous-state stochastic process.
➢ If T discrete and S is continuous, the stochastic process is called continuous random
process
➢ If both Tand S are continuous, the stochastic process is called Continuous random
process
➢ Discrete or continuous is used to refer to the nature of S and the sequence or process is
used to refer to the nature of T
Give five real-life examples and state of the process on each of the four combinations
(discrete/continuous time in conjunction with discrete/continuous state space)