Abstract
The emergence of resistant phenotypes following the introduction of new antibiotics is well documented. However, the subsequent dynamics of resistance frequencies over long time periods are less well understood: the extent to which resistance frequencies increase, the rate at which resistance frequencies change, and how this depends on antibiotic consumption remain open questions. Here, we systematically analyse the resistance trajectories emerging from 3,375,774 hospital bacterial isolates sampled from infections in Europe over 1998-2019, representing 887 bug-drug-country combinations. Our analyses support a model in which, after an initial increase, resistance frequencies reach a stable intermediate equilibrium. The plurality (37%) of analysed trajectories were best described as ‘stable’ (neither increasing nor decreasing). The second largest category of trajectories (21%) was those best described as ‘stabilising’ – i.e. showing a transition from increasing frequency to a stable plateau. The antibiotic consumption in a country predicts both the equilibrium frequency of the corresponding resistance and the speed at which this equilibrium is reached. Moreover, we find weak evidence that temporal fluctuations in resistance frequency are driven by temporal fluctuations in hospital antibiotic consumption. Overall, our results indicate that ever increasing antibiotic resistance frequencies are not inevitable and that antibiotic management limits resistance spread. A large fraction of the variability in the speed of increase and the equilibrium level of resistance remains unexplained by antibiotic use, suggesting other factors also drive resistance dynamics.
1 Introduction
Antibiotic resistance is a serious public health concern, with an estimated 5 million resistance-associated deaths per year globally [1]. The emergence of resistance phenotypes following the introduction of new antibiotics is well documented [2]. However, once present, the fate of these resistance phenotypes – i.e. the change in the frequency of resistance in the population over longer time frames – is less well understood. Existing studies into temporal trends in resistance frequencies, often focused on specific species-antibiotic (‘bug-drug’) combinations, report a variety of resistance trajectories – including increasing, decreasing, apparently stable, and non-monotonic time courses [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]. A recent study looking at 13 bug-drug combinations across a large number of countries also reported a mixture of increasing and decreasing trends [15].
Beyond characterising overall trends, analysis of temporal trajectories has the potential to provide important additional insights into resistance dynamics. Predictions about medium to long-term resistance trends require an understanding of both the speed at which resistance frequencies change and how this speed itself changes – e.g. is there evidence of the rate of resistance increase slowing down as resistance frequencies get higher? In other words, if antibiotic consumption rates remain relatively stable, are resistance frequencies expected to continue rising to eventually reach 100% (‘fixation’) or will we observe stabilisation at intermediate frequencies?
This question of fixation is particularly important as it informs long-term expectations about the burden of resistance and has received considerable attention in the theoretical literature. An intuitive understanding of resistance evolution suggests that fixation should occur if resistance is beneficial enough to emerge in the first place. The simplest models of resistance dynamics predict a logistic rise in resistance frequencies (Figure 1B), at a rate dependent on the population antibiotic consumption and fitness cost associated with resistance [16]. For example, under typical simplifying assumptions [16], if a population is prescribed an average of one course of antibiotics per person per year and if resistance has little cost, the growth advantage of resistance (called ‘selection coefficient’ in evolutionary biology) is of 1 per year. This is enough to shift the frequency of resistance from 1% to 99% in 9 years. A higher cost of resistance leads to a slower increase, but fixation is still expected – provided the cost is not so high that it outweighs the benefit of resistance, in which case resistance would not emerge in the first place. These intuitions also hold for many more complex models of resistance.
However, while some resistance trajectories (e.g. penicillin resistance in Staphylococcus aureus [4]) have indeed reached fixation, this is not the norm. An alternative model therefore suggests the presence of ‘balancing selection’ (sometimes also called ‘negative frequency-dependent selection’) which acts to stabilise resistance frequencies at intermediate levels. Multiple mechanistic models may generate balancing selection, with stabilising mechanisms arising for example from host population structure [17, 18, 19], strain structure [20] or within-host dynamics [21]. Yet, the lack of observed fixation is not in itself evidence of stabilisation: trajectories could still be rising towards 100%. It is therefore important to systematically assess evidence of stabilization – i.e. a rising phase in resistance followed by a plateau – in temporal trajectories across a range of bug-drug combinations.
Resistance trajectories also matter for understanding the relationship between antibiotic consumption and resistance. Antibiotic consumption correlates with resistance frequencies across European countries and US states [22, 23]. Under the fixation model, this correlation arises because antibiotic consumption affects the rate at which resistance increases (Figure 1B,C). On the other hand, under the balancing selection model, the correlation between antibiotic consumption and resistance may arise not only because consumption affects the rate of increase in the rising (‘non-equilibrium’) phase, but also because consumption affects the equilibrium frequency of resistance (Figure 1E,F). This distinction matters for predicting the impact of reducing antibiotic consumption. Under the balancing selection model, if resistance is at equilibrium, reduction in antibiotic consumption would lead to a lower plateau. Under non-equilibrium dynamics however, a reduction in antibiotic consumption would either slow or reverse the rise in resistance.
Here we analyse a large number of bacterial isolates sampled from infections in Europe, collected by the European Centre for Disease Control and Prevention (ECDC), together with antibiotic consumption data. We provide a quantitative and systematic view of the temporal trends in resistance and their relation to antibiotic consumption. Firstly, we provide an overview of speed and direction of resistance dynamics and assess evidence for stabilisation. Secondly, we quantify the association between antibiotic consumption and i) the equilibrium frequency of resistance and ii) the speed of increase of resistance. Thirdly, we explore the correlation between year-on-year variation in antibiotic use and resistance. We thus provide a comprehensive picture of antibiotic resistance evolution in Europe over the past two decades.
2 Results
2.1 Resistance is not systematically increasing and dynamics are slow
We used data from the European Center for Disease Prevention and Control (ECDC) to systematically investigate resistance trajectories in Europe from 1998 to 2019. In brief, the dataset consists of bacterial isolates tested for antibiotic resistance, with data for 8 species (Streptococcus pneumoniae, Staphylococcus aureus, Enterococcus faecalis, Enterococcus faecium, Escherichia coli, Klebsiella pneumoniae, Pseudomonas aeruginosa, and Acinetobacter spp.), 30 countries and 36 antibiotics. Following data cleaning steps that filtered out trajectories with insufficient sample size, the dataset retained for analysis consisted of 887 bug-drug-country combinations (see Methods for full details).
For an overview of the temporal trends in resistance, we began by fitting a standard logistic model to each trajectory. Overall, increasing trajectories are more common than decreasing ones, with 62% rising vs 38% declining. However, for most trajectories, the temporal trend is not statistically significant at the 0.05 level: 29% of all trajectories are significantly rising and 16% significantly declining (see Figure 2). The median slope – i.e. selection coefficient in the fixation model of resistance – is 0.056 per year for the rising trajectories (-0.051 for the declining trajectories). In the fixation model of resistance, this translates to an increase from 1% to 99% resistance in 165 years.
2.2 Evidence of stabilising resistance frequencies
In order to test whether resistance trajectories might be stabilising at an intermediate plateau, we fitted two further models to each trajectory (see Methods for details and SI Figure 1): a scaled logistic model, in which the frequency is increasing towards an intermediate plateau rather than fixation, and a flat straight line with slope 0. Note that 10% of trajectories were not well characterised by any of the models and were removed from further analysis. After exclusion of these, the best model generally fit the data well (Figure 3).
We then compared the fits of the standard logistic (2 parameters), the scaled logistic (3 parameters) and flat line (1 parameter) models using the corrected Akaike Information Criterion (AICc). Trajectories best characterised by the plateauing logistic were categorised as ‘stabilising’ (21%) and those best characterised by the flat line as ‘stable’ (37%). The trajectories best characterised by the standard logistic model were further divided into ‘increasing (s)’ (17%), ‘increasing (ns)’ (4%), ‘decreasing (ns)’ (4%) and ‘decreasing (s)’ (17%) categories, where ‘s’ and ‘ns’ denote statistical significance and non-significance at the 0.05 level.
Overall, these results suggest that resistance frequencies have indeed stabilised for many bug-drug combinations (Figure 4): a large proportion of the trajectories which appeared to be increasing in the standard logistic model are now classified as ‘stable’ or ‘stabilising’. This is particularly striking for the species E. coli and K. pneumoniae. It is worth noting that the stabilising trends give more support to the balancing selection model than the stable trends, because the transition from increasing to stable resistance is observed for these trajectories.
To further understand the role of species, country and antibiotic class as determinants of observed temporal trends, we performed a regression analysis (SI Section 2) to correct for correlations among predictors (e.g. some species being more frequently sampled in some countries). The results (SI Figures 2 and 3) are consistent with the information conveyed in Figure 4.
Finally, to gain further insight into the dynamics of the increasing trajectories, we compared the rate at which resistance is rising for the ‘increasing (s)’ category and for the non-equilibrium phase of the ‘stabilising’ category. If the ‘increasing’ trajectories also reflect non-equilibrium dynamics, we would expect these rates to be similar. We quantified the speed of increase for each trajectory as the maximal rate of increase in the time frame for which we had data (Methods 4.4, SI Figure 4). The fastest rates of increase were in the ‘increasing (s)’ category. On the other hand, the mean rate of increase was significantly lower for the ‘increasing (s)’ than the ‘stabilising’ category (2.2 vs 3.9 percentage points per year, p = 4.7 × 10−4 in an linear regression model with ‘stabilising’ vs ‘increasing (s)’ as a predictor of the speed of increase, n = 299). This difference does not arise from confounding, as the effect remains significant in an adjusted model (p = 1.9 ×10−6 in a linear regression model with species, country and antibiotic class as additional covariates). Thus while some of the increasing trajectories likely reflect genuine non-equilibrium dynamics, the slow rate of change suggests some of these trajectories may instead represent resistance frequencies responding to a changing selection pressure -due to, for example, increasing antibiotic consumption (see SI Section 3 for caveats).
2.3 Consumption of antibiotics predicts the level of stabilisation and the rate of increase of antibiotic resistance
Next, we investigated which properties of the temporal trajectories of antibiotic resistance are predicted by antibiotic use. We correlated both the plateau and maximum rate of increase of the resistance trajectories with the use of the corresponding antibiotic class across countries, for bug-drug combinations for which at least five countries had data (Methods).
First, we observed a positive correlation between the plateau level of resistance in the ‘stable’ and ‘stabilising’ trajectories, and the consumption of the corresponding class of antibiotics in the community for most bug-drug combinations (Figure 5A). Overall, the mean correlation was significantly greater than 0 (mean correlation = 0.329 [0.18 − 0.48], N = 40 combinations, t-test p = 5.2 × 10−5) and several individual correlations were significantly different from zero, despite considerable uncertainty in each correlation coefficient. This also held true when considering antibiotic use in the hospital instead of in the community (SI Figure 5); mean correlation = 0.322 [0.17− 0.48], N = 31 combinations, t-test p = 1.7 × 10−4). This is consistent with selection by antibiotics increasing the plateau level of resistance.
Second, the rate of increase of resistance frequency for the ‘stabilising’ and ‘significantly increasing’ trajectories also exhibited a correlation with antibiotic use, but the signal was weaker than for the plateau. In this analysis, the rate of increase was computed as the maximal slope reached over the time-period in which we had resistance data. The individual correlations could be either negative or positive and none were individually significantly different from 0 (Figure 5B). However, overall, the set of correlations had a mean significantly greater than 0 (mean correlation = − 0.18 [0.06; 0.30], N = 14 combinations, t-test p = 0.005). The mean was similar when considering antibiotic use in the hospital sector, though not significantly different from 0 (mean correlation = 0.19 [0.08; 0.45], N = 10 combinations, t-test p = 0.15) (SI Figure 5). When restricting to stabilising trajectories only, we obtained very few bug-drug combinations, most of them from E. coli and showing a positive correlation (SI Figure 6). All in all, there was evidence that the rate of increase in antibiotic resistance is driven by antibiotic use.
Lastly, if we ignore temporal trends, the median level of resistance over time was also generally positively correlated with consumption (SI Figure 7).
2.4 Antibiotic use as a predictor of temporal variation in antibiotic resistance
Following the earlier result that ‘increasing’ trajectories may reflect a changing equilibrium frequency, we investigated whether year-to-year variation in antibiotic use could cause corresponding year-to-year fluctuations in the level of resistance. For each country, we computed the temporal correlation of resistance with use of the corresponding antibiotic, for combinations for which we had at least five years of data and for all categories of temporal trajectory. We then averaged these temporal correlations over all countries and retained only bug-drug combinations for which we had at least five countries. There was overall a positive mean correlation between resistance and antibiotic use in the hospital sector (mean correlation = 0.06 [0.03; 0.09], N = 63 combinations, t-test p = 6.8× 10−4) (Figure 6A), but this was not true when considering the use of antibiotics in the community sector (mean correlation = 0.01 [− 0.02; 0.04], N = 65 combinations, t-test p = 0.6) (SI Figure 8).
Because of the mixed evidence, to further investigate the possibility that the frequency of resistance follows the fluctuations in antibiotic use, we computed two additional partially independent indicators (SI Figure 9) [24]. These also suggested that antibiotic resistance follows temporal fluctuations in the use of antibiotics in the hospital sector, but not in the community.
We last looked at whether sustained trends in antibiotic consumption (computed as the Spearman correlation between calendar year and consumption level) predict the temporal trajectory of antibiotic resistance. In other words, we tested whether increasing/decreasing resistance trajectories are associated with increasing/decreasing consumption of the corresponding antibiotic in the corresponding country. Hospital antibiotic consumption rate was increasing on average for all resistance trends (Figure 6 B), but the increase in consumption was significantly higher for the increasing (s and ns) than decreasing (s and ns) categories (Wilcox test, p = 0.002). Again, no significant trend was found when considering community instead of hospital consumption (Wilcox test, p = 0.14).
All in all these analyses provide some evidence that the frequency of antibiotic resistance follows changes in the use of the antibiotic – either year-on-year fluctuations and/or sustained trends – in the hospital, but not community sector.
2.5 Case-study: few rising trajectories in previously high-consumption countries
Finally, we combined the insights above to further understand specific resistance trends. Some of the countries with the smallest proportion of increasing trajectories (Figure 4 and SI Figure 2), such as Greece, Italy, and France, were also the countries with highest levels of antibiotic use in the community in the early 2000s [22]. Confirming this observation, there was overall a significant negative correlation between antibiotic use in the community sector in 2000 and the proportion of increasing resistance trajectories (SI Figure 10C). Such trend was not observed for hospital consumption.
We hypothesised two non-mutually exclusive explanations for this intriguing finding. One possibility is that countries with high community antibiotic use in the early 2000s have taken effective measures to halt the increase of antibiotic resistance. We looked at whether high community antibiotic use in 2000 correlated with a decrease in total antibiotic consumption during the study period. This was true in the hospital sector, but not in the community (SI Figure 10A,B). Alternatively, as high antibiotic consumption leads to a faster rise in resistance, trajectories in high consumption countries are more likely to have reached a plateau either before or during the study period, while trajectories in lower consumption countries are still rising towards the plateau. This hypothesis requires that increasing trajectories reflect, at least in part, non-equilibrium dynamics. In support of this hypothesis, we found that countries with high community antibiotic consumption in 2000 had a faster rate of increase in the rising phase of the stabilising trajectories (Spearman’s rho: 0.71, p = 0.0014).
3 Discussion
Our analysis of resistance trajectories in Europe suggests that antibiotic resistance frequencies are not consistently increasing and instead often appear stable over two decades. This observation has been previously discussed in the context of S. pneumoniae [17, 18, 20] and, to a more limited extent, in other species [19]. Our work provides systematic evidence for stability and – notably – stabilisation of resistance in eight important bacterial species. However, a non-negligible minority of trajectories were categorised as either significantly increasing (17%) or significantly decreasing (17%). These trajectories could reflect either non-equilibrium dynamics or a changing equilibrium frequency in response to changing antibiotic use. While we cannot determine for certain which is the case for individual trajectories, our analysis suggests a mix of these scenarios.
There was considerable variability in trends by bacterial species, country, and antibiotic class. We were able to explain some of this variability. First, resistances were in part associated with the rate of use of the corresponding antibiotic. In addition to previous work showing a spatial correlation between median consumption and median resistance [22, 23], we evidenced the effect of antibiotic consumption on both the rise and the stable level of resistance. We also investigated the temporal correlation between antibiotic use and resistance frequency. Resistance was weakly associated with hospital – but not community – antibiotic consumption, both in terms of year-on-year fluctuations and sustained trends. Second, the species E. coli and K. pneumoniae were associated with a particularly large number of increasing or stabilising trajectories. This might be linked to the emergence and spread of the CTX-M beta-lactamase enzyme in the late 1990s and early 2000s [25]. Third, countries with high antibiotic consumption in 2000 [22] – e.g. Italy, Greece and France – saw fewer increasing resistance trajectories than other countries. This was not straightforwardly explained by a decrease in antibiotic use, but might be explained by these trajectories having stabilised earlier in these countries than in others.
A large part of the variability in resistance within and across countries remained unexplained. One reason could be that differences in host population structure, and heterogeneity in antibiotic consumption within this structure, can lead to different resistance frequencies for populations with the same average consumption [19]. A second explanation is the spillover of resistance from neighbouring countries: even small amounts of migration from other countries are sufficient to influence local levels of resistance, which would tend to weaken the spatial correlation across countries [18, 26]. Thirdly, the coupling of multiple resistance genes co-occurring on bacterial strains (‘linkage disequilibrium’) [27] means that the frequency of resistance against a particular antibiotic could be affected by the consumption of other antibiotics. Finally, a number of studies have reported statistical associations between the frequency of resistance and other factors – e.g. temperature, pollution, governance- and infrastructure-related factors [15, 28, 29]. While this strongly suggests selection pressure is not solely dependent on antibiotic consumption, it is challenging to determine which factors are truly causal. Determining the causal role of factors beyond average antibiotic consumption requires detailed epidemiological and genomic data, including host metadata (host characteristics, geographic location), contact networks, and sequence data conveying the genetic coupling between different resistances and other loci determining important bacterial phenotypes.
One important limitation of our study is data quality and consistency across countries. The tested isolates do not necessarily reflect a random sample of bacteria circulating in the human population, or even of bacteria infecting hospital patients. For example, intensified testing in the context of hospital outbreaks might cause the over-representation of particular clones in a specific country and year. Resistance frequencies are not comparable across years if the threshold for resistance is changed, as was the case in France for P. aeruginosa [30]. The antibiotic consumption data is subject to similar data quality considerations. To limit the inclusion of biased or poor-quality data in our analyses, we did not consider the trajectories for which none of our models fitted the data well (‘poor fit’ category), and we removed temporal outliers from the consumption data. Despite these concerns, most trajectories were quite smooth temporally (Figure 3). Furthermore, while potential biases will affect the overall estimate of resistance frequency, as long as bias remains constant in time, they will not affect the detection and categorisation of temporal trends. Although the data from the ECDC may represent one of the largest and best standardised datasets on antibiotic resistance and consumption, it is limited to European countries. It is important to determine whether the pattern of stability and stabilising also holds elsewhere, particularly in low and middle income countries (LMICs). While data sources covering a wider range of countries exist (e.g. ResistanceMap1 and ATLAS2), their temporal span is currently much smaller for LMICs than the two decades covered by the European network. Thus, while quantifying overall resistance trends in LMICs is possible [15], assessing evidence for stabilisation may prove more challenging.
Finally, the stability of resistance trends may not be robust to evolutionary innovation. With sustained selection pressure, bacteria may evolve new and less costly resistance mechanisms and compensatory mutations that alleviate the cost of resistance. This would result in the progressively increase the equilibrium level of resistance. While compensatory evolution is readily observed under laboratory conditions, its contribution to real-word resistance dynamics is unclear.
In conclusion, using antibiotic resistance data from 3,375,774 bacterial isolates from infections, encompassing 8 bacterial species, 30 European countries, and 20 years, we reveal that resistance trajectories are for the most part stable or stabilising. This overall behaviour of antibiotic resistance trajectories suggests that ever increasing antibiotic resistance is not inevitable and that resistance management can be effective in limiting resistance spread. Observed resistance dynamics were, to some extent, explainable by levels of antibiotic consumption. However, this explanatory power was relatively low, highlighting important gaps in our understanding of resistance dynamics. All in all, we open perspectives for further work elucidating how the complex ecology of bacteria determine the long-term fate of antibiotic resistance.
Data Availability
The data is available upon request from the European Centre for Disease Prevention and Control (ECDC). All code is available on the following GitHub repository: https://github.com/mjemons/temporal-trends-AMR-manuscript
4 Methods
4.1 Data
4.1.1 Resistance Raw Data
The data on the antimicrobial resistance rates are released by the European Surveillance System -TESSy, provided by Finland, Sweden, Belgium, Germany, Greece, Ireland, Italy, Luxembourg, Netherlands, Norway, Portugal, United Kingdom, Austria, Bulgaria, Czech Republic, Denmark, Estonia, Spain, Malta, Slovenia, France, Croatia, Hungary, Poland, Slovakia, Romania Cyprus, Latvia, Lithuania and released by the European Centre for Disease Prevention and Control (ECDC). The data covers the years 1998-2019.
The raw data, available upon request from the ECDC, is in case-based format, and consists of, for each isolate: the date of the isolation, the pathogen, the patient type (inpatient or outpatient), and the antimicrobial resistance level (sensitive, intermediate, resistant according to EUCAST clinical breakpoints) to various antibiotics. Outpatients consist of patients presenting at the hospital for dialysis, other day hospital care, or emergency. A more detailed description of the raw resistance data is made available by the ECDC [31].
4.1.2 Antibiotic Consumption Raw Data
Data on antibiotic consumption is publicly available from the ECDC, and consists of defined daily dose (DDD) per 1000 inhabitants by antibiotic class, country, year, sector (community, hospital care, total care) and uptake route (oral, parenteral, rectal, inhalation, implant, all). The dataset includes the same 30 countries as the resistance dataset, spans the years 1997-2016, and consists of the following classes of antibiotics: J01A (tetracyclines), J01B (amphenicols), J01C (penicillins), J01D (other betalactams), J01E (sulfonamides), J01F (macrolides), J01G (aminoglycosides), J01M (quinolones), J01R (combinations of antibacterials), J01X (others), P01A (agents against amoebiasis and other protozoal diseases), A07A (intestinal antiinfectives). A detailed description of the consumption data is made available by the ECDC [32].
4.2 Preprocessing
4.2.1 Processing of antibiotic resistance data
We computed the frequency of resistant for each bug, drug, country, year, and patient type combination. Intermediate isolates were considered resistant. We compared the temporal trends in resistance in inpatients and outpatients for drug-pathogen-country combinations that had data on both types of patients. The temporal trends in outpatients and in patients were very correlated, with similar or higher levels of resistance in inpatients. Therefore we only considered resistance measured in inpatients for further analyses.
4.2.2 List of the bug-drug combinations investigated
S.aureus: CIP CLO DAP DIC FLC FOX LNZ LVX MET NOR OFX OXA RIF TEC
S. pneumoniae: AZM CIP CLR CRO CTX ERY LVX MFX NOR OFX OXA PEN
E. faecalis: AMP AMX GEH LNZ TEC VAN
E. faecium: AMP AMX GEH LNZ TEC VAN
E. coli : AMC AMK AMP AMX CAZ CIP COL CRO CTX DOR ETP FEP GEN IPM LVX MEM MFX NAL NET NOR OFX PIP POL TGC TOB TZP
K. pneumoniae: AMC AMK CAZ CIP COL CRO CTX DOR ETP FEP GEN IPM LVX MEM MFX NAL NET NOR OFX PIP POL TGC TOB TZP
P. aeruginosa: AMK CAZ CIP COL DOR ETP FEP GEN IPM LVX MEM NET PIP POL TOB TZP
Acinetobacter spp.: AMC AMK AMP AMX CAZ CIP COL CTX DOR FOX GEH GEN IPM LVX MEM NAL NET POL TOB TZP VAN
4.2.3 Processing of antibiotic use data
For many countries and years, the total consumption of antibiotics by all routes of administration was reported. We primarily used this information when it was available. Moreover, some countries and years recorded the consumption decomposed by route of administration of antibiotics. This was most commonly oral and parenteral, and, less frequently, inhalation, rectal, implant, “other” routes. When total consumption was not available, we summed the consumption recorded over all routes to obtain an estimate of total consumption.
We considered consumption both in the hospital sector and in the community.
To remove all outliers for a given antibiotic class, country, sector, route of administration for each combination we removed datapoints for years not within ±3 ×IQR (IQR = Inter quartile range) of the temporal median.
4.3 Inferring temporal trends in antibiotic resistance
For combinations of bug, drug, country, we fitted logistic models to the temporal trends in the frequency of resistance. We only included the combinations with a time series of at least 5 years, where all years had at least 30 isolates tested for drug resistance, and in total at least 10 resistant bacterial isolates. Fitting was done with non-linear least square regression, with the function nlsLM from the minpack.lm R package, except for the flat line which was fit using lm from the base stats package [33, 34]. The error is assumed to be normally distributed and proportional to the inverse of the sample size for each year.
We fitted three models to the temporal trends data:
A standard logistic model with two parameters, an offset and a slope. The standard logistic model results in an increasing sigmoid from 0 to 1, or a decreasing sigmoid from 1 to 0 if the slope is negative. This corresponds to the standard population genetics model describing the action of selection on resistance frequency. The resistance frequency f for year t under this model is given by: where k1 is the slope parameter and k0 determines the offset.
A ‘flat’ model with slope 0 and an intercept. In this model, the resistance frequency f for year t is given by:
A plateauing logistic model with a maximum frequency below 1, where the sigmoid function is scaled by parameter k2. In this model, the resistance frequency f for year t is given by:
We compared the models using the corrected Akaike Information Criterion (AICc), with the best model corresponding to the smallest AICc [35]. The AICc is given by: where is the maximum likelihood estimate, k the number of parameters and n the sample size.
We quantified the goodness of fit with the mean absolute error of the best fit model. For the two logistic models, we determined the statistical significance of the slope based on a threshold of p < 0.05.
This resulted in six categories of temporal trends:
significantly increasing, when the best model was the standard logistic and the slope was significantly positive.
non-significantly increasing, when the best model was the standard logistic and the slope was positive but not significantly different from 0
non-significantly decreasing, when the best model was logistic and the slope was negative but not significantly different from 0.
significantly decreasing, when the best model was logistic and the slope was significantly negative.
stable, when the best model was a flat fit.
stabilising, when the best model was the logistic with plateau different from 1.
Additionally, some trajectories were classified as ‘poor fit’ when the mean absolute error exceeded 0.05 and were not analysed further. The ‘stabilising’ category can be subdivided further in ‘stabilising significantly increasing’ and ‘stabilising non-significantly increasing’ depending on the significance of the slope leading to the plateau.
4.4 Comparison of rate of resistance change across models
The slope parameters in the standard and scaled logistic models (k1 in Equations 1 and 3) are not directly comparable. This is because the parameter reflects how quickly resistance will reach its maximum level. As the maximum is different in the two models, the same slope parameter in the two models translates to a different rate of change in the actual resistance frequencies. For the analyses in which we sought to compare the speed of change across the two models i.e. the comparison of increasing and stabilising trajectories and the correlation with antibiotic usage – we computed a comparable measure of the change in resistance frequencies. Specifically, we looked at the maximal rate of change observed in the temporal window for which we had data.
4.5 Correlation between antimicrobial consumption and resistance
We correlated antimicrobial consumption and resistance across countries and time. In all cases, we correlated the level of resistance to a particular antibiotic to the total consumption of all antibiotics of this class.
4.5.1 Correlation between antimicrobial consumption and resistance across countries
For each bug-drug combination, we correlated across countries the median antibiotic consumption across years, to three properties of the resistance temporal trends. These three properties were the median resistance across years, the resistance plateau (for ‘stable’ and ‘stabilising’ categories), the slope of the logistic (for ‘logistic significantly increasing’ and ‘stabilising significantly increasing’ categories). As described above, the slope was computed as the maximal rate of change reached in the temporal window for which we had data This ensures the slope is comparable across the logistic model with and without intermediate plateau, unlike the slope parameter of the logistic. We quantified the correlation with Spearman’s rank correlation coefficient across countries, for bug-drug combinations represented by at least five countries. The correlation was calculated using SpearmanRho from DescTools version 0.99.49 [36].
This analysis resulted in a number of correlation coefficients. These coefficients are calculated for combinations of antibiotics prescribed in the community vs. the hospital sector, (we remind that we consider only resistance in inpatients), and of the three properties of temporal trends which are correlated (total of 6 combinations).
4.5.2 Correlation between antimicrobial consumption and resistance across time
For each country-bug-drug combination, we correlated across years the level of resistance and level of antibiotic consumption. This results in a Spearman’s rank correlation coefficient for the country-bug-drug combinations and each of the four combinations of community vs. hospital sector. This was again calculated using SpearmanRho from DescTools version 0.99.49 [36]. We kept only country-bug-drug combinations with at least 5 years of data available. We averaged these correlations over countries for each bug-drug combination, retaining only bug-drug combinations for which 5 countries of more were represented. It is expected that the temporal correlation between the frequency of resistance and the corresponding antibiotic use is positive if the bacterial population adapts to the changing use of specific antibiotic.
We additionally computed a cross-temporal correlation, whereby the consumption data were shifted by -1 and +1 year compared to the resistance data. To give additional indications that yearly variation in antibiotic resistance follows variation in consumption, we used these cross-temporal correlations. First, if the bacterial population adapts closely to the contemporaneous antibiotic use, it is expected that the “temporal adaptation” pattern formed by the cross-correlation for time-shifts − 1, 0 and +1 is maximal at 0 [24]. We counted the fraction of bug-drug combinations for which temporal adaptation was maximal at 0 and calculated the probability of this fraction under a binomial model with true probability 0.25. Second, we compared the temporal correlation with the spatial correlation across bug-drug combinations. Indeed, if the bacterial population evolves in response to changing antibiotic use, it is expected that levels of resistance match both the contemporaneous and local antibiotic use [24]. We therefore tested whether bug-drug combinations with stronger spatial correlations also exhibited stronger temporal correlations, by correlating the two correlations across bug-drug combinations (Figure 9).
4.6 Code Availability
All code is available on the following GitHub repository:
https://github.com/mjemons/temporal-trends-AMR-manuscript
All analyses were performed with R version 4.2.3 [34]. Packages are managed with renv [37].
Acknowledgements
FB is funded by ERC StG 949208 EvoComBac. SL is funded by the Swiss National Science Foundation (PR00P3 201618).
Data from The European Surveillance System—TESSy, provided by Finland, Sweden, Belgium, Germany, Greece, Ireland, Italy, Luxembourg, Netherlands, Norway, Portugal, United Kingdom, Austria, Bulgaria, Czech Republic, Denmark, Estonia, Spain, Malta, Slovenia, France, Croatia, Hungary, Poland, Slovakia, Romania Cyprus, Latvia, Lithuania and released by ECDC. The views and opinions of the authors expressed herein do not necessarily state or reflect those of ECDC. The accuracy of the authors’ statistical analysis and the findings they report are not the responsibility of ECDC. ECDC is not responsible for conclusions or opinions drawn from the data provided. ECDC is not responsible for the correctness of the data and for data management, data merging and data collation after provision of the data. ECDC shall not be held liable for improper or incorrect use of the data.