Open access peer-reviewed chapter

# Using Gray-Markov Model and Time Series Model to Predict Foreign Direct Investment Trend for Supporting China’s Economic Development

By Yanyan Zheng, Tong Shu, Shou Chen and Kin Keung Lai

Submitted: June 8th 2018Reviewed: December 23rd 2018Published: October 23rd 2019

DOI: 10.5772/intechopen.83801

## Abstract

Foreign direct investment (FDI) is one of the important factors affecting China’s economic development, the prediction of which is the basis of its development and decision-making. Based on elaborating the significant role in China’s economic growth and the status quo of utilizing foreign investment over the period between 2000 and 2016, this chapter attempts to construct Gray-Markov model (GMM) and time series model (TSM) to forecast the trend of China’s utilization of FDI and then compares the precision of two different prediction models to obtain a better one. Results indicate that although it is qualified, traditional Gray model needs to be optimized; GMM is built to help modify the result, improve Gray-related degrees, and narrow the gap with real value. Comparing the accuracy of GMM with that of TSM, we can conclude that the fitting effect of GMM is better. To increase the credibility of these results, this chapter is based on the data of Beijing and Chongqing from 1990 till 2016, also verifying that the fitting effect of GMM is superior to that of the TSM. Then, we can safely draw a conclusion that the prediction model of GMM is more credible, which has a certain referencing value for the utilization of FDI.

### Keywords

• foreign direct investment (FDI)
• Gray-Markov model (GMM)
• time series model (TSM)

## 1. Introduction

In the light of the definition of the International Monetary Fund (IMF) and the Organization for Economic Cooperation and Development, foreign direct investment (FDI) is an investment in the form of a controlling ownership in a business in one country by an entity based in another country. The primary purpose of the host country in attracting FDI is to promote the country’s economic development and industrial upgrading. This will facilitate domestic enterprises to improve their technology and quality, gradually supporting the development of foreign enterprises to enter the global value chain [1]. Influencing the supply chain system, FDI has significantly promoted the sound and rapid development of the national economy. Therefore, it is necessary to focus on the future tendency of FDI in the supply chain system when we investigate the transformation and innovation of Chinese economy.

