The Dynamic Analysis of the Cash Flows on ATM

Based on the time series of cash flows on ATM, the varying rule of withdrawal is analyzed. The model of autoregression and moving average is established by Matlab and the reliability is checked. According to the model, the cash flows on ATM are forecasted in the coming 10 days. It is important for banks to prepare the cash.

. ATM cash flows predicting procedures.
Time series analysis is a fast developing discipline due to its wide range of application, which leaves us enormous mathematic models illustrating time series. Main models include ARIMA (autoregressive integrated moving average model), wavelet model, and neural network model [1] [2] [3]. However, this article adopts the most typical model and a model applied most widely-the autoregressive moving average model for the illustration of the varying rules of ATM cash flows.

Data Import
Time series is featured by that the data values vary with time, which means, there is great randomness in values or locations of points for different moments. It is not possible to accurately predict values by historical values. However, the values before and after the moment or the location of data points have certain correlations [4] [5] [6]. This article adopts Matlab as the tool for modeling and analysis. It imports original data of daily withdrawal of an ATM in the year of 2016, which constitutes the time series to be analyzed and is stored in the system as output column vector

Stationarity Evaluation
Use Matlab toolbox to analyze the stationarity of time series and employ default ARMA models and relevant parameters provided by Matlab for time series modeling. As shown in Figure 2, the stationarity of original data is weak.
By observing the fit of the model, we can find that: the fit of the model is 3.3381. Since the stationarity of the model is relatively weak, the fit of the model is not strong. Therefore, the original data requires stationarity processing.

Data Preprocessing
In order to better model and predict, data should be firstly subject to stationarity processing. The method adopted is to differencing the data by EXCEL and get a more stationary group of series. Import the processed data into Matlab and we will see Figure 3 in the Matlab toolbox.
The stationarity of the series curve after stationarity processing is better than the curve of original data, and the fit of the model is also better than the original ones. As shown in Figure 4, compared with the original time series, the time series after preprocessing offset the trend components of the original time series, which means, the processed one filters out the low frequency part.

Order Determination
After stationarity processing, it is the stage of order determination, which means, to determine the values of p and q in ARMA (p, q). Since the order de-      It is concluded that the model fit of (p = 4, q = 3) is better than the fit chart of other selected orders. Therefore, ARMA (4, 3) is selected.
And the standard form of the ARMA model is: In which, B is the backward shift operator and ( ) t ε is white noise. This model may be simplified as:

Model Checking
First evaluate the independency of the model residual, that is, to evaluate whether analyzing residuals have autocorrelation, so as to get the corresponding residual analysis graph Figure 6. In Figure 6, we can see clearly that the residuals are strictly distributed between −0.1 and 0.1, by which we can conclude that the model residuals have no autocorrelation and the independency of the model residuals are strong. Therefore, this ARMA model is suitable for simulating this time series.
In addition, difference analysis is conducted and the residual plot is as shown in Figure 7. Besides, by calculation, we can get the average error of 14.12% (Average accuracy is 85.88%), which proves that this model has sound original data for fit and that this model may be employed to predict future values.

Predict
After the model is built, we proceed to the stage of prediction. The adopted principle for prediction is to obtain corresponding estimates through simulation of data by the model and the estimates are the predicted values. The prediction may be easily completed by using Matlab toolbox. This is the predicted cash

Conclusions
Data analysis is always a popular topic for research, creating various new cross-disciplines. It gathers research findings of various disciplines including machine learning, database, pattern recognition, statistics, AI, management information system and etc., and attracts experts and scholars of different backgrounds to engage in research and development in this area. It is deemed as an important tool bringing huge returns by the business circles. Especially, the utilization of times series research methods in solution and prediction of actual issues are applied in a wide range of areas. It has been transferred from pure theoretical studies to more practical connection, integration and application in the real world and engineering practices. By using the varied types of times series and through analysis and choosing of proper mathematic models, we can predict future occurrence and realize our purpose of understanding of things.
This article predicts cash flows of an ATM by analyzing the ATM cash flows data and building ARMA models. As we all know, the application of ATM is an integral part of a society of which the life pace is speeding up. Every day, there is a considerable amount of cash withdrew by means of ATMs. Therefore, the accurate prediction of daily cash flow is of great importance for banks and corresponding organizations in preparation and allocation of cash.