0% found this document useful (0 votes)
138 views3 pages

XP (X) 21.5 X: A. Find The Mean and Variance of The Following Probability Distribution and Hence Find Its

This document contains Muhammad Hassan Akbar's assignment on probability distributions. It includes two questions: 1. The first question asks to find the mean, variance, and standard deviation of a given probability distribution. It also asks whether two random variables X and Y are independent based on their joint probability distribution. 2. The second question defines a random variable X with a given probability density function, and asks to find the constant c in the function, the expected value E(X), and the variance of X. Formulas for mean, variance, standard deviation, and independence of random variables are applied to calculate the values requested.

Uploaded by

Sheher Bano
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
138 views3 pages

XP (X) 21.5 X: A. Find The Mean and Variance of The Following Probability Distribution and Hence Find Its

This document contains Muhammad Hassan Akbar's assignment on probability distributions. It includes two questions: 1. The first question asks to find the mean, variance, and standard deviation of a given probability distribution. It also asks whether two random variables X and Y are independent based on their joint probability distribution. 2. The second question defines a random variable X with a given probability density function, and asks to find the constant c in the function, the expected value E(X), and the variance of X. Formulas for mean, variance, standard deviation, and independence of random variables are applied to calculate the values requested.

Uploaded by

Sheher Bano
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

MUHAMMAD HASSAN AKBAR

Mc190200699
Assignment NO.2

Question 1: Marks: =10

a. Find the mean and variance of the following probability distribution and hence find its
standard deviation.

X P(X=x) XP(x) X2p(x)


-10 1/5 -2 20
-20 3/20 -3 60
30 1/2 15 450
75 1/10 7.5 562.5
80 1/20 4 320
∑ ∑X 2
P(x)=1412.1
XP(X)=21.5

Mean of probability distribution is:


∑XP(X))
= = ∑XP(X)
∑P(X)
−2−3+15+7.5+4
= 1

=21.5
Mean= E(X) = ∑ xp(x)

E(X)=21.5

Var(x) = ∑ X2 p(x)-[ ∑ XP(x)]2


=1412.5-(21.5)2
=1412.5-462.25
=950.25

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 𝑥(1)2 𝑥(2)2 𝑥


= ∑1𝑦=2 = + =6 for x=123
30 30 30

And the marginal p.d for Y

ℎ(𝑦) = ∑ 𝑓(𝑥, 𝑦)
𝑦

𝑥𝑦2 (1𝑦)2 (2𝑦)2 (3𝑦)2 𝑦2


∑ = + + =
30 30 30 30 5
𝑥𝑦2 𝑥 𝑦2
Clearly = ∗ for X=1,2,3 and y=1,2
30 6 5

i.e f(x,y)= g(x).h(y)


Hence X and Y are independent

Question 2: Marks: =10

Let x be a random variable with PDF given by

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

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy