You are on page 1of 13

Department of CSE

Course title: Statistical methods and Probability


Course Code: STAT2012

Assignment - 1
Submitted by

Section: 2

Submitted to

Faculty name: Md. Rakibul Hasan


Faculty initial: RBH

Date of Submission : 07- 12 - 2018


Assignment
Number : 01
Uses and application of

Arithmetic Mean
Harmonic Mean
Geometric Mean

Date : 19/10/18
Arithmetic Mean
1. The arithmetic means of the numbers 13,9,15,18,5,10 is

x̅ = (13+9+15+18+10+5) / 6 = 11.67 (Ans.)

2. If 7,9,4,2 occur with frequency 5,2,8,6 respectively the


arithmetic mean is,

x̅ = {(7∗5)+(9∗2)+(4∗8)+(2∗6)} / (5+2+8+6)

= (35+18+32+12) / 21 = 4.26 (Ans.)

Geometric Mean
The Geometric Mean of the numbers 10,5,3,12 is
𝑛 4
G= √𝑥1𝑥2𝑥3 … 𝑥𝑛 = √10 ∗ 5 ∗ 3 ∗ 12 = 6.514 (Ans.)

Harmonic Mean
The Harmonic means of the numbers 8,4,6 is
𝑁 3 3 3
𝐻= 1 =1 1 1 = 3+6+4 = 13 = 5.54 (Ans.)
∑ + +
𝑥 8 4 6 24 24
Assignment
Number : 02

Mean
Median
Mode

Date : 26/10/18
sales Mid frequency(f) Cumulative Deviation fx fd Percentage
point(x) Frequency (d)
78-80 79 12 12 -3 948 -36 12%
80-82 81 18 30 -2 1458 -36 18%
82-84 83 25 55 -1 2075 -25 25%
84-86 85 30 85 0 2550 0 30%
86-88 87 10 95 1 870 10 10%
88-90 89 3 98 2 267 6 3%
90-92 91 2 100 3 182 6 2%
100 8350 -75

Pie Chart
3%2% 12%
10%

18%

30%

25%

120
Ogive Curve
98 100
95
100
85

80

55
60

40 30

20 12

0
78 80 82 84 86 88 90 92
Height Continuous Frequency Mid point fx deviation fd Cumulative Relative
(f) (x) (d) frequency Percentage

30-34 29.5 5 32 160 -2 -10 5 5


35-39 34.5 15 37 555 -1 -15 20 15
40-44 39.5 28 42 1176 0 0 48 28
45-49 44.5 24 47 1128 1 24 72 24
50-54 49.5 17 52 884 2 34 89 17
55-59 54.5 10 57 570 3 30 99 10
60-64 59.5 1 62 62 4 4 100 1
100 4535 67

Mean:

Direct Method:
∑𝑓𝑥
X̅ = ∑𝑁
4535
= 100 = 45.35 (Ans.)

Short cut method:


∑𝑓𝑑
X̅ = A + ∗𝐶
∑𝑁
67
X̅ = 42 + 100 ∗ 5 = 45.35 (Ans.)
Median:

𝑁
−𝑃𝐶𝐹
2
L + 𝑓 𝑚𝑒𝑑𝑖𝑎𝑛 ∗ 𝐶
100
− 48
2
= 44.5 + ∗ 5 = 44.19 (Ans.)
24

Mode:

∆1
L + ∆1+∆2 ∗ 𝐶
13
= 39.5 + 13+4 ∗ 5 = 43.32 (Ans.)
Pie Chart 10
1 5

15

17

28

24

1 2 3 4 5 6 7

OGIVE CURVE
120
99 100
100 89

80 72

60 48

40
20
20
5

0
32 37 42 47 52 57 62
Assignment
Number : 03

Mean Deviation
Variance
Standard Deviation
Date : 02/11/18
Mid Frequency
class point (xi) (fi) fixi d x' xi-x' (xi-x')2 fi(xi-x')2 fi|xi-x'|
50-60 55 6 330 -2 -20.9 436.81 2620.86 125.40
60-70 65 25 1625 -1 -10.9 118.81 2970.25 272.50
70-80 75 36 2700 0 -0.9 0.81 29.16 32.40
80-90 85 20 1700 1 9.1 82.81 1656.2 182.00
90-100 95 13 1235 2 75.9 19.1 364.81 4742.53 248.30
100 7590 12019 860.60

