Abstract

In order to improve the effect of bank interest rate volatility analysis, this article combines actual conditions and machine learning algorithms to construct a fluctuation analysis model of bank interest rate based on computer statistical model and machine learning. For the data with system transformation, the data contains stationary and nonstationary processes; so, the power of the standard unit root test is low. This paper therefore proposes a new unit root test method. From demand analysis, system design to system implementation, and testing, advanced software engineering-related ideas are adopted, and the bank’s interest rate management system is designed and implemented in strict accordance with software development-related processes. This paper adopts the modular design idea, classifies the functions to be realized according to their content, and conducts structural verification and performance analysis of the functional modules. Through experimental analysis, we can see that the system model constructed in this paper has certain effects in the analysis of interest rate fluctuations.

1. Introduction

With the continuous improvement of China’s financial market mechanism and the continuous enrichment of market levels, the interest rate sensitivity of microentities has been greatly improved. Moreover, the development of China’s economy has gradually shifted from extensive development to sustainable development based on structural optimization, and the shortcomings of quantitative monetary policies have gradually become apparent. In order to cope with this change in the development mode, the monetary and credit policy is changing from “overflow irrigation” to “precision drip irrigation.” Therefore, it is very important to establish a price-guided financial market operation mechanism and a monetary policy guidance mechanism [1].

To implement a financial market operation mechanism based on price guidance, first of all, it is necessary to cultivate the sensitivity of microentities to prices. In addition to a complete market mechanism, it also requires the stable and orderly operation of the financial market. The central bank’s monetary policy is predictable, and the central bank’s monetary policy toolbox contains a wealth of tools to deal with different financial shocks [2]. Therefore, on the one hand, the financial market needs to build a stable market-based benchmark interest rate. The benchmark interest rate is determined by a market-based mechanism and can accurately reflect the liquidity fundamentals of the financial market. In addition, it is necessary to ensure the smooth operation of the benchmark interest rate of the money market and the ability to dilute liquidity shocks and ensure the smooth transmission of monetary policy guidance from the short-term money market to the long-end capital market and then to the real economy. On the other hand, the central bank has a strong ability to guide the benchmark interest rate. Based on this, the reform of interest rate marketization is imperative. Therefore, studying the characteristics of currency market interest rate fluctuations and how effective influencing factors affect money market interest rate volatility is of great significance for the central bank to gradually improve its ability to guide money market interest rates and improve the predictability of money market liquidity shocks, thereby improving participants’ resilience. Judging from the development of benchmark interest rates in my country’s currency market at this stage, the current benchmark interest rates in the financial market consist of inter-bank lending rates, banker pledged repo rates, and money market interest rate systems such as SHIBOR that our country is vigorously fostering [3]. Judging from its volatility characteristics, the interest rate volatility of the Chinese currency market is much higher than that of other countries. As the People’s Bank of China implements a liquidity management framework with structural liquidity shortage, when liquidity is relatively short, the preventive liquidity demand of commercial banks will rise sharply, which will lead to substantial fluctuations in interbank money market interest rates. However, after the Central Bank began to focus on building an interest rate corridor mechanism that stabilizes the liquidity expectations of commercial banks, the fluctuation of interest rates in the interbank money market has dropped significantly. In recent years, on the one hand, the central bank has focused on building a currency market benchmark interest rate with global representative capabilities, ensuring that its fluctuations can represent the actual situation of currency market liquidity shocks and controlling its fluctuations within a certain range. On the other hand, the government has built a rich monetary policy tool system, stabilized the liquidity impact expectations of commercial banks, improved the predictability of monetary policy, strengthened the central bank’s ability to guide the money market benchmark interest rate, and reduced the friction of monetary policy in the money market-credit market-real economic transmission channel.

Based on the above analysis, this article analyzes the fluctuation of bank interest rates based on computer statistical models and machine learning models.

The literature [4] constructed a stochastic model specifically used for commercial banks to describe changes in their deposit reserve requirements under different circumstances and studied the related issues of commercial banks’ reserve requirements in more detail and indepth. The literature [5] analyzed the specific operation process of the interest rate corridor monetary policy control framework. The research shows that even under the zero reserve policy, the central bank’s monetary policy can be very effective. Because the primary goal of commercial banks is to maximize their own profits, the central bank adjusts the width of the interest rate corridor by changing the upper and lower limits of the interest rate corridor. Without the need for open market operations, the lending rate of commercial banks will be controlled near the target interest rate expected by the central bank. The literature [6] used the method of establishing a geometric model to study and elaborate the basic and operating principles of the interest rate corridor in detail. It is believed that if the settlement balance of commercial banks at the end of each trading day can be controlled at zero, then through the control of interest rate corridors, the basic interest rate of the money market can be stabilized near the central bank’s target interest rate. The research in the literature [7] is based on the commercial bank reserve requirement model. Moreover, it pointed out that if the central bank’s policy target interest rate can be higher than the midpoint of the interest rate corridor, then the central bank’s level of short-term market interest rate regulation will not be affected by the interest rate corridor range and the size of the policy target interest rate. The research of the literature [8] is from the perspective of social welfare. It is believed that the interest rate in the corridor should be set to a width greater than zero, so as to optimize the effect of monetary policy. The literature [9] believes that the policy control effect of the interest rate corridor is far superior to the traditional open market operation, but it believes that if only the interest rate corridor is used as a control method, it will reduce the efficiency of cash distribution. Therefore, the optimal method of monetary control policy should be a combination of interest rate corridors and open market operations. The literature [10] analyzed the new form of “floor-style” interest rate corridors that emerged after the financial crisis. It is believed that once the width of the interest rate corridor is set by the central bank, if the overall mobile interest rate corridor model does not change its width, the final control effect of the interest rate corridor on market interest rates will not be affected. The literature [11] believes that the core of the interest rate corridor, the monetary policy control framework, is the width of the interest rate corridor. The literature [12] pointed out in the research that the Fed’s rediscount window is an emergency funding aid, not a regular loan facility; so, commercial banks will only apply for special circumstances. In addition, interest on deposit reserves is not available to all commercial banks. Sometimes, market segmentation occurs in the federal funds market, which will cause market interest rates to fall below the lower limit of the interest rate corridor and cause market interest rates to deviate for a long time. The literature [13] elaborated on the specific practice of adopting zero reserve system and interest rate corridor in some countries in the world. The literature [14] summarized the actual experience of China’s open market operations, in which the upper limit interest rate of the interest rate corridor is selected as the overnight automatic pledge financing interest rate, and the lower limit interest rate of the interest rate corridor is selected as the reserve interest rate. The literature [15] elaborated on the origin, development, and mechanism of the interest rate corridor and explored the optimal width of the interest rate corridor and the influence of the benchmark interest rate of the money market on the interest rate corridor. The literature [16] compared the monetary policy framework of interest rate corridor with traditional open market operations and believed that our national central bank should adopt both interest rate corridor and open market operations to achieve the best regulatory effect. The literature [17] selected several typical countries and regions that have implemented interest rate corridors to prove that in the same period, the short-term market interest rate fluctuations of countries that have implemented interest rate corridors are lower than those of countries that have not implemented interest rate corridors. Moreover, the narrower the interest rate corridor, the less volatility of short-term market interest rates. The literature [18] analyzed the regulation mechanism and regulation characteristics of the interest rate corridor, a monetary policy framework. The literature [19] believes that China’s implementation of the interest rate corridor monetary policy framework is a positive response to the reform of interest rate marketization, which reduces social financing costs, improves market efficiency, and has played a strong role in promoting the pricing basis of China’s marketized interest rates. The literature [20] elaborated and analyzed the operation of the interest rate corridor and analyzed the advantages and disadvantages, which can help the construction of the interest rate corridor.

3. Interest Rate Fluctuation Analysis Algorithm

We set as a random variable, which can be assumed to take only an integer value .

Such a process is called an -state Markov chain with transition probability .

It is often convenient to list the transition probabilities as an matrix [21].

The element in the -th row and the -th column of is the transition probability .

Generally, when an -state Markov chain is reducible, if there is a way to indicate each state, the transition matrix can be written as follows:

Among them, represents matrix, . If a Markov chain is not reducible, it is called irreducible.

An -state irreducible Markov chain with a transition matrix of is investigated. If one eigenvalue of is assumed to be l and the remaining eigenvalues of P all fall within the unit circle, the Markov chain is called traversal. The vector of the traversal probability of a traversal chain is denoted as . This vector is defined as the feature vector corresponding to the unit feature root of ; that is, the traversal probability vector satisfies [22]:

The feature vector is a normalized vector; so, the sum of its elements is l. It can be proved that if is the transition matrix traversing the Markov chain, then

The traversal probability vector can be interpreted as an unconditional probability vector.

The following describes how to calculate the traversal probability of an -state Markov chain.

For a general process of traversing states, the unconditional probability vector represents a vector , and has properties and , where 1 represents an vector that each element is l.

We therefore look for a that satisfies the following formula [23]:

Among them, represents the -th column of , and

Such a solution can be obtained by multiplying the front of formula (7) by :

That is, is the -th column of matrix .

3.1. Parameter Estimation of Markov System Transformation Model

The Markov system transformation model is mainly used to model data containing system changes. The general model studied in this paper is as follows. We set as an observed endogenous variable vector and as an observed exogenous variable vector. If the process is controlled by the system in period , the conditional density of is assumed to be

Among them, is a parameter vector that characterizes the conditional density. If there are different systems, then there are different densities represented by the above formula, . These densities will be listed as an vector, denoted as .

For a first-order autoregressive, its constant term and autoregressive coefficient can be different on different subsamples:

Among them, . System is regarded as the unobserved consequence of the -state Markov chain to model. is independent of for all and .

Thus, for the example described in the above formula, is a quantity , and the exogenous variable only contains a constant term . The unknown parameters in include and . In system , the two densities represented by the above formula are

We assume that the conditional density depends only on the current system and not on the past system:

We assume that evolves according to a Markov chain, and it is independent of the past observations of or the current and past observations of :

These parameters are listed as a vector . An important goal is to estimate the value of based on the observed value of . We assume that the value of is certain to the analyst. However, even if we know the value of , we do not know in which system the process is located in each period in the sample. What we can do is to form a probabilistic inference as a generalization of the following formula.

Among them,

The above formula is the unconditional probability of the value of .

This inference takes the form of conditional probability, and the analyst can arrange this probability so that the -th observation value is listed as a vector by system .

These predictions are listed as a vector , and its -th element represents .

The optimal inference and prediction for each period in the sample can be obtained by iterating the following equation:

represents the vector, the -th element is the conditional density, represents the transition probability matrix, 1 represents the vector with each element being 1, and represents the element-to-element multiplication. After the initial value and the assumed value of the overall parameter are given, the above formula can be iterated at to calculate the and values for each period in the sample. The value of the log-likelihood function for the observed data at used to form the iteration can be obtained as a by-product of this algorithm, which is

Among them,

An initial value is given to calculate for any . There are several options for selecting initial values. One way is to make equal to the unconditional probability vector, which is denoted as . Another option is to make

Among them, is a fixed vector of nonnegative constants whose elements are 1, such as . In addition, can be estimated by the maximum likelihood function, and its restriction is and for .

represents the vector whose -th element is .When , this represents the prediction of the system in a certain period in the future.

When we take the available information in period as the condition, and use to represent the forward m period forecast based on period , we can get

Smooth inference can be calculated using the algorithm established by [24]. In vector form, this algorithm can be written as

Among them, the symbol represents element-by-element division. The above formula is about backward iteration to get the smoothing probability . The iteration starts from at , and the algorithm is effective only when obeys a first-order Markov chain. When the conditional density depends on only through the current state , and when the lag value of the explanatory variable vector instead of is strictly exogenous, is independent of for all and .

The parameter vector is taken as a fixed known vector. For a given fixed , once the iteration is completed for , the log likelihood value implied by the value of can be known according to the formula. The value of that maximizes the log likelihood can be obtained by the BFGS algorithm.

4. Bank Interest Rate Analysis Model Based on Computer Statistical Model and Machine Learning

With the support of the above interest rate algorithm, the bank’s interest rate fluctuation analysis model is constructed.

In actual development, the MVC development structure is the main development structure, which mainly refers to the unified operation of the display layer, control layer, and data layer to JSP or JavaBean for processing. The following is the structure diagram of the MVC development structure, as shown in Figure 1:

To implement the MVC mode in the JavaEE development environment, the most critical part is to use the RequestDispatcher interface, because the content is saved to the JSP page for display through this interface. When a user submits a request, it will be handed over to the Servlet for processing, and then the Servlet calls the JavaBean, and the operation result of the JavaBean is passed to the JSP page through the RequestDispatcher interface. Since the content to be displayed is only valid in a request response, in the MVC design mode, all attribute transfers will be passed using the Request attribute range, which can improve the operational performance of the code, as shown in Figure 2.

The B/S structure and MVC structure adopted by this system are shown in Figure 3, and the operating structure of the application system based on the B/S structure is shown in Figure 3. The model process is client-server database.

The MVC development structure diagram of this system is divided into three layers according to the MVC model, and the technology used each time is realized by the JavaEE development environment. The following is the architecture diagram of statistical system of bank interest rate, as shown in Figure 4.

From the architecture diagram in the above figure, we can see that the client level is the interface between the user and the system, which is mainly implemented by JSP pages. In the corresponding layers, JSP, JavaBean, and Servlet have a clear division of labor. In the MVC framework, we use the more mature Struts framework and use the Action layer in the Struts framework to call the Javabeans in the business layer to complete various business functions. In the implementation technology of the database layer, JDBC technology is used to realize the access of other layers to the database, including database update and storage. What needs to be explained here is that Struts is just an implementation of MVC; after all, it is still an MVC development structure.