Since the late 1970s, FDI attracted by China has been steadily increasing, regardless of the changes and fluctuation of the international economic environment and the total flow of FDI globally. Statistically, over the period from 1979 to 2010, China’s actual use of FDI amounted to $1048.31 billion [2], and FDI keeps a rapid growth. According to the data of Ministry of Commerce of the People’s Republic of China (PRC) (Figure 1), the FDI in China presented a rising trend over the period from 1990 to 2016. The vital roles in the economic development of China are as follows. Firstly, the proportion of basic industries in China declines generally, and the proportion of agricultural output drops by 18% over the period between 1978 and 2011 [3]. Secondly, for a long time, FDI mainly concentrates in secondary and tertiary industries, accelerating the restructuring and upgrading of China’s industries [4]. Finally, FDI provides investment capital and promotes the rapid development of China’s import and export trade, improving China’s status in international trade. Due to the remarkable role of FDI, a multitude of scholars began to track and study the FDI in developing countries, build analytical framework, and launch a new field of research of FDI in developing countries. The statistics shows that China has become an emerging market for FDI. Dees indicates that FDI has positive effects on the GDP, technological progress, and the improvement of management system [5]. Nourzad considers that FDI promotes economy development through technology transfer [6], while Mah argues that the latter one promotes the former one [7]. Taking the reform policy (implemented in July 2005) as the boundary, Pan and Song explore the impact of the effective exchange rate of RMB on FDI [8]. Research shows that they are in a long-term equilibrium relationship before implementing reform policy. After the policy, the exchange rate of RMB has the Granger causality for FDI, and the appreciation of RMB can promote the flow of FDI. Additionally, De Mello shows that FDI can increase the added value associated with it [9]. Based on the data from 1971 to 2012, Dreher et al. conclude that the membership in international organizations is an essential and decisive factor of FDI liquidity and has a promoting effect on FDI mobility [10]. Badr and Ayed do a quantitative study of the relationship between FDI and economic development in South American countries, and they find that FDI can be determined by some economic factors, having no important effect on economic development [11]. Kathuria et al. apply panel data to examining the effectiveness of public policy in attracting FDI [12]. Lin et al. divide the FDI company into five strategies [13]; Brülhat and Schmidheiny estimate the rivalness of state-level inward FDI [14]. The trend of FDI in the future is an important reference for China’s economic development. However, much literature focuses on the development of FDI itself and its influencing factors, and there is little research on the future development. This is what we do in this chapter. Currently, the predictive analysis model for economic and trade development can be divided into linear prediction method and nonlinear prediction one. The linear prediction method mainly includes historical average level prediction method, time series prediction method, and Kalman filter prediction method, to name just a few. The nonlinear prediction methods concern Gray theory, Markov chain, support vector machine, and boom prediction method. The historical average prediction algorithm is simple and easy to understand and the parameters can be estimated by using the least squares method. However, it is too simple to accurately reflect the randomness and nonlinearity, and therefore it cannot be applied to unexpected events. The Kalman filter uses the flexible recursive state space model, with the advantages of linear, unbiased, and minimum mean variance. Nevertheless, because the Kalman filter prediction model belongs to the linear model, its performance becomes worse in the nonlinearity and uncertainty [15]. The time series model is simple in modeling, with high prediction accuracy in the case of full historical data. The Gray model can be modeled with less information, handling data easily and having higher accuracy, which can be extensively used in several fields [15, 16, 17, 18]. However, Gray model becomes less attractive for time series with large stochastic fluctuation. Markov stochastic process predicts the development and changes of dynamic system according to the transfer probability of different states, and the transfer probability reflects the influence degrees of various stochastic factors and the internal law of the transition states. Therefore, it is more suitable to predict the problems with large stochastic fluctuation. What cannot be ignored is that Markov model requires data to meet the characteristics of no effect. Consequently, when using a simple model, it is very difficult to obtain a better prediction result, and the combination method becomes a popular method. Through the vector autoregressive moving average (VARMA), Bhattacharya et al. compare and analyze the consumer price index sequence (CPI) and improve the forecasting accuracy [16]. The Gray model (proposed by a Chinese scholar, Professor Deng) and the Markov model (proposed by a Russian mathematician, Markov) have been combined very early, which is called Gray-Markov model (GMM). Based on the Gray prediction model, GMM is used to solve the inaccurate problems resulting from the large random fluctuation of the data and widely promoted in the fields of financial economy, agricultural economy, and resource and energy [17, 18, 19, 20]. On the basis of GM(1,1), Li et al. propose an improved GM(2,1) model [21]. Based on the model of GM(1,1) and Markov stochastic process and combining Taylor formula approximation method, Li et al. construct a model of T-MC-RGM(1,1) and verify its validity by the example of thermal power station in Japan [22]. The level of FDI in China is influenced by many factors such as fixed investment, laws and regulations, corporate culture, innovation ability, and financial market stability, among others. To clearly recognize and describe the role of FDI, the foreign investment system is abstracted as a Gray system with no physical prototype and incomplete information, which can be predicted with GM(1,1) model. Meanwhile, the FDI level in the previous year has no direct influence on that in the next year, in line with the no-effect characteristic of Markov stochastic process. On the basis of the previous study of Gray-Markov model, it is used to predict the tendency of FDI in China, addressing the shortcomings of the Gray model for the low precision of the data sample with large fluctuation and compensating for the limitation that the Markov model requires the data to have a smooth process. As a comparison, the time series prediction model is introduced to evaluate FDI. Then, the fitting results are compared to decide the optimal prediction model. ## 2. Gray-Markov model Gray-Markov model is a forecasting method integrating the Gray theory with the Markov theory [17, 18, 19, 20, 21, 22, 23, 24, 25]. Firstly, GM(1,1) is constructed to obtain the predicted residual value. Then, the error state can be divided according to the residual values, and the error state can be obtained in light of the Markov prediction model. Then, based on the error state and transition matrix, the predicted sequence from GM(1,1) can be adjusted to obtain more precise predicting internals. The traditional GM(1,1) has its advantage in short-term prediction, while it has a poor fitting effect in forecasting the long-range and fluctuating data series. And the benefit of Markov stochastic process is the prediction of the large data series with random volatility. GMM has been proposed by He to predict the yield of cocoon and oil tea in Zhejiang Province. Subsequently, this model is widely used in the prediction of transportation, air accidents, and rainfall. Accordingly, we use GMM to predict FDI of China [26, 27, 28]. ### 2.1 Gray model The Gray system theory, founded and developed by Chinese scholar Deng, extends the viewpoints and methods of general system theory, information theory, and cybernetics to the abstract system of society, economy, and ecology, incorporating the development of mathematical methods to develop the theory and method of Gray system. The modeling process is as follows. (1) Raw series are X0=x01x02x0mE1 (2) To weaken the randomness of the original data, the accumulated generating series is derived: X1k=i=1kx0i.E2 (3) Based on the sequence of Xt1, a new sequence Zt1is derived as follows: Z1k=12x1k+12x1k1E3 (4) Then, whitened differential equation is obtained: x0k+aZ1k=bE4 In Eq. (4) ais development coefficient, bis the parameter of Gray action, and Φis identification parameter vector. Then, the least squares estimation of parameters satisfies the following equation: Φ̂=âb̂=BTB1BTYE5 and B=Z121Z131Z1m1,Y=x02x03x0mE6 By differentiating x1k, a whitened differential equation can be written as dx1dt+ax1k=b (5) The whitened time response is as follows: x̂1k+1=x11b̂âeâk+b̂âE7 Reducing the sequence of x̂1k+1k=12m1, the following sequence is obtained: X̂0=x̂01x̂02x̂0mE8 (6) Model testing Model test is divided into residual test and Gray-relating test. Residual test is to obtain the difference between predicting value and the actual value. Firstly, the absolute residuals and relative residuals about X0and X̂0are calculated: 0i=x̂0ix0i(i=1,2,,n)E9 ϕi=0ix̂0i(i=1,2,,n)E10 Then, below is the average value of relative residuals: Φ=1ni=1nϕiE11 Given the value of α, it is called residual qualification model when Φ<α. The value of αcan be 0.01, 0.05, or 0.10, and the corresponding model is perfect, qualified, and barely qualified. As shown in Eq. (12), Gray correlation degree measures the correlating coefficient between the original sequence and the reference sequence: εik=miniminkxkxik+ρmaximaxkxkxikxkxik+ρmaximaxkxkxikE12 i denotes the ith group of fitting data, and kdenotes the kth one in a certain group. ρdenotes the distinguish coefficient varying from 0 to 1, which is always set as 0.5. However, the correlation coefficient varies with moments, which results in disperse information. Combining the correlation coefficient in different moments together, we can obtain the correlation degree between the original curve and the fitting curve: ri=1nk=1nεikE13 ### 2.2 Markov model Markov chain is proposed by Andrey Markov (1856–1922), and it is a discrete time stochastic process with Markov property in mathematics. Given the current knowledge and information, historical information has no impact on the future. To improve prediction accuracy, Markov model is used to handle the data obtained by GM(1,1). It is critical to divide state and build transition matrix. #### 2.2.1 Dividing states To divide states, four rules are suggested to follow. Firstly, the partition state must have at least one true value in each state. Secondly, elements in a one-step transition matrix cannot be the same. Thirdly, the actual values must fall into one state. Finally, the state must pass Markov test. The numbers vary according to the original data. In this chapter, the overall level of FDI in China is on the rise while fluctuating in detail. Therefore, the level of FDI is a non-stable stochastic process. Taking the curve of Ŷk=x̂0k+1as reference, the sequence can be divided into nstates. The intervals can be denoted as Qi=Q1iQ2iand i=1,2,,n, in which Q1i=Ŷk+E1iand Q2i=Ŷk+E2i. #### 2.2.2 Transition matrix Assuming that there are nstates denoting asE1,E2,,En, the transition probability amounts to frequency approximately in general, namely, Pij=MijlMi. Then, we can get the lth step transition matrixPl=Pijln×n. Mijlis the data of raw series transferring lstep from the state Qito the state Qj. #### 2.2.3 The forecasting value The eventual forecast is in the center of the Gray zone, which is denoted as Yk=12Q1i+Q2i=Ŷk=12E1i+E2i. Eventually, the forecasting sequence is obtained as Yk=Y1Y2Ym. ## 3. Time series model (TSM) Burg suggests that recursive algorithm estimated by the AR(P) model is the most practical one [29], while Hannan proposes time series with multidimensional linear stationary RMApq. The times series model mainly includes the autoregressive model and the moving average model [30, 31, 32], and generally the modeling steps are as follows. ### 3.1 Preliminary analysis of data and modeling identification Time series prediction is a statistical method processing dynamic data, which is a random sequence arranged in chronological order or a set of ordered random variables defined in probabilistic space {Xt, t= 1, 2, …, n}, in which the parameter trepresents time. In the TSM, if the samples’ autocorrelation function ρ̂kdecreases to zero based on the negative exponential function, then it can be preliminarily judged that this sequence is a stationary autoregressive moving average model (ARMA). If the absolute value of the sample autocorrelation function in the q-step delayρ̂kkqis greater than twice of the standard deviation and the value ofρ̂kk>qis less than twice of the standard deviation, then the sequence is q-step moving average model (MA(q)). In a similar vein, we can judge p-step autoregressive moving average model (AR(p)) according to the truncation situation of partial autocorrelation function φ̂kk. ### 3.2 Parameter estimation In order to fit the TSM, we need to estimate the autoregressive coefficient φi, the moving average coefficient θi, the mean μ, and the variance σε2of the white noise sequence in the ARMA model. ### 3.3 Diagnostic test The purpose of diagnostic test is to check and test the rationality of the model, including residual test, autocorrelation function of residual error and partial autocorrelation function test, and the significance test of parameters in the model. ### 3.4 Optimal model selection Model recognition is only a preliminary selection of TSM. Considering the actual observed errors and statistical errors, several models are taken as candidate models. And the most common methods of selecting optimal models include F-test method, criterion function method (AIC criterion, BIC criterion, SBC criterion). ## 4. Comparison of GMM and TSM ### 4.1 GMM predicting FDI of China Take the FDI value of China over the period from 1990 to 2016 as the original data (unit,$100 million; data source, Ministry of Commerce of the PRC):

