The Reliability Model for Bike-Sharing Dispatch Based on Hotspot Detection and Hypothesis Test: A Case Study in Beijing

In this article, a novel reliability model for bike-sharing dispatch is established using a hypothesis test. Based on the bike-sharing trajectory data from hotspot detection, we ﬁrst perform the kernel density analysis to identify the dispatch points. As a result, a buﬀer area of 500meters radius is designated as the studied dispatch area. From a systematic perspective, the reliability of the dispatch system is user-oriented during an ideal period when shared bikes constantly enter and leave the area. We propose the performance function of bike-sharing dispatch, in which the diﬀerence between origin and destination (OD) is deﬁned as the main parameter of the failure probability of the system. By adopting diﬀerent distribution forms, including Poisson distribution, Rayleigh distribution, exponential distribution, normal distribution, and gamma distribution, we examine the distribution characteristics of OD diﬀerences. The maximum likelihood estimation (MLE) technique is applied for model calibration, and chi-squared statistics are used to identify the acceptance of the null hypothesis. Finally, we take Beijing city as a case to verify this model. The results show that among many distribution models, the ﬁtting goodness of normal distribution is the best. According to the properties and parameters of the distribution functions, we solve the dispatch scale for bike sharing at diﬀerent conﬁdence levels, allowing the dispatch strategy to be more ﬂexible. Moreover, we ﬁnd that the variation of dispatch quantity across diﬀerent time periods and locations follows a systematic ﬂuctuating trend.


Introduction
With the rise of sharing economy, bike sharing for public service has become a significant supplementary mode for urban transportation and thus has been revitalized in recent years [1]. Nowadays, it has been popularized in big cities, especially such as Beijing and New York [2]. Bike sharing produces no pollution and almost consumes no natural resources except during the period of manufacture. In addition, bike sharing is so flexible as to be the solution to the "last mile" problem, and it is very attractive as a bus alternative [3].
Bike sharing makes transportation convenient for residents but creates challenges in traffic management. For example, it is urgent to effectuate the bike-sharing dispatch. e undersupplied bikes will lead to the lower acceptance of potential users. However, if the supply of bikes is enhanced, it will lead to much higher dispatch costs and, possibly, underutilization of resources. In general, the study of bikesharing dispatch can be divided into two main aspects: location selection and determination of dispatch quantity. Zhou [4] proposed a feasible framework consisting of point location-based mean drift clustering, VRP model, genetic algorithm, and TOPSIS evaluation method. In terms of dispatch quantity, Yang et al. [5] employed a multiple regression approach to establish the relationship between bike-sharing trips, subway distance, and check-in for different types of points of interest (POI). Regue and Recker [6] established a dynamic bike-sharing scheduling model based on the bicycle inventory model and demand redistribution model at parking spots. In recent years, with the development of data acquisition and analysis technology, more and more algorithms have been employed for experiments with site selection or bike-sharing dispatch by GPS and mobile cellular: clustering progress [7][8][9], incentive mechanism [10][11][12], mixed-integer linear programming [13], and heuristic algorithm [14,15].
Furthermore, these models can be assessed by comfort level [16], the total cost of management [11], walking time [3,17], and accessibility [18,19], which have been well published and applied. Before studying bike-sharing dispatch, a very important step is to predict the demand and analyze the travel behavior. After all, the transportation system is constantly changing. For example, Bao et al. [20] utilized deep learning methods to predict short-term demand for Free-Floating Bike Sharing (FFBS). Moreover, the cost-effective analysis [21], extensive analysis [22], and mathematical models [23] achieve a breakthrough for further demonstration and prediction of bike-sharing distribution specials, usage patterns, and exploration of quantitative relationships between land use and bike-sharing demand. e existing parametric methods-based dispatch models give more attention to the inherent connection between bike sharing, traffic geography, and social elements and less attention to simpler nonparametric theory. Still, dispatch models tend to be derived from usage forecast, which lacks a full and robust understanding of inter-OD interactions during the movement of shared bikes. In other words, as the completely spatiotemporal-free vehicle, shared bikes have a certain self-sufficient capability, ignoring which will lead to a decrease in model accuracy and thus the possibility of overdispatch. However, most of the research only presents a strict and definite result (like literature [5][6][7][8]), which does not describe the fluctuation mechanism of the confidence level that the system can meet users' travel demand as the dispatch quantity changes. e confidence level is the effectiveness degree of dispatch strategies believed by bikesharing managers, which is actually a measure of the rationality of dispatch from the perspective of probability. Only with the help of confidence level, we can determine the threshold of dispatch according to the goal to be achieved by the system so as to avoid overdispatch to the greatest extent and increase flexibility. To solve the challenging difficulties, this article aims to establish a flexible and reliable system based on hotspot detection to dispatch the shared bikes in a single area using hypothesis testing.
Our presented system can address the following questions: (1) How to identify the best dispatch points and areas according to the spatial and temporal distribution characteristics of the bike-sharing demand?
(2) What kind of probability distribution does the bikesharing trip generation and attraction follow? And how to investigate the probability distribution characteristics of a single region from a whole according to the sampling theorem?
(3) For a certain area, how to determine the reliability of different dispatch quantities to meet the travel demand based on OD difference? Or equivalently, how to find out the threshold of dispatch quantity based on OD difference at given reliability?
By answering the above-mentioned questions, the research gaps and contributions in this article are mainly as follows. (1) According to our proposal, the hotspot detection procedure-based trajectory data of bike sharing and kernel density analysis is employed to determine the dispatch points and dispatch areas. Compared with the traditional grid and traffic analysis area, our presented model solves modifiable area unit problems in a quicker and more direct manner. en, the reliability model is deployed to appraise the failure probability of bike-sharing dispatch system. (2) We put forward the performance function and reliability model of bike-sharing dispatch based on OD differences, thus ensuring dynamic supply to be sufficient in an open system. (3) From the entire area to the local, we evaluate the probability distribution of bike-sharing demand, which can provide insights for future related research.

