Urban Traffic Jam Time Prediction Mode 
Zhixu Gao
1, a, *
, Guyue Tian
2, b
, Fengsi Yu
2, c
 
1
School of physics and electronic information, Yunnan Normal University, Yunnan 650500, China 
2
College of Science, Chongqing University of Technology, Chongqing, 401320, China 
Keywords:  Survival analysis model; Traffic congestion; Predictive model. 
Abstract:  Urban transportation is the core of urban social activities and economic activities. However, due to the 
increase of population and motor vehicles, traffic congestion is caused by many factors. This paper established 
a traffic congestion duration model based on survival analysis. The purpose is to use the model to obtain the 
relationship between congestion index and congestion time, and improve the accuracy of prediction. Using 
the nonparametric method to calculate, after defining the Shanghai Expressway survival function and risk 
function, combined with the compiled data, calculate whether it is the impact of the working day on traffic 
congestion, and the difference between the early, middle and late peaks for traffic congestion. The result can 
be obtained: Traffic congestion on workdays is higher than on weekends, and traffic congestion is longer than 
weekends. 
1 INTRODUCTION 
With the development of technology, people's 
transportation is more convenient and intelligent. 
Existing navigation software typically acquires real-
time GPS data through a taxi or vehicle in which the 
software is installed to determine current road 
conditions. Many navigation softwares have 
introduced smart travel features to help people plan 
the best route for travel and predict travel time. The 
predictive congestion principle of navigation is to use 
the speed prediction algorithm to calculate the vehicle 
speed, and to update the timing according to the 
driving information of the car, and then re-calibrate 
and calculate. (Zhu Fuling, 2006) 
However, with the increasing number of cars, 
traffic congestion in cities is becoming more and 
more serious, and traffic jams in urban traffic often 
occur. (You Zhaoquan, 2018) Therefore, it is 
practical to improve the prediction accuracy of 
navigation through mathematical methods. It can 
provide a guiding plan for the development of traffic 
congestion control and guidance strategies. (Xiong 
Li, Lu Yue, Yang Shufen, 2017) 
 
 
 
 
 
2 DATA COLLECTION 
We consult the relevant literature to collect the GPS 
information of 10,000 taxies in Shanghai city on April 
20,2017 (Shanghai Traffic Travel Network, 2019). 
Since the data is too large, we sort out some of the 
data in the table below. Please check the detailed data 
in supporting documentation in appendix. The 
following gives data analysis for taxies in Shanghai. 
As can be seen from the table 1, the data we collected 
included the latitude and longitude and instantaneous 
travel speed of each tax 
3  MODEL BASED ON SURVIVAL 
ANALYSIS OF TRAFFIC 
CONGESTION DURATION 
Survival analysis is a statistical method that analyzes 
and infers the survival time of living things, people, 
and other things like survival rules based on 
experimental or survey data. It is also called risk rate 
model or continuous model. The survival analysis 
methods mainly include three methods: parametric 
method, semiparametric method and nonparametric 
method. When the distribution type is unknown, the 
nonparametric method has higher computational 
efficiency. 
Gao, Z., Tian, G. and Yu, F.