Open access peer-reviewed chapter - ONLINE FIRST

Use of the Gini Coefficient for the Analysis of Heart Rate Variability in Sick and Healthy Individuals

Written By

Moacir Fernandes de Godoy, Beatriz Arid Rudnick and João Victor de Menezes Reichert

Submitted: 28 August 2023 Reviewed: 30 August 2023 Published: 08 October 2023

DOI: 10.5772/intechopen.1002956

Time Series Analysis IntechOpen
Time Series Analysis Recent Advances, New Perspectives and Applica... Edited by Jorge Rocha

From the Edited Volume

Time Series Analysis - Recent Advances, New Perspectives and Applications [Working Title]

Jorge Rocha, Cláudia M. Viana and Sandra Oliveira

Chapter metrics overview

31 Chapter Downloads

View Full Metrics

Abstract

The Gini Coefficient (GC) is a statistical tool widely used in Economics to quantify the degree of variation of values belonging to a group, ranging from zero to one. The closer to zero, the less unequal the country. We proposed to evaluate GC in the analysis of Heart Rate Variability in different groups of individuals hypothesizing that groups with more similar conditions and better stationarity (healthy individuals) should be the groups with lower differences among them and among the aged, diseased, or premature individuals. Time series of normal RR intervals were analyzed in eight groups of individuals: premature (G1) or healthy newborns (G2), healthy children (G3), healthy young adults (G4), elderly adults (G5), patients with chronic liver (G6) or kidney disease (G7) and individuals with a state of brain death or who died in the short term after the initial evaluation (G8). GC distinguished the less unequal groups (G2, G3 and G4) from all other groups. Was identified, graphically, a parabolic behavior with near similarity among equivalent homeostatic levels. GC is a useful tool for characterizing the stationarity and the homeostatic level of clinical groups (by lower GC values) and to interpret more adequately the results.

Keywords

  • Gini coefficient
  • heart rate variability
  • autonomic nervous system
  • temporal series
  • non-stationarity

1. Introduction

1.1 Autonomic nervous system

The autonomic nervous system (ANS) is the portion of the central nervous system that controls most of the body’s visceral functions, such as breathing, blood circulation, body temperature, and digestion. It is activated by centers located in the spinal cord, brainstem, and hypothalamus, which transmit signals to lower centers such as baroreceptors, chemoreceptors, atrial receptors, ventricular receptors, the vasomotor system, the renin-angiotensin-aldosterone system, and the thermoregulatory system [1]. These efferent autonomic signals are transmitted to the visceral organs by two subdivisions: the sympathetic nervous system and the parasympathetic nervous system, which differ anatomically and physiologically, the first being organized in the form of a thoracolumbar paravertebral ganglionic chain, while the second consists of in a chain of craniosacral conformation.

The sympathetic autonomic nervous system is responsible for increasing the global activity of the heart, through the release of epinephrine and norepinephrine, favoring three mechanisms: increased heart rate (HR), increased conduction velocity, and increased myocardial contraction force. On the other hand, parasympathetic stimulation - from the release of acetylcholine in the sinoatrial (SA) and atrioventricular (AV) nodes - causes effects essentially opposite to those observed in sympathetic stimulation, decreasing the rhythm of the sinus node and the speed of transmission of impulses to the ventricles. Thus, when vagal inhibition occurs, there is a relative predominance of the sympathetic over the parasympathetic, with an increase in HR. The decrease in HR is related to the predominance of vagal (parasympathetic) activity. In this sense, in healthy individuals, the cardiac rhythm is constantly controlled by the sympathetic stimulation, accelerating it, and by the parasympathetic stimulation, decelerating it. This dynamic balance, throughout the day, undergoes variability according to breathing, hemodynamic changes, mental stress, metabolic changes, physical exercises, sleep, and orthostatism, among others.

The study of heart rate fluctuations throughout the day reflects the functioning of the ANS and is called Heart Rate Variability (HRV). In this sense, the ability of the heart to adapt to the body’s needs is based on high variability and is directly related to the individual’s health. Thus, healthy patients with good ANS functioning have high HRV, while individuals with low HRV denote insufficient and abnormal physiological functioning of this system.

