BioMed Research International
Volume 2016 (2016), Article ID 6837052, 6 pages
http://dx.doi.org/10.1155/2016/6837052

Research Article

The Research of Improved Grey GM (1, 1) Model to Predict the Postprandial Glucose in Type 2 Diabetes

Yannian Wang,¹ Fenfen Wei,¹ Changqing Sun,² and Quanzhong Li³

¹School of Information Engineering, Zhengzhou University, Zhengzhou 450001, China
²College of Public Health, Zhengzhou University, Zhengzhou 450001, China
³Department of Endocrinology, Henan People’s Hospital, Zhengzhou 450003, China

Received 4 February 2016; Revised 12 April 2016; Accepted 27 April 2016

Academic Editor: Yoshifumi Saisho

Copyright © 2016 Yannian Wang et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Abstract.

Diabetes may result in some complications and increase the risk of many serious health problems. The purpose of clinical treatment is to carefully manage the blood glucose concentration. If the blood glucose concentration is predicted, treatments can be taken in advance to reduce the harm to patients. For this purpose, an improved grey GM (1, 1) model is applied to predict blood glucose with a small amount of data, and especially in terms of improved smoothness it can get higher prediction accuracy. The original data of blood glucose of type 2 diabetes is acquired by CGMS. Then the prediction model is established. Finally, 50 cases of blood glucose from the Henan Province People’s Hospital are predicted in 5, 10, 15, 20, 25, and 30 minutes, respectively, in advance to verify the prediction model. The prediction result of blood glucose is evaluated by the EGA, MSE, and MAE. Particularly, the prediction results of postprandial blood glucose are presented and analyzed. The result shows that the improved grey GM (1, 1) model has excellent performance in postprandial blood glucose prediction.

1. Introduction

As one of the major diseases that harm human health, diabetes can lead to many complications, including atherosclerosis, blindness, renal failure, and feet disorders with risk of amputation [1, 2]. According to the WHO, there are nearly 347 million diabetics in the world. The clinical presentation of diabetes includes hyperglycemia and hypoglycemia. And the main purpose of the clinical treatment of diabetes is to keep good control of blood glucose concentration. If the future blood glucose concentration is predicted, doctors and patients can take some action in advance to reduce the harm to patients. Compared with fasting glucose, postprandial blood glucose is more harmful because it tends to fluctuate. The Guideline for Management of Postprandial Blood Glucose also emphasizes that controlling of postprandial blood glucose has extremely profound significance. In order to reduce the risk of complications [3] and carefully control blood glucose levels in advance, effective postprandial blood glucose prediction method should be studied and it can provide support for doctors and patients.

CGMS (Continuous Glucose Monitoring System) is a device that is placed on the patient and used to measure patient’s blood glucose every 5 minutes. Based on the blood glucose data provided by CGMS, many kinds of prediction methods of blood glucose were proposed, such as adaptive blood glucose prediction model [4], AR (autoregressive) model [5], neural network prediction model [6], and SVM (support vector machine) model [7]. Peng et al. [4] applied Kalman filter to smooth the blood glucose data from the CGMS, using AR model to build up the blood glucose prediction model, and the result showed that the blood glucose changes can be dynamically captured and the future blood glucose can be predicted. Wang and An [5] also adopted the AR model in predicting blood glucose; the result showed that the prediction was accurate with simple calculation, but their research did not take into account the smoothness of the original data. Tresp et al. [6] utilized neural network algorithm to predict blood glucose and found that their model had good tracking ability. Georga et al. [7] employed SVM algorithm to predict blood glucose and found that it had good prediction effectiveness when it had a large amount of data. In terms of selecting or training model parameters, if the original data sequence is longer, their prediction results are reliable, but if the original data sequence is shorter, due to inadequate information and lack of significant regularity, their forecasting accuracy is low.

