Documente Academic
Documente Profesional
Documente Cultură
SAP 1223
Section 1
Statistics on
Travelling COST
[UIA to Hometown]
Assignment 1
6 MARCH 2015
Cumulati
Class Frequenc Cumulati Class ve Midpoi (f)(x) (x2) (f)(x2)
Interval y (f) ve Boundary Relative nt (x)
(RM) Frequenc Frequenc
y y (%)
1 - 10 1 1 0.5 10.5 2.5 5.5 5.5 30.25 30.25
11 - 20 5 6 10.5 15.0 15.5 77.5 1201.2
20.5 240.25 5
21 - 30 7 13 20.5 32.5 25.5 178.5 4551.7
30.5 650.25 5
31 - 40 8 21 30.5 52.5 35.5 284.0 1260.2 10082.
40.5 5 00
41 - 50 6 27 40.5 67.5 45.5 273.0 2070.2 12421.
50.5 5 50
51 - 60 9 36 50.5 90.0 55.5 499.5 3080.2 27722.
60.5 5 25
61 - 70 4 40 60.5 100.0 65.5 262.0 4290.2 17161.
70.5 5 00
Total 40 fx = (x2) = f(x2)
1580.0 11621. =
75 73170.
00
Table 1
ii. Traveling Cost Spend from UIA to their hometown exclude
refreshment for female students.
Cumulati
Class Frequenc Cumulati Class ve Midpoin (f)(x) (x2) (f)(x2)
Interval y (f) ve Boundary Relative t (x)
(RM) Frequenc Frequenc
y y (%)
1 - 12 5 5 0.5 12.5 6.49 6.5 32.5 42.25 211.25
13 - 24 15 20 12.5 25.97 18.5
24.5 277.5 342.25 5133.75
25 - 36 25 45 24.5 58.44 30.5 23256.2
36.5 762.5 930.25 5
37 - 48 7 52 36.5 67.53 42.5 1806.2 12643.7
48.5 297.5 5 5
49 - 60 13 65 48.5 84.42 54.5 2970.2 38613.2
60.5 708.5 5 5
61 - 72 6 71 60.5 92.21 66.5 4422.2 26533.5
72.5 399.0 5 0
73 - 84 3 74 72.5 96.10 78.5 6162.2 18486.7
84.5 235.5 5 5
85 - 96 3 77 84.5 100.00 90.5 8190.2 24570.7
96.5 271.5 5 5
Total 77 fx = (x2) = f(x2) =
2984. 24866. 149449.
5 00 30
Table 2
b) Histogram for the distributions
Class (RM)
Figure 1
The lowest number of frequency is 1 which is money spent around RM 1.00 RM 10.00 on
tickets, oil and/or tolls. The student might be living nearer to the study place (UIA) and need
not big expenditure for travelling home to often go back home.
ii. Traveling Cost Spend from UIA to their hometown exclude
refreshment for female students.
25
20
15
Frequency (f)
10
0
1 - 12 13 - 24 25 - 36 37 - 48 49 - 60 61 - 72 73 - 84 85 - 96
Class (RM)
Figure 2
The lowest number of frequency is 3 which are involving two classes of money spent around
RM 73.00 RM 84.00 and RM 85.00 RM 96.00 on tickets, oil and/or tolls. The student
might be living far away from the study place (UIA) and need big expenditure for travelling
home to go back home. The students possibly will go back by flight or in terms of distance
them living in rural/villages area where lack of transportation where the demand make the
tickets price high.
c) Cumulative frequency polygon for the distributions, estimate the
median from graph in (b).
Upper Boundary
Figure 3
The estimation of median class based on figure 1
n+1
Median Class: Cmsample = 2
40+1
= 2
[ ]
n
Cf b
Median: 2
Lm +
fm
= 30.5 + [ 2013
8 ] (10)
= 39.25
ii. Traveling Cost Spend from UIA to their hometown exclude
refreshment for female students.
Upper Boundary
Figure 4
The estimation of median class based on figure 2
n+1
Median Class: Cmsample = 2
77+ 1
= 2
[ ]
n
Cf b
Median: 2
Lm +
fm
= 24.5 + [ 38.520
25 ] (12)
= 33.38
QUESTION 2
a) CALCULATIONS
fx 1580.0
Mean = f = 40 = 39.5
n+1
Median Class = Cmsample = 2
40+1
= 2
[ ]
n
Cf b
Median = 2
Lm +
fm
= 30.5 + [ 2013
8 ] (10)
= 39.25
Mode = Lm + [ ]
a
a+ b
= 50.5 + [ 96
( 96 ) +(94) ] (10)
= 54.25
( fx )2
2
f x
Variance, s2 = f
f 1
(1580 )2
73170
= 40
401
= 268
Standard Deviation, s = 268
= 16.37
ii. Traveling Cost Spend from UIA to their hometown exclude
refreshment for female students.
fx 2984.5
Mean = f = 77 = 38.76
n+1
Median Class = Cmsample = 2
77+ 1
= 2
[ ]
n
Cf b
Median = 2
Lm +
fm
= 24.5 + [ 38.520
25 ] (12)
= 33.38
Mode = Lm + [ ]
a
a+ b
= 24.5 + [ 2515
( 2515 ) +(257) ] (12)
= 28.79
( fx )2
f x 2
Variance, s2 = f
f 1
(2984.5 )2
149449.3
= 77
771
= 437.58
= 20.92
b) The value and comment of Pearson's Coefficient of Skewness (PCS)
for each distribution.
( MeanMode ) x x^
PCS, = Standard Deviation = s
(39.554.25)
= 16.37
= -0.90
( MeanMode ) x x^
PCS, = Standard Deviation = s
(38.7628.79)
= 20.92
= 0.48