Related Experiment Video
Updated: Dec 10, 2025

Experimental Manipulation of Body Size to Estimate Morphological Scaling Relationships in Drosophila
Published on: October 1, 2011
Machine learning approaches identify male body size as the most accurate predictor of species richness
Klemen Čandek1,2,3, Urška Pristovšek Čandek4,5, Matjaž Kuntner6,4,7,8
1Evolutionary Zoology Laboratory, Department of Organisms and Ecosystems Research, National Institute of Biology, Ljubljana, Slovenia. klemen.candek@nib.si.
Background:
A major challenge in biodiversity science is to understand the factors contributing to the variability of species richness -the number of different species in a community or region - among comparable taxonomic lineages. Multiple biotic and abiotic factors have been hypothesized to have an effect on species richness and have been used as its predictors, but identifying accurate predictors is not straightforward. Spiders are a highly diverse group, with some 48,000 species in 120 families; yet nearly 75% of all species are found within just the ten most speciose families. Here we use a Random Forest machine learning algorithm to test the predictive power of different variables hypothesized to affect species richness of spider genera.
Results:
We test the predictive power of 22 variables from spiders' morphological, genetic, geographic, ecological and behavioral landscapes on species richness of 45 genera selected to represent the phylogenetic and biological breath of Araneae. Among the variables, Random Forest analyses find body size (specifically, minimum male body size) to best predict species richness. Multiple Correspondence analysis confirms this outcome through a negative relationship between male body size and species richness. Multiple Correspondence analyses furthermore establish that geographic distribution of congeneric species is positively associated with genus diversity, and that genera from phylogenetically older lineages are species poorer. Of the spider-specific traits, neither the presence of ballooning behavior, nor sexual size dimorphism, can predict species richness.
Conclusions:
We show that machine learning analyses can be used in deciphering the factors associated with diversity patterns. Since no spider-specific biology could predict species richness, but the biologically universal body size did, we believe these conclusions are worthy of broader biological testing. Future work on other groups of organisms will establish whether the detected associations of species richness with small body size and wide geographic ranges hold more broadly.
Related Concept Videos
Natural Selection and Mating Preferences
Females, due to their biological roles in conception, pregnancy, and nursing,...
Mechanistic Models: Compartment Models in Individual and Population Analysis
One-Way ANOVA: Unequal Sample Sizes
Wald-Wolfowitz Runs Test II
For binary data, runs are identified using symbols such as + and −, or equivalently, 1s and 0s. In...
Regression Toward the Mean
The Ratio of X Chromosome to Autosomes
Normal male Drosophila has a ratio of one X chromosome to two sets of autosomes. In contrast, normal female...

