Applied Mathematics
Vol.08 No.05(2017), Article ID:76239,7 pages
10.4236/am.2017.85049

The Prediction of the Peak Time of People Taking School Bus Based on Martingale Process

Yuxuan Zhou, Shujun Liu, Yufeng Gui*

College of Science, Wuhan University of Technology, Wuhan, China

Copyright © 2017 by authors and Scientific Research Publishing Inc.

This work is licensed under the Creative Commons Attribution International License (CC BY 4.0).

http://creativecommons.org/licenses/by/4.0/

Received: March 24, 2017; Accepted: May 15, 2017; Published: May 18, 2017

ABSTRACT

As the main tool for students and professors to come and go to different districts in-campus, the school bus is of great importance. In order to improve its efficiency and convenient students and professors, a rational schedule of departure is badly needed. A model is established to predict the peak time of people taking school bus based on martingale process, and it is solved according to stopping time of martingale. Then it is applied to Wuhan University of Technology. A large amount of data is collected and the peak time for each day is predicted combined with the actual situation of the college. In doing so, suggestions are given for those who are in charge of the school buses.

Keywords:

School Bus, Martingale Process, Prediction, Peak Time

1. Introduction

There are more and more districts being constructed to provide students with comfortable environment to study and live in [1] [2] . In a meanwhile, it becomes further and further from one district to another, which makes it inconvenient for students and professors to travel in the campus [3] . As people need to come and go to different districts in a short period of time, the school bus has become the most important means of transportation [4] . Accordingly, the optimization of its schedule is badly needed to convenient those who take the bus [5] .

According to literatures, problems of the optimization of distributions of the bus stations, dispatches and routes of the buses have already been discussed for many times [6] . And good algorithms are given by the predecessors, such as classic VRP (Vehicle Routing Problem) Algorithm [1] and complex SBRP Algorithm [2] . However, only few literatures that focus on predicting peak time of people taking the buses can be founded. The main problem exists in school buses in some universities is that the number of buses is not big enough when it comes to peak time while it is too much when it comes to non-peak time due to the irrational dispatch. Thus, a martingale process based on collected data is established and it can predict peak time of the day according to stopping time theory [7] .

2. The Peak Time Prediction Model

2.1. Definitions of Peak Time

The phenomenon of being crowded and short of buses in a time when there are a large amount of people arriving at the station continuously in adjacent period of time is of a high possibility to happen in-campus according to some literatures [3] . Thus, a peak time is defined as a period of time when there are more than ai people arriving at the station continuously in adjacent L unit of time. Where i is the ith workday, ai is a threshold that stands the number of people taking the school bus in adjacent L continuous unit of time on the ith workday, which is related to real situations.

2.2. The Establishment of the Model

In order to establish our model, several variables are assumed as follows (Table 1):

As it is inferred in 3.1 that a peak time is a period of time when there are more than ai people arriving at the station continuously in adjacent L unit of time, it can be concluded that the total number of people taking the school bus in adjacent L unit of time should be L a i ( i = 1 , , 5 ) when it comes to peak time. That is:

N i = inf { n i : j = n i L i + 1 n X i n = L a i } (1)

Hence, the peak time prediction model on the ith workday can be expressed as:

E [ N ] = E [ inf { n i : j = n i L i + 1 n X i n = L a i } ] (2)

2.3. Model Solving

The stopping time theory of martingale process is applied to solve the model.

2.3.1. Establishment of Martingale Process

At first, a stochastic process L: Z n i ( 1 ) , , Z n i ( l ) is defined, where

Table 1. Symbol description.

Z n i ( l ) = { z n i ( l ) , n l } , l = 1 , , L ; i = 1 , , 5 .

In a meanwhile, it can be concluded that:

Z n i ( l ) = 1 p 1 I ( j = n i L i + 1 n X i n = L a i ) (3)

It is obvious that E [ z n i ( l ) ] = 0 .

Then a martingale process can be stablished:

Y n i = j = L n z j i ( L ) + l = 1 L 1 z n i ( l ) , n L , i = 1 , , 5 (4)

2.3.2. Prove of Y n i Being a Martingale Process

At first, it is known that:

E [ z n + 1 i ( l ) | X 1 i , , X n i ] = z n i ( l 1 ) , l = 1 , , L , n l 1 , i = 1 , , 5 (5)

According to literature [3] , z n i ( 0 ) = 0 . Thus, regulate that z n i ( 0 ) = 0 .

Then it can be proved that Y n i ( i = 1 , , 5 ) is a martingale process, that is to prove

