Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

# Global correlates of range contractions and expansions in terrestrial mammals

## Abstract

Understanding changes in species distributions is essential to disentangle the mechanisms that drive their responses to anthropogenic habitat modification. Here we analyse the past (1970s) and current (2017) distribution of 204 species of terrestrial non-volant mammals to identify drivers of recent contraction and expansion in their range. We find 106 species lost part of their past range, and 40 of them declined by >50%. The key correlates of this contraction are large body mass, increase in air temperature, loss of natural land, and high human population density. At the same time, 44 species have some expansion in their range, which correlates with small body size, generalist diet, and high reproductive rates. Our findings clearly show that human activity and life history interact to influence range changes in mammals. While the former plays a major role in determining contraction in species’ distribution, the latter is important for both contraction and expansion.

## Introduction

The impact of human activities on the environment is resulting in the alteration of major macroecological patterns that characterise life on Earth, including the loss of top predators1 and other apex consumers2, and the reduction of average body size in animal communities3. Since the 1970s, the human population has doubled, leading to increased anthropogenic pressures4 that have caused the size of animal populations to fall by almost half5. Mammals, in particular, have experienced serious declines, with 1210 (25%) species now considered threatened with extinction6. Declines in this period have been documented for ungulates and carnivores, where for every species that improved its Red List status, eight have deteriorated7. These trends likely started before the beginning of the third industrial revolution, in combination with shifting cultural values that led to the overexploitation of natural resources and an increase in land pollution8. Broad-scale destruction of natural habitats, overexploitation of natural resources and competition with/predation by invasive alien species are the primary source of terrestrial biodiversity loss9,10. However, the relationship between human activities and species distribution and abundance is complex11, and there are several examples where the same activity can have either positive or negative effects, depending on the species and the geographic area considered12. For example, the expansion of oil palm plantations in Sumatra led to a steep decline in the populations of Sumatran tiger (Panthera tigris sumatrae), but benefitted populations of adaptable and invasive species like the wild boar (Sus scrofa), a species that has undergone a 100-fold increase in population density in the last 24 years13. In North America, oil sand development in boreal forest has led to precipitous declines in moose (Alces alces), but marked increases in white-tailed deer (Odocoileus virginianus) populations14.

Understanding the mechanisms underlying recent dynamics in species distribution ranges is essential to predict future human influences on biodiversity, and guide conservation responses. Range dynamics vary across taxa and space due to the combined effects of environmental factors, biotic interactions, human impact and species’ life histories15,16. Several studies on different taxonomic groups have attempted to identify the relative importance of life-history traits in determining range size and change17,18. Identifying common life-history traits of species that have shown range declines and expansions can help to provide a basis for predicting which species are more sensitive to extinction18, but also those that will likely expand and colonise new areas19. However, these traits alone usually fail to explain the complexity of range dynamics due to the difficulty of coupling these data with extrinsic factors for a large number of species15. In addition, previous studies on range dynamics have only considered local or regional changes in species’ distribution, lacking a global view of the impacts of global change on the rate of range change (e.g. see ref. 20 for North American carnivores and ungulates).

Here, we compare the past (1970s) and current (2017) distributions of terrestrial non-volant mammals to evaluate the extent of recent range contractions and expansions. We focus our analyses on mammals because they have greater availability of past distribution data, and show much larger range contractions compared with other taxonomic groups21,22,23. We use the Pacifici et al.24 database on past range maps for 204 species of mammals, broadly representative of major terrestrial biomes and taxonomic groups, and then compare the 1970s maps with the current distribution ranges of species from the International Union for Conservation of Nature6 (IUCN) to calculate the extent of range contractions and/or expansions for each species. We looked at human pressures, in particular land-use and climate change, and intrinsic characteristics of species as potential drivers of distribution change16,25,26. We quantify the relative contributions of these variables in explaining the observed distribution changes. We perform our analysis at a spatial resolution of 100 km2, and a sensitivity test at 10,000 km2 for comparison.

We find that the vast majority of species lost part of their past range over the five-decade period, while just one in five species expanded their past range to some extent. Anthropogenic factors play a major role in determining contraction in species’ ranges and a smaller role in determining expansion, while life-history traits are important for both range contraction and expansion. Our findings provide clear evidence of how human activity and life history interact to influence range changes in mammals, thus suggesting that management solutions aimed at preventing species’ extinction should take into account both intrinsic characteristics of animals and external threats.

## Results

### Changes in the sizes of species’ ranges

We found that 40 species (20%) show a large decrease (>50%) in their distribution range since the 1970s, and 65 (32%) moderate decreases (between 5 and 49%, Fig. 1). When considering the opposite trend, 4 species (2%) show large increases in their range (>50%) and 39 species (19%) moderate increases (between 5 and 49%, Fig. 1). Finally, 57 species (28%) remained relatively stable (positive and negative changes were below the 5% thresholds). Stable species generally show a similar small amount of range lost and gained, indicating slight shifts in the distribution area rather than no changes at all (Fig. 1, Supplementary Fig. 2).

### Predictors of range contraction

We define range contraction as the disappearance of a species from part of its past range. Overall, both life-history and extrinsic variables play an important role in determining such contraction, but human pressures have a prominent role, when measuring variable importance using a Random Forest model for regression27 (Fig. 2). Species with large body mass, in particular, experienced large (up to >70%) range contractions, as well as those species with very low and very high dispersal rates (Supplementary Fig. 3). The most important extrinsic drivers of contraction are high human population density in the past, the increase in mean annual temperature and the loss of natural land use (Figs. 2 and 3). This result is confirmed when employing a different analytical resolution (100 km instead of 10 km) to quantify anthropogenic variables within species’ ranges (Supplementary Fig. 4). The interaction between the increase in temperature and the intensification of human activities has a magnified effect on range contraction, and species with restricted distribution are more susceptible to lose parts of their range, especially if these were densely populated by humans (Fig. 3).

