Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Using Historical Atlas Data to Develop High-Resolution Distribution Models of Freshwater Fishes

  • Jian Huang,

    Affiliation Department of Fish and Wildlife Conservation, Virginia Polytechnic Institute and State University, Blacksburg, Virginia, United States of America

  • Emmanuel A. Frimpong

    frimp@vt.edu

    Affiliation Department of Fish and Wildlife Conservation, Virginia Polytechnic Institute and State University, Blacksburg, Virginia, United States of America

Abstract

Understanding the spatial pattern of species distributions is fundamental in biogeography, and conservation and resource management applications. Most species distribution models (SDMs) require or prefer species presence and absence data for adequate estimation of model parameters. However, observations with unreliable or unreported species absences dominate and limit the implementation of SDMs. Presence-only models generally yield less accurate predictions of species distribution, and make it difficult to incorporate spatial autocorrelation. The availability of large amounts of historical presence records for freshwater fishes of the United States provides an opportunity for deriving reliable absences from data reported as presence-only, when sampling was predominantly community-based. In this study, we used boosted regression trees (BRT), logistic regression, and MaxEnt models to assess the performance of a historical metacommunity database with inferred absences, for modeling fish distributions, investigating the effect of model choice and data properties thereby. With models of the distribution of 76 native, non-game fish species of varied traits and rarity attributes in four river basins across the United States, we show that model accuracy depends on data quality (e.g., sample size, location precision), species’ rarity, statistical modeling technique, and consideration of spatial autocorrelation. The cross-validation area under the receiver-operating-characteristic curve (AUC) tended to be high in the spatial presence-absence models at the highest level of resolution for species with large geographic ranges and small local populations. Prevalence affected training but not validation AUC. The key habitat predictors identified and the fish-habitat relationships evaluated through partial dependence plots corroborated most previous studies. The community-based SDM framework broadens our capability to model species distributions by innovatively removing the constraint of lack of species absence data, thus providing a robust prediction of distribution for stream fishes in other regions where historical data exist, and for other taxa (e.g., benthic macroinvertebrates, birds) usually observed by community-based sampling designs.

Introduction

Understanding species-habitat relationships and the spatial pattern of species distributions is critical in biogeography, biodiversity conservation, and resource management [1, 2]. Through modeling historical ranges, suitable locations could be determined for reintroducing and recovering declining or extirpated species [3, 4]. Based on current biological sampling surveys, species distribution models (SDMs) could be used to design conservation or management plans [57]. Conservation managers could predict and mitigate the effect of potential climate and landscape changes on economic or threatened species [810], and find strategies to control species invasions [1113] by updating habitat variables to future scenarios in calibrated models.

One component now limiting the progress of biodiversity conservation and resource management is biological data to support rigorous SDMs [2, 14, 15]. Species occurrence data of high resolution, particularly at large spatial extents, are usually not available or not synthesized into readily usable forms. For example, NatureServe provides the most up-to-date electronic species distribution maps of US freshwater fauna and flora at the HUC-8 (hydrologic unit 8-digit code) level (http://www.natureserve.org/), but neither species-habitat relationships nor subtle temporal shifts in distribution are discernible from maps at such coarse resolutions. This limitation exists largely because gathering occurrence data by sampling each species’ entire habitat range can be time-consuming and costly [14]. Observations of presence for rare, cryptic, and migratory freshwater fishes tend to be particularly spatially sparse, let alone the absence data that ideally require multiple-visit occupancy-based sampling designs. Constrained by data availability, most previous SDMs studies have focused on common or economic species [16, 17], or developed models with only presence observations such as the Maximum-Entropy Species-Distribution Modeling or MaxEnt [18]. However, presence-only models can only estimate realized niche when the assumptions of known prevalence and sampling bias are valid [19], and usually yield less accurate species-habitat associations and species distributions than presence-absence models [14, 20].

Atlases have been the most common approach to present species occurrences at large spatial extents [14]. However, most distribution maps derive data from reports of the occurrence of species (i.e., a snapshot of presences), thus they only provide limited information on species abundances and relative habitat suitability. It is easy to underestimate presence consistently in interpreting these maps, because a species is considered absent in locations subjected to no or very low sampling effort. Particularly, non-game species of fish that have not been the focus of any specific conservation studies and species whose detection depend strongly on sampling gear, effort, or habitat type will tend to show higher numbers of false absences. Alternatively, researchers have used museum records to evaluate species distribution across multiple states or such large sampling units. Yet, some common limitations of museum data have been identified, including: 1) they may not accurately locate the position of records collected before the era of GPS [21], 2) they are usually collected with varied sampling approaches and intensities, 3) they span long time periods in which the habitats might have changed substantially, 4) and they are not sufficient in quantity to delineate full distribution ranges of species and develop robust models [13]. These aspects of sampling biases tend to inflate false negative or positive rates in the less sampled areas, and underestimate species’ dispersal and invasion ability in prediction studies [1, 21, 22]. A framework that can appropriately synthesize species occurrence from field surveys and literature would provide an avenue to fill the gaps in data for modeling and predicting the spatial distribution of species.

We propose a framework for modeling species distributions using historical presences of species recorded in high-resolution atlases and absences inferred from locations where historical presences have been recorded for other species known to be typically sampled as part of a community. Applying the framework to freshwater fishes of the United States, non-game species are better indicators of community sampling. Unlike non-game species, the presence of game species in a sample can be of questionable utility in inferring habitat suitability because populations of game species exist in many suboptimal habitats due to repeated stocking. In addition, whereas game species tend to be targeted for recreation and oversampled, non-game species appear in presence records predominantly as part of community samples. Accumulated over many years, we propose that such samples offer a strong evidence of absence where a species has never been observed but presence records of other species exist (S1 File, Figure A in S3 File).

Species observed over multiple spatial and temporal scales in a defined geographic area belong to a metacommunity [2325]. In practice, developing such a metacommunity sample involves collating historical occurrences of fish species from different sources and deriving absences for one species from known presences of other species. Communities in a defined metacommunity are assumed spatially connected by migrating and dispersing individuals and species [23, 24], and local community compositions are determined by the regional species pool and regulated by local environmental factors according to two of the prevailing perspectives of metacommunities [25, 26]. Whereas species present in a sampling unit belong to the same regional pool, they may not all have co-existed in that unit at any point in time, and coexisting species may not be observed in a single sampling visit either, due to the variability in sampling technique, timing, effort, and detection rate of different species [2730]. The temporal and spatial dependencies of occurrence are particularly strong for vagile species, such as fish, which regularly move among feeding, breeding, and over-wintering or summer habitats [31]. The compilation and documentation of the metacommunity database are provided in the S1 File.