X0={34.87, 43.66, 110.08, …, 1260}

Based on Eq. (5) and using the software MATLAB, the least squares estimation (LSE) of FDI is as follows:

Φ=âb̂=0.0697243.795

Based on Eq. (7), time-response function can be written as x̂k+1=3530.59e0.0697k3495.72. Residual values can be obtained according to relative error based on the prediction value of GM(1,1) model. To improve the predicting accuracy, the relative error can be divided into five states (E1, E2, E3, E4, E5) between 1990 and 2010. The relative error status can be seen in Tables 2.

Residual StateE1E2E3E4E5
MeaningExtremely underestimatedUnderestimatedReasonableOverestimatedExtremely overestimated
Range[−0.17, −0.10][−0.10, 0.02][0.02, 0.07][0.07, 0.12][0.12, 0.83]

### Table 1.

Relative error status of FDI level in China.

YearOriginalRelative error of GMStateYearOriginalRelative error of GMState
199034.870E32001468.780.0848E4
199143.660.8288E52002527.430.0397E3
1992110.080.5974E52003535.050.0914E4
1993275.150.0615E32004606.300.0398E3
1994337.67−0.0741E22005603.250.109E4
1995375.21−0.1131E12006630.210.1318E4
1996417.26−0.1545E12007747.680.0394E3
1997452.57−0.1679E12008923.95−0.1071E1
1998454.63−0.0941E12009900.33−0.0061E2
1999403.190.095E420101057.35−0.102E1
2000407.150.1477E4

### Table 2.

Comparison of GM(1,1) prediction value and original value of FDI of China.

Data source: China Statistical Yearbook over the period from 2000 to 2006, Ministry of Commerce of the PRC.

According to the original FDI value over a period from 1990 to 2010 and the relative error of prediction value in GM(1,1), the transition matrixes of different steps P1ii=12345are shown as follows:

P11=35150150100001414012000121200012012,P12=350025010000141414140160131200121200,P13=140034010000120141401616131301212000,
P14=001434010000230013016161313010000,P15=001434000010131313002501525010000

Based on the transition matrix, we can obtain the error state over a period from 2011 to 2016 (see Table 3). Taking the middle value of the error state to modify the prediction value of GM(1,1) model, then the modified value can be seen in Table 3. And x0k, x̂0k, and ϕirepresent the original value, predicting value and relative error of GM(1,1). x̂0kand ϕirepresent the modified value and relative error of GMM.

Yearx0kx̂0kϕix̂0kϕi
199034.870.0349033.4752−0.0471
199143.660.25500.8288127.50820.6739
1992110.080.27340.5974136.71820.2332
1993275.150.29320.0615281.45940.0173
1994337.670.3144−0.0741326.9385−0.0328
1995375.210.3371−0.1131379.204370.0193
1996417.260.3614−0.1545406.5945−0.0172
1997452.570.3875−0.1679435.9630−0.0289
1998454.630.4155−0.0941467.45280.0360
1999403.190.44550.0950392.06320.0000
2000407.150.47770.1477420.38210.0582
2001468.780.51220.0848450.7465−0.0113
2002527.430.54920.0397527.2409−0.0056
2003535.050.58890.0914518.2134−0.0040
2004606.300.63140.0398606.1574−0.0055
2005603.250.67700.1090595.77870.0154
2006630.210.72590.1318638.81210.0407
2007747.680.77840.0394747.2223−0.0059
2008923.950.8346−0.1071938.89980.0246
2009900.330.8949−0.0061930.65400.0326
20101057.350.9595−0.10201079.43270.0291
20111160.111.0288−0.12761157.40060.0065
20121117.201.1031−0.01281241.00020.1077
20131175.901.18280.00581330.63830.1241
20141195.601.26820.05731116.0363−0.0417
20151262.701.35980.07141196.648−0.0260
20161260.001.45800.13581283.08260.0451

### Table 3.

Residual checklist of Markov model and GM(1,1).

Annotations: The unit of x0kand x̂0kis 1 billion dollars. The unit of x̂0kis 103 billion dollars. Data source: China Statistical Yearbook.

In the light of Eqs. (9)(11), the relative residual error of GM(1,1) and GMM is 0.0584<α=0.1and 0.0458<α=0.05, respectively. Therefore, the GM(1,1) model is barely qualified, and the modified GMM model is qualified. Gray correlation degrees of the two models are 67 and 79.9%, respectively. In summary, the prediction accuracy of GMM has been improved, and its fitting effect exceeds the model of GM(1,1).

### 4.2 TSM predicting FDI of China

Now we will build a TSM based on the FDI value of China over the period from 1990 to 2016, obtain the predicting data, compare the difference between the predicted data and the original date, and evaluate the accuracy of this model.

Figure 1 shows the changing tendency of FDI in China over the period between 1990 and 2016. The raw data series show the seasonal change and overall growth, but the data series are not stable. Through the seasonal difference method to process the data, the seasonal difference order of three was selected. After the differential processing, the data sequence has been stabilized, eliminating the growing trend (Figure 2).

We determine the order of TSM based on sample autocorrelation function and partial autocorrelation function. After the one-step delay, the sample autocorrelation function falls to a standard error of twice times and has the property of truncation. After the two-step delay, the sample partial autocorrelation function falls to a standard error of twice times and has the property of truncation.

In the light of the calculation of SAS software, now we compare the model of ARMA(2,1), AR(2), and MA(1) (see Tables 4 and 5).

ModelParameterEstimateP-valueAICSBC
AR(2)MU2.0711<0.0001***1.06034.5944
AR1,11.5357<0.0001***
AR1,2−0.53920.0102**
MA(1)MU0.46760.0038***28.729731.08558
MA1,1−0.70990.0001***
ARMA(2,1)MU1.9380<0.0001***0.70625.4184
MA1,1−0.49400.1192
AR1,11.23520.0015***
AR1,2−0.23580.5028

### Table 4.

Prediction results of TSM.

Annotations: ***, **, and * indicate a significant level of 0.01, 0.05, and 0.1, respectively.

To lag61218
Chi-square3.915.448.02
Pr>ChiSq0.41870.85990.9481

### Table 5.

Self-correlation test of AR(2) model.

Comparing the AIC and SBC values for ARMA(2,1), AR(2), and MA(1) models (see Table 4), we find the model MA(1) to be the most inferior. Considering the AIC and SBC criterion values of ARMA(2,1) and AR(2) and the significance of parameters, it is found that fitting effect of the AR(2) model is the best.

As shown in Table 5, the P-value (Pr>ChiSq) for self-correlation test of the residual sequence with the 6-step delay, the 12-step delay and the 18-step delay are greater than that of the significant levelα= 0.1. Therefore, we cannot reject the hypothesis that residuals are non-autocorrelated. That is to say, the residual is regarded as a white noise sequence. This illustrates that the AR(2) model has extracted sufficient information from the raw series and it is a rational model:

(1−1.53571B+0.53921B2)(1B3)Xt=εt

where X=num2.0711, t=year, and num represents the FDI value of the corresponding year.

### 4.3 Comparison of prediction results of two models

#### 4.3.1 Accuracy assessment

Regarding how to select the appropriate accuracy evaluation criteria, Yokuma and Armstrong [33] have done a survey of expert opinions. They think that accuracy, clear physical meaning, and being easy to implement can be the critical evaluation criteria [33]. Accordingly, three criteria are used to evaluate the accuracy of the prediction model.

#### 4.3.2 Comparing predicted values with actual values

As shown in Table 6, the prediction accuracy of GMM has been improved manifestly compared with that in GM(1,1) model. Therefore, the forecasting value in GMM is closer to the actual level of China’s FDI. Then, from Figures 3 and 4, we can clearly see that GMM model has a better fitting effect than that in TSM.

CriterionMean squared errorMean absolute errorMean absolute percentage error
IndexMSE=1ni=1nxix̂i2MAE=1ni=1nxix̂iMAPE=1ni=1nxix̂ixi
GM(1,1)7.3991e+0366.08120.3117
GMM2.4731e+0329.55580.1181
Time series1.6644e+0485.61010.1448

### Table 6.

Three criteria to evaluate the accuracy of models.

Annotations: x̂iis the predicting value, xiis the original value, and nis the predicting number.

## 5. Empirical analysis of FDI in Chongqing and Beijing

From discussions above, it is found that GMM has higher prediction accuracy and better fitting effects than those of TSM of Chinese FDI level. To further verify the credibility of this result, we construct GMM and TSM based on the FDI level of Beijing (1990–2016) and Chongqing (1990–2015). The divided states involved in the GMM are shown in Table 7, and the transition matrixes of GMM associated with Beijing and Chongqing are denoted as P2and P3. For simplification, we only list the form of transition matrix P2. The comparison of GM(1,1) and GMM can be seen in Tables 8 and 9. The average relative errors of GM(1,1) and GMM of Beijing (Chongqing) are 0.0312 (0.5285) and −0.0029 (−0.1051), respectively. The Gray relational degrees of GM(1,1) and GMM of Beijing (Chongqing) are 64.62% (75.26%) and 79.39% (86.82%), respectively. Therefore, the errors of GM(1,1) and GMM are barely qualified or qualified, and hence GMM is superior to GM(1,1):

P11=2444000152515150013130131501525150002313,P12=2414014002525150012001215151515151300230,P13=14240140002414140120120152502502301300,
P14=14141401400132301201200035151502313000,P15=014034000012121201200152525001323000
AreaError stateE1E2E3E4E5
BeijingRange[−0.47, −0.2][−0.2, −0.1][−0.1, 0.1][0.1, 0.28][0.28, 0.65]
ChongqingRange[0, 0.28][0.28, 0.55][0.55, 0.75][0.75, 0.81][0.81,0.97]

### Table 7.

Residual states of FDI in Beijing and Chongqing.

