- Research article
- Open access
- Published:

# Calculate excess mortality during heatwaves using Hilbert-Huang transform algorithm

*BMC Medical Research Methodology*
**volumeÂ 14**, ArticleÂ number:Â 35 (2014)

## Abstract

### Background

Heatwaves could cause the population excess death numbers to be ranged from tens to thousands within a couple of weeks in a local area. An excess mortality due to a special event (e.g., a heatwave or an epidemic outbreak) is estimated by subtracting the mortality figure under â€˜normalâ€™ conditions from the historical daily mortality records. The calculation of the excess mortality is a scientific challenge because of the stochastic temporal pattern of the daily mortality data which is characterised by (a) the long-term changing mean levels (i.e., non-stationarity); (b) the non-linear temperature-mortality association. The Hilbert-Huang Transform (HHT) algorithm is a novel method originally developed for analysing the non-linear and non-stationary time series data in the field of signal processing, however, it has not been applied in public health research. This paper aimed to demonstrate the applicability and strength of the HHT algorithm in analysing health data.

### Methods

Special R functions were developed to implement the HHT algorithm to decompose the daily mortality time series into trend and non-trend components in terms of the underlying physical mechanism. The excess mortality is calculated directly from the resulting non-trend component series.

### Results

The Brisbane (Queensland, Australia) and the Chicago (United States) daily mortality time series data were utilized for calculating the excess mortality associated with heatwaves. The HHT algorithm estimated 62 excess deaths related to the February 2004 Brisbane heatwave. To calculate the excess mortality associated with the July 1995 Chicago heatwave, the HHT algorithm needed to handle the mode mixing issue. The HHT algorithm estimated 510 excess deaths for the 1995 Chicago heatwave event. To exemplify potential applications, the HHT decomposition results were used as the input data for a subsequent regression analysis, using the Brisbane data, to investigate the association between excess mortality and different risk factors.

### Conclusions

The HHT algorithm is a novel and powerful analytical tool in time series data analysis. It has a real potential to have a wide range of applications in public health research because of its ability to decompose a nonlinear and non-stationary time series into trend and non-trend components consistently and efficiently.

## Background

Historical records showed that heatwaves could cause the population excess death numbers to be ranged from tens to thousands within a couple of weeks in a local area [1]. For example, 465 heat-related deaths were recorded during the July 1995 Chicago (17-day) heatwave period [2] and the August 2003 heatwave caused more than 20000 excess deaths in Southern Europe counties [1]. Therefore, heatwaves can have big impacts on public health. An excess mortality due to a special event (e.g., a heatwave or an epidemic outbreak) is estimated by subtracting the expected mortality (i.e., the mortality figure under â€˜normalâ€™ conditions) from the historical daily mortality time series records. The calculation of the excess mortality is a scientific challenge because of the stochastic temporal pattern of the daily mortality time series data which is characterised by (a) the long-term changing mean levels (i.e., non-stationary); (b) the non-linear temperature-mortality association.

A consistent and efficient algorithm is essential to decompose a daily mortality time series into different trend series (i.e., the long-term trend, seasonal variation, and other unknown trends) and non-trend series (i.e., the short term fluctuations, or excess/deficit death counts due to extreme events). However, commonly accepted algorithms for time series decomposition in public health studies suffer the weakness of an arbitrary choice of smoothing parameters and/or are poor in adapting to local features [3, 4]. For example, *moving average*, *differencing*, and various *smoothing splines* are widely used to analyse daily mortality time series data [1]. These existing algorithms are either shackled by spurious harmonics (signal processing approach) or weakened by subjective choice of smoothing parameter (statistical approach) [3â€“5]. These algorithms always put the mathematical correctness and tractability before the true representation of the underlying physical mechanisms. The Hilbert-Huang Transform (HHT) algorithm was introduced to analyse daily mortality time series data as HHT is probably the best available tool for analysing nonlinear and non-stationary time series [4, 5].

The HHT algorithm was originally designed in 1995, under the name of EMD and HSA (Empirical Mode Decomposition and Hilbert Spectral Analysis), specifically to study water surface wave evolution [6]. Huang et al. [5] is commonly known as the original HHT algorithm article. The HHT algorithm is unique and different from other existing algorithms, because it is truly an adaptive time-frequency analysis. HHT reveals the true physical meanings in many of time series analyses [4, 7]. It has been successfully used in various fields particularly in engineering and geophysical studies [4, 6]. However, HHT is relatively new and has not been included as a standard statistical data analysis tool. To our knowledge, the HHT algorithm has not been applied in public health research.