In this study, we used boosted regression trees (BRT), logistic regression and MaxEnt models to assess the performance of a historical metacommunity database, with the overarching objective of 1) comparing presence-only and presence-absence models, where we infer the absence of a species from accumulated evidence of the presence of other fish species. Additionally, we investigated the effect of 2) data resolution at two levels (i.e., the National Hydrography Dataset-NHD segment level and Hydrologic Unit Code-HUC12 level), 3) species’ rarity and sampling prevalence, and 4) spatial autocorrelation on model performance. We modeled habitat suitability and distribution of 76 selected freshwater fish species (representing approximately 10% of described freshwater fish species of the United States) exhibiting a range of rarity in four basins of the United States. We used principal coordinate analysis of neighbor matrices, PCNM [32], to incorporate spatial autocorrelation into the species distribution models as a means to evaluate the effects of spatial autocorrelation on model performance. We assessed specific habitat requirements for the selected species through partial dependence plots derived from the BRT. Data resolution, species’ rarity and sampling prevalence, and spatial autocorrelation, are major known but not fully understood factors affecting the behavior and performance of SDMs, and likely to corrupt inference if not properly controlled in the quest to investigate any major hypothesis. Our main hypothesis was that presence-absence models developed with inferred absences would outperform presence-only models. If this hypothesis is found to be valid, then the existence of vast historical freshwater fish presences for the entire United States, synthesized into a single metacommunity database, constitutes an enormous resource for SDMs to help address myriad ecological, conservation, and resource management problems.

Materials and Methods

Selecting study basins and fish species

It is imperative for the evaluation of a database and for comparison of different models, to include a variety of regions and a range of common and rare species so that limitations of the proposed modeling approach can be uncovered and explicated. We selected four basins in the United States for this study: New River, Illinois River, Brazos River, and Snake River, meeting criteria of data availability and geographic diversity (Fig 1). The four selected river basins spanned a range of climate, physiography, and anthropogenic influences (e.g., hydrological alterations, agriculture, and urbanization). The Brazos River is warmer than other three basins and it showed narrower range and smaller variation in temperature [33]. The dominant landscape in the New River, Illinois River, Brazos River, and Snake River basins were forest/agriculture, agriculture/urban, forest/grassland, and grassland/forest, respectively. We selected 76 fish species (Table A in S3 File) with different rarity and distributional characteristics from the four river basins to develop habitat suitability and species distribution models. The 76 freshwater species belong to 15 families, and together represent approximately 10% of all currently described freshwater fish species of the United States and a phylogenetically diverse subset of species. The attributes considered in the species selection included a variety of macrohabitat preferences, body size, migration ability, and temperature tolerances [34] and the three common dimensions of rarity—range size, habitat breadth, and local population size [35, 36].

thumbnail
Fig 1. A map showing the distribution of four river basins (i.e., New River, Illinois River, Brazos River, and Snake River) selected for this study in the contiguous United States.

We can see that all these four rivers pass through multiple states. Fish presence data are sufficient in these four basins in the IchthyMap database for developing and validating species distribution models (S2 File). Specifically, the number of presence records of non-game species used to develop species distribution models was 2,716 for Brazos River Basin, 5,635 for Illinois River Basin, 5,192 for New River Basin and, 412 for the Snake river Basin.

https://doi.org/10.1371/journal.pone.0129995.g001

We used the inter-confluence segments of the enhanced 1:100,000 resolution National Hydrographic Dataset (NHDplusV2) as the primary study units. NHDplusV2 is a geographic and hydrologic framework dataset that has been widely applied to the environmental assessment and stream habitat management by the US Environmental Protection Agency (USEPA), US Geological Survey (USGS), and other agencies. Matching the NHDplusV2 resolution (1:100K) allowed for convenient retrieval of numerous environmental (habitat) variables organized by stream segments and network accumulated attributes and for predicting species distribution at high resolution. We also coarsened the habitat and fish occurrence data to HUC12 (12-digit hydrologic unit code) level to examine the effect of data resolution on model performance, and more comprehensively compare different modeling approaches (i.e., presence-absence model versus presence-only model at both NHD segment and HUC12 level).

Developing species distribution models

The species distribution models we developed in this study are habitat suitability models.

We used the definitions of Kearney [37] for environment-“the biotic and abiotic phenomena surrounding and potentially interacting with an organism” and for habitat-“a description of a physical place, at a particular scale of space and time, where an organism either actually or potentially lives”. Among over 50 available statistical approaches for SDMs, we selected to compare logistic regression under the Lasso (least absolute shrinkage and selection operator) regularization [38], boosted regression tree (BRT) model [39] and the Maximum-Entropy, MaxEnt [18, 40]. Logistic regression has been conventionally used in SDM studies [8, 41]; using Lasso allows mitigation of multicollinearity, and selection of an optimal set of predictor variables. BRT is a more recent machine-learning approach that has outperformed counterparts in few comparative studies and reviews [1, 2]. MaxEnt was found superior to other presence-only models (e.g., GARP and bioclim) in previous comparative studies [1].

In logistic regression, the probabilities of a defined success (e.g., presence of species at a site in this study) can be modeled with a set of the predictor variables, using a logistic link function as follows: (1) Where p(yi = 1|xi) is the probability of presence at site i, yi is species presence (1) or absence (0), xi is a vector for values of predictor variables, and β’s are regression coefficients. The coefficients are usually estimated by optimizing the likelihood function: (2)

Under the Lasso regularization, the objective function is: (3) where is the constraint added on the maximum likelihood optimization, and λ is the regularization or penalty parameter that needs to be tuned through validation. We implemented the Lasso-version logistic models in the R statistical program [42] with the package ‘glmnet’ [43].

