Lect 06
Lect 06
Random Processes
X(t, w1 )
t
X(t, w2 )
t
X(t, w3 )
t
t1 t2
X(t1 , w) X(t2 , w)
• Let Z ∼ U[0, 1], and define the discrete time process Xn = Z n for n ≥ 1
• Sample paths:
xn 1
2
1 1
Z= 2 4 1
8 1
16
n
xn
1 1
Z= 4 4
1
16 1
64
n
xn
Z=0
0 0 0 ...
n
1 2 3 4 5 6 7 ...
xn
z
0 1
x(t)
π
Θ= 2
t
fX(t)(x)
1
απ
x
−α 0 +α
Note that the pdf is independent of t. (The process is stationary)
• In the above examples we specified the random process by describing the set of
sample functions (sequences, paths) and explicitly providing a probability
measure over the set of events (subsets of sample functions)
• This way of specifying a random process has very limited applicability, and is
suited only for very simple processes
• A random process is typically specified (directly or indirectly) by specifying all its
n-th order cdfs (pdfs, pmfs), i.e., the joint cdf (pdf, pmf) of the samples
X(t1), X(t2), . . . , X(tn)
for every order n and for every set of n points t1, t2, . . . , tn ∈ T
• The following examples of important random processes will be specified (directly
or indirectly) in this manner
• Again this process is specified by (indirectly) specifying all n-th order pmfs
• Sample path: The sample path for a random walk is a sequence of integers, e.g.,
0, +1, 0, −1, −2, −3, −4, . . .
or
0, +1, +2, +3, +4, +3, +4, +3, +4, . . .
zn : 1 1 1 −1 1 −1 −1 −1 −1 −1
• First-order pmf: The first-order pmf is P{Xn = k} as a function of n. Note that
k ∈ {−n, −(n − 2), . . . , −2, 0, +2, . . . , +(n − 2), +n} for n even
k ∈ {−n, −(n − 2), . . . , −1, +1, +3, . . . , +(n − 2), +n} for n odd
Hence, P{Xn = k} = 0 if n + k is odd, or if k < −n or k > n
k
. . . −6 −4 −2 0 +2 +4 +6 ...
• The converse is not necessarily true, e.g., IID processes are Markov but not
independent increment
5
4
3
2
1
0 t
0 t1 t2 t3 t4 t5
t1, t2, . . . are the arrival times or the wait times of the events
t1, t2 − t1, . . . are the interarrival times of the events
• Arrival time process: Let N (t) be Poisson with rate λ. The arrival time process
Tn , n ≥ 0 is a discrete time process such that:
◦ T0 = 0
◦ Tn is the arrival time of the nth event of N (t)
• Interarrival time process: Let N (t) be a Poisson process with rate λ. The
interarrival time process is Xn = Tn − Tn−1 for n ≥ 1
• Xn is an IID process with Xn ∼ Exp(λ)
Pn
• Tn = i=1 Xi is an independent increment process with
Tn2 − Tn1 ∼ Gamma(λ, n2 − n1) for n2 > n1 ≥ 1, i.e.,
λn2−n1 tn2−n1−1 −λt
fTn2 −Tn1 (t) = e
(n2 − n1 − 1)!
• Example: Let N1 (t) and N2(t) be two independent Poisson processes with rates
λ1 and λ2 , respectively. What is the probability that N1(t) = 1 before
N2(t) = 1?
+1
t
0 x1 x2 x3 x4 x5
−1
• For a random vector X the first and second order moments are
◦ mean µ = E(X)
◦ correlation matrix RX = E(XXT )
• For a random process X(t) the first and second order moments are
◦ mean function: µX (t) = E(X(t)) for t ∈ T
◦ autocorrelation function: RX (t1, t2) = E X(t1)X(t2) for t1, t2 ∈ T
• The autocovariance function of a random process is defined as
CX (t1, t2) = E X(t1) − E(X(t1)) X(t2) − E(X(t2))
The autocovariance function can be expressed using the mean and
autocorrelation functions as
CX (t1, t2) = RX (t1, t2) − µX (t1)µX (t2)
• IID process:
µX (n) = E(X1) (
E(X12) n1 = n2
RX (n1, n2) = E(Xn1 Xn2 ) =
(E(X1))2 n1 6= n2
• Random phase signal process:
Z 2π
α
µX (t) = E(α cos(ωt + Θ)) = cos(ωt + θ) dθ = 0
0 2π
RX (t1, t2) = E X(t1)X(t2)
Z 2π 2
α
= cos(ωt1 + θ) cos(ωt2 + θ) dθ
0 2π
2π
α2
Z
= cos(ω(t1 + t2) + 2θ) + cos(ω(t1 − t2)) dθ
0 4π
α2
= cos(ω(t1 − t2))
2
• Poisson process:
µN (t) = λt
RN (t1, t2) = E(N (t1)N (t2))
= E [N (t1)(N (t2) − N (t1) + N (t1))]
= λt1 × λ(t2 − t1) + λt1 + λ2 t21 = λt1 + λ2t1t2 assuming t2 ≥ t1
= λ min{t1, t2} + λ2t1t2
Thus
RX (n1, n2) = E(Xn1 Xn2 ) = αn2−n1 E(Xn21 ) + 0 ,
since Xn1 and Zn2−i are independent, zero mean for 0 ≤ i ≤ n2 − n1 − 1
Next, to find E(Xn21 ), consider
E(X12) = N
E(Xn21 ) 2
= α2 E(Xn21−1 ) + N
= E (αXn1−1 + Zn1 )
Thus
1 − α2n1
E(Xn21 ) = 2
N
1−α
Substituting from the ki equation into the MSE update equation, we obtain
2
α2Qσi|i−1
2
σi+1|i = 2 + N,
σi|i−1 +Q
This is a Riccati recursion (a quadratic recursion in the MSE) and has a steady
state solution:
2 α2Qσ 2
σ = 2 +N
σ +Q
Solving this quadratic equation, we obtain
2
p
2 N − (1 − α )Q + 4N Q + (N − (1 − α2)Q)2
σ =
2