Professional Documents
Culture Documents
Digital Assignment-1: Name: Yash Karande Register Number: 17BCE0140 SLOT: G2+TG2 Course Code: Mat2001
Digital Assignment-1: Name: Yash Karande Register Number: 17BCE0140 SLOT: G2+TG2 Course Code: Mat2001
Digital Assignment-1: Name: Yash Karande Register Number: 17BCE0140 SLOT: G2+TG2 Course Code: Mat2001
∑ F =1000 ∑ F*x=39425
Median
F
*
Age Group(x) No. of Members (F) Cumulative x
frequency
6
7
20-25 30 30 5
4
4
19 0
25-30 160 0 0
6
40 8
30-35 210 0 2
5
6
7
58 5
35-40 180 0 0
6
1
6
2
72 .
40-45 145 5 5
45-50 105 830 4987.5
N=1000
N/2=500 , lies in the class interval 35-40 , so 35-40 is the median class
l=35,N/2=500,m=400,f=180,c=5
Mode
20-25 30
25-30 160
30-35 210
35-40 180
40-45 145
45-50 105
50-55 70
55-60 60
60-65 40
L=30,f1=210,f0=160,f2=180
c=5
Mode= 33.125
Mean:
0 1 0
1 8 8
2 28 56
3 56 168
4 70 280
5 56 280
6 28 168
7 8 56
8 1 8
N=256 ∑ *x=1024
Mean= ∑ *x/N = 4
Quartile Deviation:
Size(x) Frequency(F) Cumulative Frequency
0 1 1
1 8 9
2 28 37
3 56 93
4 70 163
5 56 219
6 28 247
7 8 255
8 1 256
N=256
Mean Deviation:
A=4
0 1 -4 -4 4 4
1 8 -3 -24 3 24
2 28 -2 -56 2 56
3 56 -1 -56 1 56
4 70 0 0 0 0
5 56 1 56 1 56
6 28 2 56 2 56
7 8 3 24 3 24
8 1 4 4 4 4
N=256 0 ∑ ∗ =280
Mean = A + ∑ *d/N
Mean = 4
Variance:
0 1 0 0 0
1 8 1 8 8
2 28 4 56 112
3 56 9 168 504
4 70 16 280 1120
5 56 25 280 1400
6 28 36 168 1008
7 8 49 56 392
8 1 64 8 8
Q3 Find the first four moments about the mean and Pearson’s co-efficients β1 & β2 for the
following frequency distribution, and also comment the nature of skewness and kurtosis of
the distribution based on the Pearson’s co-efficients β1 & β2.
Wages No. of Mid d=x- F*d P=x- p^2 P^3 P^4 F*P F*p^2
Persons(F) value A Mean
(x)
190- 85 195 -20 -1700 -14.32 205.06 -2936.49 42049.60 -1217.2 17430.1
200
200- 92 205 -10 -920 -4.32 18.66 -80.62 348.19 -397.44 1716.72
210
-1821.8 182786.2
F*p^3 F*p^4
-2102059.96 72142711.16
-978136.48 23788095.24
-249601.65 3574216
-7417.04 32033.48
17845 100425
366236.4 5742477.35
126640.08 45379089.28
∑f*p^3=-2826493.65 ∑f*p^4=1507590475
N=590
Mean= A + ∑F*d/N
= 215 + -3350/590
=209.32
µ1=∑f*p/∑f =-3.087
µ2=∑f*p^2/∑f = 309.80
µ3=∑f*p^3/∑f = -4790.67
µ4=∑f*p^4/∑f =2555238.093
Β1==0.772
Β2=26.63 ϒ1=-
2.95 * 10-8
ϒ2=23.63
f(x,y) = 0 , otherwise
Find the value of k and prove that X and Y are independent random variable.
Solution
∫0∞ ∫0∞ ( , ) =1
==>∫0∞ ∫0∞ −( 2− 2) =1
==> ∫0∞ − 2) ∫0∞ − 2 =1
==> ∫0∞ − 2) ∗ 12 ∗ [ − ]∞0 = 1
==>2 ∫0∞ − 2) = 1
==>2 ∗ 12 = 1
==> = 4
==>f(x,y)= 4 −( 2− 2)
Var(X) =E(X2)-[E(X)]2
E(X2) = ∫0 2∗1 =1/a*[x3/3]a0=a2/3
E(X(a-X)) = E(a*X-X2)=E(a*X)-E(X2)
= a*E(X)-E(X2)
= a2/2 - a2/3 =a2/6
9. X Y X^2 Y^2 XY
r=n(∑xy)−(∑x)(∑y)
[n∑x2−(∑x)2][n∑y2−(∑y)2]
X=1/N(SUM(X)) = 543/8 =67.87
Y=1/N(SUM(Y)) =482/8 =60.25
On substituting all the values in the formula
We get,
r= -0.561
A moderate downhill (negative) relationship
10.
>
> #MEAN
> h=5
> x=seq(22.5,62.5,h)
> f=c(30,160,210,180,145,105,70,60,40)
> N=sum(f)
> M=(sum(x*f))/N
>M
[1] 39.425
> Median
> h=5
> x=seq(22.5,62.5,h)
> f=c(30,160,210,180,145,105,70,60,40)
> cf=cumsum(f)
> N=sum(f)
> mc=min(which(cf>=N/2))
> mcf=f[mc]
> l=x[mc]-h/2
> c=cf[mc-1]
> l=x[mc]-h/2
> Md=l+(((N/2)-c)/mcf)*h
>
> Md
[1] 37.77778
> #mode
> h=5
> x=seq(22.5,62.5,h)
> f=c(30,160,210,180,145,105,70,60,40)
> mc=which(f==max(f))
> f1=f[mc]
> f0=f[mc-1]
> f2=f[mc+1]
> l=x[mc]-h/2
> Mo=l+((f1-f0)/(2*f1-f0-f2))*h
> Mo