You are on page 1of 10

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/363729118

Predictive capacity of nine algorithms and an ensemble model to determine


the geographic distribution of tree species

Article in iForest - Biogeosciences and Forestry · September 2022


DOI: 10.3832/ifor4084-015

CITATIONS READS

7 302

5 authors, including:

Juan Carlos Montoya Jiménez José René Valdez-Lazalde


Colegio de Postgraduados Colegio de Postgraduados
4 PUBLICATIONS 22 CITATIONS 174 PUBLICATIONS 1,269 CITATIONS

SEE PROFILE SEE PROFILE

Gregorio Ángeles-Pérez Gustavo Cruz-Cárdenas


Colegio de Postgraduados Instituto Politécnico Nacional
163 PUBLICATIONS 1,440 CITATIONS 64 PUBLICATIONS 546 CITATIONS

SEE PROFILE SEE PROFILE

All content following this page was uploaded by José René Valdez-Lazalde on 21 September 2022.

The user has requested enhancement of the downloaded file.


iForest Research Article
doi: 10.3832/ifor4084-015
vol. 15, pp. 363-371
Biogeosciences and Forestry

Predictive capacity of nine algorithms and an ensemble model to


determine the geographic distribution of tree species

Juan Carlos Montoya-Jiménez (1), The different models that predict the distribution of species are a useful tool
for the evaluation and monitoring of forest resources as they facilitate the
José René Valdez-Lazalde (1), planning of their management in a changing climate environment. Recently, a
Gregorio Ángeles-Perez (1), significant number of algorithms have been proposed for this purpose, making
Héctor Manuel de los Santos- it difficult to select the most appropriate to use. The evaluation of perfor-
Posadas (1), mance and predictive stability of these models can elucidate this problem. Dis-
tribution data of 17 pine species with high economic importance for Mexico
Gustavo Cruz-Cárdenas (2) were collected and distribution models were carried out. We carried out a
pre-modeling design to select the prediction variables (climatic, edaphic and
topographic), after which nine algorithms and an ensemble model were con-
trasted against one another. The true skill statistic (TSS) and the area under
the curve (AUC) were used to evaluate the predictive performance of the
models, and the coefficient of variation of the predictions was used to evalu-
ate their stability. The number of predictive variables in the final models fluc-
tuated from 6 to 12; the mean diurnal range and the maximum temperature of
warmest month were included in the models for most species. Random forests,
the ensemble model, generalized additive models and MaxEnt were the ones
that best described the distribution of the species (AUC> 0.92 and TSS> 0.72);
the opposite was found in Bioclim and Domain (AUC<0.75 and <0.82; and
TSS<0.5 and <0.55). Support vector machine, Mahalanobis distance, general-
ized linear models and boosted regression trees obtained intermediate set-
tings. The coefficient of variation indicated that Bioclim, Domain and Support
vector machine have low predictive stability (CV>0.055); on the contrary, Max-
ent and the ensemble model attained high predictive stability (CV<0.015). The
ensemble model obtained greater performance and predictive stability in the
predictions of the distribution of the 17 species of pines. The differences
found in performance and predictive stability of the algorithms suggest that
the ensemble model has the potential to model the distribution of tree spe-
cies.

Keywords: TSS, AUC, BRT, SVM, MaxEnt, Random Forests, GAM, Ensemble
Model

Introduction forest conservation planning (Ramos-Do- species, climatic and meteorological data,
Species distribution models (SDM) are rantes et al. 2017). and computerized algorithms that facilitate
statistical methods or machine learning al- The SDM are performed by three differ- the modeling process (Hijmans & Elith
gorithms used to model and map past, ent approaches: correlative, mechanistic, 2017). Additionally, the models with a cor-
present or future species distributions (El- and process-oriented or hybrid (Peterson relative approach are the simplest to apply,
ith et al. 2006, Pecchi et al. 2019). These et al. 2012). The correlative approach is the since they rely on the statistical relation-
tasks are relevant for forest resources most widely used due to the availability of ship that exists between the presence re-
management (Pecchi et al. 2020) and for databases of the presence records of a cords of the species and the data that de-
scribes the environment they inhabit (Pe-
terson et al. 2012). Recent studies showed
(1) Postgrado en Ciencias Forestales. Colegio de Postgraduados. Campus Montecillo (Méx- that the choice of the algorithm used for
ico); (2) Instituto Politécnico Nacional, CIIDIR-IPN-Michoacán, COFAA, Justo Sierra 28, 59510 SDM is a source of variation in the process
Jiquilpan, Michoacán (México) of the spatial prediction of the species,
which can significantly affect the perfor-
@ José René Valdez-Lazalde (valdez@colpos.mx) mance of the model (Jarnevich & Young
2019, Pecchi et al. 2020). This is the reason
Received: Feb 22, 2022 - Accepted: Jul 12, 2022 why the current trend is to examine multi-
ple algorithms and select the most appro-
Citation: Montoya-Jiménez JC, Valdez-Lazalde JR, Ángeles-Perez G, De Los Santos-Posadas priate for their application, in accordance
HM, Cruz-Cárdenas G (2022). Predictive capacity of nine algorithms and an ensemble model with the objective of each research (Ren-
to determine the geographic distribution of tree species. iForest 15: 363-371. – doi: 10.3832/ Yan et al. 2014, Shabani et al. 2016).
ifor4084-015 [online 2022-09-20] The algorithms available to implement
SDM under the correlative approach are di-
Communicated by: Maurizio Marchi verse (Tab. 1), all of which present advan-
tages and disadvantages in its application,

© SISEF https://iforest.sisef.org/ 363 iForest 15: 363-371


Montoya-Jiménez JC et al. - iForest 15: 363-371
iForest – Biogeosciences and Forestry

Tab. 1 - Evaluated algorithms to build the spatial distribution models of 17 species of pines. *For these analyzes, for each evaluated
species we selected 20.000 pseudo-absences at random.

