18MAT41 Module-5
18MAT41 Module-5
MODULE - 05
INTRODUCTION
If X & Y are two discrete random variables, we define the joint probability
function of X & Y by
P (X = x, Y = y) = f (x,y)
The second condition means that the sum over all the values of x and y is equal
to one.
= 1,2,...n is called the joint probability distribution of X and Y.These values are
presented in the form of a two way table called the joint probability table.
X Y 𝑦1 𝑦2 ... 𝑦𝑛 Sum
𝑥1 𝐽11 𝐽12 𝐽1𝑛 f(x1)
𝑥2 𝐽21 𝐽22 ... 𝐽2𝑛 f(x2)
... ... ... ... ...
𝑥𝑚 𝐽𝑚1 𝐽𝑚2 ... 𝐽𝑚𝑛 f(xm)
𝑠𝑢𝑚 g(y1) g(y2) g(yn) 1
In the joint probability table {f(x1), f(x2). . . f(xm) }are the sum of horizontal
entries and {g(y1), g(y2), . . . g(yn)} are the sum of vertical entries in the joint
probability distribution table. These are called marginal probability distribution
of X and Y respectively.
Expectation
Variance
Covariance
Correlation
𝐶𝑂𝑉 (𝑋,𝑌)
Correlation of X and Y = 𝜌(𝑋, 𝑌) =
𝜎𝑋 𝜎𝑌
NOTE:
COV (X , Y) = 0 = 𝜌(𝑋, 𝑌)
PROBLEMS
Solu: The distribution is obtained adding the all the respective row entries
Distribution of X : Distribution of Y :
xi 1 5 yj -4 2 7
f(xi) 1/2 1/2 g(yj) 3/8 3/8 1/4
a) E(X) = ∑ 𝑥𝑖 𝑓(𝑥𝑖 ) = (1)(1/2) + 5 (1/2) = 3 = 𝜇𝑥
= 3/2
75
Thus 𝜎𝑋 = 2 and 𝜎𝑦 = √( ) = 4.33
4
2. The joint probability distribution table for two random variables X and Y is
as follows.
X Y -2 -1 4 5
1 0.1 0.2 0 0.3
2 0.2 0.1 0.`1 0
Solu: Marginal distributions of X and Y are got by adding all the respective
xi 1 2 yj -2 -1 4 5
f(xi) 0.6 0.4 g(yj) 0.3 0.3 0.1 0.3
(a)
= E(X) = ∑ 𝑥𝑖 𝑓(𝑥𝑖 ) = (1)(0.6) + (2)(0.4) = 1.4
E (XY) = ∑ 𝑥𝑖 𝑦𝑗 𝐽𝑖𝑗 = (1)(-2)(0.1) + (1) (-1) (0.2) + (1) (4) (0) + (1) (5) (0.3)
+ (2) (-2) (0.2) + (2) (-1) ( 0.1) + (2) (4) (0.1) + (2)(5) (0)
= 0.9
Hence 𝜎𝑋2 = 2.2 – (1.4)2 = 0.245 and 𝜎𝑌2 = (10.6) – (1)2= 9.6
formed as follows.
X 0 1 2 3 Sum
Y
0 0 k 2k 3k 6k
1 2k 3k 4k 5k 14k
2 4k 5k 6k 7k 22
Sum 6k 9k 12k 15k 42k
∴ k = 1/42
xi 0 1 2 yj 0 1 2 3
f(xi) 6/42 4/42 22/42 g(yj) 6/42 9/42 12/4 15/42
= 1/7 =1/3 =11/21 =1/7 =3/14 =2/7 =5/14
4. A fair coin is tossed thrice. The random variables X and Y are defined as
Y = Number of heads
(C) Obtain the expectations of X,Y and XY. Also find S.Ds of
X and Y
xi 0 `1 yj 0 1 2 3
f(xi) 1/2 1/2 g(yj) 1/8 3/8 3/8 1/8
X1 = 0, X2 = 1 and y1 = 0, y2 = 1 , y3 = 2 , y4 = 3
J 11 = P ( X = 0, Y = 0) = 0
J 14 = P ( X = 0, Y = 3) = 1/8;outcome is HHH
J 21 = P ( X = 1, Y = 0) = 1/8,outcome is TTT
J 23 = P ( X = 1, Y = 2) = 1/8,outcome is THH
X,Y)
X 0 1 2 3 Sum
Y
0 0 1/8 1/4 1/8 1/2
1 1/8 1/4 1/8 0 1/2
Sum 1/8 3/8 3/8 1/8 1
= ½ - ¾ = - 1/4
𝐶𝑂𝑉 (𝑋,𝑌) (−1/4) 1
𝜌(𝑋, 𝑌) = = =-
𝜎𝑋 𝜎𝑌 √3/4 √3
SAMPLING THEORY
INTRODUCTION