This paper aimed to demonstrate the applicability and strength of the HHT algorithm in public health research. To illustrate the utilization of the HHT algorithm, the Brisbane daily mortality data [8] and the Chicago daily mortality data from the National Morbidity, Mortality, and Air Pollution Study (NMMAPS) were used to calculate the excess mortality due to heatwaves. The HHT decomposition results were further used as the input data for a subsequent regression analysis to investigate the association between excess mortality and different risk factors such as temperature, ozone, and particulate matter. Through the application examples, the procedure of applying HHT to decompose the daily mortality series was explained step by step. The HHT applications in this paper were implemented using special R functions [9] developed from the latest HHT research results. More technical details about the HHT algorithm and the R codes are provided in the Additional file 1.

## Methods

### Example data

As mentioned above, two data sets were employed in this study: 1) the Brisbane daily mortality and meteorological data; 2) the Chicago daily mortality data.

The Brisbane data set had been used to calculate excess deaths during the February 2004 heatwave by Tong et al. in 2010 [8]. Daily time series data on non-external deaths were obtained from the period 01/07/1996 to 30/06/2004. The two identified heatwave events were in 2000 and 2004 summer seasons, respectively. Previous research showed that daily maximum temperature is one of the best predictors of daily mortality [10], and was therefore used as the primary risk factor to perform the regression analysis. Air pollution data for the same period were also used and included daily average concentrations of PM_{10} (particulate matter with equivalent diameters less than 10Â Î¼m) and O_{3} (ozone).

The Chicago daily mortality data were extracted from the well-known NMMAPS dataset for the period 01/01/1995 to 30/06/2000. There were 4780 classified heat-related deaths in the U.S. over the period 1979 to 2002, among which 465 deaths were recorded due to the 1995 Chicago heatwave (11â€“27 July) [2, 11]. This formed a reference for comparison of the HHT algorithm result with previous findings.

### HHT algorithm

The key part of the HHT algorithm is the Empirical Model Decomposition (EMD) process with which any complex time series data set can be decomposed into a finite and often small number of components, called Intrinsic Mode Function (IMF). A time series is called an IMF if it satisfies the following two criteria: (1) The number of local extreme values (maxima or minima) of the time series and the number of its zero-crossings must either be equal or differ by at most one; (2) At any time, the mean value of the upper envelope determined by the local maxima and the lower envelope determined by the local minima is zero [4]. In the real world, IMFs can lead to physically meaningful definitions of instantaneous frequency and instantaneous amplitude. In this sense, HHT provides a more physically meaningful time-frequency-energy description of the original time series. Technically, the IMFs are generated through a sifting process. Interested readers may refer to the references [4]â€“[6, 12] and the Additional file 1 for more details.

Denote a time series by *X(t)*. By applying the EMD process, the original time series can be decomposed as

where *c*
_{
j
} is the *j*th IMF and *r*
_{
N
} is the residual series after *N* IMFs are extracted.

Once the IMFs are generated, a significance test can be applied to identify the trend components (i.e., which IMFs should be treated as trend components) from those non-trend components. There are two approaches to construct the significance tests: one is developed by Wu and Huang using Matlab programs [7, 13, 14], following an analytic approach resorting to the central limit theorem; the other is based on research conducted by Flandrin et al. [15], following a Monte Carlo simulation approach. Both approaches were consistent in the tested results [13]. This study followed Flandrin's approach and developed the significant test procedure as detailed below.

In general, the non-trend components (or noise/random components as usually termed in signal processing study) are found among the low-order (i.e., high-frequency) IMFs, which are intuitively clear as shown in FigureÂ 1 (row 2 to row 9). Let *E*
_{
k
} denote the energy level for the *k*th IMF generated from the EMD process. According to the method developed by Wu and Huang [13] and Flandrin et al. [15], the observed/estimated IMF energy level can be calculated by