YearOriginal valueGM(1,1)GMMTSMTo stateGRMR
199027,6960.02770.02770.0277E300
199124,4820.06930.03710.0245E50.64660.3395
199234,9840.07800.04170.0364E50.55140.1614
199366,6930.08780.07110.0311E40.24010.0618
1994144,4600.09880.11210.0863E1−0.4625−0.2885
1995140,2770.11120.12620.1342E1−0.2617−0.1117
1996155,2900.12510.14200.1969E1−0.2410−0.0934
1997159,2860.14080.16200.1514E2−0.13100.0165
1998216,8000.15850.17990.2127E1−0.3677−0.2050
1999197,5250.17840.20520.2126E2−0.10710.0373
2000168,3680.20080.16260.2680E40.1615−0.0352
2001176,8180.22600.18310.1767E40.21760.0341
2002172,4640.25440.13610.2213E50.3220−0.2673
2003219,1260.28630.23190.1890E40.23460.0551
2004255,9740.32220.26100.2560E40.20560.0193
2005352,8340.36270.36270.2878E30.02710.0271
2006455,1910.40820.46940.3979E2−0.11510.0303
2007506,5720.45940.52830.5179E2−0.10260.0412
2008608,1720.51710.59470.5870E2−0.1761−0.0227
2009612,0940.58200.58200.6851E3−0.0517−0.0517
2010636,3580.65500.65500.7277E30.02850.0285
2011705,4470.73730.83680.7195E50.04310.1570
2012804,1600.82980.67210.8222E40.0309−0.1964
2013852,4180.93390.75650.9097E40.0873−0.1268
2014904,0851.05121.05121.0009E30.13990.1399
20151,299,6351.18311.34281.0292E1−0.09850.0322
20161,302,8581.33161.51141.4400E10.02160.1380

### Table 8.

Comparison of predicted errors of GMM and GM(1,1) of Beijing FDI level.

Annotations: In Table 8, the unit of original value is 1 million dollars. GM, GMM, and TSM represent the predicted value of Gray model, Gray-Markov model, and time series model, and their unit is 106 million dollars. GR and MR represent the residuals of Gray model and Gray-Markov model. Data source: Beijing Statistical Yearbook (1990–2017), Beijing Municipal Bureau of Statistics.

YearOriginal valueGM(1,1)GMMTSMTo stateGRMR
19903320.00330.00290.0003E10−0.1628
19919770.31590.03470.0010E50.96910.7188
199210,2470.36470.12760.0029E30.71900.1972
199325,9150.42100.24630.0846E20.3844−0.0523
199444,9530.48600.41800.0686E10.0751−0.0755
199537,9260.56110.32820.0842E20.3241−0.1554
199621,8780.64780.22670.0406E30.66230.0350
199738,4660.74780.43750.0165E20.48560.1207
199843,1070.86330.50500.0755E20.50070.1465
199923,8930.99670.21930.0563E40.7603−0.0897
200024,4361.15060.25310.0181E40.78760.0347
200125,6491.32840.29220.0296E40.80690.1223
200228,0891.53350.16870.0329E50.8168−0.6651
200331,1121.77040.19470.0360E50.8243−0.5976
200440,5082.04390.44970.0417E40.80180.0991
200551,5752.35960.51910.0599E40.78140.0065
200669,5952.72410.95340.0776E30.74450.2700
2007108,5343.14481.10070.1059E30.65490.0139
2008272,9133.63063.12230.1930E10.24830.1259
2009401,6434.19143.60460.6941E10.0417−0.1143
2010304,2644.83882.83070.6809E20.3712−0.0749
2011582,5755.58623.26790.2878E2−0.0429−0.7827
2012352,4186.44903.77271.2269E20.45350.0659
2013414,3537.44524.35540.2769E20.44350.0487
2014423,3488.59521.89090.5837E40.5075−1.2388
2015377,1839.92282.18300.5124E40.6199−0.7278
20163320.00330.00290.0003E10−0.1628

### Table 9.

Comparison of predicted errors of GMM and GM(1,1) of Chongqing FDI level.

Annotations: In Table 9, the unit of original value is 1 million dollars. GM, GMM, and TSM represent the predicted value of Gray model, Gray-Markov model, and time series model, and their unit is 105 million dollars. GR and MR represent the residuals of Gray Model and Gray-Markov model. Data source: Chongqing Statistical Yearbook (1990–2016), Beijing Municipal Bureau of Statistics.

