Charles Final Year Student Report
Charles Final Year Student Report
P : 3900 Kigali, Rwanda Tel: +250 252 574696/252 574698, Fax: +250 252 571925/252 571924
Website: www.ur.ac.rw
Date:15/06/2015
DECLARATION
I, NIZEYIMANA Charles, hereby declare that, except where otherwise indicated, this
document is entirely my own work and has not been submitted in whole or in part to any
other university.
Date.........../............../2015
Page 1
DEDICATION
With love and gratitude,
I dedicate this project report to:
My Almighty God,
My whole family,
My friends and
My classmates
Page 1
ACKNOWLEDGEMENT
This project report has been made possible by the assistance and encouragement of many
people. Although its not possible to mention all of them here by their names, I would like to
particularly thank the following.
It would not have been possible to complete this project report without the guidance of my
Supervisor Mr Girum Taye, his professional advice and the supervision of this work, his
detailed comments and edits were always to the point and influential, I am much thankful to
him.
I would like to express my appreciation to the government of Rwanda (GOR), more specially
the University of Rwanda (UR), particularly the College of Science and Technology (CST),
the department of Applied Mathematics, School of Applied Sciences for having shaped me to
produce this work.
I also owe special debt gratitude to my family and friends.
Special thanks to Rwanda National Police (RNP) especially the department of Road traffic
accidents for their support and considerable collaboration during the project.
Above all the almighty GOD for the grace and mercy surpasses my understanding.
Page 1
2014
has
significantly the highest yearly car traffic accidents but no difference among the true mean of
car traffic accident by month. The findings of this study draw attention to the importance of
implementing key road safety measures in order to change the increasing patterns of car
traffic accidents in Rwanda. Therefore the improved and better policies of National road
safety commission should be introduced with much emphasis on publication and education to
ensure maximum reduction in Car traffic accidents. As conclusion Box Jenkins time series
model was the appropriate time series model on car traffic accidents occurring in Rwanda.
Application of Time series on Car traffic accident occurrence in Rwanda
Page 1
TABLE OF CONTENTS
Contents
DECLARATION......................................................................................................... i
DEDICATION........................................................................................................... ii
ACKNOWLEDGEMENT............................................................................................ iii
ABSTRACT............................................................................................................. iv
TABLE OF CONTENTS............................................................................................. v
DEFINITION OF TERMS.......................................................................................... vi
LIST OF ACRONYMS.............................................................................................. vii
LIST OF FIGURES................................................................................................. viii
LIST OF TABLES..................................................................................................... ix
CHAP1. INTRODUCTION ON ROAD TRAFFIC ACCIDENTS......................................10
1.1. BACKGROUND........................................................................................... 10
1.2. THEORITICAL INTRODUCTION OF TIME SERIES ANALYSIS............................4
1.3.General Objective......................................................................................... 4
1.4. Specific Objectives...................................................................................... 4
1.5. Research Hypothesis................................................................................... 5
1.6. Research Questions..................................................................................... 5
1.7. Problem Statement...................................................................................... 5
CHAPTER 2: LITERATURE REVIEW..........................................................................6
CHAPTER 3: METHODOLOGY..................................................................................8
3. 1. STUDY SITE AND DATA SOURCE..................................................................8
3.1.1. DATA...................................................................................................... 9
3.1.2. TYPE OF DATA TO BE USED....................................................................9
3.1.3. METHOD OF DATA COLLECTION.............................................................9
Page 1
DEFINITION OF TERMS
A time series is a sequence of numerical data that usually occurs in uniform intervals over a
period of time such as hourly, daily, weekly, monthly, yearly etc
Application of Time series on Car traffic accident occurrence in Rwanda
Page 1
LIST OF ACRONYMS
ACF: Autocorrelation Function
ANOVA: Analysis of Variance
AR: Autoregressive
Application of Time series on Car traffic accident occurrence in Rwanda
Page 1
LIST OF FIGURES
Figure 1: Time plot of car traffic accidents from 2010............................................................26
Figure 2: Time plot of car traffic accidents from 2011............................................................27
Figure 3: Time plot of car traffic accidents from 2012............................................................28
Application of Time series on Car traffic accident occurrence in Rwanda
Page 1
LIST OF TABLES
Table 1: The general one way ANOVA table.....................................................................23
Application of Time series on Car traffic accident occurrence in Rwanda
Page 1
Page 1
Page 1
Page 1
When the successive observations are dependent, future values should be predicted from past
observations.
1.3.General Objective
Application of Time series on Car traffic accident occurrence in Rwanda
Page 1
To fit the appropriate Box Jenkins time series model on the occurrence of car
traffic accidents in Rwanda.
To forecast the future value of the car traffic accidents occurrence in Rwanda.
To compare the means of monthly car traffic accidents occurring in Rwanda by
year and month.
1.5. Research Hypothesis
H 0 : There is no significance difference among the means of monthly car traffic accidents
in Rwanda by year and month
H 1 : There is a significance difference among the means of monthly car traffic accidents in
Rwanda by year and month
1.6. Research Questions
What is the appropriate Box- Jenkins time series Model for the monthly car traffic
accidents occurrence in Rwanda?
Is there a statistical significant difference among the true means of monthly car traffic
accidents occurrence in Rwanda?
Page 1
Many years ago, many Rwandan populations lost their lives and others get seriously injured
through the traffic accidents and the problem still persists today in Rwanda. Those traffic
accidents are mostly influenced by three different group of factors some related to
environment ( Ex: Adverse of road conditions, slippery roads, bad visibility,...), to the vehicle
(For examples: Bad manoeuvres, Vehicle defects,...) and other related to the drivers (For
examples: Over speeds, Age, Over drinking, Negligence,...).[15]
Many researchers have shown the importance of road user factor which contribute to 95% of
accidents .Poor road user behaviour exhibited by the drivers in some developed countries
may be due to the lack of knowledge regarding the road safety role and regulations, the
general attitude towards the roads safety matter and the problem of alcohol in other countries.
In this project, the plan will be to identify and fit the appropriate Box Jenkins time series on
the car traffic accidents occurring in Rwanda.
The goal of this study is to create a model that will minimise the error between predicted
value of the target variable and the actual value of the traffic accidents.
Page 1
and put
forward in the books, report, and any other published documents that will be available to the
researcher. One of the best ways to understand the causes of road traffic accidents is to
develop various accident prediction models which are capable of identifying significant
factors related to human, vehicle, road infrastructure, land-use, and the environment. For
instance,
In Rwanda between 2002 and 2005, The productive youth aged between 16 and 30 years old
counted 50.7% were mostly likely involved in the traffic accidents and 78.7% of the males
were heavily affected and in addition over 90.2% of the traffic accidents took place in Kigali
city.[16]
In 2011, over 4,293 accidents were registered with 3,446 of them minor and 847 serious.
A total of 277 traffic accidents were reported across the country during the first three months
of the year with 72 percent of them in Kigali, according to statistics in the report.
The traffic police report further cites the main causes of road accidents in the country as over
speeding, reckless, driving and, drunk driving.
In Kenya , between 1971 and 1990 about 80% of the deaths involved the pedestrians with
42% and the passengers with 38% and over three thousand
accidents per year and the 75% of the productive youth adult involved in traffic accidents.
The statistics also shows that human factors, other factors, Vehicle defects and road
Application of Time series on Car traffic accident occurrence in Rwanda
Page 1
Page 1
CHAPTER 3: METHODOLOGY
The study has been conducted in a systematic procedure starting from selection of the topic to
final report preparation. The integral part was to identify and collect data to be classified,
analyzed, interpreted and presented in a systematic manner to find the vital points. The
overall process of methodology followed in the study is explained further:
3. 1. STUDY SITE AND DATA SOURCE
The study has been conducted on the car traffic accidents occurrence in Rwanda. The data
expected to be used has been obtained from Rwanda National Police especially in the
department of the traffic accident located at MUHIMA in NYARUGENGE District. Different
documents provided by concerned officers and different circulars, manuals and files of the
organization and also different websites related to the study have been used.
3.1.1. DATA
In order to fulfil the objective of the study a series of the data has been used. Those Data are
monthly number of car traffic accidents occurring in Rwanda with observation of 5 years
(From January 2010 to December 2014).The data of 5 years is small but it helped to fulfil the
goal of study
3.1.2. TYPE OF DATA TO BE USED
The present study has been based on secondary source of data from Police records of the
accident cases in Rwanda. The official records have been available from 2010 to 2014.
3.1.3. METHOD OF DATA COLLECTION
The used data has been obtained from Rwanda National Police in the department of traffic
accident by presenting UR-CST recommendation letter. Since the office has organise the data
Application of Time series on Car traffic accident occurrence in Rwanda
Page 1
For the first specific objective which was to fit the appropriate Box Jenkins time series model
for the occurrence of the car traffic accidents in Rwanda, the main method used was Box
Jenkins modelling approach. Firstly, time plot of series was plotted. Because, the data were
neither stationary in mean nor in variance the difference and log transformations have been
applied to the data to make them stationary in mean and in variance respectively.
By taking the reference on the time sequence plot of the study obtained from SPSS, The
choice of the appropriate Box Jenkins time series model was found to be the Autoregressive
Integrated moving average model of order p,d, and q [ARIMA (p,d,q) model]. The
identification of potential model was done based on patterns of the autocorrelation and partial
autocorrelation. To identify the appropriate Box Jenkins model, autocorrelation and partial
autocorrelation coefficients of the stationary data (after data transformation has been made)
was calculated and then depending on the correlograms of the ACF and PACF which
determined the appropriate model.
The autocorrelation at lag k and the partial autocorrelation at lag m were generally given by
the following formulas respectively:
N k
t 1
t 1
rk ( yt yt )( yt k yt ) / ( yt yt ) 2
Page 1
Where
yt
y t
Looking at ACF and PACF if the autocorrelation function cuts off at lag q while partial
autocorrelation function dies away moving average of the order q should be included in the
model whereas when partial autocorrelation function cuts off at lag p while autocorrelation
function dies away autoregressive model of order p should be also included in the model. If
both ACF and PACF die away this suggest combining both (AR and MA) models. We have
also to take into account the order of differencing both seasonal and non seasonal
differencing, for example if the data has been transformed by using non seasonal differencing
and both ACF and PACF die away, ARIMA (p,d,q) model will be fitted where p:order
autoregressive; q: order of moving average and d: order of differencing.
To choose the order of the model, the appropriate method is the principle of parsimony. This
is a rule to seek the simplest model possible. For example if the model to choose is ARMA
(p,q) using this principle, we have to use small p and q as possible. Starting with p=q=1.
In this way, in fitting the appropriate Box Jenkins time series model this principle and
identification of potential model will have been used.
The interpretation based on the output of the time series model chosen will be necessary to
check the adequateness of the model.
Condition of the adequate model
The residuals have no patterns checked by plotting residuals against time
Page 1
After selecting and fitting the adequate Box Jenkins time series model, the second specific
objective will be fulfilled by forecasting the future values using the available time series data.
This will be done based on finding the model. Since the obtained model is in the function of
lag values to forecast, we will only substitute the corresponding lag values in the model to get
the future values of monthly average accident occurrence in Rwanda.
3.2.4. Compare mean of monthly average traffic accidents occurrence in
Rwanda
To fill the last specific objective, the statistical method called one way analysis of variance
(ANOVA) will be used. The method of one way analysis of variance is used to compare the
response to a number of levels of factor. In this report one way ANOVA is the appropriate
when there is only one factor which is time with different levels which are yearly and
monthly. We will compare the response variable which is monthly car traffic accidents
occurrence in Rwanda to a number of different years and months. The data will be grouped
firstly into different groups with a number of variables for each. To apply this test, the mean
sum of squares for the car traffic accidents occurrence and for the error should be defined.
The mean sum of squares for the car traffic accidents A will be given by:
This is essentially, just the variance of the difference between the mean of each factor level,
and the overall mean. Where we assume that we have k yearly groups with n i cases in the ith
yearly group, and the mean of the i th group is
Xi
and
Page 1
Where Si2 is the sample variance for the ith yearly group
Here the Null hypothesis to be tested is that, there is no difference between the yearly groups.
The Alternative hypothesis is that there is a difference. Note that the alternative hypothesis, in
the situation of comparing several levels of car traffic accident occurrence is always a two
sided alternative, as it does not make sense to try to specify in advance where the differences
lie.
The ratio of the above two mean sum of squares has an F distribution (that is MS A/MSE has F
distribution) with the two degrees of freedom associated with MS A which is k-1 and for MSE
which is N-K. Here the Null hypothesis is rejected if the p-value is smaller than the specified
significance level (or if the test statistic F is larger than the critical value) i.e there is
difference among true mean on yearly car traffic accident occurrence in Rwanda.
Table 1: The general one way ANOVA table is as follows:
Source
of Sum
variation
of d.f
Mean Square
F-Ratio
K-1
SSA /d.f
MSA/MSE
SSE /d.f
Sig. level
squares
Between
Years
and SSA
Month
Within Years
and Month
SSE
N-K
Total
TSS
N-1
Page 1
Here are the tables which represent monthly and yearly car traffic accidents occurrence in
Rwanda from 2010 to 2014.
Table 2: Number of car traffic accidents by year and Month
Month
2011
2012
2013
2014
January
354
410
347
549
476
February
381
389
396
476
488
March
378
411
398
531
490
April
440
372
379
350
473
May
406
451
451
456
487
2136
2130
2208
2014
2251
Mean
427.2
426
441.6
402.8
450.2
Page 1
373
364
468
517
440
July
394
370
442
516
562
August
413
353
443
480
588
September
438
344
553
471
539
October
392
330
633
485
507
November
463
320
607
499
474
December
452
329
297
474
596
Total in year
4884
4403
5414
5804
6120
Mean
407
367
452
484
510
2162
2284
2277
2345
2347
2363
2148
432.4
456.8
455.4
469
469.4
472.6
429.6
26625
Page 1
44486000
44320800
3602J0A1N2F0E1B2M
N
Jte
0A1R20P1RM
20A1Y2J0U
1D
2a
0U
1L2A0U
1G
2S0E1P2O
0C
1T2N
0O
1V2D
0E1C
M
onthlycartficaidents
Charles NIZEYIMANA
From the graph displayed above, the highest peak was found in November and the lowest
peak was found in month of January.
Page 1
44200
338600
3342002J0A1N2F0E1B2M
N
Jte
0A1R20P1RM
20A1Y2J0U
1D
2a
0U
1L2A0U
1G
2S0E1P2O
0C
1T2N
0O
1V2D
0E1C
M
onthlycartficaidents
Charles NIZEYIMANA
From the graph displayed above, the highest peak was found in May and the lowest peak was
found in month of November.
Page 1
6500
4300
N
Jte
2J0A1N2F0E1B2M
0A1R20P1RM
20A1Y2J0U
1D
2a
0U
1L2A0U
1G
2S0E1P2O
0C
1T2N
0O
1V2D
0E1C
M
onthlycartficaidents
From the graph displayed above, the highest peak was found in October and the lowest peak
was found in month of December.
Page 1
5500
44500
3502J0A1N
N
32F0E1B32M
0A1R
320P1R
3M
20A1Y32J0U
1D
3a
2tJe
0U
1L32A0U
1G
32S0E1P32O
0C
1T32N
0O
1V32D
0E1C
3
M
onthlycartficaidents
From the graph displayed above, the highest peak was found in January and the lowest peak
was found in month of April
Page 1
6500
54050
402J0A1N
N
42F0E1B42M
0A1R
420P1R
4M
20A1Y42J0U
1D
4a
2tJe
0U
1L42A0U
1G
42S0E1P42O
0C
1T42N
0O
1V42D
0E1C
4
Charles NIZEYIMANA
M
onthlycartficaidents
From the graph displayed above, the highest peak was found in December and the lowest
peak was found in month of June.
Since there are no regularly spaced peaks and through which have a consistent direction and
approximately the same magnitude every year, relative to the trend, this implies that there is
no seasonality in the data and the absence of seasonality implies that SARIMA models can
cannot be identified as the appropriate time series model to fit the data .The presence of
trends in the data suggests that simple exponential smoothing models also cannot be
identified as the appropriate time series model to fit the data therefore it remains only to
identify the appropriate time series model among the ARIMA models.
Application of Time series on Car traffic accident occurrence in Rwanda
Page 1
To fit the appropriate Box Jenkins time series model and to be able to forecast the future
values for car traffic accidents occurrence in Rwanda the following procedure was used. Time
series data was plotted in the form of time plot before applying any transformation which
6500
4300
Yte
2J0A1NM
20A1Y2S0E1P2J0A1NM
20A1Y2S0E1P2JA01NM
2D
0A1a
2S0E1P2JA01N
3M
20A1Y32S0E1P32J0A1N
4M
20A1Y42S0E1P4
helped to check if the data are stationary in mean and in variance. The correlogram or plots of
autocorrelation function (ACF) and the partial autocorrelation function (PACF) were plotted
below:
M
onthlycartficaidents
Time plot below shows original data of car traffic accidents occurrence in Rwanda
Page 1
Page 1
Coefficient
Confidence Limit
Upper
Confidence Limit
Lower
Page 1
PACF figure below shows original data of monthly car traffic accidents occurrence in
Rwanda
0.5
0.0
1.0
-0.5
-1.0
ACF
Page 1
Coefficient
0.5
Part
ial
ACF
Lower
Limit
Confidence
Upper Confidence
Limit
0.0
-0.5
-1.0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Lag Number
Figure 8: Original data PACF Correlogram for Car traffic accidents
According to the above PACF figure correlogram ,it shows that ARIMA (Autoregressive
Integrated Moving Average) model can be identified as appropriate model. This model is
classified as an ARIMA (p,d,q) where p,d,q represent a non seasonal order of autoregressive,
differencing and moving average respectively. To fit this model, we are required first to make
data stationary in mean and in variance by appropriate transformations which are log
transformation to make variance stationary and difference transformation to make mean
Page 1
000...63
--00..36FEBJUNOCTFEBJUNOCTFEBJUNOCTFEBJUNOCTFEBJUNOCT
2012012T
01ra
2n
0s
1fo
2r0m
1:20n
1a
2tu
0r1lD
20o
1a
2g
0te
1,d
2if0r13n
2c
0e
13(1
2)013201420142014
Time plot below shows stationary of car traffic accidents occurrence in Rwanda after
M
onthlycartficaidents
transformations.
Figure 9: Time plot of the transformed data of car traffic accidents occurrence in
Rwanda
The above plot 9 is the time plot of the transformed data as it can be seen the data become
stationary with respect to mean and variance by taking difference of order 1 and log
transformations.
Page 1
Page 1
M
o
n
t
h
l
y
c
a
r
t
f
i
c
a
i
d
e
n
t
s
oLC
eow
fnfidircncteLim
10..05 C
U
p
t
0.
Looking at figure 10, it shows that ACF decay to zero which indicates the stationality of the
data in mean and in variance by taking difference of order 1 and log transformation.
PartilA
C
F
PACF figure below shows correlation of car traffic accidents after transformation.
--01..50123456L
7a
8g
9N
1u
0m
1
2
3
1
4
5
1
6
ber
Confidence
Coefficient
According to the figure11displayed above, the correlogram shows a high negative correlation
1.0 the current value and their value at lag 3.
between
-0.5
-1.0
Page 1
Charles NIZEYIMANA
Lag
significant cut off than PACF
andNumber
both show the same negative value at lag1 and much
smaller values at high lags for ACF. Based on above information and using the principle of
Parsimony which is seeking the simplest model as much as possible; the appropriate model to
be fitted is ARIMA (0,1,1) which is moving average of order 1 and differencing of order 1.
Its general equation is given by the following formula:
y t = + t 1 + t1
Where
: Coeffient of MA (1)
: Error term
: Constant
Therefore, fitting ARIMA model for our data using SPSS by letting p=0, d=1 and q=1 give
us the following output:
Table 5.Coefficient of the model and their corresponding probability
ARIMA Model Parameters
Accidents-Model_1 Accidents Natural Log
Constant
Difference
MA
Lag 1
Estimate
.006
1
.695
SE
.006
t
1.060
Sig.
.294
.098
7.115
.000
The coefficient of MA (1) is 0. 695 and its corresponding probability is 0.000.The coefficient
is significant at 95% confidence interval because its probability is less than level of
Application of Time series on Car traffic accident occurrence in Rwanda
Page 1
4.2.
FORECASTING
FUTURE
VALUES
OF
MONTHLY
CAR
TRAFFIC
ACCIDENTS
After obtaining the appropriate Box Jenkins time series model fitting good the data, we
proceed to forecast the future values of car traffic accidents in coming five years. The
adequateness of the model was checked before forecasting since forecasting cant be made
without checking if the model fitted is good or not. Prediction of future values is made to a
model which fist good the data and the goodness of fitted model were showed using ACF and
Histogram super imposed by normal curve of the error terms. To check if the fitted values are
close to the original data, multiple time plots ware plotted below:
Multiple time plots below shows fitted values and monthly car traffic accidents
Page 1
600
500
400
300
Forecasted
JANAPRJULOCTJANAPRJULOCTJANAPRJULOCTJANAPRJULOCTJANAPRJULOCT
2010
2010
2010
2010
2011
2011
2011
2011
2012
2012
2012
2012
2013
2013
2013
2013
2014
2014
2014
2014
Date
Figure 12: Original and forecasted for monthly car traffic accidents
From the above time plot figure12, original data and forecasted values move together which
implies that the fitted values match the observed values closely. This shows that the model
fitted is good.
Page 1
Histogram of forecasts error for monthly car traffic accidents occurrence in Rwanda.
Figure 13: Histogram of forecast error for monthly car traffic accidents
20
15
10
Mean =0
0
-0.75
-0.5
-0.25
0.25
Page 1
Coefficient
Confidence Limit
Upper
Confidence Limit
Lower
Application of Time series on Car traffic
accident occurrence in Rwanda
Page 1
0.5
0.0
Multiple time plots showing original, Forecast, Upper and lower limit bounds for
1.0
ACF
-1.0
1 2 3 4 5 6 7 8 9 10111213141516
Page 1
1,500
1,250
1,000
750
500
250
Date
Figure 16: Time plot of original, Forecast, Upper and Lower limit bounds for monthly
car traffic accidents
Looking at the figure 16, the original and forecast data move together but with increasing and
slightly decreasing of Upper and Lower limit bounds respectively from 2015 due to the lack
of observations from 2015 up to 2019.In this range, the plot of values are the forecasted
values. The prediction interval for forecasts is increasing (wide) for the specified period in
which the data are available (From January 2010 to December2014) and it decreases for the
specified period in which the data are not available (From January 2015 to December2019).
By looking the output of the ACF of forecast error term, all coefficients of the error term at
different lags lie approximately inside the boundaries except at lag 3, indicates the
uncorrelation between the errors. The error terms mean are close to zero with constant
variance, the super imposed normal curves for error terms are approximately normal.
Application of Time series on Car traffic accident occurrence in Rwanda
Page 1
Forecasted in years
2015
2016
2017
2018
2019
d
January
February
March
April
May
June
July
August
September
548
552
556
560
564
567
571
575
579
596
600
604
608
613
617
621
626
630
648
652
657
662
666
671
675
680
685
704
709
714
719
724
729
734
740
745
766
771
777
782
787
793
798
804
810
October
November
584
588
634
639
690
695
750
755
815
821
December
592
643
699
760
827
Compared to the five years ago, Car traffic accidents will increase over the next five years.
Page 1
To fulfil the specific objective which is to compare the true mean of car traffic accidents
occurrence in Rwanda ,the technique of one way analysis of variance (One way ANOVA)
was used through year 2010 to 2014.
Time was identified as the independent variable which is a single factor with five groups
(yearly) and with twelve groups (monthly) and the dependent variable was found to be
monthly car traffic accidents occurrence in Rwanda. One way ANOVA was used since we are
dealing with one factor with different group. The mean sum of squares for factor A is given
by the following formula:
This is the variance of the difference between the mean of each factor level, and the
overall mean. We assume that we have k groups with
and the mean of the ith group is X i , while the overall mean is X
in comparison of
monthly car traffic accidents occurrence in Rwanda. The mean sum of squares for the error
MSSE is defined as follows:
Where Si2 is the sample variance for the ith yearly groups
The ratio of the above two mean sum of squares has an F distribution (that is MS A/MSE has F
distribution) with the two degrees of freedom associated with MS A which is k-1 and for MSE
which is N-K, where N is the overall observations (grand total). Here the Null hypothesis is
Application of Time series on Car traffic accident occurrence in Rwanda
Page 1
From table 2(Monthly car traffic accidents) there is hypothesis to be tested. This hypothesis
must be tested using one way ANOVA since there is only one factor with different levels.
Those hypotheses are the following:
H 0 : 2010=2011 = 2012=2013 =2014
traffic accidents)
Where
2010
2011
2012
2013
2014
traffic accidents. The result of one way ANOVA analysis helped in making conclusion. Using
SPSS the result obtained are summarized in one way ANOVA table as follow:
Table 7.One way ANOVA table of yearly car traffic accidents
ANOVA
Accidents
Source
of Sum
of
Mean
variation
Squares
d.f
Square
F
Between years 159496.000
4
39874.000
11.265
Within years
194683.250
55
3539.695
Total
354179.250
59
Table 5: One way ANOVA table of yearly car traffic accidents
Sig.
.000
Page 1
The result above allows us to test whether there is a significant difference in population
mean of monthly car traffic accidents or not. The p-value (sig.) in the output which is 0.000 is
smaller than level of significance which is 5%. Therefore, this suggests rejecting the null
hypothesis (H0). In rejecting the null hypothesis it means that there is significant difference
in yearly car traffic accidents. By comparing the value of F-calculated which is 11.265 and
the value of F from the table with degree of freedom (k-1, N-K) =(4,55) which is 2.54 we
obtain that F-calculated > F-tabulated, therefore, we reject H0 which is the same conclusion
as that obtained using P-value (that there is significant difference in yearly car traffic
accidents).
Since there is difference among the true mean on yearly car traffic accidents occurrence in
Rwanda, generally, we would like to know which means are significantly different. This was
done by comparing all pair wises between pairs of the year. We determine whether or not zero
is included in the confidence intervals. Tukeys method was used for all pair wise
comparisons since it is commonly used procedure which is more powerful than Bonferroni
method. The general form, allowing for different sample sizes for treatment i and j is:
q , k ,nk
The difference among the means of car traffic accidents is shown in the following:
Page 1
DIFFERENC
P-
95%CONFIDENC
CONCLUSIO
COMPARISON
VALUE
E INTERVAL
MEAN
LOWER UPPER
BOUND BOUND
2010-2011
40.083
0.473
-28.42
108.59
2010-2012
-44.167
0.374
-112.67
24.34
2010-2013
-76.667
0.021
-145.17
-8.16
2010-2014
-103.000
0.001
-171.50
-34.50
2011-2012
-84.250
0.009
-152.75
-15.75
2011-2013
-116.750
0.000
-185.25
-48.25
2011-2014
-143.083
0.000
-211.34
-74.75
2012-2013
-32.5
0.669
-101.00
36.00
2013-2014
-26.333
0.814
-94.84
42.17
2010 = 2011
2010 = 2012
2010 < 2013
2010 < 2014
2011 < 2012
2011 < 2013
2011 < 2014
2012= 2013
2013 = 2014
Page 1
2014
has
4.
3.2.
COMPARE
MEAN
OF
MONTLY
CAR
TRAFFIC
ACCIDENTS
OCURRENCE IN RWANDA
From table 4 (Monthly car traffic accidents) there is hypothesis to be tested. This hypothesis
must be tested using one way ANOVA since there is only one factor with different levels.
Those hypotheses are the following:
H 0 : Jan= Feb= Mar 2013= Apr May= Jun= July= Aug = Sep= Oct= Nov = Dec
i.e. there
Or Not all
accidents. The result of one way ANOVA analysis helped in making conclusion. Using SPSS
the result obtained are summarized in one way ANOVA table as follow:
Page 1
of
variation
Between
Mean Square
25316.133
11
2301.467
.336
Month
Within Month 329157.600
48
6857.450
Total
354473.733
59
Table 7: One way ANOVA table of monthly car traffic accidents
Sig.
.973
The result above, the p-value (sig) is .973 which is greater than level of significance of
5%.Therefore; this means the acceptance of the null hypothesis no significant difference in
population mean of monthly car traffic accidents by month. In accepting the null hypothesis it
means that there is no significance difference in monthly car traffic accidents. By comparing
the value of F-calculated which is 0.335 and the value of F from the table with degree of
freedom (k-1, N-K) =(11,48) which is .... we obtain that F-calculated < F-tabulated, therefore,
we accept H0 which is the same conclusion as that obtained using P-value (that there is no
significant difference in mean of monthly car traffic accidents
CHAPTER
5:
DISCUSSION,
CONCLUSION
AND
RECOMMANDATION
5.1. DISCUSSION
This section discussed the main results obtained in previous chapter and compares those
results with results obtained by others worldwide. The data analyzed are monthly car traffic
accidents occurrence in Rwanda. During the analysis, the appropriate box Jenkins time series
model was found to be ARIMA (0,1,1).Using the ARIMA models, we forecasted the future
value of car traffic accidents of the next 5 years whose results are shown in Figures16.
The prediction results are accepted and 95% of the confidence interval of ARIMA is wider. In
brief it will help both victims and the drivers to understand well the dangers of car traffic
accidents to the life of population and generally to the economic development of Rwanda.
Application of Time series on Car traffic accident occurrence in Rwanda
Page 1
2014
accidents.
In comparison with other related study, the result showed that generally ARIMA time series
model has been found to be appropriate time series model on the car traffic accidents and the
predicted results from ARIMA model worldwide revealed that car traffic accident cases were
going to increase over the next six year from ARIMA (0,1,1) in Rwanda, 107,579 to 401,536
over the next one year in China[19] and also in Ghana, ARIMA (0,2,1) was identified with
evident as the best model. A six- year forecast was made using the ARIMA (0, 2, 1) model
and it showed that car traffic accident cases would continue to increase. [18]
5.2. CONCLUSION
Time series Analysis of the car traffic accidents data from January 2010 to December 2014
showed that the patterns of car traffic accidents are increasing in Rwanda. ARIMA (0,1,1) is
identified to be approximately the suitable model for car traffic data. Prediction from ARIMA
(0, 1, 1) model revealed that car traffic accidents will continue to increase over the next five
years. The findings of this study draw attention to the importance of implementing key road
safety measures in order to change the increasing patterns of car traffic accidents in Rwanda.
Therefore the improved and better policies of National road safety commission should be
introduced with much emphasis on publication and education to ensure maximum reduction
in Car traffic accidents.
Page 1
5.3. RECOMMANDATION.
Depending on result obtained, this study highlights recommendations which include the
advices to Rwanda National Police (RNP).
To minimize the occurrence of the car traffic accidents, the following measures would be
taken as recommendations:
To educate the public road user especially the drivers and pedestrians on how to abide
by the low in order to reduce traffic accidents.
To implement and improve road safety campaign
Sensitize the road users to use correctly the established public parking yard and
increase in number of public parking yard following a complaint by taxi operators
that the yards available are insufficient
Page 1
REFERENCES
1. The Oxford Advance Learners Dictionary (1989)
2. Peden M, Scurfield R, Sleet D, Mohan D, Hyder AA, Jarawan E (Eds.) 2004. World
report on road traffic injury prevention. Geneva: World Health Organization.
3. Cater N, Walker P (Eds.) 1998. World Disasters Report. Oxford University Press.
4. Murray CJL, Lopez AD (Eds.) 1996. The global burden of disease: a comprehensive
Assessment of mortality and disability from diseases, injuries, and risk factors in 1990
And projected to 2020. Cambridge, MA: Harvard School of Public Health on behalf of the
World Health Organization and the World Bank.
Application of Time series on Car traffic accident occurrence in Rwanda
Page 1
16: East and Central African Journal of Surgery, Vol. 13, No. 1, March-April 2008, pp. 7376 , E. Twagirayezu, R. Teteli, A. Bonane, E. Rugwizangoga, Kigali University Teaching
Hospital, Kigali, Rwanda
Application of Time series on Car traffic accident occurrence in Rwanda
Page 1
Page 1
Page 1