Statistical approach –
Data Algorithm Reference
General description
Distance – they are considered climate envelope Bioclim (BIO) Nix (1986)
algorithms and calculate the similarity that exists Domain (DOM) Carpenter et al. (1993)
Presence
between candidate pixels with respect to the
selected presence records. Mahalanobis distance (MD) Etherington (2019)
Regression – they are algorithms that model the
median of a response variable regarding prediction Generalized linear model (GLM)
variables; they use the Logit Link Function to relate Presence/ absence* Guisan et al. (2002)
the expected value of the response variable with General additive models (GAM)
included predictors.
Sector-vector machine (SVM) Betancourt (2005)
Machine Learning – within SDM they are algorithms
that focus on classification. Their main objective is Presence/ absence* Boosted regression trees (BRT) Hijmans & Elith (2017)
to automatically improve the classification of Random forests (RF) Mi et al. (2017)
training data until finally obtaining a better model.
Presence/ Background* MaxEnt (MAX) Phillips et al. (2006)

performance and predictive stability (Pe- pine species contribute with about 70% of
contribute to timber production in Mexico
terson et al. 2012). In SDM, an algorithm is the timber production in the country (Var-
(up to 70 %) were considered in the study:
rarely identified as the best one in a consis- gas-Larreta et al. 2017); these 17 species
Pinus arizonica (P.ar), P. ayacahuite (P.ay),
tent manner (Ren-Yan et al. 2014), since were incorporated to our SDM modelling P. cembroides (P.ce), P. devoniana (P.de), P.
they are sensitive to the data and mathe- analysis. douglasiana (P.do), P. durangensis (P.du), P.
matical functions used to describe the dis- Recently, efforts have been made in Mex-
hartwegii (P.ha), P. herrerae (P.he), P. leio-
tribution of the species based on environ- ico to model the distribution areas of some
phylla (P.le), P. maximinoi (P.ma), P. mon-
mental variables. In order to reduce this pine species by means of the MaxEnt algo-
tezumae (P.mo), P. oocarpa (P.oo), P. pat-
variation, it has been suggested to com- rithm (Aceves-Rangel et al. 2018, García-
ula (P.pa), P. pseudostrobus (P.ps), P. strob-
bine the predictions of different algorithms Aranda et al. 2018, Reynoso Santos et al.
iformis (P.st), P. strobus var. chiapensis
in a composite called ensemble model 2018, Manzanilla-Quiñones et al. 2019).(P.sc), and P. teocote (P.te). A database
(Araújo & New 2007). The way to build the However, it has not been considered to containing 17,908 presence records for the
ensemble model can be through the me- evaluate the performance and predictive17 species (Tab. 2) was assembled with in-
dian, the mean, and the weighted mean stability of other algorithms, which could
formation from the National Forest and
based on the predictive performance of mean that the most robust and reliable Soil Inventory of Mexico (INFyS 2009-
the individual algorithms, measuring the models designed to carry out this task are
2014), the Global Biodiversity Information
performance based on statistics such as not being used. Consequently, forest re-
Facility (GBIF 2020), the National Commis-
the area under the curve (AUC) and the source managers would be dispensing with
sion for the Knowledge and Use of the Bio-
true skill statistic (TSS – Araújo & New the best information in their process of de-
diversity (CONABIO 2020). We used two
2007, Hao et al. 2019). Recent studies re- cision-making. Therefore, the objective of
land use and vegetation type maps scale
port that evaluating ensemble models this study was to evaluate the perfor- 1:250,000 corresponding to years 1985 and
from two or more algorithms is a viable al- mance and predictive stability of nine algo-
2014 (INEGI’s series 1 and 6 respectively –
ternative to improve prediction and conse- rithms and an ensemble model in defining
INE/INEGI 1997, INEGI 2016) to eliminate re-
quently reduce uncertainty (Pecchi et al. the geographic distribution area of 17 peated, incomplete and poorly georefer-
2020). coniferous species with high economic im-
enced data. For species distributed beyond
The genus Pinus has a notable impor- portance in Mexico. the limits of Mexico, we use of a global
tance in the Mexican economy by con- land cover map (Hansen et al. 2000). For
tributing around 6.3 million cubic meters ofMaterials and methods coarse scale presence record validation,
wood per year (CONAFOR 2019). According we used the Atlas of the World’s Conifers
to the Biometric System for Planning Sus- Species and presence records (Farjon & Filer 2013), but the available sci-
tainable Forest Management (SIBIFOR), 17 The seventeen pine species that most entific literature (Ramos-Dorantes et al.
2017, Aceves-Rangel et al. 2018, García-
Aranda et al. 2018, Reynoso Santos et al.
Tab. 2 - Number of occurrences by species used to estimate the distribution area of 17
2018, Manzanilla-Quiñones et al. 2019) was
species of pines. (NP): Number of presences.
used for finer scale validation of the re-
cords collected for each species so that
Species NP Species NP they coincided with their reported natural
Pinus arizonica (P.ar) 1165 Pinus maximinoi (P.ma) 370 distribution.
Pinus ayacahuite (P.ay) 234 Pinus montezumae (P.mo) 560 The databases for each species were en-
tered into the Diva-GIS program ver. 7.5
Pinus cembroides (P.ce) 1846 Pinus oocarpa (P.ooc) 2182 (Hijmans et al. 2012). Through jacknife re-
Pinus devoniana (P.de) 540 Pinus patula (P.pa) 479 sampling (Chapman 2005) atypical climatic
Pinus douglasiana (P.do) 394 Pinus pseudostrobus (P.ps) 1667 values were excluded, all of which might
be related to poor georeferencing or to
Pinus durangensis (P.du) 1426 Pinus strobiformis (P.st) 1430
problems in the taxonomic identification of
Pinus hartwegii (P.ha) 448 Pinus strobus var. chiapensis (P.sc) 117 the species. For all species, records that
Pinus herrerae (P.he) 803 Pinus teocote (P.te) 1786 contained three or more atypical climate
Pinus leiophylla (P.le) 2461 - -
conditions were excluded from the analysis
(Chapman 2005). Finally, the density of the

364 iForest 15: 363-371


Modeling the geographic distribution of 17 pine species

presence records was reduced to one ables. The final number of uncorrelated (Naimi & Araújo 2016), since using 70% and

iForest – Biogeosciences and Forestry