Boosted regression trees (BRT) developed by Friedman et al. [39] have gained popularity in recent studies of species distribution models. Boosting is the algorithm that ensembles individual classifiers (e.g., classification trees, regression trees) and sequentially fine-tunes the model by using weighted average of predictions [39]. The optimal number of trees were determined through minimizing the loss function in terms of deviance reduction, while achieving a good balance between tree complexity and learning rate [1]. Most currently used BRT models also incorporate bagging algorithms. Bagging strategies (i.e., both samples and predictors are randomly sub-sampled without replacement from the full dataset) are applied at each iteration to control overfitting (by bagging samples) and incorporate complex non-linear relationships (by bagging predictors) [44]. Analogous to other tree-based models, BRT models do not require pre-selecting or re-scaling predictor variables; instead, contribution (or importance) of each predictor variable are calculated based on the frequency of a variable being selected for splitting, weighted by the squared improvement to the model from each split across all trees [45]. Other appealing features of BRT models include resistance to outliers and multicollinearity, and applicability to data of small sample size but many predictors (i.e., the n<<p problem) [1, 39]. We implemented the boosted regression tree models with the R package ‘dismo’ [46]. We evaluated the performance of logistic and BRT models in terms of AUC (i.e., the area under the receiver operating characteristic (ROC) curve) in both training and 5-fold cross-validation processes. An ROC curve is a plot of sensitivity (true positive rate) against 1− specificity (true negative rate) at varying discrimination thresholds. The area under the ROC curve (AUC) ranging from 0 to 1 measures the average diagnostic accuracy across various threshold settings on the probability of presence [47]. In the initial analyses, we found other performance measures (e.g., correlations of observed/predicted species occurrence, and deviance) to be significantly correlated with AUC, so for brevity only AUC is shown in the results.

MaxEnt is specialized from the statistical mechanics theories for species distribution model with only presence data [40]. Entropy maximizes as the system disperses to equilibrium over time [48]. The distribution of maximum entropy is most spread out, and equivalent to the uniform distribution [18]. From the ecological perspective, MaxEnt essentially searches the probability distributions of maximum entropy that satisfies all constraints (i.e., the expectation of each environmental variable conditional on species presence needs to match its sampled mean). Environmental variables that have sound ecological basis generally impose strong constraints, which serves as a criterion to measure variable importance and variable selection in MaxEnt. As a generative machine learning approach, MaxEnt could fit complex species-habitat relationships and incorporate multiple types of predictors and interactions thereof. MaxEnt [18] has been developed as a shareware that can be downloaded from www.cs.princeton.edu/~schapire/maxent/. We used the inferred absences from the metacommunity matrices for the MaxEnt absences, instead of pseudo absences randomly drawn from the background (a default setting in the MaxEnt). This change in setting should lower the false negative error rate and make the AUC from MaxEnt models comparable to the other models.

The habitat factors considered in this study were in seven categories: climate, geology, hydrology, stream morphology, land use/land cover, disturbance, and water chemistry (Table 1). The climate data (e.g., temperature, precipitation) were obtained from the PRISM climate group [33]. The land cover data in 1980’s for each NHD inter-confluence catchment and HUC12 watershed were derived from the USGS Land Cover Institute [49]. Other environmental variables of biological importance to stream fish identified in the literature were retrieved from NHDplusV1 and NHDplusV2 [5052]. In addition, we obtained the habitat quality score from the National Fish Habitat Action Plan (NFHAP) databases [53]. For each set of highly correlated variables (Pearson’s |r| > 0.8), only one was kept to minimize multicollinearity. We examined the species-habitat relationships with the partial dependence plots of the optimized boosted regression model for each species.

thumbnail
Table 1. The sources and descriptions of environmental variables used to develop species distribution models for the 76 native stream fish species in the United States.

https://doi.org/10.1371/journal.pone.0129995.t001

We tested whether incorporating spatial autocorrelation would improve the performance of the species distribution models, using the principal coordinate analysis of neighbor matrices (PCNM) approach [32, 56] in the R package ‘PCNM’ [57]. In the PCNM procedure, we first created a Euclidean distance matrix among all sampled stream segments in each of the four basins. We then truncated the distance matrices to a lower triangular matrix (i.e., elements above the diagonal are set to 0). Mutually orthogonal eigenvectors were then extracted from the truncated matrix, and those spatial eigenvectors associated with positive eigenvalues and significant Moran’s I were kept to form the spatial matrix. Moran’s I [58] measures spatial autocorrelation based on both the values and locations of a variable. The null hypothesis in the Moran’s I test is that there is no spatial autocorrelation in the tested variable. This null hypothesis is rejected if there is a strong clustered or dispersed pattern in the tested variable. The decision for the Moran’s I test is usually based on the p-value calculated by a permutation on the values of the tested variable among the study units, or by approximating the Moran’s I value to normal score. To incorporate the spatial information into the environmental predictors, we built multivariate regression models with environmental variables as responses and spatial matrix as predictors [59]. We then used the predicted (i.e., ‘spatialized’) values of the environmental variables from the multivariate regression as the model matrix instead of the raw environmental matrix in the spatial models.

After developing species distribution models with procedures described above, we used ANCOVA [60] to examine the effect of model choice, data resolution, species’ rarity, and spatial autocorrelation on AUC, with species and basin as blocking factors and family number as a covariate. The effects of species and basins were blocked because only models from the same dataset (species × basin) are comparable. Phylogenetic relationships among the species we studied might be another source of non-independence, so we used the family number [61] as a surrogate of the phylogenetic eigenvector and treated it as a covariate in the ANCOVA [62]. We used the Box-Cox transformation [63] on the AUC to ensure that the linear model assumptions of normality of residuals and constant variance were valid.

We further selected two species in the rare species group (Candy darter, Etheostoma osburni and Spotfin shiner, Cyprinella spiloptera) and two species in the common species group (Bigmouth chub, Nocomis platyrhynchus and Northern hog sucker, Hypentelium nigricans) to examine the effect of prevalence on SDM performance under training and validation. The observed prevalence (i.e., the proportion of presences among all the observations in the raw data) of E. osburni and C. spiloptera were little higher than 0.1; logistic regression models could not converge and cross-validation was not feasible for species with lower prevalence. For the two rare species, we kept the total sample size (i.e., the sum of presence and absence records randomly sampled) at 100 while varying the proportion of presences between 0.1 and 0.9. For the two common species (N. platyrhynchus and H. nigricans) we first set the total sample size at 300, and decreased to 100 to evaluate the effect of sample size, in addition to the effect of prevalence. We varied prevalence by randomly sampling different ratios of presence and absence records without replacement. For example, we randomly sampled 10 observations from presences and 90 observations from absences to generate prevalence of 0.1, giving a sample size of 100. We built logistic model for each sample and calculated the AUC in the fitting and 10-fold cross validation. We applied a bootstrapping resampling procedure to obtain the mean AUC values over 100 models for each setting of species and prevalence.