Methodology Framework.
In this article, we investigate the variation of dispatch location and dispatch quantity when reliability levels differ. e methodology framework is mainly constructed based on hotspot analysis, reliability modeling, probability distribution analysis, and case verification, respectively, as shown in Figure 1.

Mining Dispatch Points Based on Hotspot Detection.
"A hotspot for bike-sharing means an area where similar travel events take place at the same time and are geo-referenced on the map [24]. As spatial density analysis algorithms (including spatial relative analysis and clustering) make research progresses, it becomes readily easy to accurately grasp the location and influence the degree of hotspots. For example, the distribution may be responsible for the crime, disease, and traffic collision, and their evaluation is performed by hotspot detection [25]. Advancement in navigation technology enables us to receive extensive bikesharing trajectory data from moving agents and gain insights into both individual behaviors and group mobility. e study of travel characteristics based on big data and urban computing is no longer limited to the traditional coarsegrained classification. In recent years, the thinning hotspot extraction model-based density field has become an important tool to analyze OD features and tracks [26,27].
Density analysis is subject to a spatial relationship with the Earth, and it transmits data to the surface and thereby displays the distribution of spots. Nowadays, kernel density estimation is a widely used approach in geospatial analysis, and it is very suitable for density estimation of large-scale spatial point data [28,29]. Figure 2 illustrates the working principle of kernel density estimation. In the research area R, the kernel density estimation model regards a random spot as the center (called kernel k) and calculates the density value of the targeted spot in bandwidth r by determining the quantity and distance between matter spots within the bandwidth range. Kernel density analysis is used to calculate the density of points around each output raster cell. e density of each output raster cell is calculated as the sum of all the values covering the core surface of the raster cell. Figure 3 illustrates the flowchart of hotspot detection based on kernel density analysis. Data is firstly preprocessed by eliminating abnormal data, completing missing data, and extracting OD from the bike-sharing trajectory data. en, OD data are input into ArcGIS, and kernel density estimation-based spatial analyst tools are applied to output raster cells with kernel density as the raster value. e tools including kernel density analysis, Window analysis, Minus, Reclassification, Raster to Polygon, and Turning Feature into Point are used in succession to obtain the travel hotspots of bike sharing and the corresponding raster values. e working principle of hotspot detection is demonstrated in Figure 4 (Sun C., Quan W. Evaluation of Bus Accessibility Based on Hotspot Detection and Matter-Element Analysis [J]. IEEE Access, 2020, PP (99):1-1).