E [ Y n + 1 i | X 1 i , , X n i ] = Y n i , n L , i = 1 , , 5 (6)

However,

E [ Y n + 1 i | X 1 i , , X n i ] = E [ j = L n + 1 z j i ( L ) + l = 1 L 1 z n + 1 i ( l ) | X 1 i , , X n i ] = E [ j = L n z j i ( L ) | X 1 i , , X n i ] + E [ z n + 1 i ( L ) | X 1 i , , X n i ] + E [ l = 1 L 1 z n + 1 i ( l ) | X 1 i , , X n i ] = E [ j = L n z j i ( L ) | X 1 i , , X n i ] + E [ l = 1 L z n + 1 i ( l ) | X 1 i , , X n i ]

According to (5), it is clear that:

E [ j = L n z j n ( L ) | X 1 i , , X n i ] = j = L n z j n ( L ) (7)

while it is known that:

E [ z n + 1 i ( l ) | X 1 i , , X n i ] = z n i ( l 1 ) (8)

Hence, it can be concluded that:

E [ Y n + 1 i | X 1 i , , X n i ] = j = L n z j i ( L ) + l = 1 L z n i ( l 1 ) (9)

As z n i ( 0 ) = 0 , it is clear that:

E [ Y n + 1 i | X 1 i , , X n i ] = j = L n z j i ( L ) + l = 1 L z n i ( l 1 ) = j = L n z j i ( L ) + l = 2 L z n i ( l 1 ) = j = L n z j i ( L ) + l = 2 L 1 z n i ( l ) = Y n i

From what have been discussed above, Y n i ( i = 1 , , 5 ) is proved to be a mar-

tingale process and E [ Y L i ] = E [ l = 1 L z L i ( l ) ] = l = 1 L E [ z L i ( l ) ] = 0 .

2.3.3. Ν ι is a Stopping Time of { X n i , n L , i = 1 , , 5 } and Suits What Stopping Time Theory Require

The demonstration can be founded in literature [3] .

2.3.4. Prove E [ N i ] = p i L 1 1 p i , i = 1 , , 5

At first, proof of Y N i i = N i + 1 p i L 1 p i is needed.

According to (4), it can be concluded that:

Y N i i = n i = L N i z n ( L ) + l = 1 L 1 z N ( l ) (10)

1) For z n ( L ) , n = L , L + 1 , , N i

As j = n L + 1 n X j i = L a i means there are continuously L units of ai, Ni is the first

time of a day that have continuously L units of ai on the ith day of a week. Therefore, only when n = N i , it can concluded that j = n L + 1 n X j i = L a i .

As for z n ( L ) , n = L , L + 1 , , N i 1 , as j = n L + 1 n X j i L a i , it is clear that:

z n ( L ) = { 1 p i L n = N i 1 L n N i 1 (11)

which means:

n = L N i z n ( L ) = N i L + 1 p i L (12)

2) For z N i ( l ) , l = 1 , , L 1

According to definition of z N i ( l ) , l = 1 , , L 1 and N i , it is obvious that z N i ( l ) = 1 p i l , l = 1 , , L 1 , i = 1 , , 5 . Thus, it is clear that:

l = 1 L 1 z N i ( l ) = l = 1 L 1 ( 1 p i l ) = L 1 p i 1 ( 1 p i ( L 1 ) ) 1 p i 1 = L 1 + 1 + p i 1 L 1 p i (13)

According to what have been discussed above, it is known that:

Y N i i = N i L + 1 p i L + L 1 + 1 p i 1 L 1 p i = N i + 1 p i L 1 p i (14)

As N i is a stopping time of { X n i , n L , i = 1 , , 5 } and suits what stopping time theory require, it is obvious that:

E [ Y N i i ] = E [ Y L i ] (15)

That is:

E [ N i ] = p i L 1 1 p i , i = 1 , , 5 (16)

3. Empirical Analysis

3.1. Taking Wuhan University of Technology for Example

Taking Wuhan University of Technology for example, it has 4 districts in Ma Fangshan district, which are Nan Hu district, Jian Hu district, Dong Yuan district and Xi Yuan district, and it also contains an accommodation area for students outside of the campus named Shengsheng. It can be clearly seen from the distribution of the school that the need for students to take the school bus is very urgent as there are 5 districts. Therefore, a good dispatch of the school bus is of a great importance.

To collect data, the number of people those take the school bus in every 3 minutes, from Monday to Friday, 7:30 a.m. to 9:00 a.m. is recorded. By using martingale process to predict peak time for each day, the schedule of the departure time can be optimized.