Results

Summary of model performance

A total of 13,955 fish presence records occurring on 1,933 NHDplusV2 segments were used to produce species distribution models for the 76 species in the four basins (Fig 1). The choice of model and species’ rarity designation were the factors that significantly affected the model performance in terms of validation AUC at alpha = 0.05, according to the ANCOVA (Table 2). Additionally, spatial autocorrelation significantly affected model performance at alpha = 0.1 level.

thumbnail
Table 2. A summary on the Analysis of covariance, ANCOVA [58].

https://doi.org/10.1371/journal.pone.0129995.t002

The effect of model choice

The presence-absence model, Lasso logistic regression, outperformed the presence-only model, MaxEnt, in the 5-fold cross validation for the 76 study fish species (Table 3). In spite of the vast difference in training performance, validation AUC was not different between the two presence-absence models, Lasso logistic model and BRT, according to the post hoc group comparisons in the Tukey's test [64] (Table 3). The correlation between validation AUC of BRT and validation AUC of logistic models was very high, with Pearson’s correlation over 0.90 (Fig 2). We focused on analyzing BRT models for brevity since the performance of the logistic model agreed in terms of the validation AUC (Fig 2, Table B in S3 File). In addition, the BRT model provided a richer output for model interpretation, in the form of partial dependence plots and variable importance rankings.

thumbnail
Fig 2. Comparing the performance of Lasso logistic regression model and boosted regression tree (BRT) models in terms of the area under the receiver-operating-characteristic (ROC) curve in the 5-fold cross validation for 76 species in the four selected river basins (i.e., New River, Illinois River, Brazos River and Snake River).

The results from the two set of models were generally in agreement, with Pearson’s r over 0.9. For fish species Mountain whitefish, Prosopium williamsoni and Torrent sculpin, Cottus rhotheus (marked as circles) in the Snake River where occurrence data was relatively sparse, the Lasso logistic models outperformed the BRT models.

https://doi.org/10.1371/journal.pone.0129995.g002

thumbnail
Table 3. A table summarizing the Tukey's test [6,4] after the analysis of variance that evaluated the sources of effects on the performance of species distribution models.

https://doi.org/10.1371/journal.pone.0129995.t003

The effect of species’ rarity and prevalence

Model accuracy was slightly higher for rare species as defined by Pritt and Frimpong [36]. Particularly, species in the rarity Type B and Type D had AUC over 0.75 in the BRT cross validation, which outperformed most species in other rarity types (Table 3). Cross-validation AUC of models for species in the rarity B and C was significantly higher than AUC for species in the rarity A, according to the post hoc group comparisons. Rarity Type B, C and D are species with large geographic ranges but small local populations [35, 36].

The training AUC in the logistic model exhibited a U-shaped response to prevalence for both rare and common species (Fig 3). The total sample size (N) seemed to negatively affect model fitting since models with N = 100 had higher AUC than models with N = 300 in the fitting, for the two species examined with varying sample sizes. In contrast, the U-shaped response of AUC to prevalence disappeared in the 10-fold cross validation; and decreasing the total sample size for common species did not result in increased AUC in the cross validation. The cross-validation AUC of the BRT models had a negative nonlinear relationship with the observed prevalence (i.e., the proportion of presences among all the observations) of the species, indicating that habitat suitability is easier to quantify when variance in occurrence is low (Figure B in S3 File).

thumbnail
Fig 3. The effect of prevalence (i.e., the proportion of presences among all the observations) on the performance of species distribution models.

The total sample size (N) for the two rare species (R), Candy darter (Etheostoma osburni) and Spotfin shiner (Cyprinella spiloptera), was set at 100; while N was decreased from 300 to 100 for the two common species (C), Bigmouth chub (Nocomis platyrhynchus) and Northern hog sucker (Hypentelium nigricans), to evaluate the effect of sample size.

https://doi.org/10.1371/journal.pone.0129995.g003

Spatial versus non-spatial models

The ANCOVA (Table 2) showed that incorporating spatial autocorrelation improved model performance in terms of cross-validation, with p-value = 0.0504. AUC Specifically, model accuracy increased conspicuously in the spatial models for Yellow bullhead (Ameiurus natalis), Orangespotted sunfish (Lepomis humilis) and Longnose gar (Lepisosteus osseus) in the Brazos River, and Shorthead sculpin (Cottus confusus) in the Snake River. For instance, the Moran’s I test [56] on deviance residuals became non-significant (p-value > 0.05) after accounting for spatial autocorrelation in the logistic models for Longnose gar (L. osseus) in the Brazos River.

Species-habitat relationships

We examined species-habitat relationship using measures of variable importance (or contribution) and partial dependence plots in the BRT models (Table C in S3 File). In the non-spatial models, Base flow index (BFI), elevation (ELE), mean annual in-stream flow (MFU), 20-year average minimum January temperature (TMI), 20-year average maximum July temperature (TMA), percentage of agriculture in the watershed (D_AG), annual precipitation (PPT), human population density (POP), drainage area (DRA), and fish habitat score (FHS) were the 10 most important predictors among the 25 environmental variables examined. Generally, these variables related to fish occurrence non-linearly, including polynomial forms, and sudden change after thresholds were common (Fig 4). The hydrology-related variables (e.g., BFI, MFU and PPT) were positively related to the occurrence of most fish species, but constant high flows or floods could be negative force for some species, particularly those living in steep mountain streams in the New River basin, such as Candy darter (Etheostoma osburni), Longnose dace (Hypentelium nigricans) and Rosyface shiner (Notropis rubellus). Temperature, particularly extreme weather events in the winter and summer, were important factors constraining spatial distributions of most fish species, except for those living in the Brazos River basin. Majority of species responded negatively to habitat degradation, indicated by their associations with the fish habitat score. Nevertheless, tolerant and frequently introduced bait species such as Fathead minnow (Pimephales promelas) and Common shiner (Luxilus cornutus) appeared to be favored in habitats with intense human activities (e.g., high population density and high road density).

thumbnail
Fig 4. Examples of using partial dependence curves to capture ecological thresholds of spatial distribution of species.

