You are on page 1of 97

Properties of RVs

INSTRUCTOR: SHAHROKH FARAHMAND


Function of a RV: General formula

SLIDES BY SHAHROKH FARAHMAND 2


Example. Linear transformation

SLIDES BY SHAHROKH FARAHMAND 3


Linear transformation of a Gaussian

SLIDES BY SHAHROKH FARAHMAND 4


Example. Square law detector

SLIDES BY SHAHROKH FARAHMAND 5


Example. Sine wave

SLIDES BY SHAHROKH FARAHMAND 6


Example. Sine wave 2

SLIDES BY SHAHROKH FARAHMAND 7


Example. Linear amplifier with cut-off

SLIDES BY SHAHROKH FARAHMAND 8


Linear amplifier with cut-off

SLIDES BY SHAHROKH FARAHMAND 9


Rule of thumb for discrete and general RVs

SLIDES BY SHAHROKH FARAHMAND 10


Half-wave rectifier

SLIDES BY SHAHROKH FARAHMAND 11


Half-wave rectifier 2

SLIDES BY SHAHROKH FARAHMAND 12


Neat property of uniform distribution

SLIDES BY SHAHROKH FARAHMAND 13


Functions of multiple RVs
Examples include the following problems:

SLIDES BY SHAHROKH FARAHMAND 14


Functions of multiple RVs 2

SLIDES BY SHAHROKH FARAHMAND 15


Functions of multiple RVs 3

SLIDES BY SHAHROKH FARAHMAND 16


Ex. Multiplier

Applications:
1) Mixer output
2) Flat-fading channels

SLIDES BY SHAHROKH FARAHMAND 17


Ex. Multiplier 2
Leibniz rule:

SLIDES BY SHAHROKH FARAHMAND 18


Ex. Multiplier 3

SLIDES BY SHAHROKH FARAHMAND 19


Ex. Maximum RV

SLIDES BY SHAHROKH FARAHMAND 20


Ex. Maximum RV 2

SLIDES BY SHAHROKH FARAHMAND 21


Sum RVs

SLIDES BY SHAHROKH FARAHMAND 22


Sum RVs 2

SLIDES BY SHAHROKH FARAHMAND 23


Sum of independent Poisson

SLIDES BY SHAHROKH FARAHMAND 24


Functions of Gaussians: Exponential

Therefore, Z is
exponential or chi-
squared with two
degrees of freedom
SLIDES BY SHAHROKH FARAHMAND 25
Functions of Gaussians 2: Rayleigh

SLIDES BY SHAHROKH FARAHMAND 26


Functions of Gaussians: Rice

SLIDES BY SHAHROKH FARAHMAND 27


Rice distribution

SLIDES BY SHAHROKH FARAHMAND 28


Two functions of two RVs

SLIDES BY SHAHROKH FARAHMAND 29


Two functions of two RVs

SLIDES BY SHAHROKH FARAHMAND 30


Ex. Linear transformation

SLIDES BY SHAHROKH FARAHMAND 31


Ex. NLOS fading

SLIDES BY SHAHROKH FARAHMAND 32


Ex. NLOS fading 2

SLIDES BY SHAHROKH FARAHMAND 33


Ex. NLOS fading 3

SLIDES BY SHAHROKH FARAHMAND 34


Rotational invariance of jointly Gaussian

SLIDES BY SHAHROKH FARAHMAND 35


Rotational invariance of JG 2

SLIDES BY SHAHROKH FARAHMAND 36


Expected value (mean value)

Question. We can compute mean from PDF. Can we compute PDF


from mean?
Ans. No. But if all the moments are calculated, then PDF can be
computed (will clarify later on)
Note that PDF / Joint PDF give a complete characterization of a RV
SLIDES BY SHAHROKH FARAHMAND 37
Moments
Second moment

Second central moment (a.k.a. Variance)

k’th moment

k’th central moment

SLIDES BY SHAHROKH FARAHMAND 38


Moments: Intuition
In general, Joint /Marginal PDFs can be difficult to compute, so one
opts for a partial characterization of the distribution instead of a
complete one. Moments provide such a partial characterization. If all
moments are compute, then one can reconstruct the PDF which
yields a complete characterization of the RV.

Usually, we work only with the first two moments

SLIDES BY SHAHROKH FARAHMAND 39


Linearity of expected value

Proof idea. Expected value is an integration and integration is linear


in that integral of a summation equals summation of integrals. So,
this property is inherited by expected value.
Example.

SLIDES BY SHAHROKH FARAHMAND 40


Gaussian distribution

One can show that

Knowing the first two moments of Gaussian completely defines the


distribution
SLIDES BY SHAHROKH FARAHMAND 41
Poisson/Binomial distribution
For Poisson with parameter a:

For Binomial with parameters n,p:

SLIDES BY SHAHROKH FARAHMAND 42


Further examples

Question. What can you say about X and Y from the PDF?
Question. Two ways to compute E[XY]. What are they?
1) Direct substitution
2) Independent property

SLIDES BY SHAHROKH FARAHMAND 43


Further examples 2

SLIDES BY SHAHROKH FARAHMAND 44


Conditional expectation

SLIDES BY SHAHROKH FARAHMAND 45


Conditional expectation 2

SLIDES BY SHAHROKH FARAHMAND 46


Properties of conditional mean

SLIDES BY SHAHROKH FARAHMAND 47


Law of total variance

SLIDES BY SHAHROKH FARAHMAND 48


Distributions with hyper-parameters
Consider a buffer where number of packets that arrive to the buffer
are Poisson with an arrival rate X. While X is deterministic in most
cases, the network corresponding to this buffer suffers from random
congestions. Hence, X is random.