where *d*
_{
k
}(*i*) is the *i*th element value of the *k*th IMF; *n* is the data length or sample size of the original time series; and *N* is the total number of IMFs, e.g., *N*â€‰=â€‰9 in FigureÂ 1. Because of the Hilbert transform, the squared amplitudes (i.e., [*d*
_{
k
}(*i*)]*Â²*) represent the energy levels of each IMF series [5, 6].

For signals involving Gaussian white noise, the energies of the non-trend component IMFs can be approximated as [15]

where \phantom{\rule{0.12em}{0ex}}{\widehat{\mathit{E}}}_{1} can be obtained from Equation (2). As a result, the IMF energies, {\widehat{\mathit{W}}}_{\mathit{H}}\left[\mathit{k}\right], for each order *k*, should decrease linearly when displayed on a semi-log plot, e.g., {log}_{2}\left\{{\widehat{\mathit{W}}}_{\mathit{H}}\left[\mathit{k}\right]\right\} versus *k* as shown by the solid straight line (connecting circle points) in FigureÂ 2. Any IMFs with which their {log}_{2}\left[{\widehat{\mathit{E}}}_{\mathit{k}}\right] values deviate significantly from the white noise (decreasing straight) energy line towards the top-right corner should be identified as trend IMFs [7, 15].

In the case that the non-trend IMFs have significant serial correlations, the significance test can be generalized as follows: if a well-fitted least-square line is obtained from the first few low order IMFs and this line is extrapolated to the full range of the order index, any higher order (i.e., lower frequency) IMFs which significantly deviate from this line towards the top-right corner should be identified as trend IMFs. Those lower order (i.e., high-frequency) IMFs from which the well-fitted least-square line is formed are the non-trend IMFs [15].

As shown in FigureÂ 2, the approximate 95% (dotted lines) and 99% (dashed lines) confidence bands can be obtained for the Gaussian white noise series energy line. For the 95% confidence band, the plotting ordinates, *upper*95, are given by [15]

for *k*â€‰=â€‰2, 3, â€¦, *N*. For the 99% confidence band, the plotting ordinates, *upper*99, are given by [15]

for *k*â€‰=â€‰2, 3, â€¦, *N*. Therefore, based on the significance test result, the original time series *X(t)* can be decompose as

(for 1â€‰<â€‰*m*â€‰<â€‰*N*) where {\displaystyle \underset{\mathit{i}=1}{\overset{\mathit{m}}{\mathrm{\xe2\u02c6\u2018}}}}{\mathit{c}}_{\mathit{i}} is the â€˜detailâ€™ or the non-trend components of *X(t)* and {\displaystyle \underset{\mathit{j}=\mathit{m}+1}{\overset{\mathit{N}}{\mathrm{\xe2\u02c6\u2018}}}}{\mathit{c}}_{\mathit{j}}+{\mathit{r}}_{\mathit{N}} is the trend components of *X(t)*.

If a significant serial correlation exists in the identified non-trend series, the *upper*95[k] and *upper*99[k] will shift up (if positively correlated) or down (if negatively correlated) characterised by the best-fit least square line as shown in FigureÂ 3 (middle-left plot). This is the fractional Gaussian noise series case which includes the Gaussian white noise series as a special case [15].

The â€˜detailâ€™ part of the *X(t)* is needed for calculating the excess mortality while the trend part is needed for calculating the relative risk in a regression analysis.

If needed, the instantaneous frequencies can be calculated for each IMF as shown in FigureÂ 4. The definition of the instantaneous frequencies of a time series and detailed calculations may be found in the references [4, 5, 7].

The EMD process can fail with the presence of a â€˜mode mixingâ€™ issue. The â€˜mode mixingâ€™ issue is defined as a single IMF either consisting signals of widely disparate scales, or a signal of a similar scale residing in different IMF series. Mode mixing is often a consequence of signal intermittency [16]. The analysis of the Chicago data encountered the mode mixing issue, as shown in the left column plots of FigureÂ 3. Using the ensemble EMD (EEMD) process is the solution to a mode mixing issue. The principle of the EEMD process is that the added white noise would populate the whole time-frequency space uniformly with the constituting components of different scales. The EEMD process defines the true IMFs as the mean of an ensemble of trials, each consisting of the signal plus a white noise of finite amplitude (usually we choose 0.1 standard deviation of the original time series) [4, 13, 16]. For example, the EEMD process can be applied by running 100 times of EMD decomposition processes with an added white noise of 0.1 standard deviation of the original time series. The average of the 100 EMD results is then taken as the final decomposition results of an EEMD process.The significance tests are applied to the IMFs generated from the EMD and EEMD processes, respectively. If they agree, such as the case of Brisbane data analysis (plots in the right column of FigureÂ 3), the EMD process is sufficient for generating IMFs; otherwise, the EEMD process is needed.

Once the original time series is decomposed into trend and non-trend IMFs, calculation of the excess mortality or other data analysis procedures (e.g., a subsequent regression analysis) can be performed using the resulting IMFs as the input.

## Results

### Brisbane data analysis

The EMD process was applied to decompose the Brisbane daily mortality data and the results were shown in FigureÂ 1. The top plot showed the original time series, followed by the IMF series (IMF 1 to IMF 9), and the bottom plot represented the â€˜residualâ€™ series. Since the residual series was obtained by removing all the higher frequency components (IMFs) from the original time series, it was always one of the trend components. The x-axis measured the time in days starting from 01/07/1996 and the y-axis measured the total or decomposed daily mortality. The (element wise) sum of the series of IMFs 1 to 9 and the â€˜residualâ€™ series recovered the original series (top plot) as defined by Equation (1).

Based on FigureÂ 2 and the significance test rule specified in the previous section, IMFs 1 to 5 were identified to form the non-trend part of the daily mortality time series. The non-trend series provided the excess mortality estimates for each day of the observation period. Therefore, if 07/02/2004 to 26/02/2004 (20Â days) was specified as the heatwave period, the excess mortality due to this heatwave was simply the sum of the resulting non-trend series over this 20-day period. The estimated excess mortality total was 62 (rounded to integer). Tong et al. [8] obtained a 95% confidence interval estimation (11, 138) of the excess deaths from a fitted Generalised Additive Model (GAM) [17]. Based on TableÂ 1, it was trivial to find out that it was those peak heatwave days made the dominant excess mortality contribution, that was, 52 deaths in six days. In TableÂ 1, notation MaxT represented the daily maximum temperature; those ExcessDeath values were obtained directly from the resulting non-trend series.

The strength of the HHT algorithm is that the decomposed IMFs capture the local features of a time series (i.e., the instantaneous frequency and instantaneous amplitude) better than any other available algorithms [4, 5]. FigureÂ 4 showed the instantaneous frequency plots for all nine IMFs. For comparison, those IMFs identified as non-trend components (i.e., IMFs 1 to 5) were displayed in the left column; trend component IMFs were displayed on the right. The y-axis represented the instantaneous frequency in terms of cycles per day. Therefore, the instantaneous cycle length (i.e., periodic pattern) could be calculated by taking the inverse of the instantaneous frequency. This detailed frequency pattern information is important because it helps us to understand the underlying physical processes better.

For estimation of the average period (i.e., the average cycle length in days for daily time series data), as proposed in [13], the calculation formula is given as

where the average period(*k*) is the average period in days of the *k*th IMF; *n* is the data length or sample size of the original time series; number of peaks(*k*) is the number of the local maxima points of the *k*th IMF for *k*â€‰=â€‰1, 2, â€¦, *N*. With the Brisbane data, we had *n*â€‰=â€‰2922 and *N*â€‰=â€‰9. TableÂ 2 showed the estimated average period in days for each IMF of the Brisbane data. Note that, since the EMD process is essentially a dyadic filter bank, it decomposes the original time series in a manner that the average periods are approximately doubling the neighbouring IMFs [4, 6].

### Chicago data analysis

We applied the EMD process to the Chicago data (graphic output not shown) and performed the significance test as shown in the top-left plot of FigureÂ 3. The plot indicated that only IMFs 1 and 2 should be treated as the non-trend components. In the original time series plot (not shown), a huge spike appeared around July 1995 which may cause the mode mixing problem. We then applied EEMD to the Chicago data and performed the significance test accordingly. The result was shown in the middle-left plot of FigureÂ 3. Comparing the results obtained from EMD and EEMD (i.e., top-left plot versus middle-left plot), we concluded that the mode mixing issue could not be ignored and the EEMD process was necessary. By applying the generalized significance test rule, the IMFs 1 to 5 were identified as the non-trend components (middle-left plot). In FigureÂ 3, the significance test results for the Brisbane data (plots in the right column) were included for comparison: both the EMD and EEMD generated IMFs test results (top and middle plots in the right column of FigureÂ 3) seemed to be in agreement with each other. Therefore, the EMD decomposition was sufficient for Brisbane data.

With the Chicago data, the non-trend components energy line was deviated (upwards) from the white noise energy line due to its significant serial correlation. The bottom row plots compared the autocorrelation function curves of the Chicago data with the Brisbane data. The Chicago data (bottom-left plot) exhibited a significant serial correlation â€“ lags 1 and 2 serial correlations were well beyond the 95% confidence band. This explained the mismatch between the Chicago data IMF energy line and the white noise energy line.

Once the non-trend IMFs were determined, given a specified heatwave period, the calculation of the excess mortality of the Chicago data became straightforward. The HHT algorithm estimated the excess mortality over the period 11â€“18 July 1995 to be 510. According to the Mortality and Morbidity Weekly Report (MMWR), a total of 465 deaths were identified as heat-related in Chicago during 11â€“27 July [2]. The MMWR is the official source to publish the heat-related death figures reported by the Cook County Medical Examinerâ€™s Office (CCMEO) during heatwaves [2].

### More on Brisbane data analysis

Relative risk in natural logarithm scale, denoted by log_{e}(RR), was used as the health outcome variable for the regression analysis. The log relative risk was calculated as (following the notation defined in Equation (4))

where *X(t)* was the original daily mortality series and {\displaystyle \underset{\mathit{i}=6}{\overset{9}{\mathrm{\xe2\u02c6\u2018}}}}{\mathit{c}}_{\mathit{i}}+{\mathit{r}}_{9} was the trend series obtained from the EMD process in the â€˜Brisbane data analysisâ€™ subsection. The trend series represented the daily mortality under â€˜normalâ€™ conditions.

Similar to the decomposition of the daily mortality data, the EMD process was applied to the daily maximum temperature series, denoted by maxT, to generate the IMFs. The maximum daily temperature data IMFs 1 to 5 were grouped to form the â€˜non-trendâ€™ part as it had the same frequency structure as the identified non-trend daily mortality series. The non-trend part of the daily maximum temperature, denoted by maxT_{(non-trend)}, represented the daily maximum temperature anomaly. The association between the daily mortality and the maximum temperature was then investigated by fitting the simple ordinary linear regression models with the following settings. The fitted models were specified using the R code notation as given below:

Model 1 (heatwave period): lm(log_{e}(RR)â€‰~â€‰maxT_{(non-trend)})

Model 2 (heatwave period): lm(log_{e}(RR)â€‰~â€‰maxT)

Model 3 (summer season): lm(log_{e}(RR)â€‰~â€‰maxT_{(non-trend)})

Model 4 (summer season): lm(log_{e}(RR)â€‰~â€‰maxT)

where the â€˜heatwave periodâ€™ referred to the 20-day period 7â€“26 July, 2004; the â€˜summer seasonâ€™ referred to the 91-day period from 01/12/2003 to 29/02/2004. The regression analysis results were given in TableÂ 3.

TableÂ 3 showed that all four models were statistically significant at 0.05 level. For the association between the excess mortality and daily maximum temperature, the heatwave period had a stronger positive correlation (larger positive coefficient and higher adjusted R^{2} value) than the summer season period. Models 1 and 3 measured the association of excess mortality with the excess maximum temperature (i.e., anomaly) but models 2 and 4 measured the association of the excess mortality and maximum temperature (i.e., absolute temperature level). We found that it was the impact (R^{2}: 0.208 versus 0.127) of the maxT anomaly that differed more than the impact (R^{2}: 0.172 versus 0.165) of maxT itself between the heatwave period and the summer season as a whole.

Finally, we investigated the associations between log_{e}(RR) and maxT, O_{3}, and PM_{10} for summer seasons of 2000 and 2004. The summer season of 2000 was defined as a 91-day period from 01/12/1999 to 29/02/2000. We decided to compare these two summer seasons because there was a similar heatwave in Brisbane in 2000 as it was in 2004. We specified six models in R code format as given below among which models 1 to 4 referred to the year 2000 summer season and models 5 and 6 referred to year 2004 summer season. The regression analysis results for each model were given in TableÂ 4.