Establishment of Dispatch Areas.
A travel hotspot of bike sharing is defined as a dispatch point, which is deployed to buffer an area in the geographic database under the Geographic Information System so as to border the dispatch area. According to the evaluation system of the bus in the Transit Metropolis [30], the buffer radius r of the dispatch area is set as 500 meters in the article, as shown in Figure 5.

Modeling for Reliability of Dispatch for the Bike-Sharing
System. Reliability, as an important index, is often defined as the ability to complete a predetermined function within specific periods and conditions, including the safety, applicability, and durability of a product or system, which has been widely introduced in traffic safety, food safety, and so on [31]. In this article, the bike-sharing dispatch in an area is regarded as a system, and its reliability is user-oriented during an ideal period when shared bikes constantly enter and leave the area. To evaluate the reliability and failure probability, the performance function of the bike-sharing dispatch system (Z) in a dispatch area is proposed for the first time, as follows: where Q O denotes the quantity of shared bikes out of this area in unit time, i.e., quantity of O; Q D denotes the quantity of shared bikes into this area in unit time, i.e., quantity of D; x denotes the dispatch quantity of shared bikes for this area. erefore, the failure probability of the system can be calculated using the following equation, given that Z obeys a certain distribution form: Apparently, if the dispatch system is required to satisfy the demand at a certain probability level with the distribution characteristic of Z tested, the dispatch quantity of  Discrete Dynamics in Nature and Society shared bikes in a single area can be obtained using equations (1) and (2). In order to further explain the principle of the model, we compare the dispatching system in this article to a water tank, as shown in Figure 6. Each dispatching area is equivalent to a water tank, and the quantity of O per hour (veh/h) is equivalent to the water output (cubic meter/h), the quantity of D per hour (veh/h) is equivalent to the water input (cubic meter/h), and the dispatching quantity is   equivalent to the initial water volume in the water tank. erefore, the dispatch problem is equivalent to the following: when the water inlet and outlet all start to work continuously, what is the initial water volume in the water tank to ensure that the water tank will not dry? erefore, to solve this problem, the most important thing is to determine the law of water inflow and outflow, that is, the law of bikesharing OD time series.
Obviously, we take into account the interaction characteristics of bike-sharing ODs in each area, i.e., the demandsupply pattern of bike-sharing in the natural state. Not surprisingly, the shared bikes, which are constantly moving inside the city, are essentially a kind of nonhuman-intervention supply for each destination. Contrary to other dispatch models derived from usage forecast (e.g., literature [4][5][6]8]), just the dispatch problem when "self-sufficiency" is ineffective needs to be solved through our model, thus being closer to the real state of the transportation system and considerably and greatly reducing the workload in practical applications.