The grey GM (1, 1) model not only has simple principle, less samples, easy calculation, high forecasting accuracy, and easy inspection but also can preprocess the original data, obtain better smoothness, and predict more effectively. In this paper, an improved grey GM (1, 1) model was proposed to make predictions in 30 min in advance on 72 hours of blood glucose and 2 hours of postprandial blood glucose, respectively; the experiment was performed on the MATLAB and the results were compared with AR model.

2. Materials and Methods

Grey GM (1, 1) model has been widely applied in many fields, such as economy, science, and education [8]. Grey GM (1, 1) model is a kind of homogeneous exponential growth model based on the accumulation generation sequence and the least squares method. The growth trend of original data has great influence on the accuracy of prediction. If the original data sequence is smooth, the more close to the exponential growth it is, the higher prediction precision the model can produce. The improved grey prediction model preprocesses the original data to improve the smoothness of the data sequence and greatly improve the prediction precision and the predictive value of original data sequence was obtained through an inverse transformation.

2.1. The Blood Glucose Prediction Model Based on the Improved Grey GM (1, 1) Model

Suppose an original data sequence is as the following formula:

where , . The steps of establishing the blood glucose prediction model based on the data sequence are as follows.

(1) As a logarithmic transformation on , mark , . The data sequence can be processed as the following formula:

(2) Generate the accumulation generation sequence by 1-AGO, as in the formula

where , ().

(3) Through the first-order accumulative generation sequence , GM (1, 1) model is established; a first-order differential equation can be gotten as the formula

where is the development coefficient and is the control variable. Get the corresponding form of grey differential equation as the following formula:

(4) To solve the parameters and , parameters can be determined by the least square method as the formula

where

(5) The known initial condition is ; put it into formula (6) and formula (5) to obtain the generated data sequence as the following formula:

(6) The known initial condition is ,

Put (8) into (9) and get the data sequence as the formula

(7) The known inverse transformation is as formula

Put (10) into (11) and get the forecast sequence of the original blood data sequence as the formula

Put into formula (12), the fitted values of original data can be gotten. When , the predictive values of blood glucose can be gotten.

2.2. The Ways of Testing the Accuracy of the GM (1, 1) Model

The improved GM (1, 1) model must be strictly examined and meet some requirements before being predicted. Three ways were used to estimate the accuracy of the GM (1, 1) model: relative error size test, posterior deviation test, and correlation test.

(1) The Relative Error Size Test. The relative error size test is a kind of arithmetic test by intuitively comparing the data point by point, which observes whether the relative error meets the requirement by comparing the prediction data and the actual data of blood glucose. The relative error of GM (1, 1) model is as formula

where , . The average relative error of GM (1, 1) model is as the following formula:

The accuracy of GM (1, 1) model is as the formula

General requirement is .

(2) The Posterior Deviation Test. The posterior deviation test is of statistical method and makes inspection according to the probability distribution of residual. The indexes of the posterior variance ratio and the posterior probability are the two key indicators. The should be as small as possible and should be as large as possible. According to the size of the and , the precision of the model can be divided into four levels “superior, qualified, marginal, and disqualified” [9]. The level of model accuracy is .

Calculate the a posteriori variance ratio as formula

where and .

Calculate the posterior probability as formula

where .

(3) The Correlation Test. The correlation test is a kind of geometry inspection, used to investigate similarity of the predictive value curve and the actual value curve. In general, the closer the geometry is, the closer the change trend is and the greater the correlation is.

The correlation degree of the GM (1, 1) model is as the formula

where is the correlation coefficient of and as the following formula:

where is the resolution ratio, [10].

General requirement is [10], and the greater the correlation is, the better the prediction is.

2.3. Model Evaluation Indicators

In order to evaluate forecast results, the present study applied three performance indicators: EGA (Clark Error Grid Analysis), MSE (Mean Square Error), and MAE (Mean Absolute Error).

