key: cord-0852990-8ab80sa4 authors: Qiu, Chang title: China's Economic Forecast Based on Machine Learning and Quantitative Easing date: 2022-03-26 journal: Comput Intell Neurosci DOI: 10.1155/2022/2404174 sha: 706dae130b57b9558c1ccccf4bacc335b168a1ad doc_id: 852990 cord_uid: 8ab80sa4 In this paper, six variables, including export value, real exchange rate, Chinese GDP, and US IPI, and their seasonal variables, are used as determinants to model and forecast China's export value to the US using three methods: BP neural network, ARIMA, and AR-GARCH. Error indicators were chosen to compare the simulated and predicted results of the three models with the real values. It is found that the results of all three models are satisfactory, although there are some differences in their simulation and forecasting capabilities, but the ARIMA model has a clear advantage. This paper analyses the reasons for these results and proposes suggestions for improving China's exports in the context of the models. Export trade is one of the driving forces behind China's rapid economic growth, and the United States, as China's top export trading partner, has a huge impact on China's economic development. However, recently, due to the global economic crisis and the appreciation of the RMB against the USD, China's export growth has started to slow down and even become negative. erefore, modelling China's exports to the US and quantifying the factors that influence them is extremely important in order to predict and take measures to increase China's export value [1] . Quantitative easing has been in place for many years, but the theoretical basis for this so-called unconventional policy has not yet been agreed upon by academics, and there is still much disagreement. In addition to the "liquidity trap theory," many believe that the "non-neutral money theory," "financial accelerator theory," and the "great depression theory" proposed by Bernanke and others are the theoretical foundations of this policy. e "great depression theory" proposed by Bernanke and others also forms the theoretical basis for quantitative easing [2] . As a result of the implementation of quantitative easing, his theories are considered to be the veritable foundation of quantitative easing. However, the relationship between MMT and quantitative easing has been highlighted by the academic hype about modern monetary theory (MMT), the great recession and the implementation of unlimited quantitative easing, i.e., the former is the theoretical basis of the latter and the latter is the concrete practice of the former [3] . At present, academics have basically reached a consensus on whether MMT belongs to the theoretical basis of quantitative easing policy, but there is a greater controversy over the understanding of quantitative easing policy itself and its theoretical basis. Some domestic scholars who hold opposing views believe that MMT has major theoretical flaws and its basic proposition is a serious departure from reality, and thus a fallacy. e quantitative easing policy based on this theory also has major flaws, as it is essentially a kind of monetisation of fiscal deficits, in which fiscal expenditure is regarded as money creation and fiscal revenue is regarded as money recovery [4] . is is essentially an act of "robbing the poor to give to the rich" and "pulling the wool over the world's eyes." Some mainstream economists abroad have also taken a negative view of MMT, arguing that it is both detrimental to the development of economic theory and harmful to real economic policy. Some scholars, however, are enthusiastic about the theoretical claims of MMT, arguing that it is a disruptive theoretical innovation, a fundamental rejection of mainstream macrofinance and fiscal theory, and even a solution to a major problem in the field of political economy. e author believes that whether the theoretical basis of quantitative easing policy is scientific or not must not only be tested by practice but also evaluated from the perspective of Marxist political economy. erefore, based on the effectiveness of quantitative easing policy in the US, this paper systematically analyses the relationship between the operation process of quantitative easing policy and its theoretical basis, discusses the trend of normalisation of quantitative easing policy and its limitations from the perspective of Marxist political economy, makes necessary arguments on the internal link between quantitative easing policy and MMT, and points out the importance of conducting this study to China's understanding of quantitative easing policy and the formulation of policies to cope with the current round of the great recession. e study is also useful for China to understand quantitative easing and formulate policies to cope with the current round of the great recession [5] . In the existing export trade forecasting literature, the main quantitative forecasting methods are ARIMA models, AR-GARCH models, neural network modelling methods, and some extensions based on them. Of these, the ARIMA and AR-GARCH models are upgrades of traditional time series models (exponential smoothing, moving average, etc.), and these linear forecasting methods have the advantage of being simple, intuitive, and highly explanatory. ere is also a small body of literature on export trade forecasting using cointegration models, support vector machine models, and grey system methods. In terms of variable selection, the usual empirical variables are often used: export value variables, real exchange rate variables, GDP variables of importing and exporting countries, and their lagged variables. In addition, since macrovariables tend to be highly seasonally cyclical, they are generally seasonally adjusted in the literature [6] . e empirical evidence is as follows: Yildirim and Ivrendi [7] extend the univariate ARMA model to multiple variables and test the model's effectiveness with forecasts of export effects for Sweden. A univariate ARIMA model based on a Bayesian search algorithm is presented in [7] , which is empirically shown to be less effective in predicting seasonal models than nonseasonal models. In [8] , a neural network model was used to forecast the export of DOC in Scotland, and methods such as increasing the sample size and improving the parameters were proposed to improve the accuracy of the model. e ARIMA model was developed using the monthly export data of China from 2015 to 2021, with lagged export data as the determinant variable, trend differencing and seasonal differencing, and was used to forecast China's exports in 2023. [9] An AR-GARCH model was developed to simulate China's exports to the US using empirical variables as determinants and excluding seasonal effects, and a dynamic conditional correlation coefficient (DCC) model was used to analyse the impact of RMB appreciation on exports. Fofack et al. [10] analyse the application of cointegration techniques and error correction models based on them in forecasting, propose a nonlinear error correction forecasting model based on neuronal networks, combining the characteristics of neuronal networks, and forecasts the general situation of China's export trade in 2023. [11] An empirical analysis of Hunan Province's exports was conducted and the model was found to be effective in forecasting regional export trade. In a comparative analysis of these methods, Cole et al. [12] used a neural network model, exponential smoothing, and ARIMA to forecast ai rice exports and evaluated the effectiveness of the three methods using various indicators. Woo and Zhang [13] compared the advantages and disadvantages of the ARCH family model and the BP neural network model in predicting maize and stock prices, and both concluded that the nonlinear system modelling was slightly better than the linear model. A BP network is a multilayer feed-forward network with backpropagation of errors and is the most representative and widely used type of an artificial neural network. To train a BP network, the same set of inputs and desired outputs are used as training "samples," and the network is trained according to a certain algorithm, and once trained, the model can be used to solve similar problems. A BP network requires a training set and a test set to evaluate its training results. e former is used to train the network to achieve a specified error, and the latter is used to evaluate the performance of the trained network. e ARIMA model, also known as the differential autoregressive moving average model, is an extension of the ARMA (p, q) model. In ARIMA (m, d, n), AR is the 'autoregressive,' m is the number of autoregressive terms; MA is the 'sliding average,' n is the number of sliding average terms, and d is the number of differences (orders) made to make it a smooth series. After d differences, the ARIMA (p, d, q) model can be expressed as an ARMA model with the following expression: where r t−i is the r t lagged i-order variable, y t−j is the moving average term at lag j, and ε t is the residual, which follows a standard normal distribution. To describe and predict volatility clustering in economic time series, an autoregressive conditional heteroskedasticity model (i.e. ARCH model) is used. Since the ARCH model is a short memory process, in order to better characterise certain financial market phenomena with long memory processes, the authors of [14] generalises the ARCH model and adds lags to the residual term conditional variance to derive a generalised autoregressive conditional heteroskedasticity model (GARCH model). AR-GARCH is the addition of an autoregressive term to the mean expression of the GARCH model, which can be expressed as where r t is the series of returns, σ 2 t is the series of variances, and ε t is the residuals, and it follows a standard normal distribution. Variables. e most commonly used explanatory variables for the export function in the literature on exchange rate exports are: real exports with a lag; the real exchange rate; the GDP of the exporting country, which is a measure of the exporting country's export capacity; and the GDP (gross domestic product) of the importing country or other proxy variables (such as the industrial production index IPI), which are a measure of the importing country's import capacity. e lagged real exports are usually selected with a oneperiod lag, and in this paper, we also select a one-period lagged variable for China's exports to the US. e real exchange rate is calculated using the formula real exchange rate � nominal exchange rate x foreign price local currency commodity price . (3) Foreign prices and local currency commodity prices are expressed in terms of the consumer price index (CPI) for both countries. e GDP data for China and the US are actually only available on a quarterly basis, and the sample for this paper is based on a monthly interval (if the interval is annual, then the data can be collected over a shorter period of time and the sample size is smaller), so I have tried to replace the data with monthly IPI data. As there has been no IPI data for China since 2006, this paper can only average the quarterly GDP data for China over three months to obtain monthly GDP data, while the IPI data are used to replace the US GDP data. As macrodata tends to be highly seasonal, the graphical analysis of the sample series shows that there is strong seasonality in the value of exports to the US and China's GDP. Exports, for example (Figure 1) , have a strong annual cycle of their own, with the value of exports generally increasing, but suddenly decreasing in January and February each year, and then increasing again. China's GDP is also seasonal, and this is more pronounced in China (Figure 1 ). is is strongly related to the Chinese New Year holiday. So, in the forecasting model, we add seasonal lags to these two variables, i.e., the value of exports in the same period last year and the value of Chinese GDP in the same period last year, as determinants. is allows the model to capture the impact of seasonality on exports to the US and China's GDP. In forecasting models, the dependent variable is usually replaced by a number of periods lagged, as data for the current independent variable is often not yet available for the forecast period. erefore, the values of all decision variables in this model are brought into the model with a one-period lag. e six input variables of the input layer of this neural network prediction model are summarised in Figure 2 To calculate the real exchange rate, the ratio of the CPI indices for China and the US over the sample period is required. Since the US CPI is a chain index and the Chinese CPI (used in this paper) is a year-on-year index, we first convert the CPI data for each country into a CPI-based index based on the CPI index of January 2005. Forecasting. ere are three main stages in building a neural network model and completing training and learning: the configuration stage, the training stage, and the output stage. We have already identified the factors that influence export value, with six main variables to be considered Computational Intelligence and Neuroscience ( Figure 2) , which we will use as input nodes to the BP model. e input nodes are normalised to the indicator data by the following formula: e number of hidden layers and the number of nodes in the hidden layer are chosen as one layer. e number of nodes is directly related to the number of input and output units, which is determined by the formula n1 � ����� n + m √ + a, where m is the number of input neurons equal to 6, n is the number of output neurons of 1, and a is a constant between 1 and 10. In this paper, after repeated debugging, the number of nodes in the hidden layer was determined to be 10. Output node is the variable to be predicted, the value of China's exports to the US, which is also normalised here. is stage completes the training of the network on the sample. For the input information, the neural network is propagated forward to the nodes in the implicit layer,and then transferred to the output node after a sigmoid-type activation function. e sigmoid function expression is y � 1/(1 + e − x/β ) adaptive change according to the sample. e rules were trained using the MATLAB trainlm function, and the Levenberg-MagqMardt rules were used to train the forward network. e absolute mean percentage error (MAPE) was used as the error criterion for testing the samples. As mentioned earlier, the BP model was built with 6 input neurons, 10 hidden layer neurons, and 1 output neuron; the learning step was 0.06, the number of training sessions was 1,000, and the acceptable error criterion was ε 0 � 0.001. However, since the model has a 12-period lag in the decision variable, the valid sample is only 32 periods. e data relating to exports within the sample period are used as the training sample and the test sample (the first 26 periods are used as the training sample, which satisfies the sample size requirement of 3 * k + 8, with k being the number of explanatory variables of 6. e last 6 periods are used as test samples). After inputting the samples, the system learns by minimising the sum of squared errors between the desired output and the actual output, adjusting the weight matrix and the threshold vector. After 20 training sessions, the error of the model is reduced to within the required range and the system stops learning. By running the MATLAB program 1,000 times, the best network (i.e. the one with the lowest error) for the detection sample is obtained and used as the final model for the neural network method. e prediction results for the detection samples are shown in Figures 3 and 4 . Figure 5 shows that the model's predictions for China's exports to the USA are very close to the actual values, and the results are satisfactory. e average error of the normalized prediction sample is 0.0753, and the average error of the reduced prediction is 0.0365, which means that the theoretical deviation from the true value of exports predicted by the neural network method is no more than 3.65%. Using this neural network, the forecast for September 2008 was US$22,967,000 thousand, which is 6.821% less than the true value of US$24,683,579 thousand. e forecast results are good. e ARIMA model is estimated based on the decision variables designed above. e first step is to check whether the original series of export values is stationary using the unit root test (ADF test). e results show that the export value series is smooth after first order differencing. Using the period January 2005 to August 2008 as the sample period, the model is estimated using EVIEWS software as follows: Here, ε t−1 is the error term, which follows the standard normal distribution. e p values of the coefficients are in parentheses. e p values of the leading coefficients of ΔEXPORT t−1 and ΔGDP t−1 (0.050 and 0.108, respectively) are statistically significant at the 90% confidence level, suggesting that they should be used as determinants of the model. Other variables with larger p values are not statistically significant, but empirical experience shows that their impact on export value is not negligible. Using the above model to forecast the value of China's exports to the USA over the sample period, the static forecast in EVIEWS is used. Figure 6 shows a comparison between the predicted and true series of export values. It can be seen that the estimated ARMA model gives a better estimate of export values as the predicted values are derived from lagged decision variables. e mean absolute error of the model over the sample period is 5.503144%, which is greater than 3.65% predicted by the neural network approach for the test sample, which shows that the neural network approach outperforms the results predicted by the ARIMA model. Based on this model, we can forecast one-period ahead, i.e., the export value for September 2008, using the sample data, and the forecast result is US$ 248,248,864,824, while the real export value is US$ 24,683,579,000, with an absolute error of 0.569%, which is very good. e ARIMA model outperforms the neural network approach in terms of this predictor. Figure 7 shows a comparison of the AR(1)-GARCH model's predicted and real true value series for exports over the sample period, which is broadly similar to the ARIMA model. Here, the results are not analysed in detail. e results of the three models are compared. e absolute mean percentage error (MAPE) is used as a comparison criterion to evaluate the fit and prediction of the three models: Export forecast value − export actual value Actual export value . Computational Intelligence and Neuroscience e prediction results of the three methods were compared with the true values for the six periods selected in the sample period and are tabulated as shown in Table 1 . A comparison of the forecast errors for each period for the three methods is tabulated in Table 2. ese two tables allow a comparison of the results of the three models, with the following conclusions. e BP neural network model best fits the export value in the test period with an average error of 3.65%, while the ARIMA and AR-GARCH models have similar results with an average error of 5.5% over the sample period, which is worse than the neural network method. However, the latter two models perform very well in terms of predicting export value over the forecast period, with a prediction error of 0.614% compared to 6.821% for the neural network method [15] . is is contrary to the thesis that the neural network method outperforms the time series method in both rice export and stock price forecasting. e author believes that this is due to the fact that different papers have studied different subjects, adopted different variables, and built different models. In the other papers, the nonlinearity of the neural network method, which does not take into account the seasonal term, is found to explain the fluctuation of export value better than the general linear method. As this paper takes into account the seasonal variables more than in the previous literature, it proposes to add lagged seasonal variables to the model to deal with seasonal effects so that the linear model is able to describe and fit the intrinsic regularity of export movements very well, while the neural network approach produces results that are more random and contingent than the linear model. In addition, as mentioned above, the ARIMA model based on the Bayesian search algorithm is less effective in predicting seasonal models than nonseasonal models, and it is suggested that the seasonal treatment in this paper can be used to compare the forecasting effectiveness of the models. In the context of this paper, the author believes that there are three main ways for China to continue to steadily increase its exports to foreign countries in the context of the global economic crisis. e government can provide subsidies to increase exports in two ways: firstly, by lowering the costs of enterprises to compensate for the higher export prices and stagnant sales caused by the appreciation of the RMB; secondly, by reducing the chances of losses and bankruptcy of Chinese enterprises through subsidies so that they, especially the powerful ones, can reserve their strength in the economic winter. However, as China has joined the WTO, many policies have to meet the requirements of the WTO, and the excessive use of the previous explicit subsidy policy will lead to many disputes. For example, research subsidies for hightech enterprises: government investment in basic research projects in universities and government laboratories, followed by public procurement to support the initial application of these results in products and processes, which then spread to commercial applications [16, 17] . e economic crisis has led to a sharp decline in imports, but this is a structural reduction in demand, while demand for high-tech products is still high. e Chinese government should seize this feature and steadily promote the transformation and upgrading of China's export processing trade, encouraging enterprises to produce products with higher technological content, environmental protection and energy saving, and guiding the healthy development of advanced manufacturing and modern production-oriented services so as to identify and meet the new demands of foreign markets at a faster pace [18] . Steady industrial transfer between the east and the west: enterprises in the developed coastal areas of the south-east should transfer production links in the industrial chain to the central and western regions where the factors of production are less expensive and upgrade to higher value-added links such as design, R&D, and marketing. In this way, the comparative advantage of China's export sector in terms of price can be maintained in the face of the continued appreciation of the RMB [19] . As export trade volumes are the result of a joint game between governments, especially China as a major exporter, they often lead to trade disputes. erefore, while expanding its imports, China must also focus on a strategic approach and continue to strengthen and improve its international economic and trade relations [20] . For example, China can expand its foreign imports of products in demand at home, for example, by using China's large and risky dollar reserves to buy crude oil, minerals, and raw materials at lower prices and then sell them to the domestic market at lower prices, and by focusing on increasing imports of advanced technology, key equipment, and components [20] . e paper first uses six variables as determinants: export value, real exchange rate, Chinese GDP, US IPI, and their seasonal variables, and uses three methods: BP neural network, ARIMA, and AR-GARCH to model China's exports to the US and forecast the next period outside the sample interval. en, the simulated results of the three models were compared with the real values for the sample period and the forecast period, using the absolute mean percentage error (MAPE) as the error indicator. e results show that all three models are able to simulate and predict China's exports to the US better. e BP neural network model is a good fit for the test period, while the ARIMA and AR-GARCH models have similar results, and they predict the forecast period very well. is is contrary to some papers which state that the neural network method is better than the time series method. e experimental data used to support the findings of this study are available from the corresponding author upon request. e author declares that there are no conflicts of interest regarding this work. Hot money and quantitative easing: the spillover effects of U.S. Monetary policy on the Chinese economy Assessing the economy-wide effects of quantitative easing Quantitative easing and volatility spillovers across countries and asset classes Analysis of the macroeconomic uncertainty based on the news-based textual data with financial market e effect of quantitative easing on stock prices: a structural time series approach Measuring the macroeconomic uncertainty based on the news text by supervised LDA for investor's decision making Spillovers of US unconventional monetary policy: quantitative easing, spreads, and international financial markets e impacts of foreign direct investment and export expansion on the performance of the high-tech manufacturing industry Risk assessment for banking systems Assessing the postquantitative easing surge in financial flows to developing and emerging market economies A machine learning approach to forecast economic recessions-an Italian case study e impact of the Wuhan Covid-19 lockdown on air pollution and health: a machine learning and augmented synthetic control approach Combating the global financial crisis with aggressive expansionary monetary policy: same medicine, different outcomes in China, the UK and USA forecast of china's macroeconomic outlook for 2013-2014 Multipath transmission selection algorithm based on immune connectivity model Machine learning and oil price point and density forecasting Does infrastructure investment lead to economic growth or economic fragility? Evidence from China Chinese capital markets: the importance of history for modern development Capital flows during quantitative easing: experiences of developing countries Quantitative easing (QE), changes in global liquidity, and financial instability