Similar to Section 4.2, TSM of Beijing FDI can be modeled as MA (1):

1+0.82673B1B2Xt=εt

where X=num0.27264and t=year.

TSM of Chongqing FDI can be modeled as ARMA(1,2,1):

10.82442B1+B1B2Xt=εt

where X=num2.178452and t=year.

Figure 5 (Figure 6) shows the difference between the original value and the predicting value in Gray-Markov model (time series model) of foreign direct investment in Beijing. It is apparent that the fitting effect of GMM is better than that of TSM. The similar conclusion can be drawn from Figures 7 and 8. Tables 9 and 10 show the predicting effect of GMM is better than that of TSM from the point of predicting errors and accuracy. There is no doubt that it is a good thing to predict accurately the foreign direct investment of the forthcoming 5 or 10 years for the domain specialists. Because if the predicting results is lower or higher than they expected, they could pay attention to seeking the critical factors and policy which have impacts on FDI and adjust them in advance.

AreaIndexMSE=1ni=1nxix̂i2MAE=1ni=1nxix̂iMAPE=1ni=1nxix̂ixi
BeijingGM(1,1)3.3244e+094.7473e+040.2587
GMM4.3599e+093.9369e+040.1032
TSM5.4378e+094.6731e+040.1335
ChongqingGM(1,1)3.9173e+101.3478e+052.9584
GMM5.8230e+093.4080e+040.2663
TSM4.4524e+101.0126e+050.6018

### Table 10.

Comparison of predicting accuracy of two models.

Annotations: MSE, MAE, and MAPE denote mean squared error, mean absolute error, and mean absolute percentage error.

## 6. Conclusions and future work

Our contributions are threefold. Firstly, comparing the predicting results of the Gray-Markov model and the time series model and the original value, respectively, we can find that the fitting effect of the former (GMM) is better than the latter (TSM) and so does its scientific and practical importance. Secondly, the predicting results of GMM show that the level of foreign investment in China has been increasing by years. Thirdly, in order to further enhance Chinese international status and attract more foreign investment, the government should play a role at a macro level to reduce excessive market administrative intervention, establish a service-oriented government, and reduce the relevant approval procedures for international investment.

In the future work, the Gray-Markov model and time series model can be combined with other predicting model (e.g., support vector machine and dynamic Bayesian) to improve the accuracy. Also these models have the potential to be applied in the other areas such as finance (e.g., stocks, funds, and security), risk (e.g., financial risk and operational risk), and business (e.g., consumer price index and incomes).

## Acknowledgments

This chapter is financially supported by the National Natural Science Foundation of China under grant nos. 71771080, 71172194, 71521061, 71790593, 71642006, 71473155, 71390335, and 71571065.

chapter PDF
Citations in RIS format
Citations in bibtex format

## More

© 2019 The Author(s). Licensee IntechOpen. This chapter is distributed under the terms of the Creative Commons Attribution 3.0 License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

## How to cite and reference

### Cite this chapter Copy to clipboard

Yanyan Zheng, Tong Shu, Shou Chen and Kin Keung Lai (October 23rd 2019). Using Gray-Markov Model and Time Series Model to Predict Foreign Direct Investment Trend for Supporting China’s Economic Development, Time Series Analysis - Data, Methods, and Applications, Chun-Kit Ngan, IntechOpen, DOI: 10.5772/intechopen.83801. Available from:

### Related Content

Next chapter

By Chris Aldrich

#### Advances in Statistical Methodologies and Their Application to Real Problems

Edited by Tsukasa Hokimoto

First chapter

#### Why the Decision‐Theoretic Perspective Misrepresents Frequentist Inference: Revisiting Stein’s Paradox and Admissibility

By Aris Spanos

We are IntechOpen, the world's leading publisher of Open Access books. Built by scientists, for scientists. Our readership spans scientists, professors, researchers, librarians, and students, as well as business professionals. We share our knowledge and peer-reveiwed research papers with libraries, scientific and engineering societies, and also work with corporate R&D departments and government entities.

View all Books