Introduction

Several epidemiologic studies have well-documented the association between low or high temperatures and mortality in different parts of the world such as Europe, North-America or East Asia (Curriero et al. 2002; O’Neill et al. 2003; Medina-Ramón and Schwartz 2007; Anderson and Bell 2009; de’Donato et al. 2015; Gasparrini et al. 2015; Onozuka and Hagihara 2015) This relationship has been described, generally, as a non-linear “U”, “V” or “J”-shaped. The impact of temperatures on mortality represents a global public health issue (Costello et al. 2009; McMichael et al. 2008; Analitis et al. 2014; Baccini et al. 2008) that could be exacerbated by climate change events including more frequent, extreme and long-lasting episodes of particularly hot or cold temperatures (Zanobetti and Schwartz 2008; IPCC 2012). Despite the attention given to extreme weather events, most of the temperature-related mortality burden has been attributable to milder but non-optimum temperatures (Gasparrini et al. 2015).

According to international agencies and institutions (IPCC, WHO and CDC), more research is needed to identify and characterize the groups that are more vulnerable to climate change health impacts, such as temperature-related mortality (Woodward et al. 2014; World Health Organization (WHO) 2014; Manangan et al. 2015). The effects of temperatures on mortality are generally unequal across axes of inequality such as age, gender and socio-economic position (O’Neill et al. 2003; Mercer 2003; Medina-Ramón et al. 2006; Zanobetti et al. 2013; Huang et al. 2015; Onozuka and Hagihara 2015; Li et al. 2017). Better knowledge of these modifiers is essential for planning suitable public health interventions and for the provision of reliable predictions of the effects of climate change (Villalbí and Ventayol 2016). Thus, for example, it has been reported that the elderly are the most susceptible to temperature-related mortality (Basu and Samet 2002; Mercer 2003; Basu 2009; Zanobetti et al. 2013; Benmarhnia et al. 2015; Onozuka and Hagihara 2015), though inequalities among the different age groups are still under examination. Other studies have identified women to be at higher risk-mortality, while others have showed no difference by gender or have observed men to be at higher risk (O’Neill et al. 2003; Medina-Ramón et al. 2006; Zanobetti et al. 2013; Onozuka and Hagihara 2015). Regarding socioeconomic position, few studies have observed that it could modify temperature-related mortality while others have not (Curriero et al. 2002; O’Neill et al. 2003; Medina-Ramón et al. 2006; Ma et al. 2012; Son et al. 2013; Huang et al. 2015). However, to the best of our knowledge, no studies to date have investigated the effect modification on the association between (cold and hot) ambient temperatures and mortality by educational level in a European context. The mortality register of Barcelona is linked with the municipal census, providing the opportunity of obtaining the educational level of the deceased since 1992. Due to this linkage, it is possible to obtain long time series (24 years) that allow researchers to study in depth vulnerable groups according to their sex, age and educational level.

The objective of this study was to analyse social inequalities in the association between ambient temperature and mortality by sex, age and educational level, in the city of Barcelona for the period 1992–2015.

Methods

Study design, unit of analysis, data and sources of information

This is a time-series study performed in the city of Barcelona, based on resident population. Daily data were collected from 1 January 1992 to 31 December 2015.

Mortality data were obtained from the mortality registry of Barcelona, which collects information from the mortality registry of the Department of Health of Catalonia and from the municipal population registry. The educational level is available through the record linkage between the registry and the municipal census. Mortality data are represented by daily deaths for all causes, excluding external causes, i.e. natural mortality [International Classification of Diseases, 9th revision (ICD-9) codes 0-799, and 10th revision (ICD-10) codes A00-R99]. Residents of Barcelona who died outside the city were also excluded.

As a measure of socioeconomic position, we used the educational level of the deceased (Galobardes et al. 2006). Educational level was categorized into three groups (without studies, primary education, more than primary education).

Deceased were also classified into four age groups (25–64, 65–74, 75–84, ≥ 85 years). We selected the individuals aged 25 years or older because it is estimated that individuals of this age can have reached the highest educational level.

We considered, as a measure of exposure, the daily maximum temperatures (in °C) for the study period in Barcelona. Temperature data were obtained from the “Servei Meteorològic de Catalunya” (METEOCAT). We have chosen the maximum temperature for the study since this measure is the one used to determine the warning thresholds in the Barcelona heatwave early warning system.

Data analysis

