Random Variables
A
random variable
is a numerical description of the outcome of a random experimentThe cumulative distribution function (cdf) for a random variable
X
is denoted byF
X (x
) and is defined as theprobability
that the random variable is less than or equal tox
.Properties of cdf
Because F(x) is a probability, it must have the same
Probability Density
Function (pdf)
The probability density function (pdf) for a
continuous
random variable X
is denoted byf
X (x
) and is defined as the derivative ofF
X (x
)The area under the pdf curve is the probability
p
(x
1< X
≤Probability Mass
Function (pmf)
The pdf in the discrete case is called the
probability mass
function
(pmf). The pmf is defined as the probability that the random variableX
has the valuex
and isdenoted by
p
X (x
).Expected Value
For the continuous case, the
expected value
is given byFor the discrete case, the expected value is given by the weighted sum
The expectation is sometimes referred to as the
first
moment
of the random variable. Sometimesμ
is used as another symbol for the expected value.μ
=E
[X
]The
variance
, or second central moment, of the random variableThe variance describes how much of the mass of the distribution is close to the expected value: a large
variance means that the pdf is large for values of
X
far away fromμ
.The
standard deviation σ
is simply the square root of the variance.The
joint cdf
of RVsX
andY i
sF
XY (x, y
) =p
(X
≤x, Y
≤y
)For
independent random variables
the joint cdf is simply the product of the individual cdf’s.F
XY (x, y
) =F
X (x
)F
Y (y
)The joint pdf satisfies the following relation.
The two random variables are
independent
when the joint pdf can be expressed as the product of the individual pdf’s.For discrete RVs, the
joint pmf
is defined as the probability thatX
=x
andY
=y
p
XY (x, y
) =p
(X
=x, Y
=y
)The joint pmf satisfies the following relation.
Two random variables are
independent
when the joint pmf can be expressed as the product of the individual pmf’s.The
correlation
between two random variables is defined asWe say that the two random variables
X
andY
areThe
covariance
between two random variables is defined asThe following equation can be easily proven.
We say that the two random variables
X
andY
areThe
correlation coefficient ρ
XY is defined asWhen we are dealing with two random variables obtained from the same random process, the correlation
coefficient would be written as
The correlation coefficient would decrease as the value of
n
becomes large to indicate that the random process “forgets” its past values.Random (stochastic)
processes
A
random (stochastic) process
assigns a randomfunction of
time
as the outcome of a random experiment.A stochastic process, formally denoted as {X(t),tT}, is a sequence of random variables X(t), where the parameter t — most often the time — runs over an index set T.
The
state space
of the stochastic process is the set of allRandom (stochastic)
Processes
A random process
X
(t
) is described by•
thesample space S
which includes all possible outcomess
of a random experiment•
thesample function x
(t
) which is the time functionassociated with an outcome
s
. The values of the sample function could be discrete or continuous•
theensemble
which is the set of all possible time functions produced by the random experiment•
the time parametert
which could be continuous or discrete•
the statistical dependencies among the random processesFour different types
of random processes
We could have four different types of random processes: 1. Discrete time, discrete value
2. Discrete time, continuous value 3. Continuous time, discrete value
4. Continuous time, continuous value
We use the notation
X
(t
) to denote a continuous-timerandom process and also to denote the random variable measured at time
t
. WhenX
(t
) is continuous, it will have a pdff
X (x
) such that the probability thatx
≤X
≤x
+ε
is given byFour different types
of random processes
When
X
(t
) is discrete, it will have a pmfp
X (x
) such that the probability thatX
=x
is given byp
(X
=x
) =p
X (x
)We use the notation
X
(n
) to denote a discrete-time random process and also to denote the random variablemeasured at time
n
. That random variable is statistically described by a pdff
X (x
) when it is continuous, or it is described by a pmfp
X (x
) when it is discrete.Poisson Process
A Poisson process is a stochastic process in which the number of events occurring in a given period of time depends only on the length of the time period.
This number of events
k
is represented as a random variableK
that has a Poisson distribution given byExponential Process
The exponential process is related to the Poisson process. The exponential process is used to model the
interarrival time between occurrence of random events.
The random variable
T
could be used to describe theinterarrival time. The probability that the interarrival time lies in the range
t
≤T
≤t
+dt
is given byDeterministic and
Nondeterministic Processes
A
deterministic
process is one where future values of the sample function are known if the present value isknown.
The random variable
X
(n
1) represents all the possiblevalues
x
obtained when time is frozen at the valuen
1. In a sense, we are sampling the ensemble of randomfunctions at this time value.
The expected value of
X
(n
1) is called theensemble
average
or statistical averageμ
(n
1) of the random process atn
1. The ensemble average is expressed asμ
X (t
) =E
[X
(t
)] for continuous-time processμ
X (n
) =E
[X
(n
)] for discrete-time processThe ensemble average could itself be another random
variable since its value could change at random with our choice of the time value
t
orn
.The time averageis obtained by finding the average value for
one
sample function. The time average is expressed asfor continuous-time process
for discrete-time process
In either case we assumed we sampled the function for a period
T
or we observedN
samples.The time average could itself be a random variable since its value could change with our choice of the random function under consideration.
Assume a discrete-time random process
X
(n
) which produces two random variablesX
1 =X
(n
1) andX
2 =X
(n
2) at timesn
1and
n
2 respectively.The
autocorrelation function
for these two random variables is defined by the following equationr
XX (n
1, n
2) =E
[X
1X
2]In other words, we consider the two random variables
X
1 andX
2 obtained from the same random process at the two different time instancesn
1 andn
2.A
wide-sense stationary random process
has the following two properties:E
[X
(t
)] =μ
= constantE
[X
(t
)X
(t
+τ
)] =r
XX (t, t
+τ
) =r
XX(τ
)Such a process has a constant expected value and the autocorrelation function depends on the time difference between the two random variables.
For a discrete time random process, the equations for a wide-sense stationary random process become
E
[X
(n
)] =μ
= constantThe autocorrelation function for a wide-sense stationary random process exhibits the following properties:
r
XX(0) =E
[X
2(n
)] ≥ 0|
r
XX(n
)| ≤r
XX(0)A stationary random process is
ergodic
if all time averages equal their corresponding statistical averages.Cross-Correlation Function
Assume two discrete-time random processes
X
(n
) andY
(n
) which produce two random variablesX
1=X
(n
1) andY
2=Y
(n
2) at timesn
1 andn
2, respectively.The
cross-correlation function
is defined by the following equation.r
XY (n
1, n
2) =E
[X
1Y
2]If the cross-correlation function is zero, i.e.
r
XY = 0, then we say that the two processes areorthogonal
.If the two processes are
statistically independent
, then we haveCovariance Function
Assume a discrete-time random process
X
(n
) which produces two random variablesX
1=X
(n
1) andX
2=X
(n
2) at timesn
1and
n
2, respectively.The
autocovariance function
is defined by the following equation:c
XX(n
1, n
2) =E
[(X
1−μ
1)(X
2−μ
2)]The autocovariance function is related to the autocorrelation function by the following equation:
Covariance Function
For a wide-sense stationary process, the autocovariance function depends on the difference between the time indices
n
=n
2 −n
1.Correlation Matrix
Assume we have a discrete-time random process
X
(n
).At each time step
i
we define the random variableX
i =X
(i
). If each sample function containsn
components, it isconvenient to construct a vector representing all these random variables in the form
x = [
X
1X
2 · · ·X
n]tCorrelation Matrix
We can express RX in terms of the individual correlation functions
For a wide-sense stationary process, the correlation functions depend only on the difference in times
Covariance Matrix
The
covariance matrix
for many random variables obtained from the same random processis the vector whose components are the expected values of our random variables.
When the process has zero mean, the covariance matrix equals the correlation matrix:
Covariance Matrix
The covariance matrix can be written explicitly in the form