For example, the thresholds of mean slope (degree) in the watershed and number of stream-road crossings were identified for Rainbow darter (Etheostoma caeruleum) in the panel A and B. The thresholds of 20-year (1961–1980) average annual minimum temperature and mean annual flow velocity were identified for Mountain redbelly dace (Chrosomus oreas) in the panel C and D.

https://doi.org/10.1371/journal.pone.0129995.g004

The 10 key predictor variables identified in the non-spatial BRT models remained in the spatial BRT models, but the most important predictor changed for 46 out of 86 models (Table D in S3 File). The rank and percent contribution of the top three variables in the non-spatial models, base flow index (BFI), measures of temperature and elevation, dropped in 68%, 72% and 81% spatial models respectively (Table D in S3 File), suggesting that the importance of these variables may be inflated in the non-spatial models due to their built-in spatial dependence. Meanwhile, measures of local stream catchment disturbance, such as fish habitat score and land use type, gained more weights in the spatial models.

Discussion

We have successfully demonstrated the utility of a high-resolution metacommunity database developed by integrating historical freshwater fish occurrences from state and national atlases and databases for modeling species distributions. We have also shown that at the highest resolution, where such comprehensive datasets are most difficult to come by, presence-absence models outperform presence-only models in the critical step of model validation. Our results corroborate other studies that have previously suggested that the performance of a species distribution model depends on: 1) the data quality [65, 66], 2) choice of statistical modeling technique [2, 22, 67], 3) species’ traits [68, 69], and 4) incorporation of spatial autocorrelation [54, 7072]. We went further to show how these factors specifically affect models. The proposed framework of collating accumulated high-resolution species presence records into a metacommunity database, including inferred absence of species will serve as a comprehensive tool for understanding species-habitat relationships at multiple spatial scales and help improve conservation and management of taxa. We suggest using the inferred absences based on the metacommunity data rather than pseudo absences randomly sampled from the background in the MaxEnt presence-only models. This adjustment could mitigate the false negative errors in the prediction and make the MaxEnt models comparable with the presence-absence models.

Presence observations were collated despite the different sampling techniques and crews, and more importantly, absences could be inferred from locations where historical presences have been recorded for other species, as long as there is no reason to conclude that sampling overwhelmingly targeted particular species. The approach used in inferring absences has a theoretical root in Bayesian reasoning [19] and these absences are presumed to be more accurate than the pseudo-absences that are randomly sampled from the background in the study area by default a presence-only model such as MaxEnt. The accuracy of inferred absences will be influenced by the resolution of species distribution atlases, GIS procedures (e.g., geo-referencing, snapping) and the accuracy of the habitat template to which the scanned presences are ultimately transposed. Including absences enable presence-absence models to accurately estimate the realized niche of a species [19] and spatial autocorrelation can also be conveniently incorporated into these distribution models. Considering the financial cost, limited time, and the risk of sampling certain rare and vulnerable species to extinction, better utilization should be made of the data that have been gathered by researchers and government agencies through investments made over many decades. Such efforts would thus particularly facilitate delineating habitats for rare or endangered species, the conservation planning for which has been often constrained by data availability. As an illustration, relatively good model performance and accurate species-habitat relationship were obtained without new sampling for Candy darter (Etheostoma osburni) that is listed as near threatened on the IUCN red list [73].

We recommend the use of boosted regression tree models to select key environmental variables by measures of variable importance and evaluation of how a species responds to each environmental gradient by partial dependence curves. Partial dependence curves capture thresholds particularly well (Fig 4), and these are ubiquitous in species habitat relationships. Machine learning techniques developed in the last two decades have some attractive features, such as controlling multicollinearity [39, 44] and being applicable for the case where the number of variables exceeds sample size [28]. However, statistical machine learning techniques tend to over-fit data and produce complicated models with high-dimension interactions, making the model vulnerable in independent validation and prediction, as illustrated with Random Forests [74]. Our results revealed that the BRT model, which have improvements over Random Forest, also tend to over-fit, particularly when the sample size was small. In this study, the BRT and logistic models did not differ significantly in AUC in the validation, although BRT outperformed in the fitting. For the Snake River Basin where the sample size was relatively small, the validation AUC of Lasso logistic model was even higher than the BRT models. Thus, there is a tradeoff to make between potentially over-fitting a model and obtaining more versatile model outputs when sample size is small. The differing behavior of training and validation AUC observed in this study also demonstrates that only reporting model performance in the training or fitting could be misleading, particularly in studies comparing performance of different modeling approaches [1, 75, 76]. While acknowledging that ecologists will have to continue to find ways to work efficiently with presence-only data, we also reinforce growing calls that presence-absence models should be used whenever absence records are available [14, 20, 76]. Even the most powerful presence-only model, MaxEnt, lacks the ability to estimate species prevalence for accurate statistical inference [22], and to adequately evaluate model performance because no true absence are included. Our results show that it would be inefficient not to use the carefully inferred absence data and instead model distributions with a presence-only technique.

It is suggested to explicate spatial autocorrelation and association thereof with environmental predictors in modeling species distribution and assembly patterns [70, 77]. Incorporating spatial autocorrelation improved model accuracy indicated by the ANCOVA in our study (Table 2), particularly for a few fish species in the Brazos River Basin. Including environmental predictors (e.g., temperature, elevation, land use) that spatially auto-correlate may have already removed the spatial dependence in the residuals of the non-spatial model, so adding spatial eigenvectors from the PCNM would not improve the model performance in the New River, Illinois River, and Snake River basins. Theoretically, it is equivalent to the situation that adding covariates highly correlated with the covariates already in the model would not be beneficial. However, our results showed that the suitable fish habitat delineated and predicted distribution of a species may change after spatializing the environmental variables (i.e., a process that detaches spatial information for the environmental variables), although the model performance in terms of AUC would not increase much. The “spatialization” technique utilized in this study essentially filtered the built-in spatial components in each predictor variables, so the variable contribution and rank, and species-habitat relationship are more robust in the spatial models.

