Macroeconomic Forecast Model System Based on Digital Information and Blockchain Technology

Since the reform and opening up, China’s economy has developed rapidly, becoming the second largest economy in the world. The state of macroeconomic development has a great influence on the government’s policy introduction and the investment decisions of individual institutions. Therefore, forecasting the macroeconomy is of great significance to the country. This paper aims to study the macroeconomic forecasting model system based on digital information and blockchain technology. This paper proposes an artificial neural network prediction algorithm based on digital information and blockchain technology, and the artificial neural network and particle swarm algorithm are combined to become the hybrid artificial neural network algorithm, and the conception of the establishment of the macroeconomic forecast model is proposed. The experimental results of this paper show that according to the prediction results of artificial neural network, the prediction and actual error in 2010 is 0.10, while the new method proposed in this paper predicts the error of 0.056. In 2016, the prediction error based on artificial neural network was 0.14, while the prediction result of the new method proposed in this paper showed an error of 0.008. In each year’s economic forecast, the neural network model of the new method proposed in this paper has higher prediction accuracy and smaller error. It can be seen that the neural network model based on artificial neural network and PSO algorithm proposed in this paper is beneficial to macroeconomic forecasting.


Introduction
Big data is also the product of network communication technology and is closely related to digital information resources. e development of digital information resources is rooted in the generation of big data. Big data represent the dynamic changes in the digital space constructed based on network communication technology. Digital information resources are information resources used by human society based on big data. In addition, the development index level and growth trend of digital information change with the continuous development of network information technology. Human society is closely related to the Internet environment, so the combination of the human social environment and the dynamic Internet environment can better understand the meaning of digital information resources.
With the active development of blockchain technology, more and more industries and academic groups have participated in the development and scienti c research of blockchain. e blockchain community is currently receiving attention from governments, venture capital,nancial institutions, and the banking industry, including early public chain projects such as Bitcoin and Ethereum. Since the intelligent constructor technology of the blockchain architecture can encode practical problems, various transactions and information exchanges can be performed automatically in strict accordance with the rules established in the network environment.
is is very important to improve the sharing and exchange mechanism, and the development of blockchain technology in the nancial eld has also received active attention from the Chinese government. e innovations of this paper are the following: (1) e related theoretical knowledge of digital information and blockchain technology is introduced, and the forecasting function of the macroeconomic forecasting model system is analyzed by using the forecasting method of artificial neural network. (2) Experiments and analysis of the application of the forecasting method based on the artificial neural network to the macroeconomic forecasting model system. rough investigation and analysis, it is found that the method based on the combination of artificial neural network and PSO has a stronger effect on economic forecasting and a smaller error.

Related Work
In various fields of society and economy, a large number of decision-making problems are inseparable from the prediction of the future value of variables or the prediction of difficult-to-observe variables. Hou discovered vector autoregressive models with infinite hidden Markov structures, motivated by forecasting in financial and macroeconomic applications.
is method is an accuracy-based algorithm, which can improve the computational efficiency, and the results show that the prediction performance of the Markov switching model is better [1]. Bd et al. examines whether professional forecasters incorporate high-frequency information about credit conditions in their economic forecasts. Using a mixed data sampling regression method, he found that daily credit spreads have significant predictive power on monthly forecast revisions of output growth. is suggests that forecasters expect the impact of a credit crunch to be more pronounced during a recession [2]. Aromi evaluated the information content of indicators through business cycle forecasting exercises. He used vectors to learn meaningful economic correlations. ese associations were used to construct predictors. A sample forecasting exercise shows that these indicators contain valuable information about future economic activity [3]. Broughton and Lobo found multiple biases among test analysts in forecasting the Institute for Supply Management's Manufacturing Purchasing Managers' Index (PMI). e test he employs does not require the predictor's prior information set and is robust to rational clustering, correlated prediction errors, and outliers. He also found that analysts' forecasts of PMI were poor and exhibited multiple biases in forecasting [4]. Pedersen found that part of forecasting is the judgment applied by the forecaster, and this judgment input may be affected by the forecaster's mood swings. ese fluctuations have been shown to affect returns in, for example, the stock market. He analyzed the extent to which sentiment affects macroeconomic forecast errors. Evidence suggests that sentiment can influence forecasts of inflation and output growth [5]. Manski found that economists often assume that people have probabilistic expectations about uncertain events, but empirical studies measuring expectations have long been rare. He described research on three topics that macroeconomists should focus directly on: stock return expectations, inflation expectations, and professional macroeconomic forecasting [6]. Prediction itself is a predictive science, which makes it impossible to be 100% accurate. In the forecasting process, people usually idealize certain factors, but in the actual economic development process, economic indicators will be affected by various unknown factors, so the traditional general forecasting model has been unable to accurately predict the economy. e artificial neural network prediction model only needs a part of the relevant data of the prediction object, the investment is relatively low, and the prediction result is also relatively good. In order to determine the heat transfer coefficient in the range of supercritical water pressure, Ma et al. collected 14 sets of experimental data. Based on the experimental data, a BP neural network prediction model for determining the heat transfer coefficient of supercritical water is established. e research is carried out using the BP neural network prediction model. e prediction results show that the BP neural network prediction model can be used to better predict and understand the heat transfer coefficient of supercritical water [7]. Gamidi and Ke found that different artificial neural network (ANN) models have been developed and tested for predicting eutectic properties. e model successfully predicted the corresponding melting properties of the cocrystal and the ideal solubility of the cocrystal from the molecular weight and melting temperature of the pure compound [8]. Pattnaik and Sutar study reveals a new computational prediction model to predict response, making material removal rate (MRR) more accurate. e model he developed is based on the artificial neural network (ANN) model, which overcomes the limitation of traditional artificial neural network that requires a large amount of experimental data to accurately predict the response. It can more accurately predict the response at any point in between and at selected parameter levels [9]. At present, artificial neural network prediction model has become a new and widely recognized method in prediction. In terms of application, the ANN prediction model does have certain advantages over other prediction methods.