∑𝑓𝑖|𝑥𝑖−𝑥 ′ | 860.6
Mean Deviation = = = = 8.606 (Ans.)
𝑁 100
2
∑𝑓𝑖(𝑥𝑖 −𝑥 ′ ) 12019
Variance, 𝜎 = = = 120.19 (Ans.)
𝑁 100

S.D= √𝜎 = √120.19 = 10.963 (Ans.)

Mid point Frequency


Class (xi) (fi) fixi d x' xi-x; (xi-x')2 fi(xi-x)2 fi|xi-x'|
5-15 10 3 30 -2 -18.00 324.00 972 54
15-25 20 6 120 -1 -8.00 64 384 48
25-35 30 11 330 0 2.00 4 44 22
35-45 40 3 120 1 12.00 144 432 36
45-55 50 2 100 2 28.00 22.00 484 968 44
25 700 2800 204

∑𝑓𝑖|𝑥𝑖−𝑥 ′ | 204
Mean Deviation = = = = 8.16 (Ans.)
𝑁 25
2
∑𝑓𝑖(𝑥𝑖 −𝑥 ′ ) 2800
Variance, 𝜎 = = = 112 (Ans.)
𝑁 25

S.D = √𝜎 = √112 = 10.583 (Ans.)


Assignment
Number : 04

Moment
Date : 09/11/18
Class fi mid (xi) x'/A xi-x' fi(xi-x') (xi-x')2 fi(xi-x')2 (xi-x')3 fi(xi-x')3 fx
21-31 8 26 -24.8333 -198.667 616.6944444 4933.56 -15314.5787 -122516.6296 208
31-41 42 36 -14.8333 -623 220.0277778 9241.17 -3263.74537 -137077.3056 1512
41-51 54 46 -4.83333 -261 23.36111111 1261.5 -112.912037 -6097.25 2484
51-61 34 56 50.833 5.166667 175.6667 26.69444444 907.611 137.9212963 4689.324074 1904
61-71 15 66 15.16667 227.5 230.0277778 3450.42 3488.75463 52331.31944 990
71-81 27 76 25.16667 679.5 633.3611111 17100.8 15939.58796 430368.875 2052
180 0 36895 221698.3333 9150

∑𝑓𝑖(𝑥𝑖 −𝑥′)
1st moment about mean, 𝜇1 = = 0.
𝑁
∑𝑓𝑖(𝑥𝑖 −𝑥′)2 36895
2nd moment about mean, 𝜇2 = = = 204.972.
𝑁 180
∑𝑓𝑖(𝑥𝑖 −𝑥′)3 221698.33
3rd moment about mean, 𝜇3 = = = 1231.657389.
𝑁 180
Class fi mid (xi) x'/A xi-x' fi(xi-x') (xi-x')2 fi(xi-x')2 (xi-x')3 fi(xi-x')3
21-31 8 26 -4 -32 16 128 -64 -512
31-41 42 36 6 252 36 1512 216 9072
41-51 54 46 16 864 256 13824 4096 221184
51-61 34 56 30 26 884 676 22984 17576 597584
61-71 15 66 36 540 1296 19440 46656 699840
71-81 27 76 46 1242 2116 57132 97336 2628072
180 3750 115020 4155240

∑𝑓𝑖(𝑥𝑖 −𝑥′) 3750


𝜇1′ = = = 20.83. 𝜇1 = 0.
𝑁 180
∑𝑓𝑖(𝑥𝑖 −𝑥′)2 115020
𝜇2′ = = = 639. 𝜇2 = 𝜇′2 − 𝜇1′ 2 = 259.1111 .
𝑁 180
∑𝑓𝑖(𝑥𝑖 −𝑥′)3 4155240
𝜇3′ = = = 23084.67. 𝜇3 = 𝜇′3 − 3𝜇′2𝜇1′ + 2𝜇1′ 3 = 1229.37.
𝑁 180

You might also like