4 Discrete Time Random Processes
4 Discrete Time Random Processes
Processing
4 – Discrete-Time Random Processes
• Basic definitions
• Independence and strict-sense stationarity (SSS)
• Expectation and statistical moments
• Uncorraletedness and wide-sense stationarity (WSS)
• Ergodic processes
• Representation of WSS processes in the frequency domain
• Transformation of WSS processes through LTI systems
1
Definitions - 1
Def: A discrete-time random process is an order set of random variables
xn where n denotes time in this case.
xn xn
• The cumulative distribution functions grow monotonically between 0 and
1. In the case of discrete r.v. the cdf exhibits a stair-case shape. The step
amplitude is equal to the corresponding pulse amplitude in the pmf
• Hybrid r.v. (partially discrete and partially continuous) may also exist
3
Definitions - 3
DT
random Generation of random sequences for any n
process
Each sequence is a «realization» of the random process
• The relationship between 2 or more r.v. extracted from a sequence is
described by the
– Joint probability density functions (continuous r.v.) f xn xm ...xs
– Joint probability mass functions (discrete r.v.) p xn xm ...xs
• These functions give the probability that a tuple of r.v. takes on a given set
of values within the specified range.
Joint cdf (2 variable case)
y x
Continuous r.v. Fxn xm Pr xn x , xm y f
y x
xn xm d xn dxm
• In general, both individual and joint pdf/pmf may change over time.
nr E x
r
xnr f xn dxn continuous r.v. Generally change with time,
but in SSS processes all
x
n r
ni p xn discrete r.v. moments of 1 r.v. are constant
i
i
Expectation operator
The mean of a r.v. provides
Special case: n for r=1 mean value
the long-run average of the
variable, or the expected average
over many observations.
• Def: r-th order central statistical moment of a r.v. extracted from a process
x
r
n f xn dxn continuous r.v.
n
r
M n E xn n
r
x r
ni p xn discrete r.v.
i
i
The variance of a r.v.
n2 for r=2 variance
2 measures the spread, or
Special case: M n variability, of the distribution
6
Properties of expectation
1. The expectation is a linear operator. If α and β are real coefficients
E xn xm Ex Ex
n m
Ek k
Example power
n2 E xn n 2 E xn2 n2 2n E xn E xn2 n2
7
Joint moments of 2 random variables
• Def: Joint (raw) statistical moment of order r+k of two r.v. extracted from a
process
r k
nm
rk
E xnr xmk
xn xm f xn xm dxn dxm continuous r.v.
x r k
ni xm j p xni xm j discrete r.v.
j i
Special case: for r=k=1 correlation of two r.v.nm xn , xm x n , m
• Def: Joint central statistical moment of order r+k of two r.v. extracted from a
process
r k
xn n xm m f xn xm dxn dxm
E
r
k
rk
M nm n
x n x m m k continuous r.v.
r
x n n x m m p xn xm
i j i j
j i discrete r.v.
Cx n , m E xn n xm m n, m
x n m
E xn xm
xn xm f xn xm dxn dxm
xn f xn dxn
xm f xm dxm E xn E xm
n E xn const .
C x n , m C x n m
• Of course any SSS process is also WSS, but not vice versa.
Properties of the correlation sequence associated with a
real-valued WSS process
1. x m x m m
2. x 0 E xn2
3. x m x 0
• The correlation sequence of r.v. extracted from the same process is
typically called autocorrelation. When instead the correlation sequence is
computed using r.v. from 2 different processes is called crosscorrelation.
10
Ergodicity
• A SSS process is ergodic if its
statistical moments can be N
E xn
1
deduced from a single, sufficiently Nlim xn
2 N 1
n N
long sample (realization) of the
N
2N 1
process 1
lim xn2
p x E xn2
N
n N
• The time averages computed on
N
x n m E xn xm
1
an individual realization converge lim xn xn k
N 2 N 1
asymptotically to the ensemble n N
averages xn ...
Time average
x1
A process which is
t1 t2 t ergodic in the first
x2 and second moments
only is sometimes
x3 called ergodic in the
wide sense
Ensemble average
11
Representation of WSS processes
in the frequency domain
• The DTFT of random sequences does not exist (they have infinite
energy), although the DTFT of realization with a finite duration can be
computed.
PSD is an even
me
Power spectral
density or power x e j x
jm
nonnegative
density spectrum m function
12
Meaning of Power Spectral Density
x e j
E 0
xn2 1
2
x e j d
-π ωN π ω
-π π ω m
13
Trasformation of WSS processes
through an LTI system - 1
LTI
x n H (e j ) y n
constant and
independent of time
14
Trasformation of WSS processes
through an LTI system - 2
y n , n m Eyn yn m E
k r
h k h r x n k x n m r
hk hr Exn k xn m r hk hr k m r
k r k r
x
Assuming that l r k
y n , n m m l hk hl k m l cl m* cm
x x x
}
l k l
Aperiodic autocorrelation of h(n)
(not to be confused with statistical autocorrelation)
• The final convolution depends just on the time difference between the
realizations of the output r.v. Therefore, y(n) is also WSS.
15
Trasformation of WSS processes
through an LTI system - 3
y m x m* cm x m* hm* h m
F
y e e H e H e H e
j
x
j j * j j
2
x e j
Example
He j 2
E y n y 0 1
0
y e j d
Δω Δω
d
2 0 2
1 x e j H e j 1
x e j
d
0 0 2
ω0
e
-ω0 0
j0
x
Note: If the input process is white noise, the output is colored as the r.v.
resulting from the filtering operations are correlated.
16