Overview of Digital Information Blockchain Technology.
Digital information means that data are no longer just a link, but can realize the collusion between information and equipment, that is, microscopic digital processing. It can realize the mutual conversion of analog information and digital information and also realize the aggregation of digital information into intelligent macrodata that conform to human thinking habits. e active development of digital networks in the information age has promoted another great change in human society. With the continuous development of more convenient and advanced technologies, digital space and human society are more deeply integrated. Human beings are more and more involved in the practical activities of digital space, leaving immeasurable huge information data in social life. As the driving force of invention and service in the emerging information society, it is now showing an active trend all over the world. e high-speed popularization channel promotes the digitization of information resources, and the popularization of digital information based on new data has achieved rapid development [10]. e leap of science and technology has provided new energy for great social changes. With the rapid development of Internet technology, information has become a new force for social change with unparalleled advantages. e great contribution of information to the economic field has led to a thorough study of information resources by scholars. After that, human's exploration of information resources began to sweep all areas of social life [11][12][13]. Information resources will be converted into digital form in cyberspace and developed into important digital information resources. is is a new type of resource and a further development of information resources in the information age. is not only means that the physical representation of information resources has changed, but more importantly, that the process of information generation and disappearance has changed, which means that the entire process of the information production chain has undergone qualitative changes. Various aspects of society, such as human lifestyles, business operation models, and social management models, are closely related to various forms of information.
Digital informatization is an international development trend, and all countries attach great importance to the development of digital informatization [14,15]. Among China's "digital China," "digital healthcare" best reflects China's emphasis on digital informatization.
Blockchain technology, referred to as BT, also known as distributed ledger technology, is an Internet database technology. It is characterized by decentralization, openness, and transparency, allowing everyone to participate in database records. It was the basic technology of Bitcoin at first, and it is currently being studied all over the world, and it can be widely used in various fields such as finance. e current blockchain is divided into three types, and the three types of blockchain systems are compared as follows: e public blockchain is an architectural method of the blockchain system [16]. As shown in Figure 1: As shown in Figure 1, the blockchain network under this architecture system does not restrict the authority of any participant. Any member participating in the blockchain network can read the information stored in the blockchain, and any member participating in the blockchain network can send transaction information, and the transaction information can be effectively confirmed. Any member participating in the blockchain network can participate in the consensus building process [17,18]. erefore, the public blockchain does not have a central structure that can control the entire network and is a completely decentralized new network structure [19].
Private Chains-Rights are in the hands of a few, and private blockchains are permissioned blockchains where a permissioned network places restrictions on who is allowed to participate in the network and what transactions can be made. A private blockchain is a blockchain system that is used and managed by a single organization, and the management organization completely controls the writing rights of the blockchain system and has the characteristics of centralization. Whether the read permission is open to the outside world is decided by the administrator of the blockchain system. Its structure is shown in Figure 2: As shown in Figure 2, the consortium blockchain is generated, which can be understood from the groups used by the consortium chain.
eir main groups are banks, insurance, securities, business associations, group companies, and upstream and downstream enterprises. Consortium blockchain refers to a blockchain whose consensus process is controlled by preselected nodes, and is a blockchain system that mixes the characteristics of private blockchains and public blockchains. Under this architecture, the writing right of the system is controlled by the organizations participating in the alliance, which has the characteristics of multicentralization, and the reading authority of the system can be restricted by the alliance to any extent [20]. e right to write in the alliance blockchain is limited to participating in alliance organizations. Consensus decisions are generally reached through voting. Preselected nodes are set in each organization participating in the alliance to vote. Any activity that writes or modifies the data stored in the block requires a certain number of votes to be considered legitimate activity. e participation and complexity of this consensus system are in the middle, and consensus decisionmaking is faster than that of public blockchains, but it is not as good as private blockchains, and the overall efficiency of the system is higher [21]. As shown in Figure 3: As shown in Figure 3, the development of blockchain technology is the embodiment of realizing the value of Internet popularization, and it is also a new model for building reliable scenarios of network peers [22][23][24]. At the time of writing this article, many chain applications like mushrooms have appeared, completing the construction of reliable systems combined with the advantages of traditional industries. It can be assumed that new applications incorporating blockchain will increase and will appear in the industry in the future [25].