The EGA [11, 12] is divided into A, B, C, D, and E regions. In region A, the prediction effect is the best, while in region E it is poor. The EGA is used to evaluate the accuracy and the precision of prediction method of blood glucose and provide guidance to doctors and patients. So far, the EGA has been accepted as one of the “gold standards” in evaluating the accuracy of predicting blood glucose.

The MSE is as the formula

The MAE is as the formula

3. Results

3.1. The Data

The data used in this study is obtained from the Henan Provincial People’s Hospital, where nurses used CGMS to acquire the blood glucose in patients as original data sequence of experiment. CGMS receives a current signal every 10 seconds and averages and converts it into blood glucose values every 5 minutes. The CGMS can continuously work at least 72 hours and store 864 blood glucose values. One of the patients’ blood glucose concentration of 2 hours after meal is shown in Figure 1(a), and one of the patients’ blood glucose concentration of 72 hours is shown in Figure 1(b). 50 cases of blood glucose will be employed to verify the prediction model based on the GM (1, 1) model and compared with the AR model.

(a)

(b)

(c)

(d)

Figure 1: (a) Patient A: blood glucose levels of 2 hours after meal. The front 18 samples constituted the original blood glucose sequence. The following 6 samples are the prediction sequence. (b) Patient A: blood glucose levels of 72 hours. The front 200 samples constituted the original glucose sequence. The following 664 samples are the prediction sequence. (c) The prediction results of (b). The original blood glucose data are shown by the black curve. The improved GM (1, 1) prediction values are shown by the red curve. (d) The prediction results of (b). The original blood glucose data are shown by the black curve. The AR model prediction values are shown by the red curve.

3.2. Prediction Result of Figure 1(b)

The front 200 samples’ data of Figure 1(b) is employed to establish the GM (1, 1) model for forecasting the following 664 blood glucose levels. Firstly, put the 200 samples () into formula (1) as original data sequence . Secondly, calculate as above the methods of the blood glucose prediction model. Then, test the accuracy of the model and do experiment which was conducted based on MATLAB. Finally, show the continuous prediction results in Figure 1(c). The prediction results of AR model are shown in Figure 1(d). By calculating, the result of MSE of Figure 1(c) is 1.0306 and MAE is 0.3307. The result of MSE of Figure 1(d) is 1.4356 and MAE is 0.5379. The results of EGA of Figure 1(c) are shown in Figure 2, and it is clear that the majority of the error points (91.72%) lie in zone A and the remaining 8.22% in zone B.

Figure 2: Clark Error Grid Analysis result. The result is calculated according to the original blood glucose data and the improved GM (1, 1) prediction values in Figure 1(c). In this figure, the 91.72% of the error points lie in zone A and the remaining 8.22% in zone B.

3.3. Prediction Result of Figure 1(a)

The front 18 samples data of Figure 1(a) are employed to establish the GM (1, 1) model for forecasting the following 6 blood glucose levels. Firstly, put the 18 samples () into formula (1) as original data sequence . Secondly, by calculating as above the methods of blood glucose prediction model, we rewrote formula (12) of blood glucose prediction model as the following formula:

Then, to test the accuracy of formula (22), experiment was conducted based on MATLAB. The results are %, , , and .

Finally, formula (22) of prediction model based on GM (1, 1) fulfilled the requirements; the prediction values and the errors of blood glucose are shown in Table 1. That is, , , , , , and .

Table 1: The prediction results of Figure 1(a).

Sample points
The real value
The prediction value
MSE
MAE

19
12.9
11.9
0.9786
0.1631

20
13.1
12.4

21
12.9
12.9

22
12.7
13.4

23
12.5
14.0

24
12.4
14.5

MSE: mean square error; MAE: mean absolute error; the real value (mmol/L); the prediction value (mmol/L).

As shown in Figure 2, the improved grey GM (1, 1) model can be used for predicting exactly blood glucose. According to Table 1, the postprandial blood glucose prediction result of patient A, whether in MSE or MAE, is more ideal than the continuous 72 hrs predictions.

