You are on page 1of 3

STA301 Assignment 1 Solution Fall 2022

Website: Vu Expert Solutions


YouTube Channel: Vu Expert

𝑥 (1 + 2𝑦 2 )
𝑓(𝑥, 𝑦) = , 0 < 𝑥 < 2, 0 < 𝑦 < 1
4
= 0 𝑒𝑙𝑠𝑒𝑤ℎ𝑒𝑟𝑒

Given that

(a) Show that Marginal pdf of X is


5
𝑔(𝑥 ) = 𝑥; 𝑓𝑜𝑟 0 < 𝑥 < 2
12

Solution Now Part a


𝑔(𝑥 ) = ∫ 𝑓 (𝑥, 𝑦)𝑑𝑦 𝑓𝑜𝑟 0 < 𝑥 < 2


−∞
1
𝑥(1 + 2𝑦 2 )
𝑔(𝑥 ) = ∫ 𝑑𝑦
4
0
1
𝑥
= ∫(1 + 2𝑦 2 )𝑑𝑦
4
0
1
x 2 y3 
 y 
4 3  0
𝑥 2. 13 2. 03
= = [1 + −0− ]
4 3 3
𝑥 2
= [1 + ]
4 3
𝑥 5
= [ ]
4 3
5
= 𝑥
12

Hence prove Marginal pdf of X is


5
𝑔(𝑥 ) = 𝑥; 𝑓𝑜𝑟 0 < 𝑥 < 2
12

Part 2 Solution:
Also Calculate E(X)

𝐸 (𝑋) = ∫ 𝑥. 𝑔(𝑥 )𝑑𝑥 𝑓𝑜𝑟 0 < 𝑦 < 1


−∞
2
5
= ∫ 𝑥. 𝑥𝑑𝑥 𝑓𝑜𝑟 0 < 𝑦 < 1
12
0
2
5
= ∫ 𝑥 2 𝑑𝑥
12
0
2
5  x3 
=  
12  3  0
5 23 03
= [ − ]
12 3 3
5 8
= .
12 3
40
=
36

Question No 2 Solution
A random variable X has the following probability distribution:

X P(X)

-2 0.1

-1 k

0 0.2

1 2k

2 0.3

3 3k

Find K and P (X < 1)

𝐹𝑜𝑟 𝑓𝑖𝑛𝑑𝑖𝑛𝑔 𝑡ℎ𝑒 𝑣𝑎𝑙𝑢𝑒 𝑜𝑓 𝑘 𝑆𝑢𝑚 𝑜𝑓 𝑝𝑟𝑜𝑏𝑎𝑏𝑖𝑙𝑖𝑡𝑦 𝑖𝑠 𝑒𝑞𝑢𝑎𝑙 𝑡𝑜 1

∑(𝑃) = 1

0.1 + 𝑘 + 0.2 + 2𝑘 + 0.3 + 3𝑘 = 1

6𝑘 + 0.6 = 1

6𝑘 = 1 − 0.6

6𝑘 = 0.4
4
𝑘= ≈ 0.67
60

𝑓𝑜𝑟 𝑃(𝑋 < 1) = 𝑃 (−2) + 𝑃(−1) + 𝑃 (0)

= 0.1 + 𝑘 + 0.2

= 𝑘 + 0.3

= 0.67 + 0.3

= 0.70

You might also like