Vector Autoregressive Model.
e vector autoregressive model, referred to as the VAR model, is a commonly used econometric model. e construction model of vector autoregression improves the accuracy of economic forecasting. e model does not need to be established according to economic theory, and it mainly combines all current variables, regresses some delayed variables of all variables, and excludes the possibility of wrong prediction results based on wrong economic theory [26]. e autoregressive model has many advantages, it has no limitation, every variable in the model can be regarded as an internal dependent variable. is is often used to deal with analysis and forecasting of multiple relevant economic indicators.
However, the vector autoregressive model also has some shortcomings, because the relationship between the model variables does not give the exact form of the current period. In addition, the model does not consider economic theory, so it cannot do policy analysis and policy simulation [27].

Computable General Equilibrium Model (CGE) Horizontal Type.
As a powerful tool for policy analysis, CGE model has been widely used in the world after more than 30 years of development and has gradually developed into a branch of applied economics. e CGE model is a powerful tool for analyzing the impact of policy changes on the economy and is often used to analyze the impact of changes in taxation, public spending, and tariffs on industrial structure, labor market, income distribution, etc. By establishing the relationship between various economic variables, the disturbance of a certain factor to the economy is easier to predict [28]. However, the model also has certain limitations, because the model assumes that policy changes will not affect unemployment and capital levels, technological progress rates, and competition among firms. e model itself does not provide a valuable predictive tool. On the other hand, the data required by the model are more complex, and it is not easy to obtain in some cases, which limits the application of the model in some data-deficient fields.

