Random Variables: Instructor: Shahrokh Farahmand
Random Variables: Instructor: Shahrokh Farahmand
2
SLIDES BY: SHAHROKH FARAHMAND
Basic Definitions 2
Remember: We have certain non-measurable sets on the real line
These sets are of mathematical importance only
All sets of scientific and engineering importance are measurable
They are of one of the forms
3
SLIDES BY: SHAHROKH FARAHMAND
Cumulative distribution function (CDF)
F(x) is nondecreasing
4
SLIDES BY: SHAHROKH FARAHMAND
Properties of CDF
CDF is continuous for continuous RVs, that is P[X=a]=0 for every a
5
SLIDES BY: SHAHROKH FARAHMAND
Example 1. Uniform distribution
6
SLIDES BY: SHAHROKH FARAHMAND
Example 2. Binomial distribution
7
SLIDES BY: SHAHROKH FARAHMAND
Example 3. Some binomial probabilities
8
SLIDES BY: SHAHROKH FARAHMAND
Probability density function (PDF)
9
SLIDES BY: SHAHROKH FARAHMAND
Properties of PDF
10
SLIDES BY: SHAHROKH FARAHMAND
Gaussian distribution
Tail probability:
11
SLIDES BY: SHAHROKH FARAHMAND
Various probabilities for Gaussian
12
SLIDES BY: SHAHROKH FARAHMAND
Rayleigh distribution
13
SLIDES BY: SHAHROKH FARAHMAND
Exponential distribution
14
SLIDES BY: SHAHROKH FARAHMAND
Uniform distribution
15
SLIDES BY: SHAHROKH FARAHMAND
Laplacian distribution
Applications:
1) Modelling outliers
2) Prior for sparse recovery
16
SLIDES BY: SHAHROKH FARAHMAND
Chi-Squared distribution
17
SLIDES BY: SHAHROKH FARAHMAND
Maximum ratio combining
Consider a single antenna Tx transmitting to a m antenna Base
Station (BS)
Channel gain between Tx and i’th antenna:
NLOS model (known at Rx):
Tx symbol: Received at antenna i:
Noise:
18
SLIDES BY: SHAHROKH FARAHMAND
MRC 2
19
SLIDES BY: SHAHROKH FARAHMAND
Probability of error in support recovery
Consider the following problem
Vector x has two zeros and a one, but we do not know which entry is
one. Want to find the one entry from knowledge of y,A. We apply the
following decision rule
20
SLIDES BY: SHAHROKH FARAHMAND
Probability of error in support recovery 2
21
SLIDES BY: SHAHROKH FARAHMAND
Discrete RVs
Examples. Bernoulli, Binomial, Poisson
For Bernoulli: P[X=0]=P[f], P[X=1]=P[s]
For Binomial
For Poisson,
Unified framework:
22
SLIDES BY: SHAHROKH FARAHMAND
Mixed RVs
A mix of continuous/discrete RVs.
23
SLIDES BY: SHAHROKH FARAHMAND
Geometric distribution
Repeat Bernoulli trials until first success is observed
Applications:
1) MAC layer Tx with ARQ (Remember Erasure channel)
2) Random Access: Slotted Aloha
3) End-t—End transport layer protocols (e.g., TCP)
24
SLIDES BY: SHAHROKH FARAHMAND
Example. Mixed RVs
25
SLIDES BY: SHAHROKH FARAHMAND
Example. Mixed RV 2
26
SLIDES BY: SHAHROKH FARAHMAND
Example. Mixed RV 3
27
SLIDES BY: SHAHROKH FARAHMAND
Conditional PDF Examples
28
SLIDES BY: SHAHROKH FARAHMAND
Conditional PDF Examples 2
29
SLIDES BY: SHAHROKH FARAHMAND
Conditional PDF Examples 3
30
SLIDES BY: SHAHROKH FARAHMAND
Conditional PDF Examples 4
31
SLIDES BY: SHAHROKH FARAHMAND
Conditional PDF Examples 5
32
SLIDES BY: SHAHROKH FARAHMAND
Conditional PDF Examples 6
33
SLIDES BY: SHAHROKH FARAHMAND
Joint CDFs/PDFs
Just integrate over the region that you want to compute its probability
How do we compute marginal from joint?
34
SLIDES BY: SHAHROKH FARAHMAND
Joint PDF/CDFs
Two ways to compute F(x):
35
SLIDES BY: SHAHROKH FARAHMAND
Independent RVs
How do we obtain joint from marginal?
If X,Y are independent
Subsequently
For example
36
SLIDES BY: SHAHROKH FARAHMAND
Examples for joint distribution 1
37
SLIDES BY: SHAHROKH FARAHMAND
Example for joint distribution 2
38
SLIDES BY: SHAHROKH FARAHMAND
Examples for joint distribution 3
39
SLIDES BY: SHAHROKH FARAHMAND
Further examples 1
40
SLIDES BY: SHAHROKH FARAHMAND
Further examples 2
41
SLIDES BY: SHAHROKH FARAHMAND
Further examples 3
42
SLIDES BY: SHAHROKH FARAHMAND
Further examples 4
43
SLIDES BY: SHAHROKH FARAHMAND
Further examples 5
44
SLIDES BY: SHAHROKH FARAHMAND
Further examples 6
45
SLIDES BY: SHAHROKH FARAHMAND
Further examples 6
46
SLIDES BY: SHAHROKH FARAHMAND
Further examples 7
47
SLIDES BY: SHAHROKH FARAHMAND
Jointly Gaussian distribution
48
SLIDES BY: SHAHROKH FARAHMAND
Conditional PDF for continuous RVs
49
SLIDES BY: SHAHROKH FARAHMAND
Conditional JG distribution
50
SLIDES BY: SHAHROKH FARAHMAND
Conditional density of exponential
52