Validation

We validate all the calcuations in MetaCommunityMetrics that have equvilant functions in R to make sure the functions in MetaCommunityMetrics are correct and accurate as the equvilant functions in R. All validation results are presented to 4 decimal places (±0.0001) here. Floating-point differences between implementations smaller than 0.0001 were considered negligible for both statistical and ecological applications of these metrics.

Validation Result

Below is a comparison of the results between MetaCommunityMetrics and functions/equivalent implementation in R.

Beta Diversity

*Absolute Differences between the results from MetaCommunityMetrics and the equvilant functions in R are shown here. All values *

TestCaseBDtotalReplRichDif
Beta Diversity (Abundance, quant=true)0.00000.00000.0000
Beta Diversity (Abundance, quant=false)0.00000.00000.0000
Beta Diversity (Presence, quant=false)0.00000.00000.0000
Spatial Beta Diversity (Abundance, quant=true)0.00000.00000.0000
Spatial Beta Diversity (Abundance, quant=false)0.00000.00000.0000
Spatial Beta Diversity (Presence, quant=false)0.00000.00000.0000
Temporal Beta Diversity (Abundance, quant=true)0.00000.00000.0000
Temporal Beta Diversity (Abundance, quant=false)0.00000.00000.0000
Temporal Beta Diversity (Presence, quant=false)0.00000.00000.0000

Dispersal-niche continuum index

*A plot showing the distribution of the DNCI values of diffent group pairs from different programming language, each pair are runned for 100 times. Julia vs. R

Occupied Patches Proportion

Absolute Differences between the results from MetaCommunityMetrics and the equvilant functions in R are shown here.

minproppatchesmeanproppatchesmaxproppatches
0.00000.00000.0000

Variability Metrics

Absolute Differences between the results from MetaCommunityMetrics and the equvilant functions in R are shown here.

CVSLCVCLCVSRCVCR
0.00000.00000.00000.0000

Hypervolume

Absolute Differences between the results from MetaCommunityMetrics and the equvilant functions in R are shown here.

Volume

totalcorrelationTemperaturePrecipitation
0.00000.00000.00000.0000

Volume dissimilarity

MetrictotalcorrelationTemperaturePrecipitation
Bhattacharyya_distance0.00000.00000.00000.0000
Mahalanobis_distance0.00000.00000.00000.0000
Determinant_ratio0.00000.00000.00000.0000

Running Validation