Docsity

Notes on Random Vectors - Stochastic Processes in Electronic Systems | ECE 6010, Study notes of Stochastic Processes

Toggle sidebar
bg1
ECE 6010
Lecture 3 – Random Vectors
Grimmet & Stirzaker: Section 4.9
Random Vectors
Random vectors are an extension of the bivariate random variables.
nr.v.s X1, X2,...,Xndefine a measurable mapping from an underlying sample space
(Ω,F)to (Rn,Bn), where Bnis the smallest σ-field containing all sets of the form
{(x1, x2,...,xn) : a1< x1≤b1, a2< x2≤b2,··· , an< xn≤bn}.
Definition 1 The joint distribution of X1,...,Xnis
PX1X2...Xn(B) = P({ω∈Ω : (X1(ω), X2(ω),...,Xn(ω)∈B}for all B∈ B
This probability is denoted as PX(B).2
Definition 2 The joint cumulative distribution function c.d.f. if
PX1X2...Xn(a1, a2,...,an) = P(X1≤a1,...,Xn≤an) = FX(a),a∈Rn.
2
Definition 3 The joint probability mass function (p.m.f.) is
pX(a) = P(X1=a1,...,Xn=an)
2
Definition 4 The joint probability density function (p.d.f.) fX(a)is the function that
satisfies
FX(a) = Zan
∞Zan−1
∞
···Za1
∞
fX(x)dx1dx2···dxn
for a continuous random vector. 2
Fact: X1, X2,...,Xnare independent if FXor pXor fXfactor into products of
marginals.
Suppose g: (Rn,Bn)→(Rn,Bn)is measurable. Then g(X1,...,Xn)is a random
variable. Law of unconscious statistician:
E[g(X1,...,Xn)] = (R···Rg(x1,...,xn)fX(x)dxcontinuous
P···Pg(xi1, xi2,...,xin)pX(xi1, xi2,...,xin)discrete.
Covariance
Suppose X: (Ω,F)→(Rn,Bn)and Y: (Ω,F)→(Rm,Bm)(that is, Xand Yare
random vectors of dimension nand m, respectively).
Definition 5
cov(X,Y) = E[(X−E[X])(Y−E[Y])T]∈Rn×m= ΣXY ,
where
E[X] =
E[X1]
E[X2]
.
.
.
E[Xn]
pf3
pf4
pf5

Partial preview of the text

Download Notes on Random Vectors - Stochastic Processes in Electronic Systems | ECE 6010 and more Study notes Stochastic Processes in PDF only on Docsity!

ECE 6010

Lecture 3 – Random Vectors

Grimmet & Stirzaker: Section 4.

Random Vectors

Random vectors are an extension of the bivariate random variables. n r.v.s X 1 , X 2 ,... , Xn define a measurable mapping from an underlying sample space (Ω, F) to (Rn, Bn), where Bn^ is the smallest σ-field containing all sets of the form

{(x 1 , x 2 ,... , xn) : a 1 < x 1 ≤ b 1 , a 2 < x 2 ≤ b 2 , · · · , an < xn ≤ bn}.

Definition 1 The joint distribution of X 1 ,... , Xn is

PX 1 X 2 ...Xn (B) = P ({ω ∈ Ω : (X 1 (ω), X 2 (ω),... , Xn(ω) ∈ B} for all B ∈ B

This probability is denoted as PX(B). 2

Definition 2 The joint cumulative distribution function c.d.f. if

PX 1 X 2 ...Xn (a 1 , a 2 ,... , an) = P (X 1 ≤ a 1 ,... , Xn ≤ an) = FX(a), a ∈ Rn.

2

Definition 3 The joint probability mass function (p.m.f.) is

pX(a) = P (X 1 = a 1 ,... , Xn = an)

2

Definition 4 The joint probability density function (p.d.f.) fX(a) is the function that satisfies

FX(a) =

∫ (^) an

∞

∫ (^) an− 1

∞

∫ (^) a 1

∞

fX(x)dx 1 dx 2 · · · dxn

for a continuous random vector. 2 Fact: X 1 , X 2 ,... , Xn are independent if FX or pX or fX factor into products of marginals. Suppose g : (Rn, Bn) → (Rn, Bn) is measurable. Then g(X 1 ,... , Xn) is a random variable. Law of unconscious statistician:

E[g(X 1 ,... , Xn)] =

g(x 1 ,... , xn)fX(x) dx continuous ∑ · · ·

g(xi 1 , xi 2 ,... , xin )pX(xi 1 , xi 2 ,... , xin ) discrete.

Covariance

Suppose X : (Ω, F) → (Rn, Bn) and Y : (Ω, F) → (Rm, Bm) (that is, X and Y are random vectors of dimension n and m, respectively).

Definition 5

cov(X, Y) = E[(X − E[X])(Y − E[Y])T^ ] ∈ Rn×m^ = ΣXY ,

where

E[X] =

E[X 1 ]

E[X 2 ]

E[Xn]

Note: Σ is frequently used as a symbol to denote covariance. It should not be confused with a summation sign, and is usually clear from context. Property: cov(X, Y) = [cov(Y, X)]T^. If A is k × n and B is l × m and a ∈ Rk^ and b ∈ Rl^ then

cov(AX + a, BY + b) = AΣXY BT^.

cov(X, X) = ΣX is called the “covariance of X.” It is a symmetric matrix, non- negative definite (or positive semidefinite), and thus has all non-negative eigenvalues. If X 1 , X 2 ,... , Xn are mutually uncorrelated then

ΣX = diag(σ^21 , σ^22 ,... , σ^2 n),

where σ k^2 = var(Xk ). Suppose we partition X of n dimensions as

X =

[

X(1)

X(2)

]

of k and n − k elements, respectively. let

μ = E[X] =

[

μ(1) μ(2)

]

where μ(1)^ = E[X(1)] and μ(2)^ = E[X(2)]. Similarly,

ΣX =

[

]

where

Σ 11 = cov(X(1), X(1)) Σ 12 = cov(X(1), X(2)) Σ 22 = cov(X(2), X(2)),

or, in general, Σij = cov(X(i), X(j))

Characteristic functions

Definition 6 The characteristic function of an n-dimensional random vector X is defined as φX(u) = E[exp(iuT^ X)]

where u ∈ Rn. 2 As before, this is just an n-dimensional Fourier transform.

Definition 7 X is a Gaussian random vector with parameters μ and Σ if

φX (u) = exp[iuT^ μ −

uT^ Σu]

We write X ∼ N (μ, Σ). 2 Properties of Gaussian random vectors:

  1. E[X] = μ.
  2. X 1 , X 2 ,... , Xn independent if and only if Σ is a diagonal matrix.

An Application: MMSE Prediction

Suppose we have a random sequence X 1 , X 2 ,... , Xn, and we observe the first n − 1 of them: X 1 = x 1 , X 2 = x 2 ,... , Xn− 1 = xn− 1.

Given this data, we want to predict the value of Xn. Our estimate of xn will be denoted as ˆxn. Clearly, it could be a function of all the observed data: ˆxn = h(x 1 , x 2 ,... , xn− 1 )

for some function h : Rn−^1 → R. One thing we could try is to minimize the average of (xn − h(x 1 ,... , xn− 1 ))^2. That is we would like to solve

min h

E[(Xn − h(x 1 , x 2 ,... , xn− 1 ))^2 ]

It is easy to see (HW!) that the best such h is

h(x 1 , x 2 ,... , xn) = E[Xn|X 1 = x 1 , X 2 = x 2 ,... , Xn− 1 = xn− 1 ].

That is, the best estimator (in a minimum mean-squared error sense) is the conditional expectation! Now let us take a specific distribution. Suppose X ∼ N (μ, Σ), and partition according to (^) 

     

X 1

X 2

Xn− 1 Xn

Given X 1 = x 1 ,... , Xn− 1 = xn− 1 , the variable Xn is N (μ′, σ^2 ) where

μ′^ = μn + Σn,n− 1 Σ− n−^11

x 1 − μ 1 x 2 − μ 2 .. . xn− 1 − μn− 1

σ^2 = σ n^2 − Σn,n− 1 Σ− n−^11 ΣTn,n− 1

where

Σ =

[

Σn− 1 Σn− 1 ,n Σn,n− 1 σ n^2

]

and Σn− 1 = cov([X 1 ,... , Xn− 1 ], [ ]) Σn,n− 1 = (cov(Xn, X 1 ), cov(Xn, X 1 ),... , cov(Xn, Xn− 1 )).

So μ′^ is the conditional mean that we want and σ^2 is the variance of the conditional distri- bution,

σ^2 = var(Xn|X 1 ,... , Xn− 1 ) = E[(Xn − μ′)^2 |X 1 = x 1 ,... , Xn− 1 = xn− 1 ].

This is the minimum mean-squared error (MMSE). Notationally, write aT^ = Σn,n− 1 Σ− n−^11.

Then

ˆxn = μn + aT

x 1 − μ 1 .. . xn− 1 − μn− 1

This is just a digital filter! We can also show that σ^2 ≤ σ^2 n, so that incorporating information from measurements decreases our uncertainty. Note: For a Gaussian r.v., the MMSE estimator is linear.

Estimation in a Markov model

Suppose that P (Xn|Xn− 1 , Xn− 2 ,... , X 2 , X 1 ) = P (Xn|Xn− 1 ). That is, given Xn− 1 , Xn is independent of X 1 , X 2 ,... , Xn− 2. This is actually quite common: it doesn’t matter how you got to where you came from, only where you came from. Such a model is called a Markov model. Under the assumption of a Markov model,

E[Xn|X 1 ,... , Xn− 1 ] = E[Xn|Xn− 1 ]

and

ˆxn = μn +

cov(Xn, Xn− 1 ) var(Xn− 1 ) (xn− 1 − μn− 1 ).

This can be written as

ˆxn = μn + ρ(Xn, Xn− 1 )

var(Xn)

[

(xn− 1 − μn− 1 )/

var(Xn− 1 )

]

and σ^2 = var(Xn)(1 − ρ^2 (Xn, Xn− 1 )).