HRV is usually analyzed using time and frequency domains. Its measurement is made from the oscillations of the distances between the consecutive peaks on the electrocardiogram, the normal R-R intervals (RRi), graphically represented by the tachograms below (Figure 1).

Figure 1.

Note the tachograms, in [A], of a healthy young adult, while, in [B], the tachogram of a healthy newborn. There is less variability in B relative to A.

In Figure 1, the tachogram shows in [A] the HRV of a healthy adult, while in [B] the HRV of a healthy newborn is recorded.

In this context, it is known that changes in HRV have predictive and anticipated value in the analysis of an individual’s health. Thus, the decrease in HRV is an important indicator both for the appearance of diseases in previously healthy patients and for the appearance of complications in individuals who already have alterations [2]. This reduction in HRV is usually due to relative hyperactivity of the adrenergic system and a decrease in parasympathetic activity.

HRV quantification has been, in recent years, increasingly used, since it is easy to acquire data, it is a non-invasive method, easy to perform, reproducible, and, mainly, of wide clinical applicability. There is a large literature regarding the monitoring of various morbid conditions, such as coronary artery disease [3, 4], cardiomyopathies [5], systemic arterial hypertension [6, 7], renal failure [8], diabetes [9], among others.

1.2 Lorenz curve

The Lorenz curve is a graph used to study the relative distribution of a variable in a given domain. It is widely used in economics, where the “y-axis (ordinate)” corresponds to the income variability of a society, and the “x-axis (abscissa)” to the cumulative percentage of the population with that income [10].

In a perfectly egalitarian society, all citizens receive the same income, and the Lorenz curve would be represented as the black line in Figure 2, where y = x, is called the line of equality. However, most societies are not economically egalitarian, and the Lorenz curve is represented by the red line (Figure 2).

Figure 2.

Lorenz curve.

1.3 Gini coefficient

The Gini coefficient was created in 1931 by the Italian mathematician Conrado Gini to measure the degree of income concentration in a given society, based on the Lorenz curve. The coefficient consists of the difference between the equal distribution (black curve, Figure 2) and the Lorenz curve (red curve, Figure 2). The measurement of the Gini coefficient follows a scale that goes from 0 (when there is no inequality) to 1 (with maximum inequality), representing ideal extremes.

In this sense, a Gini coefficient equal to 1 would represent a society in which a single individual stores all income, and a Gini coefficient equal to 0, a society in which all people have the same income.

This coefficient has been used, however, not only in the economic area but also in social studies, such as the suicide rate related to income [11]; cell transport markers [12] and gene expression [13]; bacterial aggregation rates [14]; health access distribution rates [15]; screening for pathologies, such as central nervous system tumors in children [16] and perinatal mortality [17]. Therefore, it is understood that this coefficient can be used in any analysis of a variable that manifests itself through a time series.

The purpose of the present study is to use the Gini coefficient in a time series of heartbeats in healthy individuals and in those with different degrees of homeostatic impairment in a wide range of age groups, considering, that will be possible to characterize the variation degree of each group and, by extension, the variation degree relatively among groups hypothesizing that conditions with the worst homeostatic level should present higher coefficients than states with better homeostatic level.

Advertisement

2. Casuistic and method

Time series of normal RR intervals were analyzed in eight groups of individuals: 29 premature newborns admitted to the ICU (G1), 21 healthy newborns (G2), 31 healthy children (G3), 32 healthy young adults (G4), 27 elderly adults hospitalized in nursing homes (G5), 40 patients with chronic liver disease (G6), 22 patients with chronic kidney disease on hemodialysis program (G7) and 9 individuals with a state of brain death or who died in the short term after carrying out the initial evaluation (G8).

2.1 Gini coefficient formula

The Gini Coefficient (GC) was calculated from Brown’s formula, based on the Lorenz curve (Equation):

G=2n2x¯i=1ni(xix¯)E1