Australasian species have the highest percentage of range loss, followed by Palaearctic and Indo-Malayan species (Supplementary Fig. 3). Overall, the best model obtained by using the MIR metric is able to explain 34.53% of the variance in observed range contraction (Supplementary Fig. 7).

### Predictors of range expansion

We define range expansion as the colonisation of areas outside the past range of a species, within its total potential dispersal reach throughout the study period. Life-history traits and biogeography are the most important predictors in the range expansion model (Figs. 2 and 4); this result is also supported by a sensitivity analysis where the dispersal reach is estimated in a more conservative way (Supplementary Fig. 5). Dispersal and taxonomic order are the most important predictors, with orders characterised by small-bodied species showing higher proportional gains (i.e. Afrosoricida, Cingulata, Didelphimorphia, Macroscelidea, Microbiotheria, Peramelemorphia and Rodentia). This trend is also evident from the partial dependence plot of body mass, where the curve approximated a rectangular hyperbole (Supplementary Fig. 6). Notably, this trend is opposite to that observed for the same variable in the contraction model. An increase in range size is positively related to the number of litters produced per year and to dietary breadth (and their interaction, Fig. 4). The relationship with weaning age is less clear, with an initial steep decrease in the proportion of range gained when weaning age increases (up to 100 days), and an inversion of this trend afterwards (Supplementary Fig. 6). It is interesting to note that species with high reproductive rates that are generalists in terms of diet and/or habitat have expanded their ranges the most (Fig. 4).

Species living in the Americas have the highest percentages of range increase compared wih those living in the other biogeographic realms. Increases in temperature are positively associated with expansion (Supplementary Fig. 6). Among non-climatic drivers, the most meaningful external pressure related to human activities is the proportion of buildings within a given cell, where the lower the increase, the higher the percentage of range gained by the mammal species considered (Supplementary Fig. 6). Overall, the best model obtained with the variable selection procedure is able to explain 32.62% of the variance in observed range expansion within the buffer (Supplementary Fig. 8).

## Discussion

Understanding contemporary range contractions and expansions is essential to disentangle the mechanisms that drive species’ responses to habitat modification by humans. Anthropogenic and life-history factors have significantly influenced the distribution of mammals in the recent past. We found that while both range contractions and expansions have occurred, the number of mammal species that underwent an overall decrease in range size since the 1970s was twice the number of species that underwent an overall increase. In agreement with previous findings28, our results also show that the distribution of species has changed in the last 5 decades, with marked differences among geographic regions and taxonomic orders. Life-history traits were associated with both range contractions and expansions, while human activities were key in predicting contractions, but had lower importance as predictors of expansion. This indicates that species that are intrinsically able to rapidly colonise new areas can do so almost regardless of human pressures, and are less likely to undergo an overall decrease in range size. Instead, species that are intrinsically unable to cope with high human pressure are likely to lose part of their range if human activities intensify, but are unlikely to expand towards new areas at a sufficiently fast pace to prevent overall reductions in range size.

Some variables had high predictive importance in both our contraction and expansion models. Body mass, for example, was one of the most important factors affecting range changes in both directions. We found that many large-mammal species lost large portions of their past range, and few managed to expand. Large-bodied species, especially carnivores, are usually characterised by higher dispersal abilities since locomotion becomes energetically cheaper as body mass increases, allowing larger daily movements29,30. In addition, all else being equal, species with larger body sizes need larger home ranges, and have smaller populations, so they may not be able to cope well with habitat fragmentation and loss31. Theoretically, large-bodied non-volant mammals should be able to rapidly move to more suitable areas due to their long dispersal capacity32. However, direct human pressure remains the highest threat to these species, and likely prevents their populations from expanding and establishing in new sites33. In contrast, small-bodied species had the highest proportion of range expansions. These are mostly represented by r-selected species in our sample, suggesting that they are those with the best chance to rapidly adapt to new areas.

The size of the past geographic range was an important predictor in both models, where species with the largest 1970s distributions are associated with lower percentage declines and higher percentage increases. Species with small ranges may be more subject to localised pressures and stochastic events34, and their small range may be determined to some extent by habitat specialisation. In contrast, large-range species are more likely exposed to a higher variety of habitats, and show higher adaptability to different environments35. This hypothesis is further supported by habitat specificity, being an important predictor of both range contraction and expansion (with opposite trends).