Neural Network Prediction Method.
e production, distribution, exchange, and consumption activities carried out by individuals, households, and enterprises in the macroeconomy are the microeconomy. e macroeconomy is still based on a single microeconomic subject as the basic unit. Whether the macroeconomic forecast results can truly reflect the economic development trend mainly depends on the economic theorizing and the economic models and methods used. At present, many prediction models and methods have been proposed by the academic community, and new theories, methods, and models are constantly improving. Although the development of China's macroeconomic forecasting started relatively late, there have been many kinds of scientific macroeconomic forecasting methods and models suitable for China's socialist market economy [29].
With the rapid development of neural network, the field of application is getting wider and wider, and the ability to solve practical problems is getting stronger and stronger.
is is determined by the excellent performance of the neural network and its important role in the national economy. Prediction based on neural network is an application research that uses the network model of neural network to analyze and predict and is applied to the actual prediction environment. Neurons are neuron cells, which are the most basic structural and functional units of the nervous system. It is divided into two parts, the cell body and the protrusion. e basic structure model of neurons is shown in Figure 4: As shown in Figure 4, this is a multiinput, single-output nonlinear element, and its input-output relationship can be simplified as formula (1): Among them, a j (j � 1, 2, ... , n) is the input signal from other cells, b i is the bias of the neuron, and b i is the formula (2) I i is the neuron output, f(·) is called the transfer function, sometimes called the excitation or excitation function, the transfer function can be a linear function. But usually nonlinear functions, such as excitation functions or signaling curves. A linear function is another name for a linear function, and a nonlinear function, that is, the function image, is not a function of a straight line. Nonlinear functions include exponential functions, power functions, logarithmic functions, polynomial functions, and the like. e nonlinear function of the commonly used neuron is shown in Figure 5: As shown in Figure 5, threshold function: when b i is 0 or 1, f(a) is a step function, which is formula (3): e sigmoid function is a common sigmoid function in biology also known as the sigmoid growth curve. In information science, the sigmoid function is often used as the activation function of neural network due to its monoincreasing and inverse-function monoincreasing properties. Sigmoid function is the most commonly used excitation function in artificial neural networks, which are usually represented by the class of sigmoid curves, is formula (4): When f(a) tends to infinity, the sigmoid curve tends to a step function, usually a value is 1. In this paper, the  Mobile Information Systems excitation function of the following form will be used, which is formula (5): e function has the characteristics of continuous derivation, the definition domain is (−∞, +∞), and the value domain is (−1, +1). One gets a sigmoid function with different slopes. Assuming that the BP network has a total of L layers, for a given P samples, the expected output of the network is formula (6): When the P-th sample is input, the operating characteristic for the j-th neuron in the L-th layer in the network is formula (7): Among them, w (l) ji is the connection weight from neuron i to neuron j, and there is formula (8) for the output layer: f l is a nonlinear differentiable and nondecreasing function, which is generally taken as an S-shaped function, that is, formula (9): e purpose of neural network learning is to achieve each pair of samples, as in formula (10): Among them, m is the number of output nodes to the minimum, so as to ensure that the total error of the network is minimized as in formula (11): E p and T jdp are the expected output and actual output of the jth node of the output layer, respectively. Gradient descent is an iterative method that can be used to solve least squares problems. Gradient descent is one of the most commonly used methods when solving model parameters of machine learning algorithms, that is, unconstrained optimization problems. Gradient descent is used to calculate the inverse properties of weight changes and errors, and gradient algorithms are used to modify the weights and thresholds of the network. e weight coefficient of the first layer is formula (12): Among them, k is the number of iterations, and the modified network connection weight is as in formula (13): In the formula, k is the number of learning times, and η is the learning factor.
But artificial neural networks also have many problems. For example, in a neural network, the learning time is too long and the learning purpose may not be achieved. e PSO algorithm is a global optimization search algorithm, which continuously transforms the potential solutions through certain rules, and finally finds the optimal solution through cyclic processing. erefore, in this paper, the artificial neural network is used to build the prediction model of China's GDP, and the PSO algorithm is used to train the model and optimize the weights and thresholds [30,31].

Particle Swarm Optimization (PSO).
e advantage of PSO is that it is simple to implement not only suitable for scientific research and engineering applications but also has a profound intelligence background. erefore, after the appearance of PSO, it immediately attracted the attention of  researchers, and there were many research results in just a few years, which became a research hotspot.
Particle swarm algorithm imitates the swarming behavior of insects, herds of animals, flocks of birds, and schools of fish, which search for food in a cooperative way. Each member of the group continually changes its search pattern by learning from its own experience and the experience of other members. e basic PSO algorithm does not require many parameters from the user, so it can be used more conveniently. However, it is easy to become a minimum value and has the disadvantage of low retrieval accuracy, which needs to be improved. Its improved formula is as formula (14): Among them, W is a nonnegative number called the inertia factor. Some scholars have proposed a compression factor for the speed of the PSO algorithm, such as in formula (15): Among them, e fitness function is a correspondence between all individuals in the problem and their fitness, which is generally a real-valued function. Here, people choose the error function of the network as the fitness value function, and the particle with large error has small fitness. e specific representation of the fitness value function adopted in this paper is shown in formulae (17) and (18): PSO algorithm is widely used in various engineering fields because of its simplicity, easy implementation, and strong problem-solving ability. In this paper, when using particle swarm optimization algorithm to train the weights and thresholds of neural network model, the abovementioned compression coefficient method is used to change the "flying" speed of particles.

Establishment of Macroeconomic Forecasting Model.
With the establishment and continuous improvement of the socialist market economic system, since China's economic reform and opening up, although there have been some lowgrowth risks, the rest of the time has been relatively balanced, which fully reflects the positive level of China's economic growth. Economic development is more regular and economic growth is more stable. e premise of macroeconomic forecast in this thesis is that China's economic policy maintains stability and continuity, and there will be no major emergencies in the short term.

Indicator Selection and Data Processing.
Macroeconomics has obvious fluctuations, correlations, systemic and specific randomness, and ambiguity. All economic events are in a complex economic system and are affected by various uncertainties and factors. e macroeconomic forecasting methods formulated under the guidance of various economic theories need to use various methods to complement the emerging problems. However, each method faces the problem of how to choose the method.
GDP reflects the total value added of various sectors of the national economy. In the past 10 years, under the international environment of slow development of the world economy, China's economy has prospered, and the GDP growth rate has remained at around 8%. Even in the face of the downturn of the world economy and the complex international situation, China's GDP can continue to maintain a high growth rate. Correctly predicting the future GDP trend is a common concern of the country and the people. e rapid growth of fixed asset investment has also become an important force driving China's economic growth in recent years, and foreign trade has also become an important force driving China's economic growth.
Unemployment and economic growth are closely related. After studying the relationship between economic growth rate and unemployment rate, a simple formula is obtained, such as formula (19): Δu in the formula represents the change in the unemployment rate, and y represents the economic growth rate, which is the famous Okun's law. If the economic growth rate is higher than this, the unemployment rate will fall.
In this paper, the standard deviation is used as a measure to test the accuracy of the overall prediction. a i is the actual value, a j is the predicted value, and N is the number of samples. e calculation formula is as formula (20): Doing a good job in the forecasting and processing of GDP is very important for judging macroeconomic operations and formulating correct macroeconomic policies. erefore, the judgment of macroeconomic operation must be based on the historical data of GDP.

Design of Neural Network Prediction Method.
In the past ten years, the research work of artificial neural network has been deepened and great progress has been made. It has successfully solved many practical problems that are difficult to solve by modern computers in the fields of pattern recognition, intelligent robot, automatic control, prediction and estimation, biology, medicine, economy, and so on, and has shown good intelligence characteristics. Artificial neural Mobile Information Systems networks can be divided into various forms according to various connection methods and learning rules. e knowledge of artificial neural network has been introduced in the previous article. Before designing a neural network model for macroeconomic forecasting, the structure of the neural network must be determined. e multilayer neuron network is shown in Figure 6: As shown in Figure 6, for a multilayer neuron network, the selection of several hidden layers is first determined. If the thresholds of each node are different, the continuous function of any closed interval can be approximated by the hidden layer network. e three-layer neural network can complete the mapping from N-dimensional to N-dimensional, so this paper uses a three-layer neural network to predict the GDP model with only one hidden layer.
e Chinese GDP forecasting model established in the paper has three layers, input layer, hidden layer, and output layer. e input layer has been mentioned above, and the final consumption, gross capital formation, and net exports of goods and services in the first year are used as the information of the input layer. e hidden layer selects three neurons according to experience. e output layer neural network model has only one output, which is China's GDP in the tenth year; the excitation function adopts the type excitation function.
Because the PSO algorithm is suitable for global search, the PSO algorithm is used as the learning algorithm of the neural network, that is, after the neural network model is established, the PSO algorithm is used to optimize the weights and thresholds of the neural network. e weights and thresholds are evolved within a certain range, and then the network model is used to obtain the prediction results.

Experiment of Macroeconomic Forecasting Model Based on Neural Network
Compared with TSP and MATLAB statistical software or measurement tools generally used in economic analysis, using VC + 6.0 programming software to make data processing programs has higher efficiency and higher flexibility. So this paper uses VC + 6.0 programming software to make computer program, after converting the designed model into computer language, input the learning data and test data into the computer program. e computer runs according to the compiled program. During the execution of the program, the computer will continuously optimize the model parameters according to the input learning data and test data, and finally obtain the best prediction model. e prediction results will also be output with the trained model, which is the GDP that people want to predict.

Experiment on the Effect of Prediction Model Combined with Neural Network and POS Algorithm.
e following is the training method combining neural network and POS algorithm. In order to predict the sample results, various numbers of neurons are set to train various networks. Finally, the neural network with fast convergence speed and good prediction results is selected. e comparison between training and prediction results using the trainlm method is shown in Figure 7: As shown in Figure 7, the trainlmLM algorithm is a nonlinear optimization method between Newton's method and gradient descent method, which not only speeds up the training speed but also reduces the possibility of falling into a local minimum the results obtained by using. e trainlm method have high accuracy, fast training speed, fewer training times, and more accurate prediction results. e average error is within 10%, which belongs to the allowable range. In addition, with the increase of the number of neurons in the hidden layer, the memory occupied by the training also increases, and the error decreases with the increase of the number of hidden layers.
In this paper, by comparing a single artificial neural network prediction model with a prediction model based on the combination of artificial neural network and PSO algorithm, the lower the column representing time in the figure, the faster the model training rate. e comparison of the training time of the two prediction models on 10 datasets is shown in Figure 8: As shown in Figure 8, according to the experimental results, the prediction model combining the neural network and the POS algorithm proposed in this paper shortens the network training time and improves the efficiency of the hybrid model construction. In experiments with a larger amount of data and a higher data compression rate, the learning rate of the prediction model combined with the neural network and the POS algorithm is more obvious. It is shown that the greatly reduced data volume increases the training efficiency of the neural network exponentially, and the experimental results show that the rate of increase is far greater than the data reduction.

Experiment of Combining Neural Network and POS Algorithm for Macroeconomic Forecasting Model.
Macroeconomic modeling must use historical data. is paper uses the data from 2010 to 2016 to train the network, so as to train a more accurate model for economic   forecasting. In the process of building the model, the data from 2010 to 2016 was used as the learning data, and the ideal prediction result was slightly different from the actual prediction result after training. e situation of China's GDP is shown in Table 1: As shown in Table 1, substituting the test data into the determined artificial neural network model can obtain ideal prediction data, which prove that the combination of neural network and POS algorithm has strong prediction ability. e main and fundamental task of a neural network is to confirm that the trained network model has excellent generalization ability for untrained samples. Since the error of the training samples may be very small, it is reasonable and reliable to use a part of the error of the test samples randomly selected from the whole sample in order to express the accuracy of the calculation and prediction of the network model. e prediction results are shown in Tables 2 and 3: As shown in Tables 2 and 3, According to the calculation results, China's macroeconomic trends can be fully predicted within one year. e state can carry out macromanagement according to the forecast results, and enterprises and individuals adjust economic actions such as investment and savings according to the situation in order to optimize economic decision-making and maximize economic benefits.
In order to verify the validity of the forecasting model proposed in this paper, the macroeconomic forecast for 2017 and 2018 is also carried out, as shown in Figure 9: As shown in Figure 9, it can be seen from the prediction results that the neural network model based on artificial neural network and particle swarm optimization algorithm is more accurate in GDP prediction. erefore, as a forecasting scheme for forecasting n + 1 years, a neural hybrid neural network model can be constructed.
Input the original data into the model, classify the samples, the training samples are the data of 2019, and the test samples are the data of 2019, as shown in Figure 10: As shown in Figure 10, it can be seen from the prediction results that the error of the artificial neural network is small and basically meets the requirements. It can be seen that the neural network model based on artificial neural network and particle swarm optimization algorithm is more accurate in Year GDP (100 million yuan) Final consumption (100 million yuan) Total capital formation (100 million yuan) Total export value (100 million yuan)  2010  410708  198998  185827  15057  2011  486038  241022  219671  11688  2012  540989  271113  244601  14636  2013  596963  300338  270924  14552  2014  647182  328313  290053  16152  2015  699109  362267  301503  24007  2016  746315  400176 318912 16412   predicting China's GDP. According to the calculated results, people can predict China's GDP in the short term.

Conclusions
is paper introduces the theoretical knowledge of digital information and blockchain technology. On the basis of them, the artificial neural network prediction method is proposed, and the artificial neural network and PSO algorithm are described in detail in the method part. en, the construction of the macroeconomic forecasting model is proposed. In the experimental part, the forecasting method combining artificial neural network and PSO algorithm is used to forecast the macro economy. Finally, it is found that the neural network has excellent nonlinear quality, flexible and effective learning method, and fully decentralized storage structure. e prediction method using the combination of artificial neural network and PSO algorithm may obtain accurate prediction results. After forecasting the economy, it is found that the forecast effect of the combination of artificial neural network and PSO algorithm proposed in this paper is higher than the forecast effect of single neural network.
Data Availability e data that support the findings of this study are available from the corresponding author upon reasonable request.

Conflicts of Interest
e authors declared no potential conflicts of interest with respect to the research, author-ship, and/or publication of this article.