record per km2 to reduce the effects of predictive variables was different for each 30% of the presence data for the calibration
sampling bias and thus avoid over-fitting species (Tab. S2 in Supplementary mate- and evaluation of the model respectively
the models due to redundant environmen- rial). can overestimate the evaluation parame-
tal information (Hijmans & Elith 2017). In the process of building species distribu- ters of the models (Radosavljevic & Ander-
tion models, the definition of the accessi- son 2014). The SDM was performed for
Selection of environmental variables ble area for the species is a critical factor each of the species of interest using nine
and calibration area for the result of the calibration, evaluation algorithms (Tab. 1) and an ensemble mod-
The environmental variables that charac- and comparison of the model (Peterson et el, which was built from the weighted
terize the areas where the species pres- al. 2012). In this study, the accessible area arithmetic mean of the true skill statistic
ence were recorded were obtained from for each species was made from the terres- (TSS) values obtained for the three algo-
the WorldClim version 2 repository, with an trial ecoregions of the world that delimit rithms with the highest predictive perfor-
approximate resolution of 1 km 2 (Fick & Hij- the distribution of each of the species, mance (Marmion et al. 2009).
mans 2017). From 19 available variables, since they are zones with common physio- The performance of the algorithms was
isothermality (Bio3), temperature season- graphic, biological and historical character- evaluated through the TSS (Hao et al.
ality (Bio4), temperature annual range istics. In this sense, climatological, geologi- 2020) and the AUC (Pecchi et al. 2020). In
(Bio7) and precipitation seasonality (Bio15) cal and edaphological conditions are simi- order to calculate the TSS, binary predic-
were eliminated, since biologically they are lar, and they are of great importance in the tions (presence/absence) are required,
difficult to interpret. Escobar et al. (2014) distribution of species and communities which is the reason we applied the cut-off
reported that the mean temperature of (Farjon & Filer 2013). threshold criterion to generate continuous
wettest quarter (Bio8), mean temperature predictions; this maximizes the sum of sen-
of driest quarter (Bio9), precipitation of Spatial modeling process: algorithms sitivity and specificity, since it has been
warmest quarter (Bio 18) and precipitation and predictions shown to be useful in modeling methods
of coldest quarter (Bio19) show discontinu- The modeling process for each species that employ only presence data (Manzanil-
ities between neighboring pixels, and was carried out with the following configu- la-Quiñones et al. 2019). To denote differ-
therefore these variables were also ex- ration: 20,000 randomly pseudo-absences ences between algorithms we performed
cluded (Tab. 3). We incorporated to the were generated and the evaluation of the the non-parametric Kruskall-Wallis test on
analysis edaphic variables available in the models was executed with the bootstrap the AUC values. Then we grouped the algo-
SoilGrids database (Hengl et al. 2017), since resampling method with 10 repetitions rithms using the Fisher’s least significant
it has been shown that the combined use
of edaphic and climatic variables improve
the precision of predictions, compared to Tab. 3 - Description of climatic, edaphic and topographic variables employed to build
those constructed only with climatic vari- the spatial distribution models of 17 species of pines.
ables (Velazco et al. 2017). We also consid-
ered topographic variables in the modeling
Category Variable Key
process (altitude, slope, diurnal anisotropic
heat, Convergence index, Terrain rugged- Climatic Annual mean temperature (°C) bio1
ness index, Topographic wetness index) Mean diurnal range (°C) bio 2
derived from the digital elevation model Maximum temperature of warmest month (°C) bio 5
available at the WorldClim website in
SAGA-GIS v. 7.5.0 (Conrad et al. 2015), as Minimum temperature of coldest month (°C) bio 6
they were formerly identified important for Mean temperature of warmest quarter (°C) bio10
modeling the spatial distribution of some Mean temperature of coldest quarter (°C) bio11
pine species analyzed in our study (Ramos-
Annual precipitation (mm) bio12
Dorantes et al. 2017).
The selection of the environmental vari- Precipitation of wettest month (mm) bio13
ables to be used in SDM is an important as- Precipitation of driest month (mm) bio14
pect in the modeling process, since they
Precipitation of wettest quarter (mm) bio16
have a significant effect on the predictive
performance of the models (Cobos et al. Precipitation of driest quarter (mm) bio17
2019). In this study, for each species a pre- Soil Sand (g kg )-1
sa
modeling exercise was initially performed proprieties Cation exchange capacity (mmol(c) kg-1) cec
to identify the five most important predic-
Clay content (g kg-1) clc
tor variables according to each tested algo-
rithm. We fitted models iteratively (includ- Organic carbon soil (dg kg-1) ocs
ing or excluding each variable) and moni- Bulk density (cg cm ) -3
bd
tored the area under the curve (AUC)
Organic carbon density (g dm-3) ocd
statistic value obtained to identify the five
variables with the greatest contribution to Silt (g kg-1) sil
predict the potential distribution area of Nitrogen (cg kg ) -1
nit
the species. Variables that were identified pH water (pH·100) pH
in the top five by more than one algorithm
were added only once to conform a set of Soil organic carbon stock (t ha-1) socs
likely predictor variables for a given pine Topographic Altitude (m a.s.l.) alt
species. We ended up with preliminary sets Slope (°) slo
of 12-19 predictor variables depending on
Diurnal anisotropic heat dah
the pine species analyzed. We also imple-
mented a variance inflation factor analysis Convergence index ci
(VIF <5 – Cobos et al. 2019) to identify and Terrain ruggedness index (m) tri
minimize the presence of multicollinearity Topographic wetness index twi
in the subset of relevant predictor vari-

iForest 15: 363-371 365


Montoya-Jiménez JC et al. - iForest 15: 363-371
iForest – Biogeosciences and Forestry

Tab. 4 - Important and uncorrelated variables used in the spatial distribution models of 17 pine species in Mexico. (bio1): annual
mean temperature (°C); (bio2): mean diurnal range (°C); (bio5): maximun temperature of warmest month (°C); (bio6): minimun tem -
perature of coldest month (°C); (bio10): mean temperature of warmest quarter (°C); (bio11): mean temperature of coldest quarter
(°C); (bio12): annual precipitation (mm); (bio13): precipitation of wettest month (mm); (bio14): precipitation of driest month (mm);
(bio16): precipitation of wettest quarter (mm); (bio17): precipitation of driest quarter (mm); (sa): sand (g kg -1); (cec): cation
exchange capacity (mmol (c) kg -1); (clc): clay content (g kg -1); (ocs): organic carbon soil (dg kg -1); (bd): bulk density (cg cm -3); (ocd):
organic carbon density (g dm -3); (sil): silt (g kg-1); (nit): nitrogen (cg kg -1); (pH): pH water (pH·100); (socs): soil organic carbon stock (t
ha-1); (alt): altitude (m); (slo): slope (°); (dah): diurnal anisotropic heat; (ci): convergence index; (tri): terrain ruggedness index (m);
(twi): topographic wetness index.

