XP (X) 21.5 X: A. Find The Mean and Variance of The Following Probability Distribution and Hence Find Its
XP (X) 21.5 X: A. Find The Mean and Variance of The Following Probability Distribution and Hence Find Its
Mc190200699
Assignment NO.2
a. Find the mean and variance of the following probability distribution and hence find its
standard deviation.
=21.5
Mean= E(X) = ∑ xp(x)
E(X)=21.5
S.D= √∑X2P(X)-[∑X2P(X)]2
Now putting the value into formula we get
S.D= 30.83
b. The joint p.d. of two discrete random variables X and y is given by
𝑥𝑦 2
f(x,y) = 30 for x= 1,2,3 and y = 1,2.
Are X and Y independent?
Solution:-
X Y 1 2 g(x)
1 1/30 4/30 3/30
2 2/30 8/30 10/30
3 3/30 12/30 15/30
h(x) 6/30 24/30 1
The marginal p.d for X
𝑔(𝑥) = ∑ 𝑓(𝑥, 𝑦)
𝑦
ℎ(𝑦) = ∑ 𝑓(𝑥, 𝑦)
𝑦
2
f(x) = {𝑐𝑥 0<x< 1
0 𝑜𝑡ℎ𝑒𝑟𝑤𝑠𝑖𝑒
a. Find the constant c.
b. Find E(x) and Var (x).
Solution:-
(a)
First we find c
After putting the values into formula we get
C=3
This pdf is f(x) =3x2, 0<x<1
1
𝐸(𝑋) = ∫ 𝑥3𝑥2𝑑𝑥
0
𝑥4
=3 4
3
E(x)=
4
(b)
1
𝐸(𝑋) = ∫ (𝑥)2(3𝑥)2(𝑑𝑥)
0
3
=
5
Var(x)= E(x2)-[E(x)]2
Var(x)=3/5-9/16=0.0375 Ans