All the analyses were performed for each sex separately. Time-series Poisson regression with distributed lag non-linear models (DLNM) were fitted for modelling the relationship between temperature and mortality, reported as relative risk (RR). DLNM provide a flexible way to capture the complex non-linear and lagged dependencies of exposure–response relationships through the combination of two functions in a cross-basis function (Gasparrini et al. 2010; Gasparrini 2014). Specifically, we modelled the exposure–response curve with a quadratic B-spline with three internal knots placed at the 10th, 75th, and 90th percentiles of location-specific temperature distributions, and the lag-response curve with a natural cubic B-spline with an intercept and three internal knots placed at equally spaced values in the log scale. We extended the lag period to 21 days to include the long delay of the effects of cold and to exclude deaths that were advanced by only a few days (harvesting effect). We then reduced the association to the overall temperature–mortality association, cumulating the risk during the lag period. Moreover, we have found the temperature at which risk of mortality is at a minimum, also called minimum mortality temperature (MMT), with its 95% confidence interval (95% CI) computed using an approximate parametric bootstrap with 50,000 simulated splines (Tobías et al. 2016). The majority of the MMTs obtained by each sex, age and educational level groups was close to 25 °C and its 95% CI always included this temperature value (see Table 1), so we decided to use 25 °C as the reference temperature to compare the results between groups. We have summarized the mortality risks of moderate cold and hot temperatures by computing, respectively, the RRs at the 5th and 95th temperature percentiles using the 25 °C as the reference. Moreover, the mortality risk of extreme cold temperatures was estimated by the RR at the 1st percentile with respect the 5th percentile. Similarly, the mortality risk of extreme heat was obtained by the RR at the 99th percentile with respect the 95th percentile. These temperature percentiles and the reference temperature of 25 °C are displayed in the Figs. 1, 2 and 3. We investigated the effect modification by sex, age and educational level by estimating the relative effect modification (REM) index (Stafoggia et al. 2006).

Table 1 Number and percentage of deaths and minimum mortality temperature (MMT) and its 95% confidence interval (95% CI) by sex, age and educational level groups. Barcelona (Spain), period 1992–2015
Fig. 1
figure 1

Overall cumulative temperature–mortality association (relative risk—black solid line—with its 95% confidence interval—shaded grey) by sex. Barcelona (Spain), period 1992–2005

Fig. 2
figure 2figure 2

Overall cumulative temperature–mortality association (relative risk—black solid line—with its 95% confidence interval—shaded grey) by sex and age groups. Barcelona (Spain), period 1992–2005

Fig. 3
figure 3

Overall cumulative temperature–mortality association (relative risk—black solid line—with its 95% confidence interval—shaded grey) by sex and educational level. Barcelona (Spain), period 1992–2005

Finally, for each day of the series (in each sex, age and educational level group) we used the overall cumulative RR corresponding to each day’s temperature to calculate the attributable deaths and fraction of attributable deaths in the next 21 days, using a previously described method (Gasparrini and Leone 2014). The total attributable number (AN) of deaths caused by non-optimum temperatures is given by the sum of the contributions from all the days of the series, and the total attributable fraction (AF) is calculated through the ratio of AN with the total number of deaths. We also calculated the components attributable to extreme cold, moderate cold, moderate heat and extreme heat by summing the subsets corresponding the days with temperatures ranging between the cutoffs 5th percentile, 25 °C and 95th percentile (Gasparrini et al. 2015).

Results

In Barcelona, the maximum daily temperatures during the period 1992–2015 ranged from 0.7 to 38.4 °C, with a mean of 19.6 °C (standard deviation 6.8 °C). Moreover, the 1st, 5th, 50th, 95th and 99th percentiles of maximum daily temperatures were 6.3, 9.2, 19.2, 30.6 and 33.2, respectively. Table 1 shows the number and percentage of deaths by sex, age groups and educational level in Barcelona during the period 1992–2015. The dataset includes 164,853 men and 171,526 women. In the younger age group (25–64 years), there were fewer deaths among women (9.0%) than among men (19.3%), while in the older age group (≥ 85 years), the percentage was higher in women (48.8%) than in men (24.6%). Most deceased women had no studies (40.9%) or primary education (35.5%), while inversely, the majority of men had more than primary education (37.9%).

Figure 1 shows the temperature–mortality association for men and women. In men, RR curve has a “U” shape. However, in women, RR curve has a “J” shape, showing a statistically significant effect in low and high temperatures, but the RRs are higher for the latter. We found differences between sexes that are summarized in Table 2. Specifically, the RR point estimates of cold temperatures were similar in both sexes, while for hot temperatures, the highest RRs were found in women. Thus, the RR at the 95th percentile versus 25 °C was 1.14 [95% CI (1.05; 1.24)] in women and 1.04 [95% CI (0.95; 1.13)] in men; while the RR at the 99th versus the 95th percentile was 1.35 [95% CI (1.26; 1.44)] in women and 1.15 [95% CI (1.06; 1.23)] in men. The obtained REMs, studying the effect modification by sex, were 1.10 (p = 0.116) and 1.18 (p = 0.002), respectively (Supplementary Table 1).