P. montezumae
P. douglasiana

P. durangensis
P. cembroides
P. ayacahuite

P. maximinio
P. devoniana

P. leiophylla
P. hartwegii
P. arizonica

P. herrerae

P. oocarpa

chiapensis

P. teocate
P. strobus
P. pseudo
P. patula

P. strobi
Variable

strobus

formis
bio1 - - - - - - - - - - - - - - - - -
bio2 - x x x x x x x - x x - x x x x x
bio5 - x x x - x x x - x x x x x - x x
bio6 - - x - - - - - - - - - - - - - -
bio10 - - - - - - - - - - - - - - - - -
bio11 - - - - - - - - x - - - - - - - x
bio12 - - x - - - - - - - - - - - - - -
bio13 x x - x x x - x - x - x x - x - x
bio14 x x x - - x x - - x - x x x - - -
bio16 - - - - - - - - - - x - - - - x -
bio17 - - - x x - - x - - - - - - x - -
sa - x - x - - - - - - - x - - - x -
cec - - x x - - x - x - x x - x - x x
clc - x x - - - - - - - - x - - - x -
ocs - - - - - x - x - - - - - x - - x
bd x x - x - - x - - x x - x x x x -
ocd - - - - - - - - x - - - - - - - -
sil - - - x - - x - - x x x x - - x -
nit - - - x x - - x - x - - - - - x x
pH - - x x x x x x x - - - - - - - x
socs x x - - - - x - - - x - x - x x -
alt x - - - x - - - x - - - - - x - -
slo x x - x - - x - - - - - - - x - -
dah - - - x x - - - - x x x - - - - -
ci - - - - - - - - - - - - x - - - -
tri - - x - - - - - - - - x x x - - x
twi - - - - x - x x x - - - - x - - -

difference criterion after correcting the p- Software records; the models for the rest of the
value through the Bonferroni method. To The pre-modeling and modeling pro- species were adjusted with a number of
compare the predictive stability of the al- cesses were carried out using the “sdm” records that ranged between 234 and 2182
gorithms including the ensemble model, package (Naimi & Araújo 2016), whereas (Tab. 2). The premodeling and VIF analyses
we followed the methodology reported by for secondary information processes we identified the important variables (Tab. S1
Ren-Yan et al. (2014). For each species and used “raster” packages (Hijmans et al. in Supplementary material) and with low
each algorithm, we calculated the coeffi- 2020), “ntbox” (Osorio-Olvera et al. 2020), collinearity (Tab. S2) to fit the models of
cient of variation (CV = σx/x̄) for the TSS “rgdal” (Bivand et al. 2020), all of which the 17 species of pines. The number of vari-
statistic values obtained from the model- were implemented in the R software (R ables used for the final models fluctuated
ing process through bootstrap resampling Core Team 2020). between 6 variables for P.ar and up to 12
with 10 repetitions. A scatter plot was gen- variables for P.de. Variables bio2 and bio5
erated to show the results, including the Results were included as predictors in a large num-
mean and the standard error of the CV (y- ber of the SDM (Tab. 4). In contrast, vari-
axis) and TSS (x-axis) of the 17 species. The Presence records and relevant ables bio6, bio12, bio16 and socs were in-
predictions of the best algorithm found for environmental variables cluded in very few of the generated mod-
each species were applied to the cutoff The models were fitted with different els.
threshold that maximizes the sum of sensi- number of presence records. In this regard,
tivity and specificity, and were projected P.sc and P.le were the species with the low-
on binary maps (suitable-not suitable). est (117) and highest (2461) number of

366 iForest 15: 363-371


Modeling the geographic distribution of 17 pine species

iForest – Biogeosciences and Forestry


Fig. 1 - True skill statistic (TSS) and area
under the curve (AUC) of nine algorithms
and ensemble model for predicting the geo-
graphic range of 17 pine species. (BIO): Bio-
clim; (DOM): Domain; (SVM): Support Vec-
tor Machine; (MD): Mahalanobis distance;
(GLM): Generalized linear models; (BRT):
Boosted regression trees; (GAM): General-
ized additive models; (MAX): MaxEnt; (RF):
Random forests; (EM): Ensemble model.

Fig. 2 - Distribution area predicted by nine


algorithms and ensemble model for the
modeling of 17 pine species in Mexico. (Bio):
Bioclim; (BRT): Boosted regression trees;
(EM): Ensemble model; (MD): Mahalanobis
distance; (DOM): Domain; (GAM): General-
ized additive models; (GLM): Generalized
linear models; (MAX): MaxEnt; (RF): Ran-
dom forests; (SVM): support vector
machine.

iForest 15: 363-371 367


Montoya-Jiménez JC et al. - iForest 15: 363-371

used different combinations of variables,


iForest – Biogeosciences and Forestry

although it was observed that bio2 and


