Statistics Tutorial
Statistics Tutorial
Statistics Tutorial
=
30.211 4.75983 0.03316275
A325.48433
H4 H-44 H+642 (4) -3(41)
=
440.254 (30.211) (0.255) 6 (6.222) (0.255)-3 (0.255)
H4 378.9418
(25.48433)2
(6.15698)3 2.78255
B2 378.9418
(6.15698)
B29.99625
Y= VB1 =y2.78255 1.6681
which indicates considerable positive skewness of the distribution.
Y2Ba-3 =9.99625-3 =6.99625
whieh shos that the distributionis leptokurtic
Ex. 13 :/The first four moments of a distribution about the value 5 are 2, 20, 40 and 50. From the given information obtain the
firstfour sehtral moments, mean, standard deviation and coefficient of skewness and kurtosis. (Dec. 2007; May 2015, 2019)
Sol.: A 5,
=
H' =
2, 4
20, 4'= 40 and H' 50.
= =
On the basis of given information we can calculate the various central moments, mean, standard deviation and coefficient of
skewness and kurtosis.
The first moment about zero gives the value of the distribution.
Mean x = A +H = 5 +2 = 7
H2 4-(4) =
20-(2)2 =16
H3 Hs-3H 4 + 2(4
= 40-3 (2) (20)+2 (2
40 120 +16
= - 64
- 161
6)3
Coefficient of kurtosis is given by,
e 4s is negative, the distribution is negatively skewed.
(16)2 0.63
Since the value of Bzis less than 3, hence the distributionis platylkUrtic
EX. 14: The first four central moments of distribution are 0, 2.5, 0.7 and 18.75. Comment on the skewness and i
kurtosis of the
distribution.
0.7 and jH4 18./5
(May 208
Sol.:Testing of Skewness:H =0, H2 =
2.5, H3 =
Ba
(0.7)2
(2.5)3 0.0314
H4 18.75
B2 (2.5)
Since, B2 is exactly three, the distribution is mesokurtic.
EXERCISE 5.1
1. Find the Arithmetic Mean, Median and Standard deviation for the following frequency distribution.
59 12
15 20 24 30 42 49
36889 10
8 7 6 2
Ans.
(5-0(5.34)
STATISTICs, cORRELATION AND REGRtss
ENGINEERING MATNEMATICS- (Comp. Engg.and IT Group)
4 1) or
7m 2
2, cm-S
Solving () and (2) we get m
line is
Hence the equation of the straight
y 2x-5
data using least square criteria
br cto the following
form y= ax
x. 2: Fit a parobola ofthe 6
31 50
Sol.:
X = X-4 X Xy Xy
81 15 -45
16
5
0 0
16 31 31
5 31 100 200
16
50
27 81 219 657
73 x= Xy 364 Xy =840
y 168 IX = 0 x =28 x=0
196
n 7.
(6) and (7) of (5.6.3)
Substituting in equations (5), .(1)
28a Ob +7c 168 =
.2)
a-0+28b c0 = 364
)
840
0 b+28c
=
196a
of variable X is
Equation of parabola in
terms
y 2X+ 13X+16
14 (x-4) + 16
Putting X =X-4 y =2(x-4
y = 2x-3x-4
Sol:
Preparing thetable as
PO)
100
XP-140 Xy
0.90
40 1600 -36
120 1.10 20 400 -22
140 1.20 0 0 0
160 1.40 20 400 28
180 1.60 40 1600 64
200 1.70 60 3600 102
y-79 EX 60
X-7600 xy-136
of points)
n= 6 (No.
From (1) and (2) of (5.6.2)
60a 6 b = 7.9
.. 1)
7600a 60b = 136
(2)
Solving (1) and (2) we get,
a 0.008143
b 1.2352
y 0.008143 X+ 1.2352
X = P-140
but
y 0.008143 (P -140)+ 1.2352
y = 0.008143 P+ 0.9518
XY
1.0 25 0.0 1.3979 1.9541
1.5 56.2 0.1761 1.7497 3.0615 0.3081
2.0 100 0.301 2.0 4.0 0.602
2.5 156 0.3979 2.1931 4.8097 0.8726
0.875 7.3407 13.8253 1.7827
Substituting in (1) and (2) of (5.6.1) where x is replaced by Y andy by X, a by n, b by log a = Cc. n in (1) of (6.1) = 4 (No. of
points
7.3407n + 4c = 0.875 .
(1)
13.8253n+ 7.3407c = 1.7827 ... (2)
Solving (1) and (2) we get,
n 0.5, C = log a = - 0.6988375 a = 0.2
cORRELATIOw
AND
niG MATHEMATICS- I (Comp. Engg. and IT Group) (S-D(S.4))
ENGINEERINGMAT STATISTICS,
simple
Sol.:LetX:Quantity exported,Y: Quantity imported, Preparing table as followscalculationscan bemade
10 12 120
100 144
11 14 154
121 196
14 15 196 225 210
14 6 196 256 224
20 21 400 441 420
22 26 484 676 572
16 21 256 441 336
12 15 144 225 180
15 16 225 256 240
13 14 169 196 182
Total= 147 170 2291 3056 2638
hence = 14.7
Here, n= 10,
and y N10 17
Xy-n Xy
Vox-nx)x (-ny
2638-10 x 14.7 x17
V(2291-10 x 14.72) (3056 - 10 x 17)
139 0.9458
V130.1x 166
(Dec. 2012)
Ex. 2 Calculate thecorrelationcoeficientfor thefollowing weights(in kq)ofhusband (0and wife(
65 66 67 67 68 69 70 72
55 58 72 55 66 71 70 50
Sol.
2 62125
Correlation coefficient between x and y is given by
Cov (X 5y-Xy
n
r (%, y) ox oy
- 3 --0)
TATISTICS,
RELATION AND NG
ENGINEERING MATHEMATICS- (Comp. Engg. and IT Group) (S 1(6.4
(33799)-68 (62.125)
37028 6B 59(62.125)
8
4224.875-4224.5
V4628.5-4624) (3924.125-3859.52)
0.375 0.375
0375 17.051
V45x64.605 290.7225
r(X.y)0.022
Mechanics
of Mathematics and Applled are aie
given o
marks obtained by each in papers
group of 10 students,
Ex. 3: From a
23 28 42 1726 3529 37 1646
x Marksin Maths 18 44
y Marksin App. Mech. 25 22 38 21 27 39 24 32
Calculate Karl Pearson's Coefficient of correlation
Sol.: The data is tabulated as uv
u2
UX-35 Vy-39 441 399
21 361
16 18 19 -
324 324
18 18 324
17 21 196 168
12 14 144
23 25 108
12 81 144
26 27 09
49 289 119
22 07 17
28 90
15 36 225
29 24 06
00 00 00
39 00 00
35 14
07 04 49
37 32 02
49 01 -07
42 38 07 01
44 11 05 121 25 55
46
u-51 v=-100 u2= 1169 v2= 1694 uv =1242
Total
5.1.
10 T-26.01
10 - 10, V
00 100
Ex. 4: Compute correlation coeficent oerween supply and price of commodity using following data.
152 158 169 182
Supply 182 160 166
Price 198 178 167 152 180 170 162
REGRESSION
NGNEERING
Sol.: Let
=Supply,uX-150 y price, vwy-160
152 198 76
38 1444
158 178 144
18 64 324
169 167 19
361 49 133
182 152 32 8 1024 64 256
160 180 10 20 200
100 400
166 170 16 10 160
256 100
182 162 32 64
1024 4
Total 119 87 2833 521
2385
Ueren = 7 , u = 119, 2v = 87, 2U° = 2833, v = 2385, u v = 521
u 17, v = 12.4286
UV-n uv
VE-n) x(2-ni)
521-7x 17x 124286
V(2833-7x17) (2.385-7x12.4286)2
958 -958
810 x 1303.7142 1027.6227
- 0.9322
Death Rate 12 18 16 21 10
Population density and y =
Death rate.
Sol.: Let x =
500 18 0 0 0
100 20
04
UV- nuv
r (u, v)
Vz-n z-n
500-5 (20) (0.4)
V230000-5 (20) V80-5 (0.4)
STATISTICS, cORRELATIOM AND B
UNGINEERNG MATHEMATICS-(Come. Enpe andTGreup) (5-46
460
V2ZBO00 VF
460
42494202082
(Dec. 2006
x.6 Calculate the coeficient of correlotion for the following distroutic 2
23
- 05366 -0288
52 12195; 14872
COV (uv)
uiv-ü -0654 5289
-0.288 57.7364
-1.4872 = 52.708
Ou 7.598
oy 7.26
The cOefficient byx Involvea in tne equation (Lo) Is known as regression coefficient of y on x and the coefficient b, involved
ouation (11
equation
(11) is known as regression coefficient of x on y.
in the
mark 1: For obtaining (10) and (11) we have to calculate r = r (x, y) the correlation coefficient, which can be also
and scale property.
termined using changeof origin
r = r(xy) =* cOv cov (Urlu, v)
Thus, ox Gy Ou Oy
and X a + U, y =b+V
These results help us to determine (10) and (11).
0. f
Remark2: Correlation coefficient and regression coefficients have same algebraic signs. If r > 0, then by, >0 and by
r<0,then bx <0 and bx <0.
therefore correlation coeficient = r=
Vb,x bye i.e. geometric mean of regression
Remark 3: Since b x by =
coeticients. Choose positive square root, if regression coefticients are positive, otherwise negative
Remark 4: The acute angle 6 between the regression lines is given by,
6 =
tan 6,
emark 5: The point of intersection of two regression lineis(X,
TLLUSTRATIONS
(Dec. 2012, 2016)
EX, 1:Dbtain regression linesfor the following data 8
6 2 10
11 5 8
9
y
STATISTICs, CORRELATIONAND
AND RRLORUSA
ENGINEERING
MATHEMATICS-Im (Comp. Engg. and o -)(5.50)
These
icients depend
coefficiente
bxy and byx
So:To find
regression lines we require to calculate regression
coeficient
upon
2 2 x, 2y and xy. So we prepare the following tableand simplify the calculations.
xy
81 54
9 36
121 22
11
25 50
10 100
32
16
64
4 8
49 56
64
214
y= 340 xy
2** 300 y= 40 2x- 220
No. of observations = n 5
X X = 6 and y 8
n 5
Cov (x. y) = n
y =4-6x8
Cov (x, y) 42.8 4 8 - 5.2
y-y byx (x x)
y-8 - 0.65 (x -6)
y = - 0.65 x + 3.9 +8
y = 0.65 x + 11.9
Regression line of X on Y is
X - 1.3 y +10.4 +6
X = -1.3 y 16.4
Ex. 2:Obtain regression lines for the following data:
2 3 5 7 9 10 12
2
15
8
10 12 14 15
Estimate of ( Ywhen X = 6 and (i) X when Y = 20. 16
STATISTICS, CORRELATION ANO
ENGINEERING MATHEMATICS m (Comp. Engg. and IT Group) (S-)(5.5)
Ex. 3; Find the lines of regression for the following data
26 30 34 39
10 614 19 26 29 35 38
16 18
12
and estimate y for x = 145 and x for y = 29.5. (May 2
Sol.: Tabulating the data as: 2 Uv
u2
ux-26 v =y-26 196 224
256
16 -14
10 12 144 100 120
12 -10
14 16 64 56
49
19 18 0 0 0
26 26 0 9 12
3 16
29 4
30 64 81 72
8 9
34 35 144 156
12 169
39 38 13 uv=640
v-8 u'= 698 V=594
Total u=-10
=-1429, V -=-1.143
Here n 7,
v2 1.306
u2 2.042,
cov (u, v) 2 uV uv
o u'- u -(698)-2042=97.672
Ou 9.883
Oy 9.14
r r(x, y) = r (u, v)
cOv(u, V) 89.795
ou y 9.883 x 9.14
89.795 0.9941
90.33062
9
0.9941 9.883 0.9194
y b+ v = 26-1.143 24.857
Regression line of y on x is given by equation (10)
x
24.571 1.0749 (29.5-24.857)
29.56176
Ey.4: The table below gives the respective heights x and y of a sample of 10 fathers and their sons
65 8 9 9 9
63 66
67 68 3 25 9 15
64 65 0 4 0 0
68 69 6 4 36 16 24
62 56 0 0 0
70 68 8 3 64 24
66 65 0 16 0 0
68 71 6 36 36 36
67 67 5 25 4 10
04 a-142=5.6
10 23 a023 -321
Cov (u, v) = 4 x 2.3 = 2.7
2. 0.4821
bxy buv 321 0.8411, and byx = byu =
X =u 62 = 66, y = v 65 =67.3
2 n
180-2 18-4-14
o -( 488
10-(3 48.8-9 39.8
o 3.742 and oy =6.309
dard deviation is invariant to the change of origin.
ox3.742 and ay 6.309
2
1 4 and oy 39.8
Cov (u, v)
byx
Cov (&. 14
-0.64
x
Regression equation becomes,
y-38 =-0.664 (x- 32)
y =-0.664 x + 21.248 + 38
y = - 0.664 x + 59.248
Now, we have to estimate marks in Statistics if marks in Economics are 30, i.e. we have to find value of y whenx = 30.
y 39.328
17, 12
2835) -(17) = 405 -289 = 116
o (2835) -(12) =
341 -144 = 197
129
covx. y) =
cov(u, v) =
(525)- 17x 12 = -
-129
Day bu = 116
Equation of regression line y on x is
y-y = bx (x- x)
y-172 = (-1.1121) (x-167)
9 (2)-3) =
A 18-3 15
4 (2)(-3) =
no 8 - 3 =5
regression
lines are,
Thus, the
9x+y 15 and 4x +y = 5
Let9x+y
=19 be the regression line of x on y, so it can be written as
(3) Variance of x =
9, i.e. o = 9
.. Ox 3
We have,
byx ox
0.8 = 0.6 x
ay
Gy 4