Skip to content
Go to file



####Repository for comparisons among species abundance distribution (SAD) models.

Community data the same as used in White EP, Thibault KM, Xiao X. 2012. Characterizing species abundance distributions across taxa and ecosystems using a simple maximum entropy model. Ecology. 93(8):1772-1778. Further details and scripts for data extraction and processing can be found in the GitHub repository for that paper at Additional community data for Actinopterygii, Reptilia, Coleoptera, Arachnida, and Amphibia were mined from the literature and are publicly available for import through the EcoData Retriever ( or on figshare (Baldridge, Elita (2013): Community abundance data. figshare.


#####Python dependencies:
basemap for matplotlib: numpy

The METE module and the macroecotools module can be installed from the command line (with appropriate permissions)
git clone
python install (sudo python install on Linux)
cd ..
git clone
cd macroecotools
python install (with sudo for Linux)

#####SAD models tested and packages used:
Maximum Entropy Theory of Ecology (METE) (METE)
Logseries (macroecotools/macroeco_distributions)
Poisson lognormal (macroecotools/macroeco_distributions)
Negative binomial (macroecotools/macroeco_distributions)
Geometric series (macroecotools/macroeco_distributions)

Neutral theory: Because neutral theory predicts the negative binomial distribution at the local scale (Connolly et al. 2014. Commonness and rarity in the marine biosphere. PNAS 111: 8524-8529., we used the prediction for the negative binomial distribution (macroecotools/macroecodistributions) instead of fitting the neutral theory model directly. The AICc for neutral theory was calculated with the appropriate number of parameters for neutral theory.

To reproduce the workflow and analyses in this repository, run: to extract the Baldridge 2013 data used in addition to the White 2012 data (Data were first imported into an sqlite database with the EcoData Retriever).

AND to perform the analyses to create a database from the analysis results from to generate the figures

OR to perform the analysis and generate the figures.

You can’t perform that action at this time.