bio5 were important variables for many
species. This suggests that the distribution
of the pine species considered in the
present study is explained by variables re-
lated to temperature, which coincides with
Ramos-Dorantes et al. (2017), who report-
ed temperature as one of the most impor-
tant variables for the distribution of seven
pine species in Mexico. In another study by
Aceves-Rangel et al. (2018), altitude was
the most important variable in the models
of 11 species of the same genus in Mexico.
Due to the fact that altitude has a high de-
gree of correlation (r=0.9) with tempera-
ture in an indirect manner, it can be in-
ferred that it is a key variable in the distri-
bution of pine species. The two formerly
cited studies and our research obtained
similar results due to the fact that the pine
Fig. 3 - Coefficient of variation and TSS of nine algorithms and ensemble model for the species of Mexico are distributed in tem-
modeling of the geographic distribution of 17 pine species in Mexico. (Bio): Bioclim; perate habitats where temperature is an
(DOM): Domain; (SVM): support vector machine; (MD): Mahalanobis distance; (GLM): important ecological factor (Farjon & Filer
Generalized linear models; (BRT): Boosted regression trees; (GAM): Generalized addi - 2013). In this context, Perry (1991) indi-
tive models; (MAX): MaxEnt; (RF): Random forests; (EM): Ensemble model. cated that the pine species distributed in
Mexico and part of Central America were
strongly influenced by climatic fluctuations
Predictive performance of the eas (Fig. 2). According to the performance, during the Paleogene period. This historical
algorithms the ensemble model better described the fact indicates that temperature and precip-
The evaluating statistics of the predictive distribution of the pine species (Fig. S1 in itation are key factors in the current distri-
performance of the algorithms as well as Supplementary material). bution of pine trees and that the variables
the ensemble model obtained different val- The coefficient of variation indicated that selected in our models were adequate. It is
ues. Six of the analyzed algorithms gener- BIO, DOM and SVM have the lower stability also worthwhile noting that for all the spe-
ated low values in the AUC (<0.90) and TSS in predictions (CV >0.055); also, their error cies analyzed, variables bio1, bio10 and
(<0.70) statistics with respect to the rest of bars are large, indicating that CV values bio15 were not considered in the model be-
the algorithms (Fig. 1). GAM, MAX, RF and differ widely between species (Fig. 3). EM cause they have a high collinearity with
the ensemble model attained the highest and MAX obtained smaller variation (CV other variables.
values in AUC and TSS (>0.90 and >0.70, re- <0.015) and the standard error was low.
spectively). The algorithms with the lowest MD, GLM, BRT, GAM, and RF were the al- Predictive performance of algorithms
predictive performance were BIO and gorithms that obtained a mean coefficient Testing several algorithms to perform
DOM, which obtained low values in AUC of variation in the TSS statistic (CV ≥0.015 SDM helps to have a broader view of the
(<0.75 and <0.82) and TSS (<0.5 and <0.55). and CV <0.040 – Fig. 3). advantages and disadvantages of the use
The SVM, DMAH, GLM and BRT algorithms of each single algorithm (Jarnevich &
obtained intermediate values for both sta- Discussion Young 2019). Numerous studies on SDM of
tistics. The non-parametric Kruskall-Wallis Mexican pines (Aceves-Rangel et al. 2018,
test denoted that the performance be- Environmental variables and final García-Aranda et al. 2018, Reynoso Santos
tween the algorithms was statistically dif- models et al. 2018, Manzanilla-Quiñones et al. 2019)
ferent; the post-hoc test allowed us to rank The SDMs with their correlative algo- only used the MaxEnt algorithm, though
the performance of the algorithms in de- rithms are the result of the projection of an the prediction of the distribution areas can
scending order, and the assembled model ecological niche model created in the envi- be improved by employing an ensemble or
obtained the best performance (Fig. S3a in ronmental space with different variables an RF model. In this study, we found that
Supplementary material). In contrast, BIO (Soberón et al. 2017). It is clear that the se- all the analyzed algorithms obtained better
obtained the lowest performance (Fig. lection of variables is an important factor predictions than those obtained by chance
S3h), while MAX and GAM obtained a simi- in SDM and a set of important and uncorre- (Fig. 1). Nevertheless, it was observed that
lar performance (Fig. S3c). lated variables can increase the predictive RF and the ensemble model were superior
power and reduce the complexity of the than the rest of the algorithms. In other
Predictions and stability of the model (Cobos et al. 2019). Watling et al. studies (Marmion et al. 2009, Ren-Yan et al.
algorithms (2012) found that selecting uncorrelated 2014, Pecchi et al. 2020), RF presented a su-
The nine algorithms and the ensemble variables with biological significance did perior predictive performance with respect
model differed in predicting spatial ranges not affect the predictive performance be- to other algorithms, which is consistent
for all species. For most species DOM pre- tween the models; however, they did not with our results. However, it is important
dicted a larger distribution area (Fig. 2). find the same in spatial predictions, as us- to mention that RF does not always attains
Conversely, BIO and SVM predicted lesser ing the RF algorithm with uncorrelated pre- the best prediction performance (Shabani
areas of distribution for all species. The dictors, more stable predictions were ob- et al. 2016, Marchi & Ducci 2018). Discrep-
rest of the algorithms projected surfaces tained. In the same study, GLM provided ancies found between these studies can be
of different magnitude with a relatively more unstable predictions, which indicates explained by the different configurations
lower difference than the previously men- that the algorithms are sensitive to the se- of the algorithm (Mi et al. 2017). On the
tioned algorithms. The algorithms with the lection of environmental variables that af- other hand, the ensemble model achieved
highest performance (GAM, MAX, RF and fect the stability. the highest predictive performance (TSS
the ensemble model) predicted similar ar- In our study, final models for all species >0.78 and AUC >0.95), although for P. ooc

368 iForest 15: 363-371


Modeling the geographic distribution of 17 pine species

