Professional Documents
Culture Documents
OP01-Random Variables PDF
OP01-Random Variables PDF
Content
Random variables
Probability
Histogram or probability density function
Cumulative function
Mean
Variance
Moments
Some representations of random variables
Marginal distributions
Independence
Correlations
Gaussian expression of multiple random variables
Introduction
signal = every entity which contains some physical
information
Examples:
Acoustic waves
Electric current given by
a microphone
Light waves
Current given by
a spectrometer
Number series
Photography
Music,
speech,
...
Light source
(star, )
...
Physical measurements
...
3
Typical Signals
Speech
Biomedical
Sound and Music
Video and Image
Radar
Signal Processing
Classification of Signals
Dimensional classification :
Examples :
The signal theory is independent on the physic phenomenon and the types of
variables.
Phenomenological Classification
Morphological classification:
Probability
Probability
nAB
P A, B lim
N N
nAB nA
nAB
lim
Nlim
nA N
nA
nA df
Nlim
P B / A P A
N
P A, B P B / A P A P A / B P B
t1
t2
t
Signals obtained when
measuring temperature
using many sensors
10
t1
t2
t
Signals obtained when
measuring temperature
using many sensors
11
N(m)
N mes
x
m Dx
N m, ti
N mes
(m+1) Dx
N k,t
i
k m
N mes
PDF properties
x=dx, the histogram becomes continuous. In this
case we can write:
x2
Prob x1 xi x2 f x, ti dx
x1
Prob x x1 0
n x, t i
where f x, ti lim
N mes N
mes
13
Histogram or PDF
Random signal
Sine wave :
f(x)
x
-1
Uniform PDF
Uniform PDF
14
15
Examples
16
Expectation, variance
Every function of a random variable is a random variable. If we know the
probability distribution of a RV, we can deduce the expectation value of
the function of a random variable:
E gi
g x f x, t dx
i
Statistical parameters :
Average value :
x ti E xi
x f x, t dx
i
mx2 ti E xi2
x 2 f x, ti dx
x2 ti E xi x ti mx x ti
2
x ti mx2 x2
17
18
f x b a
0 otherwise
0 x a
xa
F x
if a x b
b a
1 x b
1
a b
2
1
2
2
b a
12
f(x)
c
x
a
19
Examples
20
Examples
21
Examples
22
1
f ( x)
e
2
1 x m
2 2
E( X ) m
If
X N (m; )
V (X )
X m
N (0;1)
23
24
Examples
25
26
27
Examples
28
f XY ( x, y) ce
( x2 y 2 )
29
30
FX ,Y ( x, y ) P( X x, Y y )
F ( x, y )
f X ,Y ( x, y )
xy
2
X ,Y
( x, y )dxdy
X ,Y
( x, y )dxdy 1
FX ( x) FXY ( x,)
X ,Y
( x, y )dxdy
f X (u )
FY ( y ) FXY (, y )
X ,Y
( x, y )dxdy
XY
(u , v)dv
XY
(u , v)du
31
32
Examples
33
E[ x n y n ]
x n y n f X ,Y ( x, y )dxdy
E[Y ]
yf
( y )dy
E[ XY ] E[ X ].E[Y ]
f X ,Y ( x, y ) f X ( x). fY ( y)
34
35
36
37
Covariance
38
Covariance
39
Correlation coefficient
40
Correlation coefficient
41
Correlation coefficient
42
43
44
45
46
47
48
49
PDF of a transformed RV
Suppose X is a continuous RV with known PDF
Y=h(X) a function of the RV X
What is the PDF of Y?
50
51
52
53
Sum of 2 RVs
54
Sum of 2 RVs
55
Sum of 2 RVs
56
Sum of 2 RVs
57