Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

NAMA : DWIKI H.

HALLA
NIM : 16021101042
MATA KULIAH : PL60003 Metodologi Penelitian
FAKULTAS TEKNIK
PROGRAM STUDI TEKNIK SIPIL

ASSIGNMENT 7

1. On a road segment with a speed limit of 60 km/h it is estimated that the average traffic
speed is 98% of the speed limit. It will be proved that this estimate is true. Based on
samples taken from 61 random vehicles, the data obtained in column x.
No. x No. x No. x
1 59 21 59 41 50
2 60 22 50 42 60
3 58 23 60 43 60
4 59 24 60 44 60
5 60 25 60 45 59
6 58 26 60 46 60
7 60 27 60 47 60
8 59 28 50 48 60
9 50 29 69 49 60
10 60 30 60 50 58
11 59 31 60 51 60
12 50 32 60 52 58
13 60 33 59 53 50
14 59 34 60 54 58
15 58 35 60 55 60
16 50 36 60 56 60
17 59 37 60 57 58
18 60 38 60 58 60
19 59 39 60 59 60
20 60 40 60 60 60
61 60

Prove that:
Average traffic speed is 98% of the speed limit
μ0 = 58.8 km/h
Average traffic speeds are not equal to 98% of the speed limit
μ0 ≠ 58.8 km/h
Answer:
Testing criteria:
If tcount > ttable : accept H0 reject Ha
If tcount < ttable : reject H0 accept Ha
No. x x^2 No. x x^2 No. x x^2
1 59 3481 21 59 3481 41 50 2500
2 60 3600 22 50 2500 42 60 3600
3 58 3364 23 60 3600 43 60 3600
4 59 3481 24 60 3600 44 60 3600
5 60 3600 25 60 3600 45 59 3481
6 58 3364 26 60 3600 46 60 3600
7 60 3600 27 60 3600 47 60 3600
8 59 3481 28 50 2500 48 60 3600
9 50 2500 29 59 3481 49 60 3600
10 60 3600 30 60 3600 50 58 3364
11 59 3481 31 60 3600 51 60 3600
12 50 2500 32 60 3600 52 58 3364
13 60 3600 33 59 3481 53 50 2500
14 59 3481 34 60 3600 54 58 3364
15 58 3364 35 60 3600 55 60 3600
16 50 2500 36 60 3600 56 60 3600
17 59 3481 37 60 3600 57 58 3364
18 60 3600 38 60 3600 58 60 3600
19 59 3481 39 60 3600 59 60 3600
20 60 3600 40 60 3600 60 60 3600
61 60 3600

Σ 3565 208939

n = 61
Standard deviation:

2
2 (∑ 𝑥) (3562)2
√∑ 𝑥 − 𝑛 =√ 208939 − 61 = 3.138601547
𝑠=
𝑛−1 61 − 1

Sample mean (x̄)


∑ 𝑥 3563
𝑥̅ = = = 58.44262295
𝑛 61
Ideal mean = 60 km/h-
98% of ideal mean = 98% x 60
μ0 = 58.8 km/h

Calculating tcount
𝑥̅ − 𝜇0
𝑡𝑐𝑜𝑢𝑛𝑡 = 𝑠
√𝑛
58.44262295 − 58.8
𝑡𝑐𝑜𝑢𝑛𝑡 = = ±0.889314537
3.138601547
√61
For α = 0.05 and n = 61
Two-tailed test: df =𝑛−1
= 61 − 1 = 60
From the table it is found that ttable = 2.000
tcount < ttable
± 0.889314537 < 2.000
Conclusion: reject H0, accept Ha
Thus, the average speed of traffic on a road segment with a speed limit of 60 km/h is equal
to 98% of the speed limit, which is 58.8 km/h.

2. Given a set of data as follows:


78 45 47 34 57 53 77 49 59
45 49 50 39 69 45 55 45 54
70 44 49 39 48 54 60 59 60
70 44 49 39 48 54 70 44 49
56 42 58 53 76 45 56 42 58
53 27 70 54 66 51 53 27 70

Ideal value = 60 km/h


Test the data whether there is a difference between above average values and 60% of ideal
values!
Answer
Define Ha and H0 as sentences:
Ha: The average traffic speed is 60% of the ideal speed value
μ0 = 36 km/h
H0: Average traffic speed is not equal to 60% of ideal speed value
μ0 ≠ 36 km/h

Testing criteria:
If tcount > ttable : accept H0 reject Ha
If tcount < ttable : reject H0 accept Ha
No. x x^2 No. x x^2 No. x x^2
1 78 6084 19 34 1156 37 77 5929
2 45 2025 20 39 1521 38 55 3025
3 70 4900 21 39 1521 39 60 3600
4 70 4900 22 39 1521 40 70 4900
5 56 3136 23 53 2809 41 56 3136
6 53 2809 24 54 2916 42 53 2809
7 45 2025 25 57 3249 43 49 2401
8 49 2401 26 69 4761 44 45 2025
9 44 1936 27 48 2304 45 59 3481
10 44 1936 28 48 2304 46 44 1936
11 42 1764 29 76 5776 47 42 1764
12 27 729 30 66 4356 48 27 729
13 47 2209 31 53 2809 49 59 3481
14 50 2500 32 45 2025 50 54 2916
15 49 2401 33 54 2916 51 60 3600
16 49 2401 34 54 2916 52 49 2401
17 58 3364 35 45 2025 53 58 3364
18 70 4900 36 51 2601 54 70 4900

Σ 2857 158303

n = 54
Standard deviation:

2
2 (∑ 𝑥) (2857)2
√∑ 𝑥 − 𝑛 =√
158303 −
54 = 11.61207653
𝑠=
𝑛−1 54 − 1
Sample mean (x̄)
∑ 𝑥 2857
𝑥̅ = = = 52.90740741
𝑛 54

Ideal mean = 60 km/h


60% of ideal mean = 60% x 60
μ0 = 36 km/h

Calculating tcount
𝑥̅ − 𝜇0
𝑡𝑐𝑜𝑢𝑛𝑡 = 𝑠
√𝑛
52.90740741 − 36
𝑡𝑐𝑜𝑢𝑛𝑡 = = ±10.69951293
11.61207653
√54
For α = 0.05 and n = 54
Two-tailed test: df =𝑛−1
= 54 − 1 = 53
From the table it is found that ttable = 2.006
tcount < ttable
± 10.69951293 < 2.006
Conclusion: accept H0, accept Ha
Thus, there is a difference between the average speed of traffic with 60% of the ideal traffic
speed (36 km/h).

You might also like