Biogeography was another key parameter in determining range dynamics. Species living in Australasia experienced the most dramatic range declines in the last few decades, confirming previous analyses36. Much of the recent loss of Australian terrestrial mammals has occurred in areas with low human population pressures, and where native vegetation has not been significantly removed, particularly in the interior deserts and tropical savannas37. Contrary to what has happened in other continents, where the main causes of extinction were habitat loss and overhunting10, the decline of most Australian species is directly related to predation by introduced species, particularly the European red fox, Vulpes vulpes and the feral cat, Felis catus, and changes in fire regimes37. Therefore, as expected, controlling for biogeographic realm was important to account for the different pressures operating in different regions. Contrasting pressures and impacts (i.e. high disturbance rates) occurred in the Indo-Malayan realm, the second most affected realm in terms of species’ range contraction according to our findings, where annual deforestation rate is the highest recorded in the tropics since 199038. In these areas, human population density has steadily increased at a rate of >1.5% per annum over the past five decades (https://unstats.un.org/home/), and the percentage of terrestrial non-volant mammals currently threatened with extinction is 30% (compared with the global 25% estimate6). Species living in the Americas showed the highest increases in range size. In our sample, the majority of them are small-bodied, generalist species (74%), probably able to exploit a great number of habitats and resources, including modified ones. In agreement with previous findings20, large mammals (carnivores and especially ungulates) and primates experienced important range declines also in these areas, and we show that human pressure and climatic change interacted with life-history traits in determining these declines.

Among anthropic drivers, the past density of human population and the steep decrease in natural land were the most important predictors of range contraction. One of the main issues associated with urbanisation is that animals are increasingly exposed to urban boundaries with different edge contrasts—different composition between adjoining ecosystems39—and boundaries with high contrast likely prevent the movement of animals across landscapes40,41. This concept is related to fragmentation, and can influence the distribution of species at local scales40. This result is in agreement with previous findings on the effects of fragmentation on terrestrial mammals42, showing that the most threatened species are those subjected to the most fragmentation, have small distributions and low proportions of suitable habitat within their ranges. The Indian rhinoceros (Rhinoceros unicornis) represents one of the most dramatic examples, having lost >99% of its range in the last five decades due to widespread conversion of alluvial plain grasslands to agricultural areas, habitat degradation and poaching. Its remaining populations are highly fragmented and mostly concentrated in a single protected site, surrounded by areas densely populated by humans, which prevents possible range increase43.

In the range expansion model, life-history traits tend to confirm known theories on r-selected and generalist species44. In particular, our results support previous studies that found a positive relationship between a reduced interval between reproductive events and the spread rate of mammal species45. Fast reproductive rates and low dietary specialisation make species able to exploit unpredictable and stressed environments, thus favouring range expansions45. As an example, the Nine-banded Armadillo (Dasypus novemcinctus), a species with broad diet and habitat breadth and high reproduction rates46, showed the largest percentage range increase in our analysis (73% of the potential expansion buffer occupied).

Despite mammals being one of the most studied animal groups, finding reliable information on their past ranges is challenging, especially for those species largely distributed (e.g. Palaearctic species, which are underrepresented in our sample). Field surveys in the past were largely biased towards sites of particular natural beauty, high species richness and areas near experts’ residences/research centres47. Another potential source of uncertainty when comparing past and current distribution of species is related to changes in available information. The increase in sampling effort and the use of more advanced techniques in the last few decades has helped to improve the knowledge of species distributions; consequently, some changes in the maps might be due to an over- or underestimation of past ranges. Taxonomic changes are another issue when attempting to compare past and present distributions of species, and have been a limitation to our sample size. From 1993 to 2008, almost 1000 new species have been described48, and since the Red List assessment in 2008, 561 species experienced further taxonomic changes6. This implies that, for many of the currently recognised species, there have been major challenges in delineating past distributions. However, our sample includes both slow and fast life histories (Supplementary Fig. 9) to ensure the relevance of our results across terrestrial non-volant mammals. Finally, we could not include hunting as a variable in our models, despite it representing a major threat for several large mammals; the variance that remained unexplained in our models is probably related to this missing variable.

By identifying the characteristics that make species more or less resilient to human pressure, it is possible to anticipate future range loss and prevent further species’ declines. Species with low reproductive rates require particular conservation attention in this context, as they are more likely to suffer from range contractions and less likely to colonise new areas, compared with other species. Although they may be potentially capable, these species are unlikely to succeed in colonising, or recolonising, new areas without conservation intervention. Among these species, those with small ranges require careful management of the areas surrounding their remaining distributions, the creation of corridors and/or assisted colonisation. This is especially important in light of the current and future effects of climate change49. As threats associated with climate change increase in severity, many mammal species may be less able to move towards unoccupied suitable areas. Our results also highlight the interactions between life history and anthropogenic pressures to determine range changes, thus suggesting that management solutions should take into account both threats and intrinsic characteristics of species.

## Methods

### Current and past distribution ranges

We used species range maps from the 1970s24 and the present day, following IUCN Red List taxonomy, to measure the past change in species’ distributions. We represented the current distribution of terrestrial mammal species using the most recent maps of geographical ranges from the IUCN Red List of Threatened Species6, excluding all human-mediated introductions, and the reintroductions that occurred after 1970. Similar to current IUCN distribution ranges, all the maps we collected for the 1970s are expert-based. We included in the analysis only those species’ maps produced following mapping protocols reflecting current IUCN Red List standards6, and for which the 1970s distribution was compatible with textual descriptions of the past range in the recent literature24. Distribution ranges were available from the literature as polygons, with the exception of Australian maps, for which we extrapolated occurrence records from range maps in the last action plan of Australian mammals9. This action plan contains distributional data that the experts collated from individual datasets maintained by museums and government conservation agencies of all Australian states and territories. For each of the 204 mammal species, a polygonal map of the range was created using all distributional information available, along with knowledge of habitat, elevation limits and other expert knowledge of the taxon, following IUCN6. These polygons display the limits of each species’ distribution. For non-Australian species, maps have been revised by a certified IUCN Red List Assessor, M.P., and the Coordinator of the Global Mammal Assessment for IUCN, C.R. Australian mammals have been revised by A.A.B. and J.C.Z.W., members of the IUCN Species Survival Commission (SSC) Australian Marsupials and Monotremes Specialist Group, responsible for the IUCN Red List assessments of Australian mammals, and lead authors of the Australian mammals action plan. We looked at literature evidence to support changes observed between past and present ranges, to make sure that any difference in distribution derived from a real change, and was not an artefact of improved knowledge. In order to avoid uncertainty related to improved information on species’ distribution, we disregarded non-genuine changes in Red List status associated with changes in species’ ranges. For example, the 1970s maps of Herpestes sanguineus we found in the literature included most of Sub-Saharan Africa, with the exception of southern Africa and Western Namibia. However, it seems that the species today is only patchy distributed in Gabon, marginally in Congo, South Africa and Equatorial Guinea, and lost vast portions of its range in Cameroon, Democratic Republic of Congo, Nigeria and Central African Republic50, but we could not find enough evidence in the literature to support these reductions. Hence, we decided to exclude this species and many others with similar uncertainties from the database. Another example of species excluded from our data is Sus cebifrons. This species is endemic to the West Visayan Islands in the Philippines. The species is currently classified as Critically Endangered and declining51, but its range in Panay, the island with the largest population, is bigger than the one we found for the 1970s. Since it is not realistic, we decided to exclude the species from the analysis. We georeferenced and digitised all the maps with QGIS v3.2 to create vector data.

We obtained past distribution ranges for a total of 204 species. Although this sample represents only about 5% of all terrestrial non-volant mammals, it includes representatives of all major taxonomic orders and all terrestrial realms (Supplementary Table 1). In addition, we checked for inclusion of extreme values in the life-history predictors by comparing the probability-density functions of body mass and weaning age (the traits with the highest predictive importance in our models) in our sample and in all terrestrial non-volant mammals (Supplementary Fig. 9).

### Distribution range comparison

In order to measure the maximum possible range expansion of the species in the study period, we created a buffer around the past range of each species, depicting the area that the species could theoretically colonise through dispersal during the study period (Supplementary Fig. 1)

$${\mathrm{BR}} = D * \left( {{\it{\Delta}} t/{\mathrm{AFR}}} \right),$$
(1)

where BR is the buffer radius (in km), D is the species dispersal capacity (in km), Δt is the time interval of the study period (in years) and AFR is the species age at first reproduction (in years). Dispersal values were calculated with the formula provided by Santini et al.30, and age at first reproduction estimates was mainly obtained from PanTHERIA52 and AnAge53 database, following the methods used in Pacifici et al.54 This allowed us to quantify how much of the potential range expansion—within the buffer around past distribution range—was realised by each species. By using age at first reproduction, there was no species whose current range went beyond the potential colonisation buffer around the past range. To be more conservative in terms of species’ potential colonisation, we also performed a sensitivity analysis by using generation-length estimates (from Pacifici et al.54) instead of age at first reproduction. This approach represents a more conservative colonisation scenario where members of one of the litters produced by an individual during its reproductive lifespan will disperse in a given direction, and members of one of their litters will do the same. In repeating our analyses under both scenarios, we showed that our results are robust to uncertainty associated with estimates of species’ colonisation potential. We measured range expansion as the percentage of area gained within the buffer area (Supplementary Data 1). This allowed to measure, for each species, the condition of habitats in areas that could be potentially reached by the species.

Range contraction was computed by calculating the percentage of area lost with respect to the past range (Supplementary Data 1). In order to identify proportional change in range size, we also computed the percentage of area gained with respect to the past range (Supplementary Data 1). Our approach allowed us to include the same set of species, both in the range contraction and in the range expansion model, quantifying extrinsic variables within the past range and the potential expansion buffer for all species; this made the two models fully comparable with each other.

### Human drivers of range change and other extrinsic variables

To account for land-use changes in the study period, we used a set of past data based on HYDE from the Land-Use Harmonisation phase 2 project (http://luh.umd.edu/). The land-use harmonisation past dataset covers the period 1850–2015, and includes annual proportions of 12 land-cover types calculated within 0.25° × 0.25° cells. We extracted mean values of these proportions for urban lands and natural areas for the time period 1960–1980 to cover the time interval considered for the past ranges. For the present, we used mean values for the period 2008–2015 to cover the time interval of current ranges (i.e. post 2008 IUCN Red List global mammal assessment). The latter was obtained by summing the proportion of natural vegetation variables available in the dataset, i.e. primarily forested and non-forested lands. We used these data to calculate the difference in the proportion of both natural and urban land between the 1970s and the present. Because for many species one of the main issues that prevented expansion was the presence of heavily modified and urbanised environments surrounding the distribution range, we decided to also consider the proportion of urban land in the past as a stand-alone variable.

Data related to temperature and precipitation variation were taken from the Climatic Research Unit database version 4.01. This database covers the period 1901–2016 with monthly values for mean temperature and precipitation. For the past, we obtained mean values of these variables for the time interval 1960–1980 in order to express, with an acceptable approximation, the average climatic values for the study period. Current climate was derived from the time interval 2012–2016, in order to reflect the years of the ongoing global mammal IUCN Red List reassessment. Then, we computed the difference between the current and past climate in order to identify the areas where these changes have been more severe, and their directions (increase or decrease). We selected these climatic variables in order to test two different hypotheses: (1) stable or similar climate favours range expansion and (2) dissimilar climate is related to range contraction11,55,56.

Other proxies of human pressure include the presence of buildings and human population density. These factors can be considered not only as direct stressors for species, but also as indirect indicators of changes in the landscape that we could not include as variables in our models due to a lack of data (e.g. resource extraction). The Global Human Settlement (GHS) is a multi-temporal information layer on built-up presence, as derived from Landsat image collections (GHS1975 for the past and ad hoc Landsat 8 collection 2013/2014 for the present57) at a resolution of 1 km. Residential population estimates, expressed as the number of people per cell, for target years 1975 and 2015, were developed by the European Commission Joint Research Centre. As for land cover and climatic variables, we computed the difference between the proportion of buildings and the human population density per cell in the present and in the 1970s, but used the human population density in 1975 also as a stand-alone variable.

Invasive alien species are the second most common threat associated with species’ extinction since AD 1500, and they have been the major driver of population decline and range collapse for Australian mammals9. This might lead to inherent differences in the correlates of range contraction and expansion between Australian mammals and mammals from other continents. However, free access to information on the current distribution of introduced species remains challenging58, and it was not possible to find reliable fine-resolution data for these species in the past. In order to identify whether species in different geographic contexts had different responses to human pressure, we used the biogeographic realm as a predictor in our models. Finally, to control for the fact that catastrophic events are less likely to impact large populations than smaller ones, we included the size of the 1970s range as a predictor in our models.

### Life-history traits

For our analysis, we used a database of mammal life-history traits, which includes data from different sources52,53,59. These are (1) body mass (grams), which refers to the mean mass of adult individuals; (2) diet breadth, the number of categories of food items eaten by a species; (3) dispersal distance (km), the maximum distance covered by young individuals when they move from their birth to the breeding site; (4) generation length (days), the average age of parents of the current cohort; (5) litter size, the mean number of offspring born per litter; (6) litters per year, the mean number of litters per female per year; (7) habitat specificity, which refers to the number of habitats in which a species has been recorded (raw data downloaded from www.iucn.org); (8) weaning age (days), considered as the age at which the offspring no longer receives milk from the mother and independent foraging begins to make a major contribution to its energy requirements. To consider additional aspects not included in the life-history traits considered, but characterising different taxonomic groups, we included taxonomic order as a categorical variable in our models. We had six taxonomic orders, including just one or two species each, (Supplementary Table 1) and they were all small mammals; therefore, we decided to group them together in the Other group, with a total of 11 final levels for the Order variable. We did a test by including phylogenetic eigenvectors as variables in our random forest models to see if there was a phylogenetic signal in the responses. We represented species’ phylogeny by extracting phylogenetic eigenvectors60 from the PHYLACINE dataset61. We tested the use of an incremental number of eigenvectors (5, 10 and 20) as model predictors, following ref. 62. In all cases, we always found a decrease in the percentage variance explained by the Random Forest models that included the eigenvectors, compared with the models without phylogeny. This was verified both for the range contraction and range expansion models. Therefore, we did not consider the phylogenetic signal in our final models.

### Statistical analyses

We used Random Forest regression models27 implemented in the R package randomForest to assess the role of life-history traits and extrinsic factors in predicting range changes for terrestrial non-volant mammals. Random Forest is a machine-learning technique often used in ecological analyses16,63 that combines hundreds of regression trees (1000 trees in our analyses); these trees carry out a recursive binary partitioning of the response variable to create groups that are increasingly homogeneous64. In fitting a regression tree, a random forest model carries out an optimisation to select a node, together with a predictor variable and a predictor cut-off, in order to obtain the best split of the response variable27. One of the outputs of random forest models is the estimate of the relative importance of each independent variable in predicting the response variable, which is obtained by measuring the relative increase in the model mean square error when the variable values are randomly permuted. Random Forest is a well-established analytical technique for analysing mammal species’ response to a mix of variables65,66.

Instead of doing a single range-change model, which would have prevented us from assessing the different role of predictors in areas gained and lost, we built two separate models. In the first model (hereafter the range contraction model), the response variable was the percentage of past distribution range lost by each species. The values of spatial predictor variables for the range contraction model, resampled at 10- and 100-km resolution, were computed within the 1970s range of the species (e.g. human population density within the species’ past range). In the second model (hereafter the range expansion model), the response variable was the percentage of area gained within the buffer. In this case, the values of spatial predictor variables were extracted from within the buffer around the past range (e.g. human population density in areas surrounding the species’ past range).

We measured the percentile distribution of human-pressure variables within species’ past ranges (and their buffers), to represent the extent of high-pressure levels67. In order to select the most explanatory percentiles, we ran different restricted Random Forest models where the only predictors were the percentiles of each external driver, and checked the relative variable importance for both the contraction and expansion models. For each cell, we extracted the value of the anthropogenic drivers, and computed the 5th, 10th, 50th, 90th and 95th percentile of the distribution of each predictor, in both the lost portions of the past range and the gained areas within the buffer. These percentiles have been tested in order to find the one with the highest correlation with the response variables. We then used the best percentiles to run two full Random Forest models (for range contraction and expansion) that included both extrinsic and life-history variables. We considered change as a loss or gain >5% in the distribution range.

We used the package plotmo in R68 to create partial dependence plots to show the effects of pairs of selected predictors on the response variable.

### Model selection and validation

We followed the methodology developed by Murphy et al.69 for metric selection based on optimal model fit with the lower number of metrics. Although Random Forest models can operate with large numbers of variables, this can lead to an increase in the correlation of trees, reducing the overall performance of the model. One of the outputs of a Random Forest is the order of importance of each variable (I) based on the number of times a given variable decreased mean-squared error (MSE). For both the contraction and expansion models, we ran an initial model with all variables, and then calculated a model improvement ratio (MIR) for each variable. The MIR metric, unlike the raw I score, is not influenced by the total number of variables in the model, and is comparable among models. MIR is calculated as [In/Imax], where In is the importance of a given variable, and Imax is the maximum model improvement score. By using the R package rfUtilities70, we iterated through MIR thresholds (0–1, in 0.1 increments), retaining all variables above the given threshold. The algorithm selects the threshold that minimised retained variables, model MSE and maximised the percentage of variation explained. We also obtained a series of validation statistics: MSE, root MSE and mean absolute error (Supplementary Figs. 7 and 8).

### Reporting summary

Further information on experimental design is available in the Nature Research Reporting Summary linked to this paper.

## Data availability

Data sources for past ranges are available at https://onlinelibrary.wiley.com/doi/10.1002/ecy.2747/suppinfo. IUCN current ranges are available upon request at https://www.iucnredlist.org/. Population density and the proportion of buildings’ data are available at https://ghsl.jrc.ec.europa.eu/datasets.php. Land-use data are available at https://luh.umd.edu/data.shtml. Climatic data are available at http://www.cru.uea.ac.uk/data. PanTHERIA database is available at https://doi.org/10.1890/08-1494.1. AnAge database is available at https://genomics.senescence.info/species/. Current ranges not taken from the IUCN Red List for sensitive species are available from the corresponding author upon reasonable request.

## References

1. 1.

McGill, B. J., Dornelas, M., Gotelli, N. J. & Magurran, A. E. Fifteen forms of biodiversity trend in the Anthropocene. Trends Ecol. Evol. 30, 104–113 (2015).

2. 2.

Estes, J., Terborgh, J. & Brashares, J. Trophic downgrading of planet Earth. Science 333, 301–306 (2011).

3. 3.

Santini, L., González-Suárez, M., Rondinini, C. & Di Marco, M. Shifting baseline in macroecology? Unravelling the influence of human impact on mammalian body mass. Divers. Distrib. 23, 640–649 (2017).

4. 4.

Venter, O. et al. Sixteen years of change in the global terrestrial human footprint and implications for biodiversity conservation. Nat. Commun. 7, 12558 (2016).

5. 5.

Loh, J. et al. The Living Planet Index: using species population time series to track trends in biodiversity. Philos. Trans. R. Soc. B Biol. Sci. 360, 289–295 (2005).

6. 6.

IUCN. The IUCN Red List of Threatened Species. Version 2018-1. http://www.iucnredlist.org/about/citing (2018).

7. 7.

Di Marco, M. et al. A retrospective evaluation of the global decline of carnivores and ungulates. Conserv. Biol. 28, 1109–1118 (2014).

8. 8.

Pereira, H. M., Navarro, L. M. & Martins, I. S. Global biodiversity change: the bad, the good, and the unknown. Annu. Rev. Environ. Resour. 37, 25–50 (2012).

9. 9.

Woinarski, J., Burbidge, A. & Harrison, P. The Action Plan for Australian Mammals 2012. (CSIRO Publishing, 2014).

10. 10.

Maxwell, S. L., Fuller, R. A., Brooks, T. M. & Watson, J. E. M. Biodiversity: the ravages of guns, nets and bulldozers. Nature 536, 143–145 (2016).

11. 11.

Moritz, C. et al. Impact of a century of climate change on small-mammal communities in Yosemite National Park, USA. Science 322, 261–264 (2008).

12. 12.

Pacifici, M. et al. Species’ traits influenced their response to recent climate change. Nat. Clim. Chang. 7, 205–208 (2017).

13. 13.

Luskin, M. S. et al. Cross-boundary subsidy cascades from oil palm degrade distant tropical forests. Nat. Commun. 8, 2231 (2017).

14. 14.

Fisher, J. T. & Burton, A. C. Wildlife winners and losers in an oil sands landscape. Front. Ecol. Environ. 16, 323–328 (2018).

15. 15.

Angert, A. L. et al. Do species’ traits predict recent shifts at expanding range edges? Ecol. Lett. 14, 677–689 (2011).

16. 16.

Di Marco, M. & Santini, L. Human pressures predict species’ geographic range size better than biological traits. Glob. Chang. Biol. 21, 2169–2178 (2015).

17. 17.

Amano, T. & Yamaura, Y. Ecological and life-history traits related to range contractions among breeding birds in Japan. Biol. Conserv. 137, 271–282 (2007).

18. 18.

Pacifici, M., Visconti, P. & Rondinini, C. A framework for the identification of hotspots of climate change risk for mammals. Glob. Chang. Biol. 24, 1626–1636 (2018).

19. 19.

Davidson, A. M., Jennions, M. & Nicotra, A. B. Do invasive species show higher phenotypic plasticity than native species and, if so, is it adaptive? A meta-analysis. Ecol. Lett. 14, 419–431 (2011).

20. 20.

Laliberte, A. S. & Ripple, W. J. Range contractions of north american carnivores and ungulates. Bioscience 54, 123–138 (2004).

21. 21.

Di Minin, E., Fraser, I., Slotow, R. & MacMillan, D. C. Understanding heterogeneous preference of tourists for big game species: implications for conservation and management. Anim. Conserv. 16, 249–258 (2013).

22. 22.

Ripple, W. et al. Status and ecological effects of the world’s largest carnivores. Science 343, 1241484 (2014).

23. 23.

Faurby, S. & Svenning, J. C. Historic and prehistoric human-driven extinctions have reshaped global mammal diversity patterns. Divers. Distrib. 21, 1155–1166 (2015).

24. 24.

Pacifici, M. et al. Geographic distribution ranges of terrestrial mammal species in the 1970s. Ecology 100, e02747 (2019).

25. 25.

Chen, I.-C., Hill, J. K., Ohlemüller, R., Roy, D. B. & Thomas, C. D. Rapid range shifts of species associated with high levels of climate warming. Science 333, 1024–1026 (2011).

26. 26.

Rubidge, E. M., Monahan, W. B., Parra, J. L., Cameron, S. E. & Brashares, J. S. The role of climate, habitat, and species co-occurrence as drivers of change in small mammal distributions over the past century. Glob. Chang. Biol. 17, 696–708 (2011).

27. 27.

Breiman, L. Random Forests. Mach. Learn. 45, 1–33 (2001).

28. 28.

Channell, R. & Lomollno, M. V. Dynamic biogeography and conservation of endangered species. Nature 403, 84–86 (2000).

29. 29.

Biewener, A. Mammalian terrestrial locomotion and size. Bioscience 39, 776–783 (1989).

30. 30.

Santini, L. et al. Ecological correlates of dispersal distance in terrestrial mammals. Hystrix 24, 1–6 (2013).

31. 31.

Woodroffe, R. & Ginsberg, J. R. Edge effects and the extinction of populations inside protected areas. Science 280, 2126–2128 (1998).

32. 32.

Schloss, C. A., Nuñez, T. A. & Lawler, J. J. Dispersal will limit ability of mammals to track climate change in the Western Hemisphere. Proc. Natl Acad. Sci. USA 109, 8606–8611 (2012).

33. 33.

Tucker, M. A. et al. Moving in the Anthropocene: global reductions in terrestrial mammalian movements. Science 359, 466–469 (2018).

34. 34.

Gaston, K. J. & Spicer, J. I. The relationship between range size and niche breadth: a test using five species of Gammarus (Amphipoda). Glob. Ecol. Biogeogr. 10, 179–188 (2001).

35. 35.

Rosenzweig, M. L. Species diversity gradients: we know more and less than we thought. J. Mammal. 73, 715–730 (1992).

36. 36.

Fisher, D. O., Blomberg, S. P. & Owens, I. P. F. Extrinsic versus intrinsic factors in the decline and extinction of Australian marsupials. Proc. R. Soc. B 270, 1801–1808 (2003).

37. 37.

Woinarski, J. C. Z., Burbidge, A. A. & Harrison, P. L. Ongoing unraveling of a continental fauna: decline and extinction of Australian mammals since European settlement. Proc. Natl Acad. Sci. USA 112, 4531–4540 (2015).

38. 38.

Sodhi, N. S. et al. The state and conservation of Southeast Asian biodiversity. Biodivers. Conserv. 19, 317–328 (2010).

39. 39.

Harper, K. et al. Edge influence on forest structure and composition in fragmented landscapes. Conserv. Biol. 19, 768–782 (2005).

40. 40.

Ries, L., Fletcher, R. J., Battin, J. & Sisk, T. D. Ecological responses to habitat edges: mechanisms, models, and variability explained. Annu. Rev. Ecol. Evol. Syst. 35, 491–522 (2004).

41. 41.

Villaseñor, N. R., Driscoll, D. A., Escobar, M. A. H., Gibbons, P. & Lindenmayer, D. B. Urbanization Impacts on mammals across urban-forest edges and a predictive model of edge effects. PLoS ONE 9, e97036 (2014).

42. 42.

Crooks, K. R. et al. Quantification of habitat fragmentation reveals extinction risk in terrestrial mammals. Proc. Natl Acad. Sci. USA 114, 7635–7640 (2017).

43. 43.

Talukdar, B. K. et al. Rhinoceros unicornis. In 2008 IUCN Red List of Threatened Species. http://www.iucnredlist.org/details/19496 (2008). Available at: https://scholar.google.com/scholar?hl=it&as_sdt=0%2C5&q=Rhinoceros+unicornis.+In+2008+IUCN+Red+List+of+Threatened+Species&btnG=.

44. 44.

Bielby, J. et al. The fast-slow continuum in mammalian life history: an empirical reevaluation. Am. Nat. 169, 748–757 (2007).

45. 45.

Santini, L. et al. A trait-based approach for predicting species responses to environmental change from sparse data: how well might terrestrial mammals track climate change? Glob. Chang. Biol. 22, 2415–2424 (2016).

46. 46.

Loughry, J., McDonough, C. & Abba, A. Dasypus novemcinctus. The IUCN Red List of Threatened Species 2014: e.T6290A47440785. https://doi.org/10.2305/IUCN.UK.2014-1.RLTS.T6290A47440785.en (2014).

47. 47.

Rocchini, D. et al. Accounting for uncertainty when mapping species distributions: The need for maps of ignorance. Prog. Phys. Geogr. 35, 211–226 (2011).

48. 48.

Ceballos, G. & Ehrlich, P. R. Global mammal distributions, biodiversity hotspots, and conservation. Proc. Natl Acad. Sci. USA 103, 19374–19379 (2006).

49. 49.

Scheffers, B. R. et al. The broad footprint of climate change from genes to biomes to people. Science. 354, aaf7671 (2016).

50. 50.

Do Linh San, E. & Maddock, A. H. Herpestes sanguineus. The IUCN Red List of Threatened Species. https://doi.org/10.2305/IUCN.UK.2016-1.RLTS.T41606A45206143.en (2016).

51. 51.

Meijaard, E., Oliver, W. R. T. & Leus, K. Sus cebifrons. The IUCN Red List of Threatened Species. https://doi.org/10.2305/IUCN.UK.2017-3.RLTS.T21175A44139575.en (2017).

52. 52.

Jones, K. E. et al. PanTHERIA: a species-level database of life history, ecology, and geography of extant and recently extinct mammals. Ecology 90, 2648 (2009).

53. 53.

Tacutu, R. et al. Human Ageing Genomic Resources: integrated databases and tools for the biology and genetics of ageing. Nucleic Acids Res. 41, D1027–D1033 (2013).

54. 54.

Pacifici, M. et al. Generation length for mammals. Nat. Conserv. 5, 89–94 (2013).

55. 55.

Beever, E. A., Brussard, P. F. & Berger, J. Patterns of apparent extirpation among isolated populations of pikas (Ochotona princeps) in the Great Basin. J. Mammal. 84, 37–54 (2003).

56. 56.

Rowe, R. J., Finarelli, J. A. & Rickart, E. A. Range dynamics of small mammals along an elevational gradient over an 80-year interval. Glob. Chang. Biol. 16, 2930–2943 (2010).

57. 57.

Pesaresi, M., Syrris, V. & Julea, A. Analyzing big remote sensing data via symbolic machine learning. Big Data Anal. https://doi.org/10.2788/854791 (2016).

58. 58.

Pagad, S., Genovesi, P., Carnevali, L., Schigel, D. & McGeoch, M. A. Introducing the Global Register of Introduced and Invasive Species. Sci. Data 5, 170202 (2018).

59. 59.

Wilman, H., Belmaker, J. & Simpson, J. EltonTraits 1.0: species-level foraging attributes of the world’s birds and mammals. Ecology 95, 2027 (2014).

60. 60.

Diniz‐Filho, J. A. F., de Sant’Ana, C. E. R. & Bini, L. M. An eigenvector method for estimating phylogenetic inertia. Evolution 52, 1247–1262 (1998).

61. 61.

Faurby, S. et al. PHYLACINE 1.2: the phylogenetic atlas of mammal macroecology. Ecology 99, 2626–2626 (2018).

62. 62.

Penone, C. et al. Imputation of missing data in life‐history trait datasets: which approach performs the best? Meth. Eco. Evo. 5, 961–970 (2014).

63. 63.

Pearson, R. G. et al. Life history and spatial traits predict extinction risk due to climate change. Nat. Clim. Chang. 4, 217–221 (2014).

64. 64.

Cutler, D. et al. Random forests for classification in ecology. Ecology 88, 2783–2792 (2003).

65. 65.

Bland, L. M., Collen, B., Orme, C. D. L. & Bielby, J. Predicting the conservation status of data-deficient species. Conserv. Biol. 29, 250–259 (2015).

66. 66.

Di Marco, M., Venter, O., Possingham, H. & Watson, J. Changes in human footprint drive changes in species extinction risk. Nat. Commun. 9, 1–9 (2018).

67. 67.

Di Marco, M., Rondinini, C., Boitani, L. & Murray, K. A. Comparing multiple species distribution proxies and different quantifications of the human footprint map, implications for conservation. Biol. Conserv. 165, 203–211 (2013).

68. 68.

Milborrow, S.. plotmo: Plot a Model’s Residuals, Response, and Partial DependencePlots. R package, https://CRAN.R-project.org/package=plotmo (2018).

69. 69.

Murphy, M. A., Evans, J. S. & Storfer, A. Quantifying Bufo boreas connectivity in Yellowstone National Park with landscape genetics. Ecology 91, 252–261 (2010).

70. 70.

Evans, J. S., & Murphy, M. A. rfUtilities. R package version 2.1-3. https://cran.r-project.org/package=rfUtilities (2018).

## Acknowledgements

This study was designed during a visit funded by the ARC Centre of Excellence for Environmental Decisions of the University of Queensland (Australia). MDM acknowledges support from the EU Marie Sklodowska‐Curie programme (H2020‐MSCA‐IF‐2017‐793212). We thank Matteo Ponzoni for helping with the maps, and Dino Biancolini and Maria Lumbierres Civit for their inputs on the revisions of the paper.

## Author information

Authors

### Contributions

M.P., M.D.M., J.R.R. and J.E.M.W. designed the study. M.P. and A.C. collected and analysed the data, under advice of C.R.. J.Z.W. and A.A.B. provided and checked data on Australian species. All authors discussed the results and wrote the paper.

### Corresponding author

Correspondence to Michela Pacifici.

## Ethics declarations

### Competing interests

The authors declare no competing interests.

Peer review information Nature Communications thanks Jeffrey Evans, Falk Huettmann, and Giovanni Rapacciuolo for their contribution to the peer review of this work. Peer reviewer reports are available.

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Rights and permissions

Reprints and Permissions

Pacifici, M., Rondinini, C., Rhodes, J.R. et al. Global correlates of range contractions and expansions in terrestrial mammals. Nat Commun 11, 2840 (2020). https://doi.org/10.1038/s41467-020-16684-w

• Accepted:

• Published:

• ### The ghost vampire: spatio-temporal distribution and conservation status of the largest bat in the Americas

• F. Alvarez
• S. Gomes da Silva
• D. P. Silva

Biodiversity and Conservation (2021)

• ### Biodiverse river basins: assessing coverage of protected areas for terrestrial vertebrates

• José F. González-Maya
• Armando H. Escobedo-Galván

Biodiversity and Conservation (2021)

• ### Historical and projected future range sizes of the world’s mammals, birds, and amphibians

• Robert M. Beyer
• Andrea Manica

Nature Communications (2020)