Model 1 (2000 summer): lm(log_{e}(RR)â€‰~â€‰maxT)

Model 2 (2000 summer): lm(log_{e}(RR)â€‰~â€‰maxTâ€‰+â€‰PM10)

Model 3 (2000 summer): lm(log_{e}(RR)â€‰~â€‰maxTâ€‰+â€‰O3)

Model 4 (2000 summer): lm(log_{e}(RR)â€‰~â€‰maxTâ€‰+â€‰PM10â€‰+â€‰O3)

Model 5 (2004 summer): lm(log_{e}(RR)â€‰~â€‰maxT)

Model 6 (2004 summer): lm(log_{e}(RR)â€‰~â€‰maxTâ€‰+â€‰PM10)

After testing different regression models, the following association relationships were found. For year 2000 summer season, PM_{10} had a very strong impact on the excess daily mortality, and therefore the daily maximum temperature became a less important risk factor in terms of the adjusted R^{2}. Furthermore, there was a high correlation (Pearson correlation coefficient is 0.501) between PM_{10} and O_{3} during the year 2000 summer season. A further inclusion of O_{3} (i.e., Model 3 and Model 4) did not make a statistically significant difference. For year 2004 summer season, however, neither PM_{10} nor O_{3} had a significant impact on the excess mortality, i.e., maxT was the only significant risk factor among these three factors.

## Discussion

In the Chicago data analysis we encountered the mode mixing issue and the EEMD process was employed to generate IMFs. Unfortunately, the EEMD decomposition does not generate exact IMFs (hence Hilbert transform may not be applicable) and we need to perform the post processing treatment [16]. Wu and Huang proposed a general post processing procedure for EEMD generated IMF-like series. Details can be found on page 29 of the reference [16]. In the Chicago data analysis, a special R function postEEMD was developed to perform the post processing treatment. Because EEMD is a noise assisted method, the added white noise causes some random fluctuation of the decomposed results. To minimise the random fluctuation effect, we have run a batch of 20 EEMD and post treatment processes on the data. Ultimately, 20 sets of post processed EEMD IMFs were generated and we took the averages as the final IMFs for the Chicago data analysis. For the repeatability of the analysis results, we initiated the decomposition process by setting the random seed to 101 in R and the resulting estimated excess mortality total during the 1995 Chicago heatwave was 510.

Another concern is the stoppage rule. Different stopping rule can produce similar but not exactly the same IMFs. By setting the number of iterations of the sifting process to 10, recent researches suggested this stoppage rule to be the most optimal and it ensures the uniqueness of the generated IMFs [12, 16]. As the founder of the EEMD process, Wu prepared a full set of Matlab programs [14] to implement HHT algorithm which are free available in [7]. These Matlab programs can perform the major HHT algorithm functions such as EMD, EEMD, generation of instantaneous frequency series, and significance testing. Our special R functions prepared for this study were essentially a translation of Wu's Matlab programs except for the significance test function which is our original work. The EEMD post processing functionality was also added in our R programs as mentioned before. The Additional file 1 contains more details of the functionalities, usage and discussions on our special R functions of the HHT algorithm.FigureÂ 5 compared the standard time series decomposition with the HHT decomposition using the Brisbane daily mortality data. The standard time series decomposition employed the moving average (frequencyâ€‰=â€‰365) algorithm to identify the trend series (bottom-left plot). The â€˜seasonalâ€™ series was defined as the average annual pattern of the sample data. Therefore, it showed a regular repeating cyclic pattern for each year (middle-left plot). After removing the â€˜trendâ€™ and â€˜seasonalâ€™ patterns from the original data, we obtained the â€˜randomâ€™ series (top-left plot). Because of the end-point-effect of the moving average process, the information loss on both ends of the â€˜trendâ€™ and â€˜randomâ€™ series was clearly seen (bottom-left and top-left plots). For the HHT decomposition, the â€˜trendâ€™ series (bottom-right plot) was obtained from the â€˜residual seriesâ€™ in FigureÂ 1. The â€˜seasonalâ€™ series (middle-right plot) was the element-wise sum of IMFs 6 to 9 in FigureÂ 1. The â€˜randomâ€™ series (top-right plot) was obtained by summing up the IMFs 1 to 5 (FigureÂ 1) as explained in the â€˜Brisbane data analysisâ€™ subsection.FigureÂ 5 showed that the mean levels (dotted horizontal lines) of the corresponding series were the same for both algorithms. However, the frequency and amplitude modulations differed significantly. As we argued in the previous sections, the random part of the daily mortality (i.e., the non-trend series) contained all the excess mortality information. In the top row plots of FigureÂ 5, both algorithms identified the highest (positive) spike for the year 2000 summer. A big positive spike represented the extraordinary magnitude of the excess mortality at a particular time point. Note that no information was available for the year 2004 summer from the standard time series algorithm (top-left plot), while the HHT algorithm clearly showed the second highest spike occurred in the year 2004 summer (top-right plot). Thus, the standard time series decomposition results could not be used for calculating the excess mortality related to the 2004 heatwave because of the end-effect information loss. Secondly, a repeating regular seasonal pattern was certainly too far from a true representation of the actual seasonal fluctuation pattern which was better represented by the HHT results. In the seasonal patterns (middle row plots), although both algorithms had identified nine peaks (corresponding to nine winter periods), the HHT algorithm (middle-right plot) revealed more local features, e.g., a big peak for the 1996 winter (we may want to investigate why). By comparison, the standard time series decomposed cyclic patterns (middle-left plot) failed to distinguish these local variations. Finally, the â€˜trendâ€™ pattern obtained from the standard time series decomposition (bottom-left plot) contained far less information (almost a horizontal line since that most local features were evened out by the moving averages) than that in the counterpart HHT plot. Through the qualitative comparison, FigureÂ 5 showed us a typical example of the advantages of the HHT decomposition over the standard time series decomposition.

