Module 3
Module 3
MB+SCP
Notes and slides made by: Mani Bhushan, Sachin Patwardhan
Department of Chemical Engineering,
Indian Institute of Technology Bombay
Mumbai, India- 400076
mbhushan,[email protected]
{ω : X (ω) ≤ x} ∩ {ω : Y (ω) ≤ y }
= {ω : X (ω) ≤ x, Y (ω) ≤ y }
FX ,Y (x, y ) = P{X ≤ x, Y ≤ y }
∂ 2 F (x, y )
f (x, y ) =
∂x∂y
It follows that,
Z x Z y
F (x, y ) = f (ξ, ρ)dξdρ
Z−∞
Z −∞
In particular, as ∆x → 0 and ∆y → 0,
FX (x) = P(X ≤ x) =
= P(X ≤ x, Y < ∞) = F (x, ∞)
Z ∞Z y
P(X < Y ) = 2e −x e −2y dxdy = 1/3
Z0 a Z 0
∞
P(X < a) = 2e −x e −2y dydx = 1 − e −a
0 0
Similarly, P
pY (yj ) = P(Y = yj ) = p(xi , yj ).
i
0 1 2 3 Row Sum
(P(X = i))
0 10/220 40/220 30/220 4/220 84/220
1 30/220 60/220 18/220 0 108/220
2 15/220 12/220 0 0 27/220
3 1/220 0 0 0 1/220
Col sum 56/220 112/220 48/220 4/220
(P(Y = j))
P((X1 , X2 , ..., Xn ) ∈ C ) =
Z Z Z
. . . f (x1 , x2 , ..., xn )dx1 dx2 ...dxn
(x1 ,...,xn )∈C
where,
∂ n F (x1 , x2 , . . . , xn )
f (x1 , x2 , ..., xn ) =
∂x1 ∂x2 . . . ∂xn
MB+SCP (IIT Bombay) CL202 January 25, 2022 26 / 57
Obtaining Marginals
4 Are X1 , X2 independent?
pX |Y (x|y ) = P(X = x | Y = y )
P(X = x, Y = y ) p(x, y )
= =
P(Y = y ) pY (y )
for pY (y ) > 0.
P(B = i, G = 1)
P(B = i|G = 1) = , i = 0, 1, 2, 3
P(G = i)
P(B = i, G = 1)
P(B = i|G = 1) = , i = 0, 1, 2, 3
P(G = i)
for fY (y ) > 0.
for fY (y ) > 0.
Hence, can make statements on probabilities of X taking
values in some set A given the value obtained by Y as:
for fY (y ) > 0.
Hence, can make statements on probabilities of X taking
values in some set A given the value obtained by Y as:
Z
P(X ∈ A | Y = y ) = fX |Y (x | y )dx
A
pX |Y (x|y ) = pX (x)
fX |Y (x|y ) = fX (x)
Independence and Conditional
Probabilities
pX |Y (x|y ) = pX (x)
fX |Y (x|y ) = fX (x)
1
f (x1 , x2 )/fX2 (x2 ) = e −0.2x1
5
which is same as fX1 (x1 ) in this example.
2 Similarly, fX2 |X1 (x2 |x1 ) = fX2 (x2 ) in this example.
1
f (x1 , x2 )/fX2 (x2 ) = e −0.2x1
5
which is same as fX1 (x1 ) in this example.
2 Similarly, fX2 |X1 (x2 |x1 ) = fX2 (x2 ) in this example.
Generic Question: If fX1 |X2 (x1 |x2 ) = fX1 (x1 ), then is
fX2 |X1 (x2 |x1 ) = fX2 (x2 )?
1
f (x1 , x2 )/fX2 (x2 ) = e −0.2x1
5
which is same as fX1 (x1 ) in this example.
2 Similarly, fX2 |X1 (x2 |x1 ) = fX2 (x2 ) in this example.
Generic Question: If fX1 |X2 (x1 |x2 ) = fX1 (x1 ), then is
fX2 |X1 (x2 |x1 ) = fX2 (x2 )?
Answer: Yes
MB+SCP (IIT Bombay) CL202 January 25, 2022 48 / 57
Example 5.5 (Ogunnaike, 2009): I
x1 − x2 , 1 < x1 < 2, 0 < x2 < 1
fX1 ,X2 =
0, otherwise
Find: Conditional probability densities.
x1 − x2 , 1 < x1 < 2, 0 < x2 < 1
fX1 ,X2 =
0, otherwise
Find: Conditional probability densities.
Answer: Compute marginals
(x1 − 0.5), 1 < x1 < 2
fX1 (x1 ) =
0, otherwise
(1.5 − x2 ), 0 < x2 < 1
fX2 (x2 ) =
0, otherwise
E (g (X , Y )) =
E (g (X , Y )) = E [X ] + E [Y ]
E (g (X , Y )) = E [X ] + E [Y ]
E (g (X , Y )) = E [X ] + E [Y ]
Cov(X , Y ) = 0
Cov(X , Y ) = 0
Cov(X , Y ) = 0
g (X , Y ) = XY
I If X , Y independent,
E [XY ] = E [X ]E [Y ]
g (X , Y ) = XY
I If X , Y independent,
E [XY ] = E [X ]E [Y ]
g (X , Y ) = h(X )l(Y )
I If X , Y independent,