3.4. The Prediction Result of 50 Patients

We repeated experiments with 50 cases’ data of the blood glucoses like patient A. The statistical errors of 50 cases are shown in Table 2.

Table 2: The statistical errors of 50 cases.

2 hrs after meal error
72 hrs error

MSE
MAE
MSE
MAE

AR model
1.8294
0.6549
5.6410
0.5211

GM (1, 1) model
0.9786
0.1631
5.4847
0.5145

MSE: mean square error; MAE: mean absolute error.

As shown in Table 2, an improved grey GM (1, 1) model is applied to predict blood glucose with a small amount of data, and in particular in terms of improved smoothness it can get higher prediction accuracy than AR model, so is the prediction result of the 2 hrs after meal. This means that the improved grey GM (1, 1) model performs well not only 72 hrs of continuous prediction but also 2 hrs after the meal. In order to obtain more accurate prediction of postprandial blood glucose and provide support to doctors and patients, the improved grey GM (1, 1) model is simpler and more reliable in comparison with the AR prediction model and it only needs the historical data provided by CGMS [13, 14].

4. Discussion

In this paper, the improved grey prediction model in terms of smoothness is used to predict blood glucose of type 2 diabetes patients and the blood glucose for nearly 72 hrs and 2 hrs after meal, respectively, is predicted. The prediction result was compared with AR model. The results showed that the improved grey GM (1, 1) model has outperformed the AR model in predicting blood glucose, especially 2 hrs after meal.

In order to value the error in every stage clearly, a series of experiments was performed at three stages: 3 hrs after meal, 4 hrs after meal, and 6 hrs at night. The statistical errors in three stages of 50 cases are shown in Table 3. The error of 6 hrs at night is bigger than the error of 4 hrs after meal, and the error of 4 hrs after meal is bigger than the error of 3 hrs after meal. Additionally, as shown in Table 3, the error of 3 hrs after meal is bigger than the error of 2 hrs after meal. But the difference between the error of 6 hrs at night and the error of 2 hrs after meal is obviously bigger than the difference between the error of other stages and the error of 2 hrs after meal. This means that the prediction result of the improved grey GM (1, 1) model is worse than the AR model in the stage of 6 hrs at night. That is, the GM (1, 1) model has a more accurate predication result for the original sequences with wide fluctuation range than the ones with small fluctuation range. This disadvantage will be improved in the future research. Compared with the linear AR model, the GM (1, 1) model is better especially when the blood glucose levels suddenly rise or drop. Because the grey GM (1, 1) model is a kind of homogeneous exponential growth model, its predicting values may show the error of exponential at some sample points, but it can be resolved by correcting predicting value using real value in the GM (1, 1) model.

Table 3: The statistical errors in stages of 50 cases.

3 hrs after meal error
4 hrs after meal error
6 hrs at night error

MSE
MAE
MSE
MAE
MSE
MAE

AR model
2.7709
1.4644
3.6996
1.4543
3.1302
1.1134

GM (1, 1) model
1.1558
0.7697
2.149
0.8335
5.2131
2.5436

MSE: mean square error; MAE: mean absolute error.

In a word, the method for predicting postprandial blood glucose based on the improved gray prediction model can be developed to help doctors and patients and in the future may help to develop an artificial pancreas, which adapts to the future changing of patient’s blood glucose levels and gives better insulin outcomes as a result.

Disclosure

The authors alone are responsible for the content and writing of the paper.

Competing Interests

The authors report no conflict of interests.

Acknowledgments

Thanks are due to the Zhengzhou Science and Technology Research Program (Grant no. 131PPTGG409-8), the Henan Medical Science and Technology Research Program (Grant no. 201403009), and the Henan Science and Technology Research Program (Grant nos. 152102210250 and 162102310600) for financial support.

References

