Back
 OALibJ  Vol.8 No.8 , August 2021
The Forecast Research of Linear Regression Forecast Model in National Economy
Abstract: Based on application of Linear Regression Model in national economy. Statistical Yearbook of China is a statistical data book published by China. Some different types of data in China have been documented every year. The dissertation is researching some part of national economy in Statistical Yearbook of China to research the relationship between GNP (gross national product) and various data, and afterwards to establish model to achieve some rationalization suggestions for the future of the National Economy. The basic method for data mining is prediction. The method proposed in this dissertation will use multiple linear regression model combined with Gray Prediction to research to achieve processing information. This dissertation uses forward stepwise regression or backward stepwise regression in multiple linear regression to make specific data model. Afterwards some fuzzy data will be analysed with Gray prediction model. Finally, the combination of the two realizes the data prediction algorithm. The main calculation tools that will be used in this dissertation are SPSS and MATLAB. The prediction results are based on model which is obtained in this dissertation. After comparing the multiple linear regression and the grey prediction model, the researcher found the algorithm of this dissertation is more accurate, thereby verifying the rationality of the prediction model in this dissertation.

1. Introduction

The analysis method of the national economy has always been linear regression or other various methods for regression analysis, but when we use a single method for forecasting or data analysis, there will often be large errors or large limitations. In this case, the combined model can often be used to calculate more accurate results. For example, when using a multiple linear regression model, it can predict data with a linear relationship, but it cannot predict data with an exponential relationship. When using a gray prediction model, can only make fuzzy predictions on the data, and cannot reflect the linear relationship of the data. The model in this article solves the problem that the linear prediction cannot determine the highest power and function, and at the same time solves the problem that the gray prediction model cannot perform linear prediction. Combining the two can be used in a variety of sequence forecasts with both linear and exponential growth trends in the future. It has broad significance and can make better predictions on the data.

2. Multiple Linear Regression and Grey Forecast Theory Basis

2.1. Introduction to Multiple Linear Regression

Suppose there is a random variable y and a general variable x 1 , x 2 , , x p . The linear regression model between is

y = β 0 + β 1 x 1 + β 2 x 2 + + β p x p + ε (1.1)