The modular design of the system comes from the needs of various financial institutions, mainly commercial banks and financial regulatory agencies, the demand specifications formed by the research, and the business needs and expected goals of each unit in the interest rate statistics work. The bank interest rate statistical analysis system is divided into five modules: data collection and reporting, data statistics, report generation, user management, system maintenance, and management. The module structure diagram is shown in Figure 5.

The data collection module is mainly composed of three modules: data upload, data verification, and data integrity check. Data upload includes data file reporting, data file query after the report is completed, data integrity check after the query is correct, and the integrity check passes after the data verification; the data reading status will be displayed after the data verification. You can check whether the data is read successfully or not. At the same time, you can query the number of data records after the data verification to prepare for missing or wrong reports. Afterwards, a data integrity report can be generated. The data integrity report is a prerequisite for data statistics and also a prerequisite for the data statistics module.

The functional structure diagram of the data collection and reporting module is shown in Figure 6.

After confirming that all the basic interest rate information tables are correctly entered into the database, the system performs summary calculations. In summary calculations, each statistical template is subjected to background summary calculation according to the specific calculation formula of each report. After the calculation is completed, the summary results are saved in the database. Due to the large amount of calculation data and the long waiting time for users to generate report calculations, it is not feasible to dynamically generate reports when querying. In order to solve this problem, the system adopts the following schemes for data aggregation: (1) the server performs centralized back-end summary in a certain period of time, generates intermediate results, and stores them in the database. When users generate reports, they directly extract data from the intermediate results. (2) The function of summary calculation is triggered by the statisticians of the branches of the People’s Bank of China to calculate all the data of the whole province, and the statisticians of each central branch will no longer perform the operation of summary calculation. (3) The administrator can trigger data aggregation when off-duty, and use off-duty time for aggregation to reduce server pressure. The data summary statistics module is composed of three parts: completeness test report, data statistics trigger, and data statistics result management, as shown in Figure 7:

The interest rate management system is based on the B/S architecture and is developed and implemented using the JAVA programming language. The overall architecture is mainly composed of the browser side and the server side. The browser side is the entrance to access and use the system, and the server side is the business processing service provider and data processing and storage part of the entire system. The physical deployment diagram of the system is shown in Figure 8.

In order to ensure the stable and efficient operation of the system at the hardware level, the relevant parameters of current hardware manufacturers are fully studied. In terms of hardware selection, it is necessary to consider the needs of the system itself and also consider the development possibilities and trends of the bank’s future deposits and loans.

5. Performance Verification of Bank Interest Rate Analysis System

After constructing the bank interest rate fluctuation model based on computer statistics and machine learning, in order to verify the effectiveness of the system in this paper, the system model is verified and analyzed. First of all, this article analyzes the stability of the system. The system constructed in this article requires a large amount of data processing. Therefore, it is necessary to ensure that the interest rate analysis model itself has a certain degree of stability and has the ability to continue working after processing a large amount of data. Finally, this paper uses a large amount of random financial data to train and detects the running speed of the model in this paper. The results are shown in Table 1 and Figure 9.

From the above analysis results, we can see that the bank interest rate fluctuation analysis model constructed in this paper has always performed well in the data processing process. On this basis, the bank interest rate analysis effect is evaluated, and the results are shown in Table 2 and Figure 10.

It can be seen that the bank interest rate fluctuation model based on computer statistical model and machine learning constructed in this paper has good results.

6. Conclusion

With the steady progress of financial institution reform and interest rate marketization, in the context of the People’s Bank of China continuing to expand the autonomy of interest rate pricing of financial institutions, it is necessary to summarize the loan interest rates of financial institutions, grasp the actual interest rate level, and continuously optimize interest rate policies. The development of the bank’s interest rate statistical analysis system has realized the unification, standardization, and efficiency of the reporting and statistics of interest rate data of various financial institutions and has provided important data references for decision-making departments. The organization structure of this article is based on the needs of the various business requirements departments. Moreover, this article designs each functional module of the system in detail, designs each part of the system process and system examples, and determines the technical route of framework development using MVC + JDBC. In addition, this article combines requirements to construct a bank interest rate fluctuation analysis model based on statistical models and machine learning and analyzes and verifies through experiments. From the research results, it can be seen that the system constructed in this paper has a significant effect.

Data Availability

The labeled dataset used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The author declares no competing interests.

Acknowledgments

This study is sponsored by the Key R&D and Promotion Project (soft science research) in Henan Province (No. 212400410097) and Project of Philosophy and Social Science Planning of Henan Province (No. 2020JC31).