Stats Lab
Stats Lab
42 14 12 21 24 31 33 27 30
For Value Formula
Largest 45 =MAX(A7:I9)
Smallest 12 =MIN(A7:I9)
Sum 481 =SUM(A7:I9)
Mean 26.72222 =AVERAGE(A7:I9)
Median 24.5 =MEDIAN(A7:I9)
Mode 24 =MODE(A7:I9)
Q1 20.25 =QUARTILE(A7:I9,1)
Q3 32.5 =QUARTILE(A7:I9,3)
D3 21.2 =PERCENTILE(A7:I9,0.3)
D5 24.5 =PERCENTILE(A7:I9,0.5)
D7 30.9 =PERCENTILE(A7:I9,0.7)
P20 18.2 =PERCENTILE(A7:I9,0.2)
P70 30.9 =PERCENTILE(A7:I9,0.7)
P90 42 =PERCENTILE(A7:I9,0.9)
Aakash Shrestha
Roll. No:- 1
BCA 3rd Sem
Compute Number, Largest, Smallest, Sum, Mean, Mode, Median, Q 1, Q3, D6, D9, P70,
P90, S.D, Q.D, Range, Coefficient of Range, Coefficient of Q.D, Variance and C.V
25 32 22 25 12 47 35 45 35
18 19 35 42 50 33 27 17 24
Q1 22.5 =QUARTILE(A7:I8,1)
Q3 35 =QUARTILE(A7:I8,3)
D6 33.4 =PERCENTILE(A7:I8,0.6)
D9 45.6 =PERCENTILE(A7:I8,0.9)
P70 35 =PERCENTILE(A7:I8,0.7)
P90 45.6 =PERCENTILE(A7:I8,0.9)
Aakash Shrestha
Roll. No:- 1
BCA 3rd Sem
A B C D E F G H I
1 Compute Mean, Mode, Median, Q1 , Q3, D6, P90, Coefficient of Q.D.,S.D.,
2 C.V. and variance from given data
3 Marks No. of Students
4 0 - 10 5
5 10 - 20 12
6 20 - 30 24
7 30 - 40 25
8 40 - 50 19
9 50 - 60 15
10
11 Solution:- Calculation table for various values
12 C.I. f c.f. l.l. u.l. h m.v.(x) f*x f*x2
13 0 - 10 5 5 0 10 10 5 25 125
14 10 - 20 12 17 10 20 10 15 180 2700
15 20 - 30 24 41 20 30 10 25 600 15000
16 30 - 40 25 66 30 40 10 35 875 30625
17 40 - 50 19 85 40 50 10 45 855 38475
18 50 - 60 15 100 50 60 10 55 825 45375
19 100 180 3360 132300
20 For Position Class Value Formula For Value Formula
21 Mean 33.6 =H19/B19
22 Mode 25 30 - 40 31.42857143 =D16+(B16-B15)/(2*B16-B15-B17)*F16
23 Median 50 30 - 40 33.6 =D16+(B23-C15)/B16*F16
24 Q1 25 20 - 30 23.33333333 =D15+(B24-C14)/B15*F15
25 Q3 75 40 - 50 44.73684211 =D17+(B25-C16)/B17*F17
26 D6 60 30 - 40 37.6 =D16+(B26-C15)/B16*F16
27 P90 90 50 - 60 53.33333333 =D18+(B27-C17)/B18*F18
28 Coeff. Of Q.D. 0.31443299 =(D25-D24)/(D25+D24)
29 S.D. 13.92982412 =SQRT(I19/B19-(H19/B19)^2)
30 C.V. 41.45780988 =D29/D21*100
31 Variance 194.04 =D29^2
32
33 Aakash Shrestha
34 Roll. No:- 1
35 BCA 3rd Sem
compute five number summary from given data.Also, construct Box-whisker plot and interpret
the result.
12 30 25 14 17 18 19 22 35
17 38 40 15 10 24 23 27 32
Box-Whisker Plot
45
40 40
35
30 29.25
25
22.5
20
17
15
10 10
5
0
Aakash Shrestha
Roll. No:- 1
BCA 3rd Sem
Compute five number summary from given data. Also, Construct Box - Whisker Plot and
interpret the result.
25 51 47 14 21 20 15 28 35
34 17 24 26 25 31 37 50 27
40
34.75
30 26.5
21.75
20
14
10
Aakash Shrestha
Roll. No:- 1
BCA 3rd Sem
Construct Pie Chart for given data
Export Amount
India 120
UK 180
USA 240
FRANCE 60
Germany 80
Russia 40
8%
25%
33%
Aakash Shrestha
Roll. No:- 1
BCA 3rd Sem
A B C D E F
1 Contruct Histogram for given data.
2 Marks No. of students
3 10 - 20 4
4 20 - 30 8
5 30 - 40 15
6 40 - 50 12
7 50 - 60 8
8 60 - 70 5
9
10 Solution :- Here we have,
11 Marks No. of students
12 10 - 20 4
13 20 - 30 8
14 30 - 40 15
15 40 - 50 12
16 50 - 60 8
17 60 - 70 5
18
19
20
No. of students
16
21
14 15
22
12
23 12
10
24
25 8
8 8
26 6
27 4 5
4
28 2
29
0
30 10 - 20 20 - 30 30 - 40 40 - 50 50 - 60 60 - 70
31
32
33
34 Aakash Shrestha
35 Roll. No:- 1
36 BCA 3rd Sem
A student pass in exam with probability 40%. If 12 students took the exa, compute the
probability that i) Exactly four will pass the exam.
ii) More than 3 will pass the exam.
iii) less than 8 will pass the exam.
iv) atleast 6 will pass the exam.
v) atmost 7 will pass the exam.
Aakash Shrestha
Roll. No:- 1
BCA 3rd Sem
A B C D E F G H
1 on average 4 calls arrive at an office. Compute the probability that,
2 there will be
3 i) no call
4 ii) two calls
5 iii) atleast 2 caselected minute.
6 iv) more than two calls
7 v) less than 3 minutes interval.
8 vi) 5 calls in two minutes interval.
9 vii) at most 6 calls in three
10 viii) atlesat 7 calls in 2 minutes interval.
11
12 SolutionHere, we have
13 Average (λ) = 4 per minute
14 i) Req. prob. = p(X=0)= 0.01831564 =POISSON(0,C13,FALSE())
15 ii) Req. prob. = p(x=2)= 0.14652511 =POISSON(2,C13,FALSE())
16 iii) Req. prob. = p(X>=2)= 0.90842181 =1-POISSON(1,C13,TRUE())
17 iv) Req. prob. = p(x>2)= 0.76189669 =1-POISSON(2,C13,TRUE())
18 v) Req. prob. = p(X<3)= 0.23810331 =POISSON(2,C13,TRUE())
19 For two minutes
20 Average (λ) = 8 =2*C13
21 vi) Req. prob. = p(X=5)= 0.09160366 =POISSON(5,C20,FALSE())
22 For three minutes
23 Average (λ) = 12 =3*C13
24 vii) Req. prob. = p(X<=6)= 0.04582231 =POISSON(6,C23,TRUE())
25 For two minutes
26 Average (λ) = 8 =2*C13
27 vii) Req. prob. = p(X>=7)= 0.68662572 =1-POISSON(6,C26,TRUE())
28
29
30 Aakash Shrestha
31 Roll. No:- 1
32 BCA 3rd Sem
Lab Qn. 11
On average, 3 messages centre in a minute. Compute the probability that,
there will be :
i) no message
ii) two messages
iii) atleast 2 messages selected minute.
iv) more than two messages
v) less than 3 messages in a randomly selected minute minutes interval.
vi) 6 messages in two minutes interval.
vii) at most 4 messages in three minutes interval.
viii) atleast 10 messages in 4 minutes interval.
Aakash Shrestha
Roll. No:- 1
BCA 3rd Sem
Marks distribution of 500 students follows Normal distribution with mean 50 and S.D 5.
1) A student is selected at random, compute the probability that Marks of student lies :
i) Below 55 ii) Above 54 iii) Between 48 & 62
2) Estimate the number of students with marks :
i) Below 60 ii) Above 52 iii) Between 52 & 58
Formula
=NORM.DIST(55,D11,D12,1)
=1-NORM.DIST(54,D11,D12,1)
=NORM.DIST(62,D11,D12,1) - NORM.DIST(48,D11,D12,1)
=H11*NORM.DIST(60,D11,D12,1)
=H11*(1-NORM.DIST(52,D11,D12,1))
=H11*(NORM.DIST(58,D11,D12,1)-NORM.DIST(52,D11,D12,1))
Aakash Shrestha
Roll. No:- 1
BCA 3rd Sem
Lab Qn. 7.b
Income distribution of 1000 workers follows Normal distribution with mean 50000
and S.D. 2500.
1) A worker is selected at random, compute the probability that income of worker lies:
i) Below 48000 ii) Above 54000 iii) Between 47500 & 52500
=1-NORM.DIST(54000,D13,D14,1)
=NORM.DIST(52500,D13,D14,1) - NORM.DIST(47500,D13,D14,1)
=H13*NORM.DIST(52500,D13,D14,1)
=H13*(1-NORM.DIST(55000,D13,D14,1))
=H13*(NORM.DIST(54000,D13,D14,1)-NORM.DIST(51250,D13,D14,1))
Aakash Shrestha
Roll. No:- 1
BCA 3rd Sem
A B C D E F G H I J K
1 From given data, State which group has consistent life.
2 Life Dell HP
3 0-5 2 5
4 5 - 10 12 10
5 10 - 15 25 25
6 15 - 20 20 20
7 20 - 25 16 15
8
9 Solution :- Here, we should compute Coefficient of variation
10 Life l.l. u.l. m.v.(x) Dell HP
11 f1 f1*x f1*x2 f2 f2*x f2*x2
12 0-5 0 5 2.5 2 5 12.5 5 12.5 31.25
13 5 - 10 5 10 7.5 12 90 675 10 75 562.5
14 10 - 15 10 15 12.5 25 312.5 3906.25 25 312.5 3906.25
15 15 - 20 15 20 17.5 20 350 6125 20 350 6125
16 20 - 25 20 25 22.5 16 360 8100 15 337.5 7593.75
17 75 1117.5 18818.75 75 1087.5 18218.75
18 For Dell Value Formula For HP Value Formula
19 Mean(x1*) 14.9 =F17/E17 Mean(x2*) 14.5 =I17/H17
20 S.D.(σ1) 5.376492 =SQRT(G17/E17-(F17/E17)^2) S.D.(σ2) 5.7154761 =SQRT(J17/H17-(I17/H17)^2)
21 C.V.1 36.08384 =B20/B19*100 C.V.2 39.417076 =G20/G19*100
22
23 Decision:-
24 Since, CV1<CV2, SO, Dell computer has more uniform life.
25
26 Aakash Shrestha
27 Roll. No:- 1
28 BCA 3rd Sem
Lab Qn. 8.b
From given data, state which class has more uinform age distribution.
Age S-A S-B
17-18 5 3
18-19 12 12
19-20 10 15
20-21 8 7
21-22 5 3
Decision:-
Since, CV1 > CV2, so Section B has more uniform age distribution.
Aakash Shrestha
Roll. No:- 1
BCA 3rd Sem