In β 0 , β 1 , , β p is p + 1 , unknown parameter β 0 can be called regression constant, β 1 , , β p is regression coefficients. Y is dependent variable, x 1 , x 2 , , x p is p general variables that can be accurately measured and controlled at the same time are called independent variables. When P = 1, the formula (1) is called a univariate linear regression model. At that time, we can call Equation (1) a multiple linear regression model. ε is random error. Regarding the random error term, we usually set { E ( ε ) = 0 V a r ( ε ) = σ 2 , E ( x ) = β 0 + β 1 x 1 + β 2 x 2 + + β p x p is the theoretical regression equation.

For a practical problem, if we have obtained n sets of observation data ( x i 1 , x i 2 , , x i p ; y i ) ( i = 1 , 2 , , n ) then the above linear regression model Equation (1) can be expressed as

{ y 1 = β 0 + β 1 x 11 + β 2 x 12 + + β p x 1 p + ε 1 y 2 = β 0 + β 1 x 21 + β 2 x 22 + + β p x 2 p + ε 2 y n = β 0 + β 1 x n 1 + β 2 x n 2 + + β p x n p + ε n (1.2)

It is written in the form of a matrix:

y = X β + ε , y = [ y 1 y 2 y n ] , X = [ 1 x 11 x 12 x 1 p 1 x 21 x 22 x 2 p 1 1 x n 1 x n 2 x n p ] , β = [ β 1 β 2 β p ] , ε = [ ε 1 ε 2 ε p ] (1.3)

The second term X is a n × ( p + 1 ) matrix of order, which is called regression design matrix or data matrix. In the design of the experiment, because the elements in X can be set in advance and can be controlled, because there are some subjective factors, so X is called the design matrix [1].

For example, to analyze the relationship between automobile characteristics and automobile sales volume, a multivariate linear regression model is established first. The data used by the model is shown in Figure 1 [2] [3] [4].

Firstly, it is stepwise regressed by SPSS, then selected, analyzed, regressed and linearized, and obtained (Tables 1-3).

Figure 1. Relationship between automobile characteristics and automobile sales volume.

Table 1. Model summary table.

APredicted value: (constant), resale, length, horsepow, width, wheelbas, engineers, price; BPredicted value: (constant), resale, length, horsepow, width, wheelbas, engineers; CPredicted value: (constant), resale, length, horsepow, wheelbas, engineers; DPredicted value: (constant), resale, length, wheelbas, engineers; EPredicted Value: (constant), resale, length, wheelbase.

Table 2. Analysis of variance.

AVariable: Sales; BPredicted values: (constant), resale, length, horsepow, width, wheelbas, engineers, price; CPredicted values: (constant), resale, length, horsepow, width, wheelbas, engineers; DPredicted values: (constant), resale, length, horsepow, wheelbas, engineers; EPredicted values: (constant), resale, length, wheelbas, engineers; FPredicted values: (constant), resale, length, wheelbas.

Table 3. Excluded variables table.

AVariable: Sales; BPredicted values in the model: (constant), resale, length, horsepow, width, wheelbas, engineers; CPredicted values in the model: (constant), resale, length, horsepow, wheelbas, engineers; DPredicted values in model: (constant), resale, length, wheelbas, engineer; EPredicted values in the model: (constant), resale, length, wheelbas.

2.2. Grey Pre-Test and Test

Grey prediction method is a kind of prediction method for some systems with uncertain factors. Grey theory holds that although some systematic behavior phenomena are hazy and the data are complex, they are still orderly and have certain overall functions. Therefore, the generation of grey number is to find the law from the clutter, and the grey theory establishes a generated data model instead of the original data model, so the data used in grey prediction is the result of inverse processing of some predicted values obtained from the GM model of generated data. The method of grey prediction is a branch of theory in the field of fuzzy prediction, which is more perfect in theory and method [5].

Model of grey prediction

First of all, we should do some preprocessing to the data.

For example, let’s say that the original data sequence is

x ( 0 ) = { x ( 0 ) ( 1 ) , x ( 0 ) ( 2 ) , , x ( 0 ) ( N ) } = { 6 , 3 , 8 , 10 , 7 }

Accumulate this set of data

x ( 1 ) ( 1 ) = x ( 0 ) ( 1 ) = 6 x ( 1 ) ( 2 ) = x ( 0 ) ( 1 ) + x ( 0 ) ( 2 ) = 6 + 3 = 9 x ( 1 ) ( 3 ) = x ( 0 ) ( 1 ) + x ( 0 ) ( 2 ) + x ( 0 ) ( 3 ) = 6 + 3 + 8 = 17 x ( 1 ) ( 4 ) = x ( 0 ) ( 1 ) + x ( 0 ) ( 2 ) + x ( 0 ) ( 3 ) + x ( 0 ) ( 4 ) = 6 + 3 + 8 + 10 = 27 x ( 1 ) ( 5 ) = x ( 0 ) ( 1 ) + x ( 0 ) ( 2 ) + x ( 0 ) ( 3 ) + x ( 0 ) ( 4 ) + x ( 0 ) ( 5 ) = 6 + 3 + 8 + 10 + 7 = 34

You can get a new sequence of data

x ( 1 ) = { 6 , 9 , 17 , 27 , 34 }

The above formula can be x ( 1 ) ( i ) = { j = 1 i x ( 0 ) ( j ) | i = 1 , 2 , , N } summed up as, then we can call the sequence represented in this data an accumulation generation of the original data sequence, and we can also call it an accumulation x ( 1 ) ( 1 ) = x ( 0 ) ( 1 ) generation, obviously. Therefore, it can be assumed that an exponential curve or even a straight line is used to approximate this accumulated generated x ( 1 ) sequence. In order to return this accumulated sequence to the original sequence, it is necessary to carry out post-subtraction operation, which can also be called subtraction generation, that is, the difference between the two data before and after, as in the above example

Δ x ( 1 ) ( 5 ) = x ( 1 ) ( 5 ) x ( 1 ) ( 4 ) = 34 27 = 7 Δ x ( 1 ) ( 4 ) = x ( 1 ) ( 4 ) x ( 1 ) ( 3 ) = 27 17 = 10 Δ x ( 1 ) ( 3 ) = x ( 1 ) ( 3 ) x ( 1 ) ( 2 ) = 17 9 = 8 Δ x ( 1 ) ( 2 ) = x ( 1 ) ( 2 ) x ( 1 ) ( 1 ) = 9 6 = 3 Δ x ( 1 ) ( 1 ) = x ( 1 ) ( 1 ) x ( 1 ) ( 0 ) = 6 0 = 6

Summarizing the above formulas, we can get the following results:

Δ x ( 1 ) ( i ) = x ( 1 ) ( i ) x ( 1 ) ( i 1 ) = x ( 0 ) ( i ) (1.4)

Among them i = 1 , 2 , , N , x ( 0 ) ( 0 ) = 0.

Modeling principle of grey prediction model.

Give a column of observation data x ( 0 ) = { x ( 0 ) ( 1 ) , x ( 0 ) ( 2 ) , , x ( 0 ) ( N ) } Add it up once and get it. x ( 1 ) = { x ( 1 ) ( 1 ) , x ( 1 ) ( 2 ) , , x ( 1 ) ( N ) } Let x ( 1 ) the first order differential equation be d x ( 1 ) d t + a x ( 1 ) = u satisfied, and this equation also satisfies the initial conditions when t = t 0 , x ( 1 ) = x ( 1 ) ( t 0 ) The solution of is x ( 1 ) ( t ) = [ x ( 1 ) ( t 0 ) u a ] e a ( t t 0 ) + u a .

The method of grey modeling is to estimate the constants and by using the least square method through a a cumulative u sequence. Because x ( 1 ) ( 1 ) they are used as initial values, they are x ( 1 ) ( 2 ) , x ( 1 ) ( 3 ) , , x ( 1 ) ( N ) all brought into the equation separately, x ( 1 ) = x ( 1 ) ( t 0 ) and the difference is used instead of the differential, and because they are sampled at equal Δ t = ( t + 1 ) t = 1 intervals, they can be obtained

Δ x ( 1 ) ( 2 ) Δ t = Δ x ( 1 ) ( 2 ) = x ( 1 ) ( 2 ) x ( 1 ) ( 1 ) = x ( 0 ) ( 2 ) (1.5)

So there are similar Δ x ( 1 ) ( 3 ) Δ t = x ( 0 ) ( 3 ) , , Δ x ( 1 ) ( N ) Δ t = x ( 0 ) ( N ) ones,

The x ( 1 ) = x ( 1 ) ( t 0 ) term { x ( 0 ) ( 2 ) + a x ( 1 ) ( 2 ) = u x ( 0 ) ( 3 ) + a x ( 1 ) ( 3 ) = u x ( 0 ) ( N ) + a x ( 1 ) ( N ) = u is then a x ( 1 ) ( i ) moved to the right and written as the quantity product of the vector because it { x ( 0 ) ( 2 ) = [ x ( 1 ) ( 2 ) , 1 ] [ a u ] x ( 0 ) ( 3 ) = [ x ( 1 ) ( 3 ) , 1 ] [ a u ] x ( 0 ) ( N ) = [ x ( 1 ) ( N ) , 1 ] [ a u ] also Δ x ( 1 ) Δ t involves accumulating the values x ( 1 ) of the two times in the column, x ( 1 ) ( i ) so it is more appropriate to take the average of the two times before and after, that is, x ( i ) ( i ) it will 1 2 [ x ( i ) ( i ) + x ( i ) ( i 1 ) ] , ( i = 2 , 3 , , N ) be replaced by, so the formula in the form of the quantity product of the vector before will be rewritten into a matrix expression

[ x ( 0 ) ( 2 ) x ( 0 ) ( 3 ) x ( 0 ) ( N ) ] = [ 1 2 [ x ( 1 ) ( 2 ) + x ( 1 ) ( 1 ) ] 1 1 2 [ x ( 1 ) ( 3 ) + x ( 1 ) ( 2 ) ] 1 1 2 [ x ( 1 ) ( N ) + x ( 1 ) ( N 1 ) ] 1 ] [ a u ] , (1.6)

Order, y = ( x ( 0 ) ( 2 ) , x ( 0 ) ( 3 ) , , x ( 0 ) ( N ) ) T where T means transposition, order B = [ 1 2 [ x ( 1 ) ( 2 ) + x ( 1 ) ( 1 ) ] 1 1 2 [ x ( 1 ) ( 3 ) + x ( 1 ) ( 2 ) ] 1 1 2 [ x ( 1 ) ( N ) + x ( 1 ) ( N 1 ) ] 1 ] Then U = [ a u ] the original matrix expression can also be written as, Y = B U it is estimated by the least square method U ^ = [ a ^ u ^ ] = ( B T B ) 1 B T y as, and the a ^ estimated u ^ values

{ x ( 0 ) ( 2 ) + a x ( 1 ) ( 2 ) = u x ( 0 ) ( 3 ) + a x ( 1 ) ( 3 ) = u x ( 0 ) ( N ) + a x ( 1 ) ( N ) = u are substituted into such a time response equation x ^ ( 1 ) ( k + 1 ) = [ x ( 1 ) ( 1 ) u ^ a ^ ] e a ^ k + u ^ a ^ , when k = 1 , 2 , , N 1 What is calculated from the above x ^ ( 1 ) ( k + 1 ) formula is a fitting value; k N At x ^ ( 1 ) ( k + 1 ) that time, it was a predicted value, which was the fitted value x ( 1 ) relative to a cumulative sequence, and then restored by post-subtraction operation. At k = 1 , 2 , , N 1 that time, the fitted x ( 0 ) value could x ^ ( 0 ) ( k + 1 ) be k N obtained; At that time, the forecast x ( 0 ) value of the original series can be obtained.

This chapter introduces the theoretical basis of this paper, introduces the concept of multiple linear regression model and its application examples, and introduces the concept of grey theory and the modeling basis of grey theory, as well as the simple modeling method and calculation method of grey theory [6] [7].

3. Prediction Model Based on Multiple Linear Regression and Grey Prediction

3.1. Grey Forecast and Its Advantages

3.1.1. GM (1, 1) Model

GM series models are the basic models in grey prediction theory, especially GM (1, 1) model is widely used. The model used in this paper is GM (1, 1) model. There are four basic forms of GM (1, 1) model, including mean GM (1, 1) model, original difference GM (1, 1) model, mean difference GM (1, 1) model and discrete GM (1, 1) model. The definitions of these four models are explained as follows:

There is X ( 0 ) = ( x ( 0 ) ( 1 ) , x ( 0 ) ( 2 ) , , x ( 0 ) ( n ) ) a x ( 0 ) ( k ) 0 , k = 1 , 2 , , n sequence, X ( 1 ) wherein; X ( 0 ) 1-AGO sequence of: x ( 1 ) ( k ) = i = 1 k x ( 0 ) ( i ) , k = 1 , 2 , , n where; Weighing

x ( 0 ) ( k ) + a x ( 1 ) ( k ) = b (2.1)

It is the original form of GM (1, 1) model, and the original form of GM (1, 1) model is essentially a difference equation. The parameter a ^ = [ a , b ] T vector in Equation (2.1) can also be estimated by least square method

a ^ = ( B T B ) ( 1 ) B T Y (2.2)

where Y and B are respectively

Y = [ x ( 0 ) ( 2 ) x ( 0 ) ( 3 ) x ( 0 ) ( n ) ] , B = [ x ( 1 ) ( 2 ) 1 x ( 1 ) ( 3 ) 1 x ( 1 ) ( n ) 1 ] (2.3)

Therefore, based on the original form of GM (1, 1) model and Formula (2.2), the parameters of the model are estimated, and the solution of the original difference Equation (2.1) is directly used as the time response formula, and the obtained model is called the original difference form of GM (1, 1) model [8].

Suppose, X ( 0 ) as X ( 1 ) shown in Equation (2.1)

Z ( 1 ) = ( z ( 1 ) ( 2 ) , z ( 1 ) ( 3 ) , , z ( 1 ) ( n ) ) , where Z ( 1 ) ( k ) = 1 2 ( x ( 1 ) ( k ) + x ( 1 ) ( k + 1 ) ) , k = 2 , 3 , , n call

x ( 0 ) ( k ) + a z ( 1 ) ( k ) = b (2.4)

is in the form of the mean value of GM (1, 1) model. The mean value of GM (1, 1) model is essentially a difference equation. The parameter a ^ = [ a , b ] T vectors in Equation (2.4) can also be estimated using Equation (2.2), where it is important to note that some elements in Matrix B differ from Equation (2.3)

B = [ z ( 1 ) ( 2 ) 1 z ( 1 ) ( 3 ) 1 z ( 1 ) ( n ) 1 ] (2.5)

d x ( 1 ) d t + a x ( 1 ) = b (2.6)

is called an albino differential equation in mean form of GM (1, 1) model. The matrix B in Equation (2.2) is replaced by Equation (2.5). The parameter vectors in Equation (2.6) are estimated according to the least square estimation method. a ^ = [ a , b ] T With the help of the solution of the above-mentioned whitening differential equation Equation (2.6), the mixed model of difference and differential of the time response equation of GM (1, 1) is constructed, which is called the mean mixed form of GM (1, 1) model, which can be called the mean GM (1, 1) model. The parameter of the mean GM (1, 1) a model is the development coefficient, and B is the grey action. The development a coefficient reflects x ^ ( 1 ) the x ^ ( 0 ) development trend of as well. The estimated model parameters in the form of mean value of GM (1, 1) model can be directly taken the solution of mean difference Equation (2.4) as the model obtained in the time response formula, which is called the mean difference form of GM (1, 1) model, that is, GM (1, 1) model called mean difference. The x ( 1 ) ( k + 1 ) = β 1 x ( 1 ) ( k ) + β 2 discrete form called GM (1, 1) model is called discrete GM (1, 1) model [5].

3.1.2. Advantages and Disadvantages of GM (1, 1) Model

GM (1, 1) model can only use the behavior data sequence of the system to establish the prediction model, which belongs to a relatively simple and practical single sequence modeling method. In the case of time data, it only involves some regular time variables, and in the case of horizontal sequence data, it only involves some regular object serial number variables, but does not involve other explanatory variables. It is simple and can discover some valuable development and change information at the same time, so it has been widely used. However, the practice of forecasting shows that GM (1, 1) model is sometimes very effective, sometimes it is very unsatisfactory, and sometimes it will lose its utility. In order to make up for this small deviation, sometimes some combination models can be used to make up for the deficiency that GM (1, 1) model cannot describe some linear relationships among variables [9].

3.2. Combining Multiple Linear Regression with Grey Prediction

3.2.1. The Inadequacy of Multiple Linear Regression

Although multivariate linear regression is widely used, it also has its own shortcomings. When we can’t determine what kind of function conditions the data meet, multivariate linear can’t determine its specific index, and can’t describe the exponential growth trend. This grey prediction can just complement it [10] [11].

3.2.2. Shortcomings of Grey Prediction

Grey prediction sometimes depends too much on historical data, and does not consider the relationship between various factors, which is too much error for medium and long-term prediction results.

3.2.3. Combining Multiple Linear Regression with Grey Prediction

The grey linear regression combination model can make up for the deficiency of the original linear regression model that can’t describe the exponential growth trend and the GM (1) model that can’t describe the linear relationship among variables, and can predict both the linear growth trend and the exponential growth trend, so the data analysis has higher accuracy.

3.3. Grey Linear Combination Model

Using the method of combining multiple linear regression model with grey forecasting GM (1, 1) model, this paper puts forward that grey linear regression combination model can be used for forecasting, that is, the sum between linear regression y = β 0 + β 1 x 1 + β 2 x 2 + + β p x p + ε equation and exponential y = C 1 e a k + C 2 equation can be used X ( 0 ) ’s1-AGO X ( 1 ) for fitting.

This chapter plays an important role in this paper, This chapter introduces the advantages and disadvantages of the traditional multiple linear regression model, and introduces the grey GM (1, 1) model, and some advantages and disadvantages of the grey GM (1, 1) model. After analysis, it puts forward a model combining the two models, which makes comprehensive use of their advantages and makes them complement each other at the same time, so as to achieve better prediction data. At the same time, this chapter also introduces the research significance of the new model proposed in this paper [12].

4. Application of Forecasting Model in National Economic Data

4.1. National Economic Index Data and Preprocessing

4.1.1. National Economic Indicators

The national economic indicators used in this paper come from the data of China Statistical Yearbook 2017 in recent ten years, that is, the data of gross national product from 2007 to 2016.

The data in Figure 2 is the data that needs to be referenced in this article.

4.1.2. Sample Data Preprocessing

If we want to establish a linear relationship between the gross national product and other values, and hope to achieve the purpose of prediction, then we must establish a multiple linear relationship between the attributes of the current year and the gross national product of the next year.

For example:

GDPin2001 = Constant quantity + k 1 Gross National Product Income in 2000 + k 2 Primary industry in 2000 + + k 5 GDP per capita

By analogy, the linear relationship established in this way is the multiple linear relationship between the current year’s gross national income, the primary industry, the secondary industry, the tertiary industry and the per capita GDP and the next year’s GDP, that is to say, the current year’s value is used to predict the next year’s GDP. Import the data in the above table into SPSS as shown in Figure 3.

Figure 2. National economic data table 2007-2016.

Figure 3. SPSS national economic data chart.

4.2. Multiple Linear Regression Forecasting Model Predicts National Economy

Import the data used into SPSS and then do the following (Figure 4).

Introduce “next year’s gross national product” into dependent variables, and “GDP, primary industry, secondary industry, tertiary industry and per capita GDP” into independent variables. By using the entry method, the multiple linear relationship between them is obtained. The specific operation method is shown in the following figure (Figure 5).

The results are obtained as in Tables 4-7.

4.3. Grey Forecasting Model Predicts National Economy

Establish a grey prediction model to set a X ( 0 ) = ( x ( 0 ) ( 1 ) , x ( 0 ) ( 2 ) , , x ( 0 ) ( n ) ) sequence, which; x ( 0 ) ( k ) 0 , k = 1 , 2 , , n 1-AGO X ( 1 ) sequence X ( 0 ) of: where; then the x ( 1 ) ( k ) = i = 1 k x ( 0 ) ( i ) , k = 1 , 2 , , n parameter x ( 0 ) ( k ) + a x ( 1 ) ( k ) = b vector is a ^ = [ a , b ] T estimated by the least square a ^ = ( B T B ) ( 1 ) B T Y method, where Y and B are

Y = [ x ( 0 ) ( 2 ) x ( 0 ) ( 3 ) x ( 0 ) ( n ) ] , B = [ x ( 1 ) ( 2 ) 1 x ( 1 ) ( 3 ) 1 x ( 1 ) ( n ) 1 ]

Import the model data into MATLAB, and get the following graphics (Figure 6).

Figure 4. SPSS linear regression operation.

Table 4. Variables entered into table.

AVariable: Gross national product for the next year (100 million yuan); BHas reached the tolerance = 0.000 limit.

Table 5. Model summary table.

AValue: (constant), per capita GDP (yuan), added value of secondary industry (100 million yuan), added value of primary industry (100 million yuan), gross national income (100 million yuan).

Table 6. Coefficient table.

ANumber of changes: Gross National Product of the next year (100 million yuan).

Table 7. Excluded variables table.

AVariable: Gross national product for the next year (100 million yuan); BForecast value in the model: (constant), per capita GDP (yuan), added value of secondary industry (100 million yuan), added value of primary industry (100 million yuan), gross national income (100 million yuan).

Figure 5. Spss linear regression operation.

Figure 6. MATLAB analysis chart.

4.4. Grey Linear Combination Model Predicts National Economy

Because there are many sequences of this model, the model of 2.3 is further improved here, and it is X ( 0 ) = { x 1 0 , x 2 0 , , x n 0 } assumed that it is accumulated to X ( 1 ) = { x 1 1 , x 2 1 , , x n 1 } obtain, in which X i 1 = j 1 i x j 0 It x ^ k 1 = C 1 e v k + C 2 k + C 3 is called grey linear regression combination prediction model, where v and C 1 are C 2 undetermined C 3 parameters.

Orde z k = x ^ k + 1 1 x ^ k 1 = C 1 e v k ( e v 1 ) + C 2 , y m ( k ) = z k + m z k = C 1 e v k ( e v m 1 ) ( e v 1 )

Then, y m ( k + 1 ) y m ( k ) = e v from this, because v ^ m ( k ) = ln ( y m ( k + 1 ) y m ( k ) ) all y m ( k ) the data in are predicted x ^ k 1 values, in order to facilitate v fitting x ^ k 1 parameters, all of them are replaced by x k 1 sequential accumulation sequences, so that the fitting v values of v ^ m ( k ) parameters to be m identified can be determined, Considering that different values are taken, v ^ m ( k ) the values of the obtained fitting parameters will be m = 1 , 2 , , n 3 different, so all v ^ m ( k ) the obtained selected mean values v ^ m ( k ) can be selected and calculated separately, and the finally obtained mean values can be taken v as the fitting V ˜ = m = 1 n 3 k = 1 n 2 m v ^ m ( k ) ( n 2 ) ( n 3 ) / 2 values of v the parameters V ˜ to be identified: When the fitting values of the parameters are determined, x ^ k 1 = C 1 e V ˜ k + C 2 k + C 3 the grey linear combination prediction model is as follows: X ( 1 ) = [ x 1 1 x 2 1 x n 1 ] , C = [ C 1 C 2 C 3 ] , A = [ e V ˜ 1 1 e V ˜ 2 1 e V ˜ n 1 ] Then, the matrix X ( 1 ) = A C estimation formula of the parameters to be identified C1, C2, C3 can be obtained, and the prediction of C = ( A T A ) 1 A T X ( 1 ) this model can be carried out by the above formula.

As shown in Figure 7, so

X ( 0 ) = { 270232.3 , 319515.5 , 349081.4 , 413030.3 , 489300.6 , 540367.4 , 595244.4 , 643974 , 689052.1 , 743585.5 }

Carry out an accumulation generation

X ( 1 ) = { 270232.3 , 589747.8 , 938829.2 , 1351859.5 , 1841160.1 , 2381527.5 , 2976771.9 , 3620745.9 , 4309798 , 5053384.5 }

Therefore, from the formula provided in this paper, we can see Figure 8 and Figure 9.

Therefore, V ˜ = 0.127.

Therefore C = [ 1.3433 2.4962 1.3839 ] , so x ^ k 1 = 1.3433 e 0.127 k + 2.4962 k 1.3839 , V ˜ = m = 1 n 3 k = 1 n 2 m v ^ m ( k ) ( n 2 ) ( n 3 ) / 2 e r r o r = 1 10 k = 1 10 | x k 1 x ^ k 1 | x k 1 .

Figure 7. Gross domestic product 2007-2016.

Figure 8. y m ( k ) and the relationship between m and k.

Figure 9. v ^ m ( k ) and the relationship between m and k.

4.5. Comparison of Results

From several results, the prediction model used in this paper is more accurate and closer to the predicted value, which better shows the advantages of prediction, and combines the advantages of linear regression with the advantages of grey prediction.

This chapter is the practical part of the data in this paper, using the three models mentioned in this paper to fit the data respectively, and comparing the results obtained, it is found that the model used in this paper is more accurate.

5. Conclusion

In this article, based on the idea of combining linear regression with grey prediction, determines the model of combining the two, and compares it with the separate models of the two. The linear regression model solves the problem that the highest power and function cannot be determined by linear prediction. At the same time, it solves the problem that the grey prediction model can’t make linear prediction. By combining the two models, it can be used in the series prediction of various existing linear trends and exponential growth trends in the future, which not only has extensive significance, but also can make better prediction for data.

Cite this paper: Xiao, Y. and Jin, Z.Z. (2021) The Forecast Research of Linear Regression Forecast Model in National Economy. Open Access Library Journal, 8, 1-17. doi: 10.4236/oalib.1107797.
References

[1]   He, X. and Liu, W. (2015) Applied Regression Analysis. 4th Edition, Renmin University of China Press, Beijing.

[2]   Wang, H. and Meng, J. (2007) Predictive Modeling Method of Multiple Linear Regression. Journal of Beihang University, 33, 500-504.

[3]   Zhong, L. and Gao, S. (2017) Application of Multiple Linear Regression Model in Housing Price Trend and Forecast. Science Entrepreneurship Monthly, No. 9, 94-96.

[4]   Leng, J., Gao, X. and Zhu, J. (2016) Application of Multiple Linear Regression Statistical Prediction Model. Statistics and Decision-Making, No. 7, 82-85.

[5]   Liu, S.F., et al. (2017) Grey System Theory and Its Application (8th Edition). Science Press, Beijing.

[6]   Wu, S. (2009) Grey Rough Set Model and Its Application. Science Press, Beijing.

[7]   Deng, J. (2007) Grey Mathematical Resources] Introduction to Science. Huazhong University of Science and Technology Press, Wuhan.

[8]   Lu, Y. (2017) Financial Forecasting Method Based on Grey Linear Combination Statistics and Decision, No. 10, 91-93.

[9]   Wang, B. (2012) Forecasting Application Based on Linear Regression and Neural Network in National Economic Data. Jilin University, Changchun.

[10]   Fisher, R.A. (1936) The Use of Multiple Measures in Taxonomic Problems. Annals of Eugenics, 7, 179-188. https://doi.org/10.1111/j.1469-1809.1936.tb02137.x

[11]   Bagirov, A.M., Julien, U. and Dean, W. (2011) Fast Modified Global k-Means Algorithm for Incremental Cluster Construction. Pattern Recognition, 44, 866-876. https://doi.org/10.1016/j.patcog.2010.10.018

[12]   Zheng, C.L., Fan, J. and Fei, M.R. (2009) PID Neural Network Control Research Based on Fuzzy Neural Network Model. 2009 International Conference on Computational Intelligence and Software Engineering, Wuhan, 11-13 December 2009, 1-4. https://doi.org/10.1109/CISE.2009.5363758

 
 
Top