Through a bootstrapping resampling procedure on the real data, we confirmed that the effect of prevalence on the model fitting could be confounded by the fact that the variance of the Bernoulli random variable is highest when p = 0.5 and lowest at the extremes. The fitting AUC exhibited a U-shaped response to the prevalence (Fig 3), corroborating observations based on simulated data [78, 79]. The model performance measured by cross-validation AUC was not clearly affected by the prevalence compared to the consistent effect on training AUC, suggesting that cross-validation is essential especially when methods or species are being compared. In addition, we showed that decreasing the total sample size for common species resulted in increased AUC in the model fitting. This sample size effect may be the result of reduced variance in the response when sample size is small and analogous to the over-fitting in linear regression when the number of predictors is close to the sample size. Conclusively, this study provides support for both the ecological (habitat specificity) and statistical (variance of Bernoulli response) basis of rare species tending to have better model performance.

Our results corroborate previous studies that hydrology, climate, land form and cover are key factors that determine distribution of stream fish [16, 80]. It was important initially to include predictors in various habitat categories (e.g., hydrology, stream geomorphology, climate, and anthropogenic impacts) since the biological and ecological traits for most rare non-game species are not well known. Using incomplete set of environmental variables would produce unreliable and misspecified models with the problem of lack of fit, which in turn either overestimate or underestimate species niche and distribution range. Our models demonstrate that none of the broad categories of habitat factors dominantly determined the distribution of these 76 fish species across the United States, and none should be excluded apriori in future species distribution models. Statistical techniques, such as tuning in the Lasso or ridge regression [38], importance ranking and built-in validation in machine-learning models [39, 44], are available to fine-tune the set of predictor variables, so that over-parameterization and multicollinearity should not be a major concern.

Supporting Information

S1 File. The development of the IchthyMaps historical metacommunity database.

The approach of inferring species absence from historical presences is introduced in this file.

https://doi.org/10.1371/journal.pone.0129995.s001

(DOCX)