Table 2 Relative risks (RR) for mortality and its 95% confidence interval (95% CI) by sex, age and educational level groups. Barcelona (Spain), period 1992–2015

When considering age groups, by sex. In men, we found that cold has a significantly higher effect in the 65–74 and ≥ 85 age groups and of heat in the 75–84 and ≥ 85 age groups (Fig. 2). For example, in ≥ 85 age group, the RR at the 5th percentile versus 25 °C was 1.30 [95% CI (1.07; 1.58)] and the RR at the 99th versus 95th percentile was 1.18 [95% CI (1.02; 1.36)] (Table 2). In women, we found the most significant effect of cold in the 75–84 age group and a significant effect of heat in all age groups (Fig. 2). For example, the RR at the 5th percentile versus 25 °C was 1.40 [95% CI (1.17; 1.66)] in 75–84 age group, and the RR at the 99th versus 95th percentile was 1.40 [95% CI (1.27; 1.54)] in the ≥ 85 age group (Table 2). REMs show only statistically significant differences between age groups in women, the RR (95th percentile versus 25 °C) obtained in the 75–84 age group being lower than the RR obtained in the 25–64 age group (REM = 0.72; p = 0.039) (Supplementary Table 1).

We also studied the non-linear temperature–mortality association for each educational level group, by sex (Fig. 3 and Table 2). In men, we found the most significant effects of temperature on mortality for cold temperatures in the groups with primary education and with more than primary education; and for extreme heat, the most significant values were found in the primary education group. For example, in the primary education group, the RR at the 5th percentile versus 25 °C was 1.31 [95% CI (1.12; 1.54)]. In women, we found a significant effect of cold on mortality in the group without studies, which became non-significant when the education level increases. In contrast, we found a significant effect of heat in all the educational level groups. Thus, for women without studies, the RR at the 1th versus 5th percentile was 1.11 [95% CI (1.00; 1.24)], at the 5th percentile versus 25 °C was 1.28 [95% CI (1.10; 1.49)], at the 95th percentile versus 25 °C was 1.23 [95% CI (1.08; 1.40)] and at the 99th versus 95th was 1.31 [95% CI (1.18; 1.46)]. REMs show that educational level could produce an effect modification on the association between moderate temperatures and mortality, specifically in cold temperatures for men and in hot temperatures for women (Supplementary Table 1).

The total AF caused by temperature was 7.42% [95% CI (2.68; 11.87)] in men and 8.05% [95% CI (3.21; 12.48)] in women (Supplementary Table 2). In men, the highest total AFs (statistically significant) were obtained among the age group of 85 and older and among those with more than primary education; while for women, the highest total AFs were obtained among the 75–84 age group and in the group without studies. Comparing temperatures, we obtain the highest AF for moderate cold temperatures in both sexes followed by extreme cold in men and extreme heat in women. Specifically, moderate cold temperatures produced 9130 [95% CI (1793; 16061)] deaths in men and 8208 [95% CI (586; 15230)] in women for the 23 year period (Supplementary Table 3).

Discussion

Summary of the main results

The results of our study suggest that women have a higher risk of mortality by hot temperatures than men. In general, the temperature–mortality association (heat and cold) was evident for the elderly; with the exception of heat-related mortality in women which was present in all age groups. Additionally, contrary to our expectations, men with primary studies or more were more vulnerable to moderate or extreme temperatures than those without studies. Finally, women were vulnerable to heat-related mortality in all educational levels while women without studies were more vulnerable to cold temperatures.

Interpretation and significance of results

Gender inequalities

Risks of mortality associated to cold temperatures were similar for both sexes, while risks of mortality associated to hot temperatures were higher in women. Our results are in line with the findings of previous studies that have analysed high and low temperature-related mortality (Zanobetti et al. 2013; Onozuka and Hagihara 2015). Other studies, more focussed on the impacts of heat or heat waves on mortality, have also found that females were more vulnerable than men (Borrell et al. 2006; Stafoggia et al. 2006; Hajat et al. 2007; Basu 2009; Yu et al. 2010; Li et al. 2017). However, other studies have not found differences between sexes (O’Neill et al. 2003; Medina-Ramón et al. 2006; Benmarhnia et al. 2015). These findings may be due to the social conditions of elderly females, who often live alone; and due to differences in thermoregulatory and physiological mechanisms (Onozuka and Hagihara 2015; Li et al. 2017).

Age inequalities