Z. Ding, S. Liu, X. Wang et al., “LOX-1, mtDNA damage, and NLRP3 inflammasome activation in macrophages: implications in atherogenesis,” Cardiovascular Research, vol. 103, no. 4, pp. 619–628, 2014.

S. M. Twigg and J. Wong, “The imperative to prevent diabetes complications: a broadening spectrum and an increasing burden despite improved outcomes,” Medical Journal of Australia, vol. 202, no. 6, pp. 300–304, 2015.

H.-Y. Huang, M. Korivi, H.-T. Yang, C.-C. Huang, Y.-Y. Chaing, and Y.-C. Tsai, “Effect of Pleurotus tuber-regium polysaccharides supplementation on the progression of diabetes complications in obese-diabetic rats,” Chinese Journal of Physiology, vol. 57, no. 4, pp. 198–208, 2014.

R.-C. Peng, W.-R. Yan, X.-L. Zhou, N.-L. Zhang, W.-H. Lin, and Y.-T. Zhang, “Time-frequency analysis of heart rate variability during the cold pressor test using a time-varying autoregressive model,” Physiological Measurement, vol. 36, no. 3, pp. 441–452, 2015.

Y. Wang and B. An, “The research least squares based on AR model of glucose prediction,” Advanced Materials Research, vol. 10, no. 971–973, pp. 284–287, 2014.

V. Tresp, T. Briegel, and J. Moody, “Neural-network models for the blood glucose metabolism of a diabetic,” IEEE Transactions on Neural Networks, vol. 10, no. 5, pp. 1204–1213, 1999.

E. I. Georga, V. C. Protopappas, D. Ardigò et al., “Multivariate prediction of subcutaneous glucose concentration in type 1 diabetes patients based on support vector regression,” IEEE Journal of Biomedical and Health Informatics, vol. 17, no. 1, pp. 71–81, 2013.

W. E. Mahmod and K. Watanabe, “Modified Grey Model and its application to groundwater flow analysis with limited hydrogeological data: a case study of the Nubian Sandstone, Kharga Oasis, Egypt,” Environmental Monitoring and Assessment, vol. 186, no. 2, pp. 1063–1081, 2014.

T.-Y. Pai, K.-L. Lin, J.-L. Shie, T.-C. Chang, and B.-Y. Chen, “Predicting the co-melting temperatures of municipal solid waste incinerator fly ash and sewage sludge ash using grey model and neural network,” Waste Management and Research, vol. 29, no. 3, pp. 284–293, 2011.

C.-C. Lee, T.-J. Wan, C.-Y. Kuo, and C.-Y. Chung, “Modified grey model for estimating traffic tunnel air quality,” Environmental Monitoring and Assessment, vol. 132, no. 1–3, pp. 351–364, 2007.

W. L. Clarke, D. Cox, L. A. Gonder-Frederick, W. Carter, and S. L. Pohl, “Evaluating clinical accuracy of systems for self-monitoring of blood glucose,” Diabetes Care, vol. 10, no. 5, pp. 622–628, 1987.

D. Stöckl, K. Dewitte, C. Fierens, and L. M. Thienpont, “Evaluating clinical accuracy of systems for self-monitoring of blood glucose by error grid analysis: comment on constructing the ‘upper A-line’,” Diabetes Care, vol. 23, no. 11, pp. 1711–1712, 2000.

A. Gani, A. V. Gribok, Y. Lu, W. K. Ward, R. A. Vigersky, and J. Reifman, “Universal glucose models for predicting subcutaneous glucose concentration in humans,” IEEE Transactions on Information Technology in Biomedicine, vol. 14, no. 1, pp. 157–165, 2010.

S. H. Golden and T. Sapir, “Methods for insulin delivery and glucose monitoring in diabetes: summary of a comparative effectiveness review,” Journal of Managed Care Pharmacy, vol. 18, no. 6, pp. S1–S17, 2012.