e Statistical Distribution of Difference between O and D
(1) e Description of Distribution Functions. First, the statistical distribution of quantity difference between O and D in a single area should be detailed in order before assessment for the reliability of dispatch system as follows: Next, according to statistics, the probability P(Z * * � d) where Z * * is equal to d can be calculated using equations (4)-(8) when Z * follows the Poisson, Rayleigh, exponential, normal, and gamma distribution [32]: where Z * is the random variable representing the quantity difference between O and D, λ 1 is the index of Poisson distribution, and n is the integer (such as 1, 2, 3, . . .). Alternatively, it is assumed that Z * in a single area is continuous and follows the Rayleigh, exponential, normal, or gamma distribution, whereby the probability density of Z * � d can be expressed as shown in the following equations: where σ is the variance of normal distribution and μ is the expectation of normal distribution.
where α 5 is the shape parameter of the gamma distribution, which mainly determines the shape of the curve, and β 5 is the rate parameter or inverse scale parameter of the gamma distribution, which mainly determines how steep the curve is. e normalization constant of the gamma distribution (the point at which the gamma value is 1) is exactly gamma function at the point α {Γ(α)}.
(2) Parameters Estimation. e MLE is employed to estimate the parameters of the above-mentioned distribution functions. e probability density of entirety is f(w; θ 1 , θ 2 . . . θ m ), w is sample value, and θ 1 , θ 2 . . . θ m are unknown parameters, based on which the likelihood function is shown in the following equation: We can get the following equation: is named after MLE of θ j , as follows: erefore, according to the MLE, the parameter estimation results of the above-distribution models are shown in Table 1. λ is the expectation, a is the reciprocal of overdiscrete parameter, and S 2 is the sample variance.

Water inlet (cubic meter (h))
Water outlet (cubic meter (h)) e chi-square test of fitting goodness for a probability distribution is applied to verify the conformity of OD difference with a certain distribution. Followings are the specific steps of hypothesis testing: Step 1: we make the assumptions according to hypothesis testing. H 0 : OD difference follows a certain distribution F 0 (x; θ 1 , θ 2 ...θ m ); H 1 : OD difference does not follow a certain distribution.
Step 2: the maximum likelihood estimation is employed to calculate the parameters (θ Step 3: the data are divided into K disjoint sets of the real numbers. X is identified as one of the erefore, we regard the original hypothesis (H 0 ) as Step 4: the chi-squared statistic is calculated using the following equation: where Q i and E i are the distributions of actual and theoretical values of samples on the interval A i , respectively, and N i is the number of samples (x 1 , x 2 . . . , x N ) falling into the interval A i and v � k − 1 − a.
Step 5: according to P value and test level (α � 0.05), we can judge the acceptable level of assumptions. If P ≥ 0.05 , then the null hypothesis would be accepted.

Study Area and Data.
is article takes Beijing as a case study. As one of the first cities to introduce shared bikes, Beijing has invested heavily in constructing a bike-sharing system in recent years, with a high coverage rate and the utilization rate among the highest in China. erefore, by analyzing the usage characteristics of bike sharing in Beijing, this article verifies the corresponding statistical distribution and proposes the dispatch strategy, including location and quantity.
is article takes Beijing bike-sharing data provided by open data sources as research data. e main fields of the dataset include ordered and bikeid (as shown in Table 2).
After data preprocessing (deletion of invalid data and redundant and abnormal data), it is input into ArcGIS software. By utilizing the tool of cutting, OD data of shared bikes in the research area are obtained. To sum up, we only need to obtain the amount of OD within each dispatch area without the need for assistance from other multisource spatial data (like spatial accessibility, social networking data, simulation data, and so on [4][5][6][7][8][9][10][11][12][13][14][15][16][17]), which can be easily achieved through GIS software. More importantly, the method in this article does not need to predict the travel demand like the existing research (such as literature [4][5][6]8]), which reduces the complexity and time consumption in practical application.