In men, we found a significant effect of cold on mortality for ≥ 65 age group, while heat represents a significant risk of mortality for the ≥ 75 age group. In women, we found that cold has its most significant effect on mortality in the 75–84 age group and a significant effect of heat on mortality in all age groups. This effect was higher in the 25–64 and ≥ 85 age groups. Several studies on the effects of temperature on mortality have also found a greater susceptibility of the elderly to both cold and hot temperatures. A reduced thermoregulatory capacity in the elderly, combined with a diminished ability to detect changes in their body temperature, may partially explain their increased susceptibility (Basu and Samet 2002; Mercer 2003; Basu 2009; Zanobetti et al. 2013; Benmarhnia et al. 2015; Onozuka and Hagihara 2015; Li et al. 2017). Moreover, it is known that factors usually related with elderly as being confined to bed, having an illness, isolation or not leaving home each day, produce a greater risk of dying due to heat wave (Semenza et al. 1996). However, Onozuka and Hagihara (2015) found that in Fukuoka (Japan) age was not an effect modifier for heat or cold extremes over last decades (Onozuka and Hagihara 2015).

Educational inequalities

In men, we found a significant effect of cold on mortality in those individuals with primary education or more. Regarding heat, we only found that extreme heat is related to mortality in the primary education group. In women, we found a significant effect of cold on mortality in the group without studies which became non-significant when the education level increased. On the other hand, we found a significant effect of heat in all the educational level groups. Studies performed in United States or Asia have found that the relation between mortality and hot or cold temperatures was modified by educational level. O’Neill et al. (2003) found that, in general, cold and hot effects were higher among the less educated (O’Neill et al. 2003). Ma et al. (2012) found no significant modifying effect of educational level, although residents with low education attainment had slightly higher temperature–mortality effects (Ma et al. 2012). Huang et al. (2015) found that people with lower educational level had a significant risk of heat-related mortality. However, the cold temperature–mortality associations were similar between the studied educational level groups (Huang et al. 2015). Medina-Ramón et al. (2006) showed that subjects with lower educational level were more susceptible to extreme heat and no differences were found for extreme cold (Medina-Ramón et al. 2006). Similarly, multilevel and ecological studies (using geographical areas as unit of analysis) have found analogous results (Curriero et al. 2002; Hajat et al. 2007; Huang et al. 2015). To our knowledge, only one study performed in Seoul (Korea) has investigated the effect modification on the association between (cold and hot) temperatures and mortality by educational level stratifying by sex (Son et al. 2013). The authors found that for both men and women, the educational group with the highest cold and heat effects was the lowest educational level. However, the highest effect in cold-related cardiovascular mortality was observed for the most educated group. In Barcelona, Borrell et al. (2006) found that the excess mortality during the summer of 2003 was observed in all educational groups among women, but in some age groups, the increase was larger for women with low education or with less than primary education (Borrell et al. 2006). Persons with less educational attainment, which may be a predictor of low socioeconomic status, were more likely to have poorer health status, limited access to health care and poorer living conditions (Marmot Review Team 2011). Moreover, the access to proper housing, necessary for bearing extreme temperatures, can be influenced by education (Marí-Dell’Olmo et al. 2016; Almendra et al. 2017; Peralta et al. 2017). However, the significant effect of cold on mortality in men with primary education or more could be due to the fact that in Spain, in the earliest stages of the tobacco epidemic, men with higher socioeconomic position had a higher smoking prevalence (Lopez et al. 1994). These men could be now more vulnerable to the effect of cold.

Methodological considerations

To our advantage, we had access to the educational level of the deceased as a proxy of socioeconomic position. It should be noted that the majority of mortality registers do not have variables of socioeconomic position of the deceased of any kind. In our study, educational level was obtained through a continuous record linkage between the mortality register and the Municipal Census (97.3% of cases were linked). Another strength of our study is that it is one of the first to explore in detail the effect modification of temperature-related mortality by sex, age and educational level using large daily time series of 24 years in a European context. Moreover, we have used the most recent and sophisticated statistical methodology under the DLNM framework to take into account the complex and heterogeneous temperature–mortality dependency. However, as a limitation, we must mention that these statistical methods have not allowed us to analyse educational level differences adjusting the analyses by age. This issue could not be addressed through stratifying by sex, educational level and age because categories ended up with small numbers of deaths, leading to a lack of statistical power.

Conclusions

Our study has shown that social and economic individual characteristics play an important role in vulnerability to high and low temperatures. It is important that climate change resilience and adaptation plans consider these vulnerable subgroups. It is necessary to consider monitoring cold spells, using specific early warning systems as the ones already functioning for heat waves. This is important since, in our study, cold temperatures have demonstrated mortality risks similar or even higher to hot temperatures and also because specific vulnerable groups have been detected.