SLIDES BY SHAHROKH FARAHMAND 49


Distributions with hyper-parameters 2

SLIDES BY SHAHROKH FARAHMAND 50


Geometric distribution
Repeat a Bernoulli experiments until first success

Ex. Suppose you keep tossing a fair coin until you observe two
consecutive heads. Define X to be the number of coin tosses until
success. What is E[X]?
Ans. We need Markov chain for this. But, there is a shortcut:

SLIDES BY SHAHROKH FARAHMAND 51


Geometric distribution 2

After some algebra:

Will compare against the result of a Markov chain

SLIDES BY SHAHROKH FARAHMAND 52


Example. Poisson RVs

SLIDES BY SHAHROKH FARAHMAND 53


Example. Poisson RVs

SLIDES BY SHAHROKH FARAHMAND 54


Absolute moments

Important property
Two proofs
1)
2) Triangle inequality

SLIDES BY SHAHROKH FARAHMAND 55


Joint moments

Joint central moments are defined as

Generally, we work with the first two moments


SLIDES BY SHAHROKH FARAHMAND 56
Second joint moments: Correlation/Covariance

SLIDES BY SHAHROKH FARAHMAND 57


Uncorrelated RVs

Uncorrelated RVs are intuitively said to be linearly independent


For independent RVs, we have

For example:
Independent RVs are uncorrelated but uncorrelated RVs are not
necessarily independent
The only exception is Jointly Gaussian where uncorrelatedness means
indepndence
SLIDES BY SHAHROKH FARAHMAND 58
Correlation coefficient

Proof:
Note that if CC equals zero then the two RVs are uncorrelated
If CC equals +1 or -1 then they are completely correlated

SLIDES BY SHAHROKH FARAHMAND 59


Linear relation when CC absolute value equals 1
When |CC|=1 (fully correlated scenario), one can show

From this we can conclude that

Note that there exists a linear relation between Y,X


If we know X, we know Y. Given Y=y, X becomes deterministic
Question. If CC=0, can we say anything about the joint PDF?
SLIDES BY SHAHROKH FARAHMAND 60
Variance of sum of uncorrelated RVs
Define

Suppose X,Y are uncorrelated. We have the following relation:

SLIDES BY SHAHROKH FARAHMAND 61


Example. Optimal linear estimator

SLIDES BY SHAHROKH FARAHMAND 62


Example. Optimum linear estimator 2

SLIDES BY SHAHROKH FARAHMAND 63


Example. Optimum linear estimator 3

SLIDES BY SHAHROKH FARAHMAND 64


Example. Optimum linear estimator 4

SLIDES BY SHAHROKH FARAHMAND 65


Uncorrelated but not independent

SLIDES BY SHAHROKH FARAHMAND 66


Jointly Gaussian RVs

SLIDES BY SHAHROKH FARAHMAND 67


Marginal Gaussians

Gaussian bell is modified:


Individually Gaussian but
not jointly Gaussian

SLIDES BY SHAHROKH FARAHMAND 68


Contours of jointly Gaussian RVs

SLIDES BY SHAHROKH FARAHMAND 69


Contours of jointly Gaussian RVs 2

SLIDES BY SHAHROKH FARAHMAND 70


Quadratic forms and jointly Gaussian RVs

SLIDES BY SHAHROKH FARAHMAND 71


General jointly Gaussian distribution

SLIDES BY SHAHROKH FARAHMAND 72


Markov/Chebyshev inequalities

SLIDES BY SHAHROKH FARAHMAND 73


Weak law of large numbers (WLLN)

SLIDES BY SHAHROKH FARAHMAND 74


Ex. Markov inequality

SLIDES BY SHAHROKH FARAHMAND 75


Cauchy-Schwarz inequality

SLIDES BY SHAHROKH FARAHMAND 76


Example

SLIDES BY SHAHROKH FARAHMAND 77


Moment generating function (MGF)

SLIDES BY SHAHROKH FARAHMAND 78


Ex. MGF for Gaussian

SLIDES BY SHAHROKH FARAHMAND 79


Ex. MGF for Gaussian 2

SLIDES BY SHAHROKH FARAHMAND 80


MGF for Binomial

SLIDES BY SHAHROKH FARAHMAND 81


MGF for Geometric

SLIDES BY SHAHROKH FARAHMAND 82


MGF for sum of independent RVs

SLIDES BY SHAHROKH FARAHMAND 83


Chernoff bound

SLIDES BY SHAHROKH FARAHMAND 84


Ex. Chernoff bound for Poisson

SLIDES BY SHAHROKH FARAHMAND 85


Ex. Chernoff bound for Poisson 2

SLIDES BY SHAHROKH FARAHMAND 86


Characteristic function

SLIDES BY SHAHROKH FARAHMAND 87


Ex. Sum of independent Gaussians/ Poissons

SLIDES BY SHAHROKH FARAHMAND 88


Ex. Sum of independent Binomials

SLIDES BY SHAHROKH FARAHMAND 89


Ex. Soccer betting

SLIDES BY SHAHROKH FARAHMAND 90


Fair soccer betting

SLIDES BY SHAHROKH FARAHMAND 91


Central limit theorem (CLT)

SLIDES BY SHAHROKH FARAHMAND 92


CLT proof

SLIDES BY SHAHROKH FARAHMAND 93


Levy’s continuity theorem

SLIDES BY SHAHROKH FARAHMAND 94


Application of CLT

SLIDES BY SHAHROKH FARAHMAND 95


Application of CLT 2

SLIDES BY SHAHROKH FARAHMAND 96


Limitations of CLT

SLIDES BY SHAHROKH FARAHMAND 97

You might also like