Where,

  1. G = Gini coefficient.

  2. P = accumulated proportion of the variable “population”.

  3. R = accumulated proportion of the variable “income” (in this study “income” is understood as the numerical value of the RR interval in milliseconds.

2.2 Statistical analysis

Concomitant comparative analyses between the eight groups were carried out using the non-parametric Kruskal-Wallis test and, in case of detection of a statistically significant difference in the set, post-test comparisons were made of all pairs using the Conover-Iman test. An alpha error of 5% was admitted, with P values less than or equal to 0.05 being considered significant. The statistical software used was StatsDirect version 3.3.6 of May 23, 2023.

Advertisement

3. Results

Descriptive statistics values for groups G1 to G8 are shown in Table 1.

VariablesG1G2G3G4G5G6G7G8
Valid data292131322740229
Mean0.00790.00480.00330.00310.00910.00650.01050.0265
SD0.00970.00550.00330.00230.01220.00650.01300.0217
Maximum0.04180.02240.01530.01080.05030.02770.04620.0713
UpperQuart0.00890.00540.00460.00410.01150.00980.01460.0249
Median0.00470.00260.00230.00320.00510.00490.00540.0191
LowerQuart0.00190.00160.00100.00110.00240.00100.00210.0172
InterqRange0.00700.00380.00360.00290.00910.00870.01250.0077
Minimum0.00040.00030.00030.00000.00020.00000.00080.0037
Range0.04140.02210.01500.01080.05010.02770.04540.0676

Table 1.

Descriptive statistics of the intragroup (G1 to G8) Gini coefficient values.

Legend. G1 (29 premature newborns admitted to the ICU); G2 (21 healthy newborns); G3 (31 healthy children); G4 (32 healthy young adults); G5 (27 elderly adults hospitalized in nursing homes); G6 (40 patients with chronic liver disease); G7 (22 patients with chronic kidney disease on hemodialysis program); G8 (9 individuals with a state of brain death or who died in the short term after carrying out the initial evaluation).

The graphic distribution by Box-Plot graphs is shown in Figure 3.

Figure 3.

Box-plot graph distribution of Gini coefficient descriptive values in groups G1 to G8. G1 (29 premature newborns admitted to the ICU); G2 (21 healthy newborns); G3 (31 healthy children); G4 (32 healthy young adults); G5 (27 elderly adults hospitalized in nursing homes); G6 (40 patients with chronic liver disease); G7 (22 patients with chronic kidney disease on hemodialysis program); G8 (9 individuals with a state of brain death or who died in the short term after carrying out the initial evaluation).

Table 2 shows the pairwise statistical comparisons.

G1G2G3G4G5G6G7G8
G1XXX0.16290.01860.02280.92800.61850.63080.0023
G2XXX0.45440.50690.14520.30070.0797<0.0001
G3XXX0.92080.01640.04130.0078<0.0001
G4XXX0.02010.05060.0096<0.0001
G5XXX0.55890.69720.0030
G6XXX0.33270.0005
G7XXX0.0090
G8XXX

Table 2.

Pair-to-pair statistical comparisons (P values) were performed using the Kruskal-Wallis non-parametric test and the Conover-Iman post-test.

Legend. G1 (29 premature newborns admitted to the ICU); G2 (21 healthy newborns); G3 (31 healthy children); G4 (32 healthy young adults); G5 (27 elderly adults hospitalized in nursing homes); G6 (40 patients with chronic liver disease); G7 (22 patients with chronic kidney disease on hemodialysis program); G8 (9 individuals with a state of brain death or who died in the short term after carrying out the initial evaluation). Statistical test: Kruskal-Wallis: all pairwise comparisons (Conover-Iman); significant P-values are in bold.

Was identified, graphically, as a parabolic behavior with near similarity of values among equivalent homeostatic levels. (The lower the Gini Coefficient values, the greater the uniformity between the intragroup measures); Figures 4 and 5.

Figure 4.

Distribution of mean global Gini coefficient values [A] and maximum global Gini coefficient values [B], according to the clinical groups. G1 (29 premature newborns admitted to the ICU); G2 (21 healthy newborns); G3 (31 healthy children); G4 (32 healthy young adults); G5 (27 elderly adults hospitalized in nursing homes); G6 (40 patients with chronic liver disease); G7 (22 patients with chronic kidney disease on hemodialysis program); G8 (9 individuals with a state of brain death or who died in the short term after carrying out the initial evaluation). Y-axis [A] = mean values of intragroup Gini Coefficients; Y-axis [B] = maximum values of intragroup Gini Coefficients.

Figure 5.

Parabolic behavior with near similarity of values among equivalent homeostatic levels of the clinical groups. G1 (29 premature newborns admitted to the ICU); G2 (21 healthy newborns); G3 (31 healthy children); G4 (32 healthy young adults); G5 (27 elderly adults hospitalized in nursing homes); G6 (40 patients with chronic liver disease); G7 (22 patients with chronic kidney disease on hemodialysis program); G8 (9 individuals with a state of brain death or who died in the short term after carrying out the initial evaluation).

Advertisement

4. Discussion

Different behavior of the Gini coefficient was observed between the groups of patients studied. Firstly, when analyzing the Gini coefficients in the intragroup mode, that is, evaluating the values of the Gini coefficient in relation to the inequality of the RR intervals of each patient, it was found that the global means for the groups G2, G3, and G4 were the lowest (closer to zero) indicating similarity of behavior in these three groups. It is noteworthy that the three groups mentioned involve healthy individuals (newborns, children, and young adults). In addition, the groups corresponding to cases with potential for greater clinical impairment or lower homeostatic level (premature newborns, elderly hospitalized in nursing homes, chronic, liver and kidney disease, and, mainly, cases with ongoing brain death or in a state of imminent death), exhibited progressively higher mean values.

It is important to remember that the Gini Coefficient here is not assessing the heart rate variability, which is repeatedly lower in the presence of more important clinical impairment, but the intragroup variability of the GC values for the individual RR intervals. This can be translated as healthy individuals being more homogeneous among themselves. The groups composed of premature, senile, or severely ill individuals, on the other hand, contain individuals with more heterogeneous clinical characteristics, hence the GINI coefficients have higher mean values. The same behavior was seen when considering the median and maximum values for the GC (Figures 4 and 5).

This clinical heterogeneity, within each group, is based on the concept of nonstationarity. Stationarity means that the statistical properties of the signal remain the same throughout the period of recording and refers to the invariance of its distributional characteristics over time, being essential for HRV measurements in the frequency domain [18, 19, 20].

Nonstationarity translates into the presence of values that are more different from each other and leads, consequently, to higher Gini Coefficient values. In agreement, in groups G1, G5, G6, G7, and G8, higher overall values were found.

It is convenient to emphasize again that high or low heart rate variability may be independent of higher or lower CG values, as it all depends on the degree of present stationarity.

The allocation in parabolic distribution shown in Figure 5 is quite illustrative as it is consistent with the behavior of homeostatic levels, which are still reduced in view of the present autonomic immaturity (G1), become higher from healthy newborns to children and to young adults when it reached the point of greatest autonomic maturity and continuous regression begins with the concurrence of progressively more serious illnesses until death occurs [21].

It is concluded that the Gini Coefficient, in addition to being a useful tool in the sense of assessing the inequality within a time series of any HRV variable, was also useful in characterizing the parabolic spatial distribution of the different groups studied, suggesting that in premature infants, elderly individuals and patients with severe diseases there is a significantly greater presence of non-stationarity.

Advertisement

Acknowledgments

This work has been supported by the Brazilian research agency (FAPESP).

The second author was funded by the grant 2021/04472-0 Sao Paulo Research Foundation.

References

  1. 1. Guyton AC, Hall JE. Guyton and Hall Textbook of Medical Physiology. Twelfth ed. Saunders: Elsevier Ed; 2011
  2. 2. dos Reis AF, Bastos BG, Mesquita ET, Romêo Filho LJ, da Nóbrega AC. Parasympathetic dysfunction, heart rate variability and cholinergic stimulation after acute myocardial infarction. Arquivos Brasileiros de Cardiologia. 1998;70(3):193-199
  3. 3. Carney RM, Freedland KE, Stein PK, Miller GE, Steinmeyer B, Rich MW, et al. Heart rate variability and markers of inflammation and coagulation in depressed patients with coronary heart disease. Journal of Psychosomatic Research. 2007;62(4):463-467
  4. 4. Carnethon MR, Liao D, Evans GW, Cascio WE, Chambless LE, Rosamond WD, et al. Does the cardiac autonomic response to postural change predict incident coronary heart disease and mortality? American Journal of Epidemiology. 2002;155(1):48-56
  5. 5. Limongelli G, Miele T, Pacileo G, Di Salvo G, Calabro P, Ancona R, et al. Heart rate variability is a weak predictor of sudden death in children and young patients with hypertrophic cardiomyopathy. Heart. 2007;93(1):117-118
  6. 6. Karas M, Larochelle P, LeBlanc RA, Dubé B, Nadeau R, Champlain J. Attenuation of autonomic nervous system functions in hypertensive patients at rest and during orthostatic stimulation. Journal of Clinical Hypertension (Greenwich, Conn.). 2008;10(2):97-104
  7. 7. Terathongkum S, Pickler RH. Relationships among heart rate variability, hypertension, and relaxation techniques. Journal of Vascular Nursing. 2004;22(3):78-82
  8. 8. Furuland H, Linde T, Englund A, Wikström B. Heart rate variability is decreased in chronic kidney disease but may improve with hemoglobin normalization. Journal of Nephrology. 2008;21(1):45-52
  9. 9. Javorka M, Trunkvalterova Z, Tonhajzerova I, Javorkova J, Javorka K, Baumert M. Short-term heart rate complexity is reduced in patients with type 1 diabetes mellitus. Clinical Neurophysiology. 2008;119(5):1071-1081
  10. 10. Van Mierlo T, Hyatt D, Ching AT. Employing the Gini coefficient to measure participation inequality in treatment-focused digital health social networks. Network Modeling Analysis in Health Informatics and Bioinformatics. 2016;5(1):32
  11. 11. Veisani Y et al. Income inequality by Gini-coefficient on suicide death in Iran: A review of national data. Iranian Journal of Public Health. 2019;48(8):1512
  12. 12. O’Hagan S et al. GeneGini: Assessment via the Gini coefficient of reference “housekeeping” genes and diverse human transporter expression profiles. Cell Systems. 2018;6(2):230-244
  13. 13. Muelas MW et al. The role and robustness of the Gini coefficient as an unbiased tool for the selection of Gini genes for normalising expression profiling data. Scientific Reports. 2019;9(1):1-21
  14. 14. Cai Y-m et al. A novel application of Gini coefficient for the quantitative measurement of bacterial aggregation. Scientific Reports. 2019;9(1):1-12
  15. 15. Erdenee O et al. Distribution of health care resources in Mongolia using the Gini coefficient. Human Resources for Health. 2017;15(1):56
  16. 16. Aubert AE, Seps B, Beckers F. Heart rate variability in athletes. Sports Medicine. 2003;33(12):889-919
  17. 17. Malik M et al. Heart rate variability: Standards of measurement, physiological interpretation, and clinical use. Task Force of the European Society of Cardiology and the North American Society of Pacing and Electrophysiology. Circulation. 1996;93(5):1043-1965
  18. 18. Peng CK, Havlin S, Stanley HE, Goldberger AL. Quantification of scaling exponents and crossover phenomena in nonstationary heartbeat time series. Chaos. 1995;5(1):82-87. DOI: 10.1063/1.166141
  19. 19. Gao J, Gurbaxani BM, Hu J, Heilman KJ, Emanuele Ii VA, Lewis GF, et al. Multiscale analysis of heart rate variability in non-stationary environments. Frontiers in Physiology. 2013;4:119. DOI: 10.3389/fphys.2013.00119
  20. 20. Catai AM, Pastre CM, Godoy MF, Silva E, Takahashi ACM, Vanderlei LCM. Heart rate variability: Are you using it properly? Standardisation checklist of procedures. Brazilian Journal of Physical Therapy. 2020;24(2):91-102. DOI: 10.1016/j.bjpt.2019.02.006
  21. 21. Fernandes de Godoy M, Lima GM. Heart rate variability as a marker of homeostatic level. Autonomic nervous system – special interest topics. London, UK: IntechOpen; 2022. DOI: 10.5772/intechopen.102500

Written By

Moacir Fernandes de Godoy, Beatriz Arid Rudnick and João Victor de Menezes Reichert

Submitted: 28 August 2023 Reviewed: 30 August 2023 Published: 08 October 2023