S2 File. The fish presence records in the four selected basins (i.e., New River, Illinois River, Brazos River, and Snake River.

These raw data were derived from the IchthyMaps database.

https://doi.org/10.1371/journal.pone.0129995.s002

(XLSX)

S3 File. This file contains Table A-D, and Figure A-B.

A table listing the fish species modeled in this study (Table A). Summary of performance (in terms of AUC) of logistic models with Lasso regularization (LM) and boosted regression tree (BRT) models in the training process (_train) and cross validation (_cv) for the 76 fish species in four river basins (BR-Brazos River, IL-Illinois River, NR-New River, SN-Snake River) (Table B). A summary on the key habitat factors for each of the 76 stream fish species in four river basins (i.e., BR-Brazos River, IL-Illinois River, NR-New River, SN-Snake River) in the non-spatial boosted regression tree (BRT) models (Table C). An illustration of inferring absences based on historical fish presence records (Figure A). Relationship of model performance and species prevalence (Figure B).

https://doi.org/10.1371/journal.pone.0129995.s003

(DOCX)

Acknowledgments

The United States Geological Survey, Aquatic Gap Analysis Program funded this research. We thank Caitlin Worsham, Dawn Mercer, Kaylie Fitzgerald, Yu Liang, Pascaline Okongo, and Steve Floyd at Virginia Tech for helping with processing maps to derive presence records. We also thank Donald Orth, Yan Jiao, and Jie Li for their helpful suggestions on the analysis and development of the manuscript.

Author Contributions

Conceived and designed the experiments: EAF. Performed the experiments: JH EAF. Analyzed the data: JH EAF. Contributed reagents/materials/analysis tools: EAF JH. Wrote the paper: JH EAF. Wrote and was awarded the grant proposal for this project: EAF. PhD student working on the project for his thesis: JH.

References

  1. 1. Elith J, Graham CH, Anderson RP, Dudík M, Ferrier S, Guisan A, et al. (2006) Novel methods improve prediction of species’ distributions from occurrence data. Ecography 29: 129–151. pmid:16622301
  2. 2. Franklin J, Miller JA. Mapping species distributions: spatial inference and prediction. Cambridge: Cambridge University Press; 2009.
  3. 3. Pearce J, Lindenmayer D (1998) Bioclimatic analysis to enhance reintroduction biology of the endangered helmeted honeyeater (Lichenostomus melanops cassidix) in Southeastern Australia. Restoration Ecol 6: 238–243.
  4. 4. Hirzel AH, Bertrand P, Oggier PA, Yvon C, Glenz C, Arlettaz R (2004) Ecological requirements of reintroduced species and the implications for release policy: the case of the bearded vulture. J Appl Ecol 41: 1103–1116.
  5. 5. Bani L, Baietto M, Bottoni L, Massa R (2002) The use of focal species in designing a habitat network for a lowland area of Lombardy, Italy. Conserv Biol 16: 826–831.
  6. 6. Esselman PC, Allan JD (2011) Application of species distribution models and conservation planning software to the design of a reserve network for the riverine fishes of northeastern Mesoamerica. Freshwater Biol 56: 71–88.
  7. 7. Zarkami R, Sadeghi R, Goethals P (2012) Use of fish distribution modelling for river management. Ecol Model 230: 44–49.
  8. 8. Chu C, Mandrak NE, Minns CK (2005) Potential impacts of climate change on the distributions of several common and rare freshwater fishes in Canada. Divers Distrib 11: 299–310.
  9. 9. Brown LR, Gregory MB, May JT (2009) Relation of urbanization to stream fish assemblages and species traits in nine metropolitan areas of the United States. Urban Ecosyst 12: 391–416.
  10. 10. Bond N, Thomson J, Reich P, Stein J (2011) Using species distribution models to infer potential climate change-induced range shifts of freshwater fish in south-eastern Australia. Mar Freshwater Res 62: 1043–1061.
  11. 11. Kelly M, Meentemeyer RK (2002) Landscape dynamics of the spread of sudden oak death. Photogramm. Eng Remote Sens 68: 1001–1009.
  12. 12. Anderson PK, Cunningham AA, Patel NG, Morales FJ (2004) Emerging infectious diseases of plants: pathogen pollution, climate change and agrotechnology drivers. Trends Ecol Evol 19: 535–544. pmid:16701319
  13. 13. Herborg LM, Mandrak NE, Cudmore BC, MacIsaac HJ (2007) Comparative distribution and invasion risk of snakehead (Channidae) and Asian carp (Cyprinidae) species in North America. Can J Fish Aquat Sci 64: 1723–1735.
  14. 14. Brotons L, Thuiller W, Araújo MB, Hirzel AH (2004) Presence-absence versus presence-only modelling methods for predicting bird habitat suitability. Ecography 27: 437–448.
  15. 15. Elith J, Leathwick JR (2009) Species distribution models: ecological explanation and prediction across space and time. Annu Rev Ecol Evol Syst 40: 677–697.
  16. 16. Clark ME, Rose KA, Levine DA, Hargrove WW (2001) Predicting climate change effects on Appalachian trout: combining GIS and individual-based modeling. Ecol Appl 11: 161–178.
  17. 17. Perry AL, Low PJ, Ellis JR, Reynolds JD (2005) Climate change and distribution shifts in marine fishes. Science 308: 1912–1915. pmid:15890845
  18. 18. Phillips SJ, Anderson RP, Schapire RE (2006) Maximum entropy modeling of species geographic distributions. Ecol Model 190: 231–259.
  19. 19. Soberón J, Nakamura M (2009) Niches and distributional areas: concepts, methods, assumptions. Proc Natl Acad Sci U.S.A. 106: 19644–19650. pmid:19805041
  20. 20. Yackulic CB, Chandler RB, Zipkin EF, Royle JA, Nichols JD, Campbell Grant EH, et al. (2012) Presence-only modelling using MAXENT: when can we trust the inferences? Methods Ecol Evol 4: 236–243.
  21. 21. Zimmermann NE, Edwards TC, Graham CH, Pearman PB, Svenning JC (2010) New trends in species distribution modelling. Ecography 33: 985–989.
  22. 22. Elith J, Phillips SJ, Hastie T, Dudík M, Chee YE, Yates CJ (2011) A statistical explanation of MaxEnt for ecologists. Divers Distrib 17: 43–57.
  23. 23. Gilpin MR, Hanski I. Metapopulation dynamics: empirical and theoretical investigations. New York: Academic Press; 1991.
  24. 24. Wilson DS (1992) Complex interactions in metacommunities, with implications for biodiversity and higher levels of selection. Ecology 73: 1984–2000.
  25. 25. Leibold MA, Holyoak M, Mouquet N, Amarasekare P, Chase KM, Hoopes MF, et al. (2004) The metacommunity concept: a framework for multi-scale community ecology. Ecol Lett 7: 601–613.
  26. 26. Niu SQ, Franczyk MP, Knouft JH (2012) Regional species richness, hydrological characteristics and the local species richness of assemblages of North American stream fishes. Freshwater Biol 57: 2367–2377.
  27. 27. MacKenzie DI, Kendall WL (2002) How should detection probability be incorporated into estimates of relative abundance? Ecology 83: 2387–2393.
  28. 28. Huang J, Cao Y, Cummings KS (2011) Assessing sampling adequacy of mussel diversity surveys in wadeable Illinois streams. J North Am Benthological Soc 30: 923–934.
  29. 29. Pacifici K, Dorazio RM, Conroy MJ (2012) A two-phase sampling design for increasing detections of rare species in occupancy surveys. Methods Ecol Evol 3: 721–730.
  30. 30. Pritt JJ, Frimpong EA (2014) The effect of sampling intensity on patterns of rarity and community assessment metrics in stream fish samples. Ecol Indic 39: 169–178.
  31. 31. Angermeier PL, Schlosser I (1995) Spatial variation in demographic processes of lotic fishes: conceptual models, empirical evidence, implications for conservation. Am Fish Soc Symp 17: 392–401.
  32. 32. Borcard D, Legendre P (2002) All-scale spatial analysis of ecological data by means of principal coordinates of neighbour matrices. Ecol Model 153: 51–68.
  33. 33. PRISM Climate Group, Oregon State University; 2004. Database: PRISM Climate Data [Internet]. Accessed: http://prism.oregonstate.edu.
  34. 34. Frimpong EA, Angermeier PL (2009) Fish traits: a database of ecological and life-history traits of freshwater fishes of the United States. Fisheries 34: 487–495.
  35. 35. Rabinowitz D. Seven forms of rarity. In Synge H, editor. The biological aspects of rare plant conservation. Chichester: John Wiley and Sons. 1981. pp. 205–217.
  36. 36. Pritt JJ, Frimpong EA (2010) Quantitative determination of rarity of freshwater fishes and implications for imperiled-species designations. Conserv Biol 24: 1249–1258. pmid:20337684
  37. 37. Kearney M (2006) Habitat, environment and niche: what are we modelling? Oikos 115: 186–191.
  38. 38. Tibshirani R (1996) Regression shrinkage and selection via the Lasso. J R Stat Soc Series B (Methodological) 58: 267–288.
  39. 39. Friedman JH (2001) Greedy function approximation: a gradient boosting machine. Ann Stat 29: 1189–1232.
  40. 40. Phillips SJ, Dud M, Schapire RE. A maximum entropy approach to species distribution modeling. In Proceedings of the twenty-first international conference on Machine learning, Banff, Canada. New York: Association for Computing Machinery; 2004. pp. 655–662.
  41. 41. Mugodo J, Kennard M, Liston P, Nichols S, Linke S, Norris R, Lintermans M (2006) Local stream habitat variables predicted from catchment scale characteristics are useful for predicting fish distribution. Hydrobiologia 572: 59–70.
  42. 42. R Core Team (2014). R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. Available: http://www.R-project.org/.
  43. 43. Friedman J, Jerome F, Trevor H, Rob T (2010) Regularization paths for generalized linear models via coordinate descent. J Stat Softw 33: 1–22. pmid:20808728
  44. 44. Breiman L (2001) Random Forests. Machine Learning 45: 5–32.
  45. 45. Friedman JH, Meulman JJ (2003) Multiple additive regression trees with application in epidemiology. Stat Med 22: 1365–1381. pmid:12704603
  46. 46. Hijmans RJ, Phillips S, Leathwick J, Elith J (2013) dismo: Species distribution modeling. R package version 0.9–3. Available: http://CRAN.R-project.org/package=dismo.
  47. 47. Hanley JA, McNeil BJ (1982) The meaning and use of the area under a Receiver Operating Characteristic (ROC) curve. Radiology143: 29–36. pmid:7063747
  48. 48. Jaynes ET (1957) Information theory and statistical mechanics. Phys Rev 106: 620–630.
  49. 49. Price CV, Nakagaki N, Hitt KJ, Clawges RC. 2006. Enhanced historical land-use and land-cover data sets of the U.S. Geological Survey. Database: U.S. Geological Survey Digital Data Series 240 [internet]. Accessed: http://pubs.usgs.gov/ds/2006/240.
  50. 50. EPA (Environmental Protection Agency), USGS (United States Geological Survey), Horizon Systems Corporations; 2010. Database: NHDplusV1 Data [internet]. Accessed: http://www.horizon-systems.com/nhdplus/data.php.
  51. 51. EPA (Environmental Protection Agency), USGS (United States Geological Survey), Horizon Systems Corporations; 2012. Database: NHDplusV2 Data [internet]. Accessed: http://www.horizon-systems.com/nhdplus/NHDplusV2_data.php.
  52. 52. McKay L, Bondelid T, Dewald T, Johnston J, Moore R, Rea A. NHDPlus Version 2: User Guide. 2012. Avaliable: ftp://ftp.horizon-systems.com/nhdplus/NHDPlusV21/Documentation/NHDPlusV2_User_Guide.pdf
  53. 53. National Fish Habitat Board. National Fish Habitat Action Plan (NFHAP), 2nd ed.Washington, DC: Association of Fish and Wildlife Agencies; 2012.
  54. 54. Strahler AN (1952) Hypsometric (area-altitude) analysis of erosional topology. Geol Soc Am Bull 63: 1117–1142.
  55. 55. Jobson HE. Prediction of traveltime and longitudinal dispersion in rivers and streams. U.S. Geological Survey Water Resources Investigations Report. 1996; 96: 4013. Available: http://water.usgs.gov/osw/pubs/disp/dispersion.html.
  56. 56. Borcard D, Legendre P, Avois-Jacquet C, Tuomisto H (2004) Dissecting the spatial structure of ecological data at multiple scales. Ecology 85: 1826–1832.
  57. 57. Legendre P, Borcard D, Blanchet FG, Dray S (2012) PCNM: MEM spatial eigenfunction and principal coordinate analyses. R package version 2.1-2/r106. Available: http://R-Forge.R-project.org/projects/sedar/.
  58. 58. Moran PAP (1950) Notes on continuous stochastic phenomena. Biometrika 37: 17–23. pmid:15420245
  59. 59. Brind'Amour A, Boisclair D, Legendre P, Borcard D (2005) Erratum: multiscale spatial distribution of a littoral fish community in relation to environmental variables. Limnol Oceanogr 50: 465–479.
  60. 60. Wildt AR, Ahtola O. Analysis of covariance. Beverly Hills: Sage Publications; 1978.
  61. 61. Nelson JS. Fishes of the world, 4th ed. New York: Wiley; 2006.
  62. 62. Diniz-Filho JAF, De Sant'Ana CER, Bini LM (1998) An eigenvector method for estimating phylogenetic inertia. Evolution 52: 1247–1262.
  63. 63. Box GEP, Cox DR. (1964) An analysis of transformations. J R Stat Soc (Series B) 26: 211–252.
  64. 64. Tukey J (1949) Comparing individual means in the analysis of variance. Biometrics 5: 99–114. pmid:18151955
  65. 65. Michener WK, Brunt JW. Ecological data: design, management, processing. Malden: Blackwell Science. 2000.
  66. 66. Zuckerberg B, Huettmann F, Frair J. Proper data management as a scientific foundation for reliable species distribution modeling. In Drew CA, Wiersma YF, Huettmann F, editors. Predictive species and habitat modeling in landscape ecology. New York: Springer; 2011. pp. 45–70.
  67. 67. Guisan A, Zimmermann NE (2000) Predictive habitat distribution models in ecology. Ecol Model 135: 147–186.
  68. 68. Araújo MB, Luoto M (2007) The importance of biotic interactions for modelling species distributions under climate change. Glob Ecol Biogeogr Lett 16: 743–753.
  69. 69. Pollock LJ, Tingley R, Morris WK, Golding N, O'Hara RB, Parris KM, et al. (2014) Understanding co-occurrence by modelling species simultaneously with a Joint Species Distribution Model (JSDM). Methods Ecol Evol 5: 397–406.
  70. 70. Dormann CF, McPherson JM, Araújo MB, Bivand R, Bolliger J, Carl G, et al. (2007) Methods to account for spatial autocorrelation in the analysis of species distributional data: a review. Ecography 30: 609–628.
  71. 71. Bahn V, Krohn WB, O’Connor RJ (2008) Dispersal leads to spatial autocorrelation in species distributions: A simulation model. Ecol Model 213: 285–292.
  72. 72. Miller J, Franklin J (2010) Incorporating spatial autocorrelation in species distribution models. In Fischer MM, Getis A, editors. Handbook of applied spatial analysis. Berlin: Springer; 2010. pp. 685–702.
  73. 73. NatureServe 2014. Etheostoma osburni. The IUCN Red List of Threatened Species. Version 2014.3. Available: www.iucnredlist.org.
  74. 74. Wenger SJ, Olden JD (2012) Assessing transferability of ecological models: an underappreciated aspect of statistical validation. Methods Ecol Evol 3: 260–267.
  75. 75. Moisen GG, Freeman EA, Blackard JA, Frescino TS, Zimmermann NE, Edwards TC Jr (2006) Predicting tree species presence and basal area in Utah: A comparison of stochastic gradient boosting, generalized additive models, tree-based methods. Ecol Model 199: 176–187.
  76. 76. Peterson AT, Pape M, Eaton M (2007) Transferability and model evaluation in ecological niche modeling: a comparison of GARP and Maxent. Ecography 30: 550–560.
  77. 77. Diez JM, Pulliam HR (2007) Hierarchical analysis of species distributions and abundance across environmental gradients. Ecology 88: 3144–3152. pmid:18229848
  78. 78. Peres-Neto PR, Cumming GS. A multi-scale framework for the analysis of fish metacommunities. In Gido GB, Jackson DA, editors. Community Ecology of Stream Fishes: Concepts, Approaches, Techniques, American Fisheries Society Symposium. Bethesda: American Fisheries Society; 2010. pp. 685–702.
  79. 79. Santika T (2011) Assessing the effect of prevalence on the predictive performance of species distribution models using simulated data. Glob Ecol Biogeogr Lett 20: 181–192.
  80. 80. Lyons J, Stewart JS, Mitro M (2010) Predicted effects of climate warming on the distribution of 50 stream fishes in Wisconsin, U.S.A. J Fish Biol 77: 1867–1898. pmid:21078096