and P. ps it obtained a lower predictive per- tage in the prediction of the distribution of [Potential distribution of 20 pine species in Me-

iForest – Biogeosciences and Forestry


formance than RF (Fig. S2 in Supplemen- species. If species conservation problems xico]. Agrociencia 52: 1043-1057. [in Spanish]
tary material). These findings are consis- or predictions are to be addressed under Araújo MB, New M (2007). Ensemble forecasting
tent with Hao et al. (2020), who found that climate change scenarios, it is important to of species distributions. Trends in Ecology and
the ensemble model did not always obtain have a smaller variation caused by the Evolution 22: 42-47. - doi: 10.1016/j.tree.2006.09.
a higher predictive performance than the modeling algorithms, since more robust in- 010
individual models. ferences can be made with less variation Betancourt GA (2005). Las máquinas de soporte
Regarding the remaining evaluated algo- (Hao et al. 2020). In several studies, ensem- vectorial (SVMs) [Vector support machines
rithms, it was observed that SVM, MD, ble models have been used as an alterna- (SVMs)]. Scientia et Technica 11 (27): 67-72. [in
GLM and BRT obtained a medium predic- tive to reduce variability between the dif- Spanish] [online] URL: http://www.research
tive performance. BIO and DOM were the ferent algorithms, and they have even gate.net/publication/49588125
algorithms with the lowest predictive per- been proposed as promising techniques Bivand R, Keitt T, Rowlingson B, Pebesma E,
formance. These results are similar to for species distribution modeling (Araújo & Sumner M, Hijmans R, Rouault E, Warmerdam
those of Ren-Yan et al. (2014) and Pecchi et New 2007, Marmion et al. 2009, Hao et al. F, Ooms J, Rundel C (2020). Package “rgdal”. R
al. (2020), who classified algorithms ac- 2019). Yet another way to minimize vari- package version 1:5-18. [online] URL: http://
cording to their predictive performance ability problems between algorithms is to cran.r-project.org/package=rgdal
(high and low). Nonetheless, we consider repeatedly evaluate and compare multiple Carpenter G, Gillison AN, Winter J (1993). DO-
that this may be ambiguous as those find- algorithms and, based on the obtained re- MAIN: a flexible modelling procedure for map-
ings could not represent the potential of sults, select the most adequate for model- ping potential distributions of plants and ani-
the algorithms, since under certain condi- ing (Jarnevich & Young 2019). mals. Biodiversity and Conservation 2: 667-680.
tions (predictors, size and sample quality) a - doi: 10.1007/BF00051966
method may or may not be effective (Pe- Conclusions Chapman AD (2005). Principles and methods of
terson et al. 2012, Hijmans & Elith 2017). As The ensemble model showed the highest data cleaning - Primary species and species-oc-
explained by Jarnevich & Young (2019), the predictive performance in modeling the currence data (version 1.0). Report for the
evaluation of algorithms is a practice that spatial distribution of 17 pine species in Global Biodiversity Information Facility - GBIF,
should be done in each case study and, de- Mexico, although RF, MAX and GAM also Copenhagen, Denmark, pp. 72.
pending on the obtained results and the provided good predictions. The rest of the Cobos ME, Peterson AT, Osorio-Olvera L, Jimé-
objectives of the research, the most appro- applied algorithms (BRT, GLM, MD, SVM, nez-García D (2019). An exhaustive analysis of
priate one should be selected in order to DOM and BIO) presented a lower accuracy; heuristic methods for variable selection in eco-
make the necessary inferences, since under BIO, DOM and SVM were the algorithms logical niche modeling and species distribution
certain conditions one of them can be bet- with the greatest variability in predictions modeling. Ecological Informatics 53: 100983. -
ter or worse than the others. and, on the other hand, MAX and EM ob- doi: 10.1016/j.ecoinf.2019.100983
tained the smallest variation. The rest of CONABIO (2020). Sistema Nacional de Informa-
Prediction and variability of the the algorithms attained a medium variabil- ción sobre Biodiversidad. Registros de ejem-
algorithms ity in the prediction of the distribution ar- plares [National Information System on Biodi-
The predicted distribution areas for each eas. For most of the species (16), the en- versity. Specimen Records]. Comisión Nacional
of the 17 analyzed pine species (Fig. S1 in semble model showed the best predictive para el Conocimiento y Uso de la Biodiversidad
Supplementary material) coincided with performance, although for P. ooc the most (CONABIO), Ciudad de México, México, web
the distribution reported by Farjon & Filer accurate predictions were obtained using site. [in Spanish] [online] URL: http://www.
(2013). Nonetheless, they differed for P.ce, RF. snib.mx/ejemplares/descarga/
P.do, P.du, P.ha and P.st with respect to the The assessment of algorithms’ perfor- CONAFOR (2019). Estado que guarda el sector
distribution described by Perry (1991), since mance for predicting the spatial species forestal en México [Status of the Forest Sector
he identified more restricted distributions distribution is an important step in the in Mexico]. Comisión Nacional Forestal (CONA-
than those mentioned by Farjon & Filer modeling process and must be carried out FOR), Zapopan Jalisco, México, pp. 406. [in
(2013). The distribution of the remaining carefully, since the selection of one algo- Spanish]. [online] URL: http://www.conafor.
species (P.ar, P.ay, P.de, P.he, P.le, P.ma, rithm over another could lead to different gob.mx:8080/documentos/docs/1/7743Estado
P.mo, P.ooc, P.pa, P.ps, P.sc and P.te) was results and therefore to different conclu- Conrad O, Bechtel B, Bock M, Dietrich H, Fischer
similar. sions. Because the predictive differences E, Gerlitz L, Wehberg J, Wichmann V, Böhner J
The different algorithms showed signifi- between the algorithms are relatively (2015). System for Automated Geoscientific
cant differences in the predicted spatial large, the choice of one over the other Analyses (SAGA) v. 2.1.4. Geoscientific Model
distribution areas (Fig. 2). These results are should be based on the study objectives. Development 8: 1991-2007. - doi: 10.5194/gmd-
due to the fact that the correlative models The results derived from this research sug- 8-1991-2015
depend to a great extent on the chosen gest that it is not convenient to choose an Elith J, H. Graham C, P. Anderson R, Dudík M,
modeling algorithms (Araújo & New 2007), algorithm a priori, but rather to carry out Ferrier S, Guisan A, J. Hijmans R, Huettmann F,
since each one starts from different as- tests among the available algorithms in or- R. Leathwick J, Lehmann A, Li J, G. Lohmann L,
sumptions for its construction. Therefore, der to increase the confidence in the pre- A. Loiselle B, Manion G, Moritz C, Nakamura M,
it can be said that the prediction differ- diction performance and stability of SDM. Nakazawa Y, Mcc. M. Overton J, Townsend Pe-
ences are inherent to the models (Peterson terson A, J. Phillips S, Richardson K, Scachetti-
et al. 2012, Hijmans & Elith 2017). Because Acknowledgements Pereira R, E. Schapire R, Soberón J, Williams S,
of the above, it will always be difficult to The first author thanks CONACYT (Con- S. Wisz M, E. Zimmermann N (2006). Novel
choose a priori the best algorithm to model sejo Nacional de Ciencia y Tecnología, Méx- methods improve prediction of species’ distri-
the distribution of species. However, the ico, México) for the scholarship granted to butions from occurrence data. Ecography 29
results of this study can be helpful when carry out a doctorate in forest sciences. We (2): 129-151. - doi: 10.1111/j.2006.0906-7590.045
deciding which is the best algorithm to use also thank CONAFOR (Comisión Nacional 96.x
(Jarnevich & Young 2019). Forestal) for providing data from the Na- Escobar LE, Lira-Noriega A, Medina-Vogel G, Pe-
The results indicated that three of the tional Forest and Soil Inventory. terson AT (2014). Potential for spread of the
tested algorithms have a high prediction white-nose fungus (Pseudogymnoascus destruc-
variability, except for EM and MAX (Fig. 3). References tans) in the Americas: use of Maxent and
The ensemble model had a low variation Aceves-Rangel LD, Méndez-González J, García- NicheA to assure strict model transference.
and high performance compared to the Aranda MA, Nájera-Luna JA (2018). Distribución Geospatial Health 9: 221-229. - doi: 10.4081/gh.
other algorithms, which provides an advan- potencial de 20 especies de pinos en México 2014.19