e Division of Study Period.
According to the principle of unified division, the whole day is divided into equal periods according to a fixed length of time, regardless of whether the demand for the bikes-sharing wobbles or rises. Taking every hour in the whole city as the analysis unit, a single day is divided into 24 time periods. As for the study period of seven days, there are 168 periods. During the whole study period, the total bike-sharing usage is 1830100.
As shown in Figure 7, hourly bike-sharing usage (b u ) in the entire city shows a clear bimodal distribution during the day. In the morning peak and evening peak hours, the maximum usage in bike sharing exceeds 25,000 times per hour, and the effects of the two are almost the same. In addition, there tend to be zero shared bikes between 0:00 a.m. and 6:00 a.m. Table 1 based on the maximum likelihood method, parameters of the Poisson, Rayleigh, exponential, normal, and gamma distribution are estimated using hourly bike-sharing usage out of 168 periods in the entire city (as shown in Table 3).   In turn, the probability values calculated by the abovementioned chi-square test (Section 2.4) show that based on other fitting indicators, we can identify whether the bikesharing usage follows a certain probability distribution (as shown in Table 4).

Evaluation for Fitting Goodness. According to the equations in
P is the probability of accepting the hypothesis. e closer P is to 0, the more likely it is to reject the null hypothesis. LSTAT is the value of the test statistic, and CV is the cut-off value for rejecting the null hypothesis. According to Table 4, for all the selected distributions, there are large gaps between the actual usage and distribution value for bike sharing. Combining the fitting results in the R language, we reject the null hypothesis because values of P are all less than 0.05. erefore, bike-sharing usage is not expected to follow the normal distribution, c distribution, Poisson distribution, exponential distribution, or Rayleigh distribution. However, we find that within seven days, the average usage of bike sharing per hour is lower than 2000 from 0:00 a.m. to 6:00 a.m., while the average value is larger than 15000 from 6:00 a.m. to 24:00 p.m. e small usage during the early morning hours quite differs from other periods. erefore, we divide a day into the early morning time period (0:00-6:00) and the nonearly morning time period (6:00-24:00). In this article, we just focus on the bike-sharing dispatch during the nonearly morning time period.
Based on the above-mentioned division principle, the hourly data during nonearly morning time period are input into the distribution model for refitting. e results show that, compared with other models, the data for this period are more suitable for the normal distribution model, which meets the significance requirements of accepting the null hypothesis (H 0 ). According to MLE, the parameters of the normal distribution have changed into λ � 14296 and σ 2 � 42532474. In addition to the chi-square test, the Kolmogorov-Smirnov method is also used to test whether the data follow the normal distribution in R language. By comparing the frequency distribution F(x) with the theoretical distribution G(x) or the distribution of two observed values, whether the data are consistent with the test hypothesis can be judged. e null hypothesis (H 0 ) indicates that the data follow the normal distribution with the rejection area of DS � max| f(x)-g (x)|. If the actual observed value DS > DS (n, α), H 0 would be rejected. Otherwise, H 0 is accepted. According to the results of fitting, DS � 0.148 < DS(n, α), P � 0.0512 > 0.05, LSTAT � 0.1192>CV � 0.0046. Hence, we can accept H 0 , indicating that the bike-sharing usage amount in each hour is normally distributed. e probability density function is shown as follows: Equation (12) is integrated on the frequency interval so as to obtain the probability value corresponding to the frequency interval. e product of probability and the total quantity of samples is the fitting value of normal distribution for bike-sharing usage amount. For the entire city, the quantities at O and D are equal to the bike-sharing usage. erefore, both O and D follow the same normal distribution, as shown in equation (12). Besides, according to the sampling theorem, the distribution characteristics of a part  Discrete Dynamics in Nature and Society extracted from the whole should be the same as that of the entirety. In other words, when a small sample area is selected from the entire city, the bike-sharing OD points in this area should also follow the normal distribution.