The data was collected in Nan Hu district, as it is the biggest district of the 5 ones and holds the largest population. There are 14 school buses in Wuhan University of Technology. According to our research, the average traffic for each day can be obtained. After studying on the data, it appears to relate to the total number of courses of the whole school, which makes sense.

3.2. The Determine of ai

Analyzing the data, ai is related to the real situations. Therefore, the values of ai combine with the real situations are determined.

As the number of courses is of a large amount in Monday, the traffic should be largest of the weak. Thus, a peak time for Monday is a period of time when there are more than 9 people arriving at the station continuously in adjacent L unit of time.

As the number of courses is not very crowded in Tuesday and Wednesday, a peak time for Tuesday and Wednesday is a period of time when there are more than 7 people arriving at the station continuously in adjacent L unit of time.

As most professors have their meetings on Thursday, the number of courses is not very large. Thus, a peak time for Thursday is a period of time when there are more than 5 people arriving at the station continuously in adjacent L unit of time.

As there are usually have practical courses on Friday, traffic is a little larger than Thursday. Thus, a peak time for Friday is a period of time when there are more than 6 people arriving at the station continuously in adjacent L unit of time.

That is Table 2.

3.3. The Determine of L

The value of ai has been determined by the feature of the data in section 3.2 while the value of L is not. According to what have been observed in each school bus station in Wuhan University of Technology, it will significantly be crowded when there are ai person arriving at the station to wait for the bus continuously in adjacent 3 unit of time. Thus L is determined as:

L = 3 . (17)

3.4. Results and Conclusions

Applying the model in section 2, the peak time for each day is predicted as shown in the Table 3.

It can be seen from the table that the peak time for Monday is around 12:05 and 17:25. T the peak time for Tuesday is around 10:33, the peak time for Wednesday is around 14:33, the peak time for Thursday is around 17:25 and the peak time for Friday is around 11:23. According to our research, it is corresponded to the real situation.

As for the occurrence of 2 peak times on Monday, according to the collected data, there are usually more people taking the bus on Monday in Wuhan University of Technology, thus there are 2 peak times that 9 person arrives at the station continuously in adjacent 3 unit of time in the original data. In this way, there are 2 peak times predicted by the model.

4. Conclusions and Suggestions

A peak time prediction model based on martingale process is established and solved with the stopping time theory. Taking Wuhan University of Technology for example, the peak time for each day is predicted by applying the model.

The suggestion is to reduce the time for departure to increase the trips when it comes to peak times. In this way, the efficiency of the school bus will increase and the cost will decrease at the same time. It will also provide a lot of convenience for students and professors. Besides, it is also suggested that students should prevent these time to take the school bus as far as possible.

Acknowledgements

The paper is financially supported by Students innovation and entrepreneurship

Table 2. The determine of ai.

Table 3. The prediction of the peak time for each day.

training program, Wuhan University of Technology, China (No.166814007).

Cite this paper

Zhou, Y.X., Liu, S.J. and Gui, Y.F. (2017) The Prediction of the Peak Time of People Taking School Bus Based on Martingale Process. Applied Mathematics, 8, 630-636. https://doi.org/10.4236/am.2017.85049

References

  1. 1. Song, Y.Z. (2013) Application of Heuristic Algorithm Based on Simulated Annealing Algorithm in VRP. Master’s Thesis, Huazhong Normal University, Wuhan.

  2. 2. School of Economics and Management, Henan University of Science and Technology (2013) Research on the Model and Algorithm of School Bus Routing Problem. Journal of Henan University (Natural Science Edition), 43, 682-691.

  3. 3. Ma, M. (2011) The Martingale Prediction of the Peak of Infectious Diseases. Practice and Understanding of Mathematics, 41, 103-107.

  4. 4. Bao, L. and Li, D. (2006) School Bus Weekend Peak Traffic Volume Forecast and Special Date Adjustment. Road Traffic and Safety, 6, 29-32.

  5. 5. Zhou, Q. (2013) Research on Optimization of School Bus Dispatching. Journal of Hebei University of Technology, 23, 32-35.

  6. 6. Liu, Q.S. (2013) Meta-Heuristic Algorithm Design and GIS Integration for Bus Routing Problem. Master’s Degree Thesis, Henan University, Kaifeng.

  7. 7. Liu, S.S. (2014) The Cloud Is Not Be Able to Rain. The Shijiazhuang Air Quality in the First “Severe” in June. Yanzhao Metropolis Net. 2014-06-17(3).