iForest 15: 363-371 369


Montoya-Jiménez JC et al. - iForest 15: 363-371

Etherington TR (2019). Mahalanobis distances City, Mexico. [in Spanish] RP, Martínez-Meyer E, Nakamura M, Araújo MB
iForest – Biogeosciences and Forestry

and ecological niche modelling: correcting a INEGI (2016). Conjunto nacional de uso del suelo (2012). Ecological niches and geographic distri-
chi-squared probability error. PeerJ 7: 1-8. - doi: y vegetación a escala 1:250.000, Serie VI [Na- butions (MPB-49). Series “Monographs in Pop-
10.7717/peerj.6678 tional collection of land use and vegetation ulation Biology”, vol. 49, Princeton University
Farjon A, Filer D (2013). An atlas of the world’s scale 1:250.000, Series VI]. Instituto Nacional de Press, Princeton, NJ, USA, pp. 316. - doi:
conifers. Brill, Leiden, The Netherlands, pp. 512. Estadística y Geografía (INEGI), México City, 10.1515/9781400840670
- doi: 10.1163/9789004211810 Mexico. [in Spanish] Phillips SJ, Anderson RP, Schapire RE (2006).
Fick SE, Hijmans RJ (2017). WorldClim 2: new 1- Jarnevich CS, Young NE (2019). Not so normal Maximum entropy modeling of species geo-
km spatial resolution climate surfaces for normals: species distribution model results are graphic distributions. Ecological Modelling 190:
global land areas. International Journal of Cli- sensitive to choice of climate normals and 231-259. - doi: 10.1016/j.ecolmodel.2005.03.026
matology 37: 4302-4315. - doi: 10.1002/joc.5086 model type. Climate 7: 1-15. - doi: 10.3390/cli703 R Core Team (2020). R: a language and environ-
García-Aranda MA, Méndez-González J, Hernán- 003 ment for statistical computing. R Foundation
dez-Arizmendi JY (2018). Distribución potencial Manzanilla-Quiñones U, Aguirre-Calderón OA, Ji- for Statistical Computing, Vienna, Austria. [on-
de Pinus cembroides, Pinus nelsonii y Pinus cul- ménez-Pérez J, Treviño-Garza EJ, Yerena-Yamal- line] URL: http://www.R-project.org/
minicola en el Noreste de México [Potential dis- lel JI (2019). Distribución actual y futura del Radosavljevic A, Anderson RP (2014). Making
tribution of Pinus cembroides, Pinus nelsonii and bosque subalpino de Pinus hartwegii Lindl en el better Maxent models of species distributions:
Pinus culminicola in northeastern Mexico]. Eco- Eje Neovolcánico Transversal [Current and fu- complexity, overfitting and evaluation. Journal
sistemas y Recursos Agropecuarios 5: 3-13. [in ture distribution of the Pinus hartwegii Lindl of Biogeography 41: 629-643. - doi: 10.1111/jbi.12
Spanish] - doi: 10.19136/era.a5n13.1396 subalpine forest in the Tranverse Neovolcanic 227
GBIF (2020). Occurrence download. Global Biodi- Belt]. Madera y Bosques 25: 1-16. [in Spanish] - Ramos-Dorantes DB, Villaseñor JL, Ortiz E, Ger-
versity Information Facility, Copenhagen, Den- doi: 10.21829/myb.2019.2521804 nandt DS (2017). Biodiversity, distribution, and
mark, web site. [online] URL: http://data.gbif. Marchi M, Ducci F (2018). Some refinements on conservation status of Pinaceae in Puebla, Me-
org species distribution models using tree-level na- xico. Revista Mexicana de Biodiversidad 88:
Guisan A, Edwards TC, Hastie T (2002). General- tional forest inventories for supporting forest 215-223. - doi: 10.1016/j.rmb.2017.01.028
ized linear and generalized additive models in management and marginal forest population Ren-Yan D, Xiao-Quan K, Min-Yi H, Wei-Yi F, Zhi-
studies of species distributions: setting the detection. iForest 11: 291-299. - doi: 10.3832/ifor Gao W (2014). The predictive performance and
scene. Ecological Modelling 157: 89-100. - doi: 2441-011 stability of six species distribution models.
10.1016/S0304-3800(02)00204-1 Marmion M, Parviainen M, Luoto M, Heikkinen PLoS One 9. - doi: 10.1371/journal.pone.0112764
Hansen MC, Defries RS, Townshend JRG, Sohl- RK, Thuiller W (2009). Evaluation of consensus Reynoso Santos R, Pérez Hernández MJ, López
berg R (2000). Global land cover classification methods in predictive species distribution mod- Baez W, Hernández Ramos J, Muñoz Flores HJ,
at 1 km spatial resolution using a classification elling. Diversity and Distributions 15: 59-69. - Cob Uicab JV, Reynoso Santos MD (2018). El
tree approach. International Journal of Remote doi: 10.1111/j.1472-4642.2008.00491.x nicho ecológico como herramienta para prede-
Sensing 21: 1331-1364. - doi: 10.1080/0143116002 Mi C, Huettmann F, Guo Y, Han X, Wen L (2017). cir áreas potenciales de dos especies de pino
10209 Why choose Random Forest to predict rare [The ecological niche as a tool for predicting
Hao T, Elith J, Guillera-Arroita G, Lahoz-Monfort species distribution with few samples in large potential areas of two pine species]. Revista
JJ (2019). A review of evidence about use and undersampled areas? Three Asian crane species Mexicana de Ciencias Forestales 9: 47-68. [in
performance of species distribution modelling models provide supporting evidence. PeerJ 5: 1- Spanish] - doi: 10.29298/rmcf.v8i48.114
ensembles like BIOMOD. Diversity and Distribu- 22. - doi: 10.7717/peerj.2849 Shabani F, Kumar L, Ahmadi M (2016). A compar-
tions 25: 839-852. - doi: 10.1111/ddi.12892 Naimi B, Araújo MB (2016). SDM: a reproducible ison of absolute performance of different cor-
Hao T, Elith J, Lahoz-Monfort JJ, Guillera-Arroita and extensible R platform for species distribu- relative and mechanistic species distribution
G (2020). Testing whether ensemble modelling tion modelling. Ecography 39: 368-375. - doi: models in an independent area. Ecology and
is advantageous for maximising predictive per- 10.1111/ecog.01881 Evolution 6: 5973-5986. - doi: 10.1002/ece3.2332
formance of species distribution models. Ecog- Nix HA (1986). A biogeographic analysis of Aus- Soberón J, Osorio-Olvera L, Peterson T (2017).
raphy 43: 549-558. - doi: 10.1111/ecog.04890 tralian elapid snakes. In: “Atlas of elapid snakes Diferencias conceptuales entre modelación de
Hengl T, Mendes De Jesus J, Heuvelink GBM, of Australia” (Longmore R ed). Australian Flora nichos y modelación de áreas de distribución
Ruiperez Gonzalez M, Kilibarda M, Blagotić A, and Fauna Series 7, Bureau of Flora and Fauna, [Conceptual differences between ecological
Shangguan W, Wright MN, Geng X, Bauer-Mar- Canberra, Australia, pp. 4-15. niche modeling and species distribution model-
schallinger B, Guevara MA, Vargas R, MacMillan Osorio-Olvera L, Lira-Noriega A, Soberón J, Pe- ing]. Revista Mexicana de Biodiversidad 88:
RA, Batjes NH, Leenaars JGB, Ribeiro E, Wheel- terson AT, Falconi M, Contreras-Díaz RG, Mar- 437-441. [in Spanish] - doi: 10.1016/j.rmb.2017.
er I, Mantel S, Kempen B (2017). SoilGrids250m: tínez-Meyer E, Barve V, Barve N (2020). ntbox: 03.011
global gridded soil information based on ma- an R package with graphical user interface for Vargas-Larreta B, Corral-Rivas JJ, Aguirre-Calde-
chine learning. PLoS One 12: 1-40. - doi: 10.1371/ modelling and evaluating multidimensional rón OA, López-Martínez JO, De los Santos-
journal.pone.0169748 ecological niches. Methods in Ecology and Evo- Posadas HM, Zamudio-Sánchez FJ, Treviño-Gar-
Hijmans RJ, Guarino L, Bussink C, Mathur P, Cruz lution 11: 1199-1206. - doi: 10.1111/2041-210X.13452 za EJ, Martínez-Salvador M, Aguirre-Calderón
M, Barrantes I, Rojas E (2012). DIVA-GIS, ver. Pecchi M, Marchi M, Moriondo M, Forzieri G, CG (2017). SiBiFor: forest biometric system for
7.5. A geographic information system for the Ammoniaci M, Bernetti I, Bindi M, Chirici G forest management in Mexico. Revista Chapin-
analysis of species distribution data. Versão 7: (2020). Potential impact of climate change on go Serie Ciencias Forestales y Del Ambiente 23:
476-486. the spatial distribution of key forest tree spe- 437-455. - doi: 10.5154/r.rchscfa.2017.06.040
Hijmans RJ, Elith J (2017). Species distribution cies in Italy under RCP4.5 for 2050s. Forest 11: 1- Velazco SJE, Galvão F, Villalobos F, De Marco
modeling with R. Web site. [online] URL: http:// 19. - doi: 10.3390/f11090934 Júnior P (2017). Using worldwide edaphic data
rspatial.org/raster/sdm/ Pecchi M, Marchi M, Burton V, Giannetti F, Mo- to model plant species niches: An assessment
Hijmans RJ, Etten Van J, Sumner M, Cheng J, Be- riondo M, Bernetti I, Bindi M, Chirici G (2019). at a continental extent. PLoS One 12: 1-24. - doi:
van A, Bevan R, Busetto L, Canty M, Forrest D, Species distribution modelling to support for- 10.1371/journal.pone.0186025
Ghosh A, Golicher D, Gray J, Greenberg JA est management. A literature review. Ecologi- Watling JI, Romañach SS, Bucklin DN, Speroterra
(2020). Package “raster”. R Package version cal Modelling 411: 108817. - doi: 10.1016/j.ecol C, Brandt LA, Pearlstine LG, Mazzotti FJ (2012).
3:3-13. [online] URL: http://cran.r-project.org/ model.2019.108817 Do bioclimate variables improve performance
web/packages/raster/raster.pdf Perry JP (1991). The pines of Mexico and Central of climate envelope models? Ecological Model-
INE/INEGI (1997). Conjunto nacional de uso del America. Timber Press, Portland, OR, USA, pp. ling 246: 79-85. - doi: 10.1016/j.ecolmodel.2012.
suelo y vegetación a escala 1:250.000, Serie I 231. [online] URL: http://www.cabdirect.org/ 07.018
[National collection of land use and vegetation cabdirect/abstract/19910653262
scale 1:250.000, Series I]. DOEG-INEGI, México Peterson AT, Soberón J, Pearson RG, Anderson

370 iForest 15: 363-371


Modeling the geographic distribution of 17 pine species

Supplementary Material

iForest – Biogeosciences and Forestry


Fig. S1 - Binary prediction of the ensemble Fig. S3 - Kruskall-Wallis non-parametric test Tab. S2 - Variance inflation factor of the
model for 17 species of pines. and classification of algorithms. variables included in final models of spatial
distribution of 17 species of pines.
Fig. S2 - True statistical skill and AUC of Tab. S1 - Relative importance of the vari-
nine algorithms and ensemble model for ables (auc_test) obtained in the pre-model- Link: Montoya_4084@suppl001.pdf
modeling 17 species of pines. ling process of 17 pine species.

iForest 15: 363-371 371

View publication stats

You might also like