e Mining Results of Dispatch Point and Area.
After coordinate conversion and data cleaning for data preprocessing, OD points of bike-sharing in urban Beijing are collected and displayed on the coordinate system of WGS1984. Based on the kernel density analysis algorithm, the heatmap of bike-sharing trips within Beijing is obtained by capturing OD data, as shown in Figure 8(a). Next, bikesharing dispatch points are mined under hotspot detection and dispatch areas are established to identify the dispatch quantity. According to the methodology described in Section 2, all of the hotspot detections are performed with tools in ArcGIS, including 8334 travel hotspots of bike sharing calculated by raster value, as shown in Figure 8(b). Next, based on travel hotspots, 8334 buffers are constructed as dispatch areas, and the search radius is 500 meters, which are input into the geographic database. Especially, 50 hotspots out of all are selected to demonstrate the morphological characteristics of dispatch areas and to illustrate the modeling process for identifying the dispatch quantity, as shown in Figure 9.
Apparently, most studies have been keen on the crosstime and cross-regional management of bike sharing, such as literature [4,7,8,[12][13][14][15], but there are few good methods for single small-scale regional allocation or optimization. e hot travel zones enable the modeling problem of bikesharing dispatch to be solved in a single area, even in a community or a school. Compared with others, by applying the dispatch model to areas with a large usage amount, the balance between supply and demand of shared bikes can be realized more effectively, which is also one of the difficulties in bike-sharing management. Moreover, unlike other complicated multiredistribution models such as literature [11,14], it is necessary to dispatch bike sharing within each small area only once a day in this article, and the cost of manpower and material resources will be greatly saved.

e Identification for Dispatch Quantity.
e dispatch areas obtained by clustering algorithms and hotspot detection are essentially samples randomly subject to sampling within the entirety. is means that the difference between O and D during the nonearly morning time period in every dispatch area also conforms to the normal distribution, which is also consistent with the test for probability distribution and fitting goodness according to Section 2.4. erefore, based on the distribution function, we can expect the bike-sharing dispatch quantity in each dispatch area to be at different reliability levels. For example, for the No. 27 dispatch area selected in this article, the mean and variance of O and D for shared bikes during the nonearly morning time period are calculated as follows: � 37, and σ 2 (D) � 545.68. erefore, the normal distribution models of the two are shown in the following equations, respectively.
Further, when both O and D follow the normal distribution, the dispatch quantity x is equivalent to a constant. According to the nature of normal distribution and equation (1), the OD difference of bike sharing (Z * ) and the performance function of bike-sharing dispatch system (Z) should also both follow the normal distribution, and then the distribution function of Z is as shown in the following equation: According to (2), the system would fail when Z < 0, which is the area corresponding to the shaded section in Figure 10. e larger the initial quantity of dispatch (x) is, the smaller the failure probability of the system will be as the distribution function moves to the right, or in other words, the higher the system reliability of bike-sharing dispatch will be. According to the image of the distribution function, the failure probability of the system under different input states can be obtained, as shown in Table 5. It is obvious that for the dispatch model in this article, we just need to calculate the mean and variance of OD within each dispatch area, which are the most basic metrics in statistics. Compared to other complex algorithms, including Demand-Forecast-Based Self-adaptive Model [6], Nonlinear Autoregressive Neural Network Forecasting [8], Mixed-Integer Linear Program [13], and 3-Step Math Heuristic [15], the model proposed in this article does not require a specially designed solution algorithm and has a low threshold for application in different cities, making it more practical.
According to  Discrete Dynamics in Nature and Society can meet the travel demands within the 27th dispatch area is larger than 50%. With the increase of initial dispatch quantity, the system reliability to meet travel demands in the dispatch area is gradually improved. Moreover, the system reliability is over 80% after the initial dispatch quantity reaches up to 25. While the initial quantity of bike-sharing dispatch exceeds 47, the system reliability is over 95%. More importantly, the failure probability corresponding to a dispatch quantity of about 70 is 0. Based on the reliability principle, the above process solves the dispatch model within  all 8334 dispatch areas so as to obtain the dispatch quantities for bike sharing at different reliability degrees. Taking selected dispatch points and dispatch areas (as shown in Figure 9) as examples, Figure 11 shows that the optimal dispatch quantities of shared bikes during the nonearly morning time period in each area are at 70%, 80%, 85%, 90%, 95%, and 99% reliability degrees, respectively.
is article shows the spatial variation pattern of bikesharing dispatch during the nonearly morning time period with selected 50 dispatch areas as an example. As can be seen in Figure 12, the initial dispatch quantities at the downtown area required to meet the system reliability are larger. Especially, the dispatch quantities are more significant when consistent with the 99% reliability. Some dispatch areas require more than ten initial dispatch quantities, such as 18th, 22nd, 27th, and 31st, while the initial dispatch quantities required in the outlying district are obviously smaller. Even in some areas, the initial dispatch quantities meeting the reliability requirements are close to zero. ese patterns are consistent with the intracity commuting characteristics and provide a reference for the next step of traffic planning and control. In addition, all of the dispatch results and variation patterns described above are derived from data for the nonearly morning time period. However, the usage amount of bike sharing in the early morning time period is very small, and the average hourly usage amount of  Figure 12: Spatial distribution characteristics of dispatch quantity. Discrete Dynamics in Nature and Society each dispatch area is close to 0. is indicates that when the dispatch quantities during the nonearly morning time period meet the reliability requirements of the system, they should also meet the travel demand during the early time morning, so there is no need for further discussion.

Discussion and Conclusion
From the perspective of OD differences, this article explored a new model for the bike-sharing dispatch based on the reliability and hypothesis testing, which realized analysis of the distribution characteristics and the establishment of relatively flexible dispatch strategies at different failure probabilities. (1) e article completed dispatch site selection through the hotspot detection method. e kernel density analysis and bike-sharing trajectory data were carried out to explore the optimum dispatch location and establish the dispatch areas with a higher heat value corresponding to the demand of bike-sharing travel, which could be used to dynamically monitor and track the variations of bikesharing demand temporally and spatially. (2) is article implemented the definition and modeling for the reliability of the bike-sharing dispatch system. Bike sharing was of public nature, whose demand and supply in a single area were regarded as a system. e reliability of the dispatch system was for the first time defined as the ability to satisfy the demand of potential users during ideal periods when shared bikes constantly went in and out of a certain area. e reliability model of the system to meet the travel demand was derived from the performance function of the bike-sharing dispatch based on the OD difference. (3) e probability of bike-sharing usage distribution has been evaluated. A test of fitting goodness based on chi-squared statistics was selected to demonstrate the applicability of some distribution models, including the Poisson, Rayleigh, exponential, normal, and gamma distribution, the principle of which was introduced in this article. Furthermore, the fatal defectives of the Bayesian method were overcome using MLE to avoid information of the prior probability in statistical inference. (4) Beijing was taken as the sample in the case study for methodology verification. e whole day was divided into 24 time windows and 2 study periods. e bike-sharing usage within 168 hours in a week served to analyze probability distribution and hypothesis test. e results showed that both the hourly bike-sharing usage and the OD difference in a single dispatch area conformed to the normal distribution. Additionally, according to the properties and parameter values of the distribution function, the dispatch quantities for bike-sharing within all the 8334 dispatch areas at different confidence levels were assessed based on reliability. Moreover, the spatial variation patterns of dispatch quantities for bike-sharing were consistent with the intracity commuting characteristics, which provided a reference for the next step of traffic planning and control.
Further discussions are still necessary: (1) the dispatch quantity is only demonstrated by the probability distribution of bike-sharing usage. Compared with machine learning models and time series-based track characteristics of bike sharing, this article never gives sufficient consideration to other spatial geographic and social elements. (2) We mainly focus on the dispatch of bike sharing without the connections to other modes of transportation, such as subway and bus, which have been developing fast in many cities. (3) OD data of bike-sharing within one week is provided as a model for the reliability of matching between dispatch and demand, which lacks considerations in weather and sudden events.

Data Availability
e data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest
e authors declare that there are no conflicts of interest.