Depending on different research aims, researchers may give different interpretations to the same HHT decomposition result, hence may find different applications. For example, from the signal processing perspective, researchers may focus on the identified trend IMFs and consider these IMFs contain the â€˜trueâ€™ signals of the underlying physical process; hence, the non-trend series is termed as â€˜noiseâ€™ for containing no useful information. By contrast, in the calculation of excess mortality, we focused on the non-trend IMFs which contained exactly the information of our concerns. As with any other analysis algorithm, to its best, HHT can only fully reveal the information contained in the data. External information or expertise and subject knowledge are needed to better or correctly interpret and utilize the HHT analysis results.

## Conclusions

The HHT algorithm provides a useful and novel approach to analyse time series data in public health area. In this paper, we demonstrated how to use the HHT algorithm to calculate the excess mortality during heatwave days. It is obvious that these applications can be repeated for any special events which have significant impacts on the daily mortality or morbidity, e.g., the SARS outbreak in 2003 and the H1N1 bird-flu event in 2009 [18, 19]. We have focused on illustrating the applicability and power of the HHT algorithm as a new analytical tool in public health research. We believe that public health researchers will find different and better ways to exploit the potential of the HHT algorithm. For example, the possible combination of the General Additive Model [17] with the HHT algorithm may produce more physically meaningful or robust forecasting results. The 2-dimension EMD algorithm, which is still at its development stage, provides the potential for spatial-temporal modelling applications in public health studies [4]. We will investigate these issues in our future research.

## References

Gosling SN, Lowe JA, McGregor GR, Pelling M, Malamud BD: Associations between elevated atmospheric temperature and human mortality: a critical review of the literature. Clim Chang. 2009, 92: 299-341. 10.1007/s10584-008-9441-x.

Centers for Disease Control and Prevention: Heat-related mortality - Chicago, July 1995. MMWR Morb Mortal Wkly Rep. 1995, 44: 577-579.

Schwartz J, Spix C, Touloumi G, BachÃ¡rovÃ¡ L, Barumamdzadeh T, le Tertre A, Tiekarksi T, Ponce De Leon A, PÃ¶nkÃ¤ A, Rossi G, Saez M, Schouten JP: Methodological issues in studies of air pollution and daily counts of deaths or hospital admissions. J Epidemiol Community Health. 1996, 50 (suppl 1): S3-S11. 10.1136/jech.50.Suppl_1.S3.

Huang NE, Wu Z: A review on Hilbert-Huang Transform: method and its applications to geophysical studies. Rev Geophysics. 2008, 46: RG2006

