Professional Documents
Culture Documents
Chapter04 MultiRV 2023su
Chapter04 MultiRV 2023su
2023.7.14.
Definition
An n-dimensional random variable (random vector)
X = (X1 , X2 , . . . , X n )′ is a function from the sample space Ω to Rn
X ∶ Ω z→ Rn
Let’s first examine the simplest case that n = 2, i.e., the bivariate
random variables.
Section 1
TT (0,1)
TH (1,0)
HT (1,0)
HH (0,0)
∑ ∑ f XY (x, y) = ∑ ∑ f XY (x, y) = 1.
(x,y)∈S x y
Back to Example
f X (x) = ∑ f XY (x, y)
y
fY (y) = ∑ f XY (x, y)
x
Back to Example
For example,
f X (0) = ∑ f XY (0, y)
y∈{0,1}
f X (1) = ∑ f XY (1, y)
y∈{0,1}
Hence,
⎧
⎪
⎪
⎪5/9 x=0
f X (x) = ⎨
⎪
⎪
⎪ 4/9 x=1
⎩
Basic Quantitative Method 2023.7.14. 9 / 46
Bivariate Discrete Random Variables
Conditional Distribution
P(X = x, Y = y) f XY (x, y)
fY∣X=x (y) = P(Y = y∣X = x) = =
P(X = x) f X (x)
Conditional Distribution
Marginal Conditional
y fY (y) fY∣X=0 (y)
0 8/9 4/5
1 1/9 1/5
Section 3
Example
f XY (x, y) = x + y
Example: f XY (x y) = x + y
y
x
and
fY (y) = ∫ f XY (x, y)dx
x
Back to example: f XY (x y) = x + y, 0 ≤ x ≤ 1, 0 ≤ y ≤ 1,
f X (x) =?
f XY (x, y)
fY∣X=x (y) =
f X (x)
Recall that f X (x) ≠ P(X = x). A conditional pdf is not the results
of conditioning on a set of probability zero.
The conditional probability is computed by
b
P(a < Y < b∣X = x) = ∫ fY∣X=x (y)d y
a
Example
Back to example:
f XY (x y) = x + y, 0 ≤ x ≤ 1, 0 ≤ y ≤ 1
Find
the marginal pdf of X: f X (x)
the conditional pdf of Y: fY∣X=x (y)
Section 4
Definition
Two random variables X and Y are said to be independent if
for all realizations x and y. Where f XY is the joint pmf (pdf); f X and
fY are marginal pmf (pdf) for the discrete (continuous) case.
Theorem
If X and Y are independent, then h(X) and g(Y) are also
independent.
√
For example, if X and Y are independent, then X 2 and Y are
also independent.
Section 6
X1 , X2 , . . . , X n
f X (x1 , x2 , . . . , x n ) = P(X1 = x1 , X2 = x2 , . . . , X n = x n )
where
f X (x1 , x2 , . . . , x n ) ≥ 0 for all (x1 , x2 , . . . , x n ) ∈ Rn .
∑x1 ∑x2 ⋯ ∑x n f X (x1 , x2 , . . . , x n ) = 1.
P((x1 , x2 , . . . , x n ) ∈ A) = ∑ ∑ ⋯ ∑ f X (x1 , x2 , . . . , x n )
(x 1 ,x 2 ,...,x n )∈A
f X1 (x1 ) = ∑ ⋯ ∑ f X (x1 , x2 , . . . , x n )
x2 xn
FX (x1 , x2 , . . . , x n ) = P(X1 ≤ x1 , X2 ≤ x2 , . . . , X n ≤ x n )
= ∑ ∑ ⋯ ∑ P(X1 = w1 , X2 = w2 , . . . , X n = w n )
w 1 ≤x 1 w 2 ≤x 2 w n ≤x n
Note that
∂ n FX (x1 , . . . , x n )
f X (x1 , x2 , . . . , x n ) =
∂x1 ⋯∂x n
Marginal Distribution
Section 7
That is,
{X1 , X2 , . . . , X n } come from identical f X (x)
{X1 , X2 , . . . , X n } are independent
The joint pmf (pdf) for i.i.d. random variables is thus
Example
Suppose that
{X i }ni=1 ∼i.i.d. f X (x),
where
f X (x) = p(1 − p)x , x = 0, 1, 2, . . .
The joint pmf is
Note that two random variables with the same distribution (they
are identically distributed) need not be identical
P({HH}) = 0.09
P({HT}) = 0.21
P({TH}) = 0.21
P({T T}) = 0.49
Basic Quantitative Method 2023.7.14. 38 / 46
IID Random Variables
Let random variable X1 = 1 indicate the event that Head comes the
first, while X2 = 1 indicate the event that Head comes the second:
⎧
⎪
⎪ 1 ω ∈ {HH, HT}
X1 (ω) = ⎨
⎪
⎩ 0 ω ∈ {TH, T T}
⎪
⎧
⎪
⎪ 1 ω ∈ {HH, TH}
X2 (ω) = ⎨
⎪
⎩ 0 ω ∈ {HT, T T}
⎪
Section 8
Given that
⎧
⎪ −1, with Prob = 1/4
⎪
⎪
⎪
X = ⎨ 0, with Prob = 1/2
⎪
⎪
⎪
⎪
⎩ 1, with Prob = 1/4
Let Y = X 2 . Find the distribution of Y.
X = u −1 (Y) = w(Y)
Y
For instance, If Y = 7X or Y = ln X, then X = 7 or X = e Y .
We want to find out the distribution of Y.
{Y ≤ y} iff. {X ≤ w(y)}
FY (y) = FX (w(y))
d
fY (y) = f X (w(y)) ∣ w(y)∣ ,
dy
Y ∼ U[b, a + b]
y−b
P(Y ≤ y) =
(a + b) − b