Math-Physical Medicine

NO. 079

Using Spatial Analysis and Forecasting to Manage Type 2 Diabetes Conditions (GH-Method: Math-Physical Medicine)

Corresponding Author: Gerald C. Hsu, eclaireMD Foundation, USA.

This paper describes the author’s application of Spatial Analysis and Forecasting to manage Type 2 Diabetes (T2D) conditions.

The author utilizes the GH-Method: math-physical medicine to manage metabolic disorder diseases especially diabetes.  Initially, he observed various disease phenomena. Therefore, he recorded big volume of related data, derived necessary and applicable mathematical equations, utilized suitable computational tools, including time-series analysis, spatial analysis, frequency domain analysis, and artificial intelligence.  As a result, he combined them with the medical domain knowledge in order to forecast the forthcoming outcomes to interpret new findings or discoveries regarding human health.

In this paper, he disregards the theoretical discussion of spatial analysis in order to focus on application and certain results from his diabetes research by using spatial analysis and forecasting method.

Here are some of the results from spatial analysis and forecasting:

  1. Weight:  the orientation of data cloud with predicted and measured weight values are skewed from lower right toward upper left.  The values of predicted weight and actual weight are very close to each other and move together simultaneously.  This reflects high accuracy and correlation between these two variables.
  2. Fasting plasma glucose (FPG) in early morning:  the orientation of data band of FPG vs. Weight is also from lower left toward upper right.  This means that they are closely related and weight is the major formation factor of FPG.
  3. Postprandial plasma glucose (PPG) at two hours after fist-bite of meal:  the orientation of data band of carbs/sugar vs. PPG is from lower left toward upper right (positive) which means more carbs/sugar creates higher PPG.  However, the orientation of data band of post-meal walking vs. PPG is from upper left toward lower right (negative) which means more walking steps brings down PPG.
  4. Hemoglobin A1C or HbA1C (A1C):  the medical community uses A1C as the measuring yardstick to determine the severity of the patients’ diabetes conditions.  There are no consistent conversion ratios available between glucose and A1C. Therefore, the author applied statistics tools (including time-series analysis, spatial analysis, and frequency-domain analysis) and engineering approximation modeling to build an effective A1C forecasting model.  Using spatial analysis to compare predicted A1C and lab-tested A1C (quarterly data due to insurance constraints), he noticed that spatial analysis tool is not as effective as time-series analysis tool due to limited lab-tested A1C (only 23 data).  One limitation about spatial analysis is the requirement of a larger size of data in order to see the trend of data change.

By using spatial analysis method, this clinical case study of more than four years, encompassing 1,488 days and ~500,000 big data, has demonstrated its powerful forecasting capability on weight, glucose, and diabetes control.

Figure 1: Weight and FPG
Figure 2: Carbs/sugar (+R) and Walking (-R) vs. PPG
Figure 3: HbA1C


  1. Hsu, Gerald C. (2018). Using Math-Physical Medicine to Control T2D via Metabolism Monitoring and Glucose Predictions. Journal of Endocrinology and Diabetes, 1(1), 1-6. Retrieved from 2018/06/JEAD-101-1.pdf
  2. Hsu, Gerald C. (2018, June). Using Math-Physical Medicine to Analyze Metabolism and Improve Health Conditions. Video presented at the meeting of the 3rd International Conference on Endocrinology and Metabolic Syndrome 2018, Amsterdam, Netherlands.
  3. Hsu, Gerald C. (2018). Using Signal Processing Techniques to Predict PPG for T2D. International Journal of Diabetes & Metabolic Disorders, 3(2),1-3. Retrieved from
  4. Hsu, Gerald C. (2018). Using Math-Physical Medicine and Artificial Intelligence Technology to Manage Lifestyle and Control Metabolic Conditions of T2D. International Journal of Diabetes & Its Complications, 2(3),1-7. Retrieved from
  5. Hsu, Gerald C. (2018). A Clinic Case of Using Math-Physical Medicine to Study the Probability of Having a Heart Attack or Stroke Based on Combination of Metabolic Conditions, Lifestyle, and Metabolism Index. Journal of Clinical Review & Case Reports, 3(5), 1-2. Retrieved from