Huang NE, Shen Z, Long SR, Wu MC, Shih HH, Zheng Q, Yen NC, Tung CC, Liu HH: The empirical mode decomposition and the Hilbert spectrum for nonlinear and non-stationary time series analysis. Proceedings Royal Soc London, Series A. 1998, 454: 903-995. 10.1098/rspa.1998.0193.

Huang NE, Shen S: Hilbert-Huang Transform and its applications. 2005, Singapore: World Scientific Publishing Co. Pte. Ltd.

Hilbert-Huang Transform. [http://www.scholarpidia.org/article/Hilbert-Huang_transform] Accessed 15 September 2012

Tong S, Ren C, Becker N: Excess deaths during the 2004 heatwave in Brisbane, Australia. Int J Biometeorol. 2010, 54 (4): 393-400. 10.1007/s00484-009-0290-8.

R Development Core Team: R: A Language and Environment for Statistical Computing. 2012, Vienna, Austria: R Foundation for Statistical Computing, [http://www.R-project.org] Accessed 10 May

Barnett GG, Tong S, Clements AC: What measure of temperature is the best predictor of mortality?. Environ Res. 2010, 110 (6): 604-11. 10.1016/j.envres.2010.05.006.

Oâ€™Neill MS, Ebi KL: Temperature extremes and health: impacts of climate variability and change in the united states. J Occup Environ Med. 2009, 51: 13-25. 10.1097/JOM.0b013e318173e122.

Wang G, Chen X, Qiao F: On intrinsic mode function. Adv in Adaptive Data Anal. 2010, 2 (3): 277-293. 10.1142/S1793536910000549.

Wu Z, Huang NE: A study of the characteristics of white noise using the empirical mode decomposition method. Proceedings Royal Soc London, Series A. 2004, 460: 1597-1611. 10.1098/rspa.2003.1221.

2011, MATLAB 2011a: Natick Massachusetts, U.S.A.: MathWorks

Flandrin P, Rilling F, Gongcalves P: EMD equivalent filter banks, from interpretation to applications. book Hilbert-Huang Transform and Its Applications. Edited by: Huang NE, Shen S. 2005

Wu Z, Huang NE: Ensemble empirical mode decomposition: a noise-assisted data analysis method. Adv Adaptive Data Anal. 2009, 1 (1): 1-41. 10.1142/S1793536909000047.

Wood SN: Generalized Additive Models â€“ An Introduction with R. 2006, Boca Raton, USA: Chapman & Hall/CRC

Centers for Disease Control and Prevention: Surveillance for pediatric deaths associated with 2009 pandemic influenza A(H1N1) virus infection â€“ United States, April-August 2009. MMWR Morb Mortal Wkly Rep. 2009, 58: 941-7.

Peiris JSM, Yuen KY, Osterhaus ADME, Stohr K: The severe acute repiratory syndrome. N Engl J Med. 2003, 349: 2431-2441. 10.1056/NEJMra032498.

### Pre-publication history

The pre-publication history for this paper can be accessed here:http://www.biomedcentral.com/1471-2288/14/35/prepub

## Author information

### Authors and Affiliations

### Corresponding author

## Additional information

### Competing interests

Queensland University of Technology (Brisbane, Australia) will pay the article-processing charge.

### Authorsâ€™ contributions

GX carried out the methodology study, statistical analysis, and drafting of the manuscript. YG provided the raw data sets, participated in discussions on methodology and analysis results, and drafting of the manuscript. ST participated in discussions on comparison and interpretation of the analysis results, and drafting of the manuscript. LM participated in discussions on methodology and analysis results, and drafting of the manuscript. All authors read and approved the final manuscript.

## Electronic supplementary material

### 12874_2013_1057_MOESM1_ESM.docx

Additional file 1: This document gives the details of functionalities, usage and discussions on our special R functions for implementation of the HHT algorithm.(DOCX 25 KB)

## Authorsâ€™ original submitted files for images

Below are the links to the authorsâ€™ original submitted files for images.

## Rights and permissions

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly credited.

## About this article

### Cite this article

Xie, G., Guo, Y., Tong, S. *et al.* Calculate excess mortality during heatwaves using Hilbert-Huang transform algorithm.
*BMC Med Res Methodol* **14**, 35 (2014). https://doi.org/10.1186/1471-2288-14-35

Received:

Accepted:

Published:

DOI: https://doi.org/10.1186/1471-2288-14-35