ECN-511 Random Variables 11
ECN-511 Random Variables 11
Engineering
Random Variables
Course Content
1. Vector spaces, subspaces, bases and dimensions, linear dependence and
independence, vector products, orthogonal bases and orthogonal
projections,
2. Linear operators and Matrices: Eigen values and Eigen vectors,
characteristic polynomial, diagonalization, Hermitian and unitary
matrices, singular value decomposition
3. Discrete and continuous random variables: distribution and density
functions, conditional distributions and expectations, functions of
random variables, moments, sequence of random variables
4. Random process: Probabilistic structure; Mean, autocorrelation and auto-
covariance functions; Strict-sense and wide-sense stationary processes;
Power spectral density; LTI systems with WSS process as the input;
Examples of random processes - white noise, Gaussian, Poisson and
Markov Processes
Marks Distribution
• Assignments + Quiz: 10 % + 15%
• Mid-term Exam: 35%
• End-Term Exam: 40%
S. Name of Books / Authors/ Publishers Year
No.
1. S. Axler, "Linear Algebra Done Right", 3rdEdn., Springer International 2015 2015
Publishing.
2. G.Strang, "Linear Algebra and Its Applications", 4thEdn., Cengage Learning. 2007
3. K.M. Hoffinan and R. Kunze, "Linear Algebra", 2nd Edn.,Prentice Hall 2015 2015
India.
4. A. Papoulis and S. Pillai, "Probability, Random Variables and Stochastic 2017
Processes", 4thEdn., McGraw Hill.
5. H. Stark and J.W. Woods, "Probability and Random Processes with 2001
Applications to Signal Processing", 3rd Edn., Pearson India.
Random Variable
0.3
0.2
0.1
0
1 2 3 4
Cumulative Distribution Function
• The cumulative distribution function for the above probability
histogram is calculated as follows:
The probability that X is less than or equal to 1 is 0.1,
The probability that X is less than or equal to 2 is 0.1+0.3
= 0.4,
The probability that X is less than or equal to 3 is
0.1+0.3+0.4 = 0.8, and
The probability that X is less than or equal to 4 is
0.1+0.3+0.4+0.2 = 1.
10
0.8
The probability histogram
0.6
for the cumulative
distribution, also called the 0.4
probability distribution 0.2
function
0
1 2 3 4
Action of random variable
FX ( x) FX ( x ) P[ x X x]
lim P[ x X x]
0
P[ X x]
• Typically, if P[ X x] is a continuous function of x, it is
zero, wherever FX(x) is continuous and non-zero only
at discontinuities in FX(x)
2.3-4
(Use slide-20)
Probability Density Function
• If FX(x) is continuous and differentiable, the pdf is given as,
dFX ( x)
f X ( x)
dx
Interpretation of fX(x)
P[ x X x x] FX ( x x) FX ( x)
Probability
distribution Probability
function Histogram
See that in the case of staircase PDF, pdf is 0 within the step.
• If FX(x) is continuous in its first derivative, then, for
sufficiently small x
FX ( x x) FX ( x) f X ( x)x
• For small x
P[ x X x x] f X ( x)x
• If fx(x) exists, then FX(x) is continuous, and therefore P[X=x]=0.
Properties
1. fX(x) ≥ 0
2. . f X ( )d FX () FX () 1
3. .FX ( x) f X ( )d P [ X x]
x2 x1
4. .F X ( x2 ) FX ( x1 ) f X ( )d f X ( )d
x2
f
x1
X ( )d
P[ x1 X x2 ]
Some important pdfs
1) The univariate Normal (Gaussian) pdf
2
1 x
1
2
f X ( x) e
2 2
f X ( x)
Mean and Variance
• Mean xf
X ( x)dx
2 2
• Variance ( x ) f X ( x)dx
xi P[ X xi ]
2
i
Examples
• Find mean and variance.
(a)
(b)
Gaussian pdf to standard normal
Given
Need to evaluate
b' 1
1 2
P[a X b]
2
e
a'
2
d
b' 1 a' 1
1 2 1 2
2
e
0
2
d
2
e
0
2
d
Error function
In literature erf2(x)=
Commonly used Density Functions
2) Rayleigh Distribution
Examples :
rocket landing
errors,
radial distribution of
misses around target
in rifle range,
random fluctuations
in some certain
waveforms
Commonly used Density Functions
3) Exponential Distribution
Examples :
Lifetime of
λ=1/μ machinery, intensity
variation in
incoherent light,
waiting time
problem
Commonly used Density Functions
4) Uniform Distribution
If we integrate by parts,
If α is an integer
Exercise: Finding and .
Exercise: Finding
Commonly used Density Functions
5) Gamma (b>0, c>0)
6) Student-t
• 7) Laplacian
I0(x) =J0(x) in
rician pdf
expression
https://mathworld.wolfram.com/BesselFunctionoftheFirstKind.html
• As an example, in case there are multiple
event s having continuous R.V.:
Probability Mass function
• Probability measure for discrete signal is
probability mass function
• 2.
• 3.
Mixed distribution function
Referring slide-41
• Using , and
applying
• This is also known as posteriori probability or posteriori
density of B given X=x.
• Above equation provides another important relation as
follows:
Example:
Generalization
General Formula for determining the pdf of
Y=g(X)
This equation is applicable where y=g(x) has several real roots. If the
equation does not have real roots then
Example 3.2-7
H. Stark and J.W. Woods, "Probability and Random Processes with Applications to
Signal Processing", 3rd Edn., Pearson India.
We will solve above problem (i) by using step by step calculations (ii) Using the relation
used in slide 66.
Case: When g(x) is a constant value
Note that E[X] is indeed the center of gravity of the mass distribution
described by the function f:
Example
1. Let X be uniform U(a, b). Then f(x)= 1/(b-a) for x in [a, b] and zero outside
this interval.
b b
1 1 2 1 1 b2 a 2 b a
E ( X ) xf ( x)dx x
a
ba
dx x
2 b a a 2 b a
2
2. . ?
Example
Example
(b)
Conditional Expectations
• In some situations, we want to know a subset of the
population. For E.g. the average lifespan of people still alive at
an age of more than 70, is the average BP of a long-distance
runner.
• Let
(c)
(d)
Marginal Densities
Independent Random Variables
For independent Events
Please note that it is different from the one on slide-81. We can derive this from
slide -81 by applying independence property for PDF.
Example: Are R.V. X and Y random independent?
Example containing a non-independent
R.V.
(a) Find A.
(b) What are marginal pdfs?
(c) .
Example-2:
Are x, and Y represent independent variables:
Marginal PMFs
Example
Moments
• Two samples can have similar mean, but completely different
deviations from mean value.
From definition,
The most frequently used moment is m2, called variance, Var[X], and
Result can be generalized to higher order
• Example:
Joint Moments
• It is measure to define the state of one R.V., by observing
another R.V.
Joint Central Moment
1.
2.
0
Example
2.
3